Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Flag.Len

Length functions on groups, and averages over pairs of invertible matrices #

Flag.Len G: a length function on a group (val 1 = 0, symmetric, subadditive). Over F₂, Flag.DM f M sums f (p M q)² over all pairs of invertible matrices p, q, and Flag.dg S is the diagonal matrix of a set S of indices; DM depends on dg S only through |S|.

From VP ≠ VNP over every field [Ant26], module Nc.Flag.Len.

Main definitions #

Main results #

@[reducible, inline]

Length functions on a group, such as g ↦ dist z (g • z) for an isometric action: Mathlib's group seminorms. The abbreviation keeps the Flag-specific quantities (Len.S, Len.T, Len.rms) available by dot notation; the laws are map_one_eq_zero, map_inv_eq_map, map_mul_le_add and apply_nonneg.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.Len.conj {G : Type u_1} [Group G] (l : Len G) (g h : G) :
l (g * h * g⁻¹) ≤ 2 * l g + l h
theorem Cslib.Circuits.Arithmetic.Separation.Flag.sqrt_sum_le {α : Type u_1} (s : Finset α) (a b c : α → ℝ) (hc : ∀ (i : α), 0 ≤ c i) (h : ∀ (i : α), c i ≤ a i + b i) :
√(∑ i ∈ s, c i ^ 2) ≤ √(∑ i ∈ s, a i ^ 2) + √(∑ i ∈ s, b i ^ 2)

Minkowski's inequality for square sums over a finset, after a coordinatewise bound 0 ≤ c ≤ a + b: the triangle inequality in EuclideanSpace ℝ s.

@[reducible, inline]

The field with two elements.

@[reducible, inline]

Invertible matrices.

Instances For
    @[instance_reducible]
    noncomputable def Cslib.Circuits.Arithmetic.Separation.Flag.DM {ι : Type u_1} [Fintype ι] [DecidableEq ι] (f : Matrix ι ι F2 → ℝ) (M : Matrix ι ι F2) :

    The sum of f(PMQ)² over invertible P, Q.

    theorem Cslib.Circuits.Arithmetic.Separation.Flag.DM_mul {ι : Type u_1} [Fintype ι] [DecidableEq ι] (f : Matrix ι ι F2 → ℝ) (a b : GLM ι) (M : Matrix ι ι F2) :
    DM f (↑a * M * ↑b) = DM f M

    The diagonal idempotent of a set of indices.

    theorem Cslib.Circuits.Arithmetic.Separation.Flag.dg_union {ι : Type u_1} [DecidableEq ι] {S T : Finset ι} (h : Disjoint S T) :
    dg (S ∪ T) = dg S + dg T

    The unit of a permutation.

    theorem Cslib.Circuits.Arithmetic.Separation.Flag.permU_conj {ι : Type u_1} [Fintype ι] [DecidableEq ι] (σ : Equiv.Perm ι) (M : Matrix ι ι F2) :
    ↑(permU σ) * M * ↑(permU σ)⁻¹ = M.submatrix ⇑σ ⇑σ
    theorem Cslib.Circuits.Arithmetic.Separation.Flag.DM_dg_congr {ι : Type u_1} [Fintype ι] [DecidableEq ι] (f : Matrix ι ι F2 → ℝ) {S T : Finset ι} (h : S.card = T.card) :
    DM f (dg S) = DM f (dg T)
    theorem Cslib.Circuits.Arithmetic.Separation.Flag.DM_dg_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] (f : Matrix ι ι F2 → ℝ) (hf : ∀ (M : Matrix ι ι F2), 0 ≤ f M) (hadd : ∀ (M N : Matrix ι ι F2), f (M + N) ≤ f M + f N) {S T : Finset ι} (h : Disjoint S T) :
    √(DM f (dg (S ∪ T))) ≤ √(DM f (dg S)) + √(DM f (dg T))