Skip to content

Defense Dilemma (K*)

Paper Theorem 7.3 · Lean module MoF_19_OptimalDefense

The defense designer faces a fundamental trade-off when picking the defense's Lipschitz constant K.

Statement

::: theorem Defense dilemma. Assume f is differentiable at the boundary point z with gradient norm G=f(z), and let be the defense-path Lipschitz constant. Set

K=G1.

Then exactly one of the two horns must hold:

  1. If K<K: G>(K+1), so the persistent steep region of T3 is non-empty and the defense fails on a positive-measure set.
  2. If KK: (K+1)G, so the T2 ε-robust boundτ(K+1)δ becomes loose enough that the theorem can no longer rule out the defense from succeeding on the steep region — but the defense's Lipschitz constant has now grown so large that the band of barely-touched points around z widens correspondingly. :::

The shape of the trade-off

The dilemma is sharpest precisely when the alignment surface is anisotropic (L). In the isotropic case =L and K0, which means horn (1) is vacuous and only the band trade-off remains.

Why K=G/1

It's a one-line algebraic rearrangement of the transversality condition:

G>(K+1)K<G1=K.

So K is exactly the value of K at which the steep region collapses.

Behavior across the dilemma

K regimeSteep region Sε-robust bandNet failure
K=0 (constant)maximalmaximalboth maxed
K(0,K)non-emptyshrinks linearlyT3 dominates
K=KemptymaximalT2 dominates
K>Kemptygrows with KT2 dominates with wider band

In Lean

lean
-- Threshold value: K* = G/ℓ - 1
def K_star (G ℓ : ℝ) (hℓ : 0 < ℓ) : ℝ := G / ℓ - 1

-- The two horns
theorem optimal_K_dichotomy
    (G L : ℝ) (hL : 0 < L) :
    (∀ K, K < K_star G L hL → ∃ S, …)   -- horn (1): persistent region

    (∀ K, K_star G L hL ≤ K → ∃ band, …) -- horn (2): wide band

-- Existence of an "optimal" K, taken from the boundary
theorem optimal_K_exists : …

Lean's statement is parameterized over generic positive reals (G,L); instantiating L recovers the defense-path version above.

What this means in practice

There is no K that escapes both tiers:

  • small K → narrow band but a positive-measure persistent unsafe region;
  • large K → no provable persistent region but a wide near-threshold band the defense cannot push far below τ.

The dilemma is one of the cleanest concrete consequences of the trilemma: even if you somehow discovered the model's Lipschitz constants exactly, you would still face this irreducible trade-off in defense design.

Next

  • Pipeline Degradation — what happens when K becomes Kn along an agent tool-chain.
  • Volume bounds — explicit lower bounds for both the band and the persistent region.

The Defense Trilemma · mechanically verified in Lean 4 (46 files, ≈360 theorems, 0 sorry).