Documentation

LeanPool.KaltonRoberts.Defs

Definitions for the Kalton-Roberts formalization #

Core definitions used throughout the formalization of the companion paper.

Basic definitions from Section 1 #

def KaltonRoberts.IsApproxAdditive {U : Type u_1} [DecidableEq U] (f : Finset U) (Δ : ) :

A function f : Finset U → ℝ is Δ-additive if f ∅ = 0 and |f A + f B − f (A ∪ B)| ≤ Δ for every pair of disjoint finite subsets A, B. Reference: Equation (1) in Section 1 of the companion paper.

Equations
Instances For
    def KaltonRoberts.IsApproxAdditiveBA {α : Type u_1} [BooleanAlgebra α] (f : α) (Δ : ) :

    A function on an abstract Boolean algebra is Δ-additive if it vanishes at bottom and is additive up to Δ on disjoint joins.

    This is the set-algebra formulation from Equation (1), with a set algebra represented by its Boolean algebra of events. A concrete algebra of subsets is the subtype of a BooleanSubalgebra (Set Ω).

    Equations
    Instances For

      A finitely additive signed measure on a Boolean algebra.

      Equations
      Instances For
        def KaltonRoberts.additiveFunction {U : Type u_1} (a : U) :
        Finset U

        An additive signed measure on 2^U is identified with a function A ↦ ∑ i ∈ A, a i for some weight function a : U → ℝ. Reference: paragraph after Lemma 1.2 in Section 1 of the companion paper.

        Equations
        Instances For
          noncomputable def KaltonRoberts.distToAdditive {U : Type u_1} (f : Finset U) :

          The ℓ∞-distance from f to the subspace of additive signed measures on 2^U. Reference: last paragraph of Section 1 in the companion paper, where M := ‖f‖_∞ = dist_∞(f, L) after subtracting a closest additive approximant.

          Equations
          Instances For
            def KaltonRoberts.deficit {U : Type u_1} (f : Finset U) (M : ) (A : Finset U) :

            The deficit of a set A relative to f and the value M: this is M − f(A). Used throughout Section 2–5 of the companion paper.

            Equations
            Instances For
              def KaltonRoberts.surplus {U : Type u_1} (f : Finset U) (M : ) (A : Finset U) :

              The surplus of a set A relative to f and the value M: this is M + f(A). Used throughout Section 2–5 of the companion paper.

              Equations
              Instances For
                noncomputable def KaltonRoberts.krConstant :

                The Kalton–Roberts constant K_KR is the infimum of all C ≥ 0 such that for every Boolean algebra of sets/events and every 1-additive function f : α → ℝ, there exists a finitely additive signed measure μ with sup |f − μ| ≤ C.

                This abstract Boolean-algebra formulation captures the paper's statement for arbitrary set algebras: a set algebra is a Boolean subalgebra of Set Ω. Reference: paragraph after Equation (1) in Section 1 of the companion paper.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  Expander definition from Section 3 #

                  def KaltonRoberts.ExpandersExist (α : ) (r : ) (θ : ) :

                  An (α, r, θ)-expander for parameter k is a bipartite multigraph G = (V, W; E) with |V| = 2k, |W| = 2θk, every vertex in V having degree r, such that every subset SV with |S| ≤ 2αk has at least |S| distinct neighbours in W.

                  ExpandersExist α r θ asserts that such expanders exist for all sufficiently large admissible k.

                  Reference: paragraph before Lemma 3.2 in Section 3 of the companion paper.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Strong expander witness (Section 3, refined interface) #

                    def KaltonRoberts.edgeNeighbors {V : Type u_1} {W : Type u_2} [DecidableEq W] {r : } (edge : VFin rW) (v : V) :

                    Edge-neighbor set of vertex v in a bipartite graph with labelled edges.

                    Equations
                    Instances For

                      A concrete finite expander witness with r labelled edges per left vertex.

                      This represents a bipartite multigraph G = (V, W; E) where each left vertex v ∈ V has exactly r labelled edges edge v 0, …, edge v (r-1) going to right vertices in W. The expansion property guarantees that small left-subsets have many distinct right-neighbors.

                      Reference: paragraph before Lemma 3.2 in Section 3 of the companion paper.

                      • V : Type

                        Left vertex type.

                      • W : Type

                        Right vertex type.

                      • instFintypeV : Fintype self.V

                        Fintype instance for V.

                      • instDecEqV : DecidableEq self.V

                        DecidableEq instance for V.

                      • instFintypeW : Fintype self.W

                        Fintype instance for W.

                      • instDecEqW : DecidableEq self.W

                        DecidableEq instance for W.

                      • edge : self.VFin rself.W

                        The r labelled edges from each left vertex to right vertices.

                      • hV_pos : 0 < Fintype.card self.V

                        V is nonempty.

                      • right_coverage (w : self.W) : ∃ (v : self.V) (e : Fin r), self.edge v e = w

                        Right coverage: every right vertex is hit by at least one edge.

                      • expansionThreshold :

                        Expansion threshold (typically ⌈2αk⌉).

                      • expansion (S : Finset self.V) : S.card self.expansionThreshold(S.biUnion fun (v : self.V) => edgeNeighbors self.edge v).card S.card

                        Expansion property: every subset of V of size at most expansionThreshold has at least as many distinct right-neighbors.

                      Instances For

                        StrongExpandersExist α r θ asserts that there exists a positive admissibility step step such that for all sufficiently large k divisible by step, there exists a FiniteExpanderWitness with:

                        • |V| = 2k,
                        • |W| = 2θk (exact integer, requiring admissibility),
                        • expansion threshold ⌈2αk⌉₊,
                        • right coverage,
                        • labelled r-edges.

                        The step/divisibility formulation corresponds to the paper's assertion that expanders exist for all sufficiently large admissible k, where admissible sizes form an infinite arithmetic progression.

                        Reference: Section 3 and Lemma 4.1 of the companion paper.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          Entropy function from Section 4 #

                          noncomputable def KaltonRoberts.hEntropy (a b : ) :

                          The function h(a, b) = a log a − b log b − (a − b) log(a − b) used in the definition of Φ_{r,θ}. Reference: paragraph before Equation (6) in Section 4 of the companion paper.

                          Equations
                          Instances For
                            noncomputable def KaltonRoberts.Phi (r θ x : ) :

                            The function Φ_{r,θ}(x) = h(1,x) + h(θ,x) + h(rx/θ, rx) − h(r, rx) from Equation (6) in Section 4 of the companion paper.

                            Equations
                            Instances For
                              noncomputable def KaltonRoberts.Phi'' (r θ x : ) :

                              The second derivative Φ''_{r,θ}(x) = (r−2)/x + (r−1)/(1−x) − 1/(θ−x), from Equation (8) in Section 4 of the companion paper.

                              Equations
                              Instances For

                                Numerical constants from Section 5 #

                                The case-split parameter q₀ = 7437/15625. Reference: Equation (9) in Section 5 of the companion paper.

                                Equations
                                Instances For

                                  The complementary parameter p₀ = 1 − q₀ = 8188/15625. Reference: Equation (9) in Section 5 of the companion paper.

                                  Equations
                                  Instances For

                                    The frequency cap in Case 1: α₁ = 1003/10000. Reference: Equation (9) in Section 5 of the companion paper.

                                    Equations
                                    Instances For

                                      The frequency cap in Case 2: α₂ = 47/625. Reference: Equation (9) in Section 5 of the companion paper.

                                      Equations
                                      Instances For

                                        The mixing parameter τ₁ from Equation (10) in Section 5 of the companion paper. Satisfies (1 − τ₁) q₀³ + τ₁ q₀⁴ = α₁.

                                        Equations
                                        Instances For

                                          The mixing parameter τ₂ from Equation (10) in Section 5 of the companion paper. Satisfies (1 − τ₂) p₀⁴ + τ₂ p₀⁵ = α₂.

                                          Equations
                                          Instances For

                                            The Case 1 bound C₁ from Equation (14) in Section 5 of the companion paper.

                                            Equations
                                            Instances For

                                              The Case 2 bound C₂, which is the final headline constant, from Equation (17) in Section 5 of the companion paper.

                                              Equations
                                              Instances For

                                                The simplified upper bound 9919/500 = 19.838, from the statement of Theorem 1.1 in Section 1 of the companion paper.

                                                Equations
                                                Instances For

                                                  Dual certificate structure (Section 2) #

                                                  structure KaltonRoberts.DualCertificate {U : Type u_1} [DecidableEq U] [Fintype U] (f : Finset U) (M : ) :
                                                  Type u_1

                                                  A dual certificate λ for best ℓ∞-approximation. Reference: Lemma 2.1 in Section 2 of the companion paper.

                                                  • lam : Finset U

                                                    The signed measure λ on 2^U.

                                                  • norm_one : S : Finset U, |self.lam S| = 1

                                                    (i) ‖λ‖₁ = 1.

                                                  • zero_marginals (i : U) : {S : Finset U | i S}.sum self.lam = 0

                                                    (ii) Zero item marginals: ∑_{A ∋ i} λ_A = 0 for all i ∈ U.

                                                  • pos_support (S : Finset U) : 0 < self.lam Sf S = M

                                                    (iii) λ_A > 0 only when f(A) = M.

                                                  • neg_support (S : Finset U) : self.lam S < 0f S = -M

                                                    (iii) λ_A < 0 only when f(A) = −M.

                                                  Instances For