Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Curvature.Means

Means of prices on two sheets of ℤ², and the parallelogram law #

Lemma C.2 of VP ≠ VNP over every field [Ant26]. For n = 1, 2, … (in Lean W : ℕ → … is indexed from n = 0; the window means do not see finitely many terms) let W n be a price on two sheets of ℤ² with W n (P, P + g) ≤ Λ |g| on each sheet. The mean length ν(g) = (E W(P, P + g)²)^(1/2) (meanLength, built on Separation.meanLength of the sheet metrics) is a crossing length (crossingLength_meanLength), and N(g) = inf ν(S g)/S (meanNorm) is its homogenization (meanNorm_eq_homogenization), the limit of ν(S g)/S (tendsto_meanLength_div). The lemma is the parallelogram law for N (meanNorm_parallelogram), which holds for every homogeneous crossing length (Separation.CrossingLength.parallelogram).

The proof follows the paper. Of N it uses only that it is a homogeneous crossing length: the inequality (Q) (display (B.2)) at well-chosen points, convexity along lines, a telescoping sum and averaging give N(a + b)² + N(a - b)² ≤ 2 N(a)² + 2 N(b)², and applying this to a + b, a - b gives equality.

Main definitions #

Main results #

References #

The prices W n on two sheets of ℤ² (the type Bool × ℤ × ℤ), as metrics on each sheet.

The paper's ν(g) = (E W(P, P + g)²)^(1/2): the mean length of the sheet metrics.

The paper's N(g) = inf ν(S g)/S over the integers S ≥ 1.

theorem Cslib.Circuits.Arithmetic.Separation.Curvature.meanNorm_isGLB (W : ℕ → Bool × ℤ × ℤ → Bool × ℤ × ℤ → ℝ) (g : ℤ × ℤ) :
IsGLB {r : ℝ | ∃ (S : ℕ), 0 < S ∧ r = meanLength W (S • g) / ↑S} (meanNorm W g)

N(g) is the greatest lower bound of the ν(S g)/S, S ≥ 1.

theorem Cslib.Circuits.Arithmetic.Separation.Curvature.meanNorm_le (W : ℕ → Bool × ℤ × ℤ → Bool × ℤ × ℤ → ℝ) (g : ℤ × ℤ) {S : ℕ} (hS : 0 < S) :
meanNorm W g ≤ meanLength W (S • g) / ↑S

An upper bound on N needs one S.

theorem Cslib.Circuits.Arithmetic.Separation.Curvature.le_meanNorm (W : ℕ → Bool × ℤ × ℤ → Bool × ℤ × ℤ → ℝ) (g : ℤ × ℤ) {c : ℝ} (h : ∀ (S : ℕ), 0 < S → c * ↑S ≤ meanLength W (S • g)) :

A lower bound on N needs all S.

theorem Cslib.Circuits.Arithmetic.Separation.Curvature.crossingMetrics_sheetMetrics {K : Type} [Field K] {W : ℕ → Bool × ℤ × ℤ → Bool × ℤ × ℤ → ℝ} {Λ : ℝ} (hW : ∀ (n : ℕ), PartyTensor.IsPrice K (W n)) (hΛ : ∀ (n : ℕ) (b : Bool) (P g : ℤ × ℤ), W n (b, P) (b, P + g) ≤ Λ * (|↑g.1| + |↑g.2|)) :

What is used of the prices W n: they are pseudometrics, Lipschitz on each sheet, and satisfy display (B.2) of Proposition B.3.

theorem Cslib.Circuits.Arithmetic.Separation.Curvature.crossingLength_meanLength {K : Type} [Field K] {W : ℕ → Bool × ℤ × ℤ → Bool × ℤ × ℤ → ℝ} {Λ : ℝ} (hW : ∀ (n : ℕ), PartyTensor.IsPrice K (W n)) (hΛ : ∀ (n : ℕ) (b : Bool) (P g : ℤ × ℤ), W n (b, P) (b, P + g) ≤ Λ * (|↑g.1| + |↑g.2|)) :

ν is a crossing length: even, subadditive, and with the inequality (Q).

theorem Cslib.Circuits.Arithmetic.Separation.Curvature.meanNorm_eq_homogenization {K : Type} [Field K] {W : ℕ → Bool × ℤ × ℤ → Bool × ℤ × ℤ → ℝ} {Λ : ℝ} (hW : ∀ (n : ℕ), PartyTensor.IsPrice K (W n)) (hΛ : ∀ (n : ℕ) (b : Bool) (P g : ℤ × ℤ), W n (b, P) (b, P + g) ≤ Λ * (|↑g.1| + |↑g.2|)) :

N is the homogenization of ν: the limit of ν(S g)/S is also its infimum.

The proof of Lemma C.2 #

The steps use of N only that it is a homogeneous crossing length (CrossingLength N, IsHomogeneous N). As in the paper c = a + b, e = a - b, f = N(c) and f' = N(e).

theorem Cslib.Circuits.Arithmetic.Separation.CrossingLength.parallelogram {N : ℤ × ℤ → ℝ} (hN : CrossingLength N) (hh : IsHomogeneous N) (a b : ℤ × ℤ) :
N (a + b) ^ 2 + N (a - b) ^ 2 = 2 * N a ^ 2 + 2 * N b ^ 2

The parallelogram law N(a + b)² + N(a - b)² = 2 N(a)² + 2 N(b)² for a homogeneous crossing length: the inequality applied to a + b, a - b gives the converse.

theorem Cslib.Circuits.Arithmetic.Separation.Curvature.meanNorm_parallelogram {K : Type} [Field K] {W : ℕ → Bool × ℤ × ℤ → Bool × ℤ × ℤ → ℝ} {Λ : ℝ} (hW : ∀ (n : ℕ), PartyTensor.IsPrice K (W n)) (hΛ : ∀ (n : ℕ) (b : Bool) (P g : ℤ × ℤ), W n (b, P) (b, P + g) ≤ Λ * (|↑g.1| + |↑g.2|)) (a b : ℤ × ℤ) :
meanNorm W (a + b) ^ 2 + meanNorm W (a - b) ^ 2 = 2 * meanNorm W a ^ 2 + 2 * meanNorm W b ^ 2

Paper: Lemma C.2. For prices W n on two sheets of ℤ² with W n (P, P + g) ≤ Λ |g| for points of one sheet, and N(g) = inf ν(S g)/S, which is also the limit of ν(S g)/S, the parallelogram law N(a + b)² + N(a - b)² = 2 N(a)² + 2 N(b)² holds for all a, b ∈ ℤ².

theorem Cslib.Circuits.Arithmetic.Separation.Curvature.tendsto_meanLength_div {K : Type} [Field K] {W : ℕ → Bool × ℤ × ℤ → Bool × ℤ × ℤ → ℝ} {Λ : ℝ} (hW : ∀ (n : ℕ), PartyTensor.IsPrice K (W n)) (hΛ : ∀ (n : ℕ) (b : Bool) (P g : ℤ × ℤ), W n (b, P) (b, P + g) ≤ Λ * (|↑g.1| + |↑g.2|)) (g : ℤ × ℤ) :
Filter.Tendsto (fun (S : ℕ) => meanLength W (S • g) / ↑S) Filter.atTop (nhds (meanNorm W g))

ν(S g)/S converges to N(g).