Documentation

CslibFrontier.Computability.Circuit.Frontier.Layouts.Switched.Switch

G3: the switch lemma #

switchClaim : SwitchClaim.

  1. By x ↦ -x, the degree-three term P(Z ≥ 0, all Yᵢ ≤ 0) equals P(Z ≤ 0, all Yᵢ ≥ 0).
  2. Given Z = z ≤ 0, the event Yᵢ ≥ 0 implies ⟨wᵢ,x⟩ ≥ -r z / s_r for the unit residual wᵢ (indices with ⟨a,bᵢ⟩ = 1 only contribute the null event Z = 0).
  3. At a level θ > 0, P(∃ j, W_j ≥ θ) + P(∀ j, W_j ≥ θ) = 1 - F(w, θ), and (EQ) bounds this by the ideal-star value.
  4. The ideal-star side equals κ(r) by idealProb_zero and x ↦ -x.

Adapted from the MIT-licensed Lean 4 companion of [Gas26] (doi:10.5281/zenodo.23883489, module CubicPathwidth.C3.Switch).

References #

theorem Cslib.Circuits.Frontier.Switched.switch_bound {E : Type u_2} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] {r : ℝ} (hr : 0 < r) (hrs : r ≤ rStar) {a : E} {d : ℕ} (hd : d ≤ 3) {b : Fin d → E} (ha : ‖a‖ = 1) (hb : ∀ (i : Fin d), ‖b i‖ = 1) (hab : ∀ (i : Fin d), r ≤ inner ℝ a (b i)) :
((ProbabilityTheory.stdGaussian E).real {x : E | inner ℝ a x ≤ 0 ∧ ∃ (i : Fin d), 0 ≤ inner ℝ (b i) x} + if d = 3 then (ProbabilityTheory.stdGaussian E).real {x : E | 0 ≤ inner ℝ a x ∧ ∀ (i : Fin d), inner ℝ (b i) x ≤ 0} else 0) ≤ kappa r

G3: the switch lemma.