Exact Lean source
Nonadditivity.ShortEmbeddingNorm
Download original .lean · View on GitHub · Jump to source
Imported by project modules
2 direct reverse imports
Relationships above come from literal import commands. The declarations below link to types and references extracted from Lean’s environment. Source text is complete and unchanged.
Declarations in this module
21 project constants, including generated, internal and private declarations.
21 declarations
Nonadditivity.ShortEmbeddingNorm.block_degree_reductionNonadditivity.ShortEmbeddingNorm.gammaShortNonadditivity.ShortEmbeddingNorm.gammaShort._proof_1internal/detail/privateNonadditivity.ShortEmbeddingNorm.gammaShort._proof_2internal/detail/privateNonadditivity.ShortEmbeddingNorm.gammaShort._proof_3internal/detail/privateNonadditivity.ShortEmbeddingNorm.gammaShort._proof_4internal/detail/privateNonadditivity.ShortEmbeddingNorm.gammaShort.eq_1internal/detail/privateNonadditivity.ShortEmbeddingNorm.gammaShort_coordinate_degreeNonadditivity.ShortEmbeddingNorm.gammaShort_norm_eqNonadditivity.ShortEmbeddingNorm.logarithmicEmbedding_norm_leNonadditivity.ShortEmbeddingNorm.logarithmicEmbedding_regularPolynomial_norm_eqNonadditivity.ShortEmbeddingNorm.logarithmic_substitutionNonadditivity.ShortEmbeddingNorm.norm_hom_leNonadditivity.ShortEmbeddingNorm.productLogarithmicEmbeddingNonadditivity.ShortEmbeddingNorm.productLogarithmicEmbedding._proof_1internal/detail/privateNonadditivity.ShortEmbeddingNorm.productLogarithmicEmbedding._proof_2internal/detail/privateNonadditivity.ShortEmbeddingNorm.productLogarithmicEmbedding.congr_simpNonadditivity.ShortEmbeddingNorm.productLogarithmicEmbedding_injectiveNonadditivity.ShortEmbeddingNorm.productLogarithmicEmbedding_regularPolynomial_norm_eqNonadditivity.ShortEmbeddingNorm.productLogarithmicEmbedding_total_norm_leNonadditivity.ShortEmbeddingNorm.product_logarithmic_substitution
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.FreeEmbedding7import Nonadditivity.RegularRestriction89/-!10# Exact norm preservation for the logarithmic free-group substitution1112The concrete short-word embedding is coupled to the actual regular-representation13operators. Both word-degree control and norm preservation are proved here,14including the coordinatewise embedding of product free groups.15-/1617noncomputable section1819namespace Nonadditivity.ShortEmbeddingNorm2021open scoped BigOperators22open Nonadditivity.FreeModel Nonadditivity.RegularRestriction2324/-- A uniform generator-length bound controls the length of every reduced word. -/25theorem norm_hom_le {α β : Type*} [DecidableEq α] [DecidableEq β]26(φ : FreeGroup α →* FreeGroup β) (L : ℕ)27(hgen : ∀ i, FreeGroup.norm (φ (FreeGroup.of i)) ≤ L) (x : FreeGroup α) :28FreeGroup.norm (φ x) ≤ L * FreeGroup.norm x := by29have hlist : ∀ l : List (α × Bool),30FreeGroup.norm (FreeGroup.lift (fun i => φ (FreeGroup.of i)) (FreeGroup.mk l)) ≤31L * l.length := by32intro l33induction l with34| nil => simp35| cons c l ih =>36rw [FreeGroup.lift_mk] at ih ⊢37simp only [List.map_cons, List.prod_cons]38have hc : FreeGroup.norm (cond c.2 (φ (FreeGroup.of c.1))39(φ (FreeGroup.of c.1))⁻¹) ≤ L := by40cases c.2 <;> simp [hgen c.1]41calc42FreeGroup.norm _ ≤ FreeGroup.norm _ + FreeGroup.norm _ :=43FreeGroup.norm_mul_le _ _44_ ≤ L + L * l.length := Nat.add_le_add hc ih45_ = L * (c :: l).length := by simp [Nat.mul_add, Nat.add_comm]46calc47FreeGroup.norm (φ x) =48FreeGroup.norm (FreeGroup.lift (fun i => φ (FreeGroup.of i)) (FreeGroup.mk x.toWord)) := by49rw [FreeGroup.mk_toWord]50exact congrArg FreeGroup.norm (FreeGroup.lift_unique φ (fun _ => rfl))51_ ≤ L * x.toWord.length := hlist _52_ = L * FreeGroup.norm x := rfl5354/-- The sharp logarithmic generator bound extends to every word. -/55theorem logarithmicEmbedding_norm_le (K : ℕ) (hK : 2 ≤ K)56(x : FreeGroup (Fin K)) :57FreeGroup.norm (FreeEmbedding.logarithmicEmbedding K hK x) ≤58(2 * Nat.log 2 (K - 1) + 1) * FreeGroup.norm x :=59norm_hom_le _ _ (FreeEmbedding.norm_logarithmicEmbedding_of_le K hK) x6061/-- The actual short-word substitution preserves the norm of every finite scalar polynomial. -/62theorem logarithmicEmbedding_regularPolynomial_norm_eq (K : ℕ) (hK : 2 ≤ K)63{I : Type*} [Fintype I] (w : I → FreeGroup (Fin K)) (a : I → ℂ) :64‖regularPolynomial (fun i => FreeEmbedding.logarithmicEmbedding K hK (w i)) a‖ =65‖regularPolynomial w a‖ :=66regularPolynomial_injective_norm_eq _ (FreeEmbedding.logarithmicEmbedding_injective K hK) w a6768/-- Degree reduction and actual operator norm preservation in one checked statement. -/69theorem logarithmic_substitution (K : ℕ) (hK : 2 ≤ K)70{I : Type*} [Fintype I] (w : I → FreeGroup (Fin K)) (a : I → ℂ)71(d : ℕ) (hdegree : ∀ i, FreeGroup.norm (w i) ≤ d) :72(∀ i, FreeGroup.norm (FreeEmbedding.logarithmicEmbedding K hK (w i)) ≤73(2 * Nat.log 2 (K - 1) + 1) * d) ∧74‖regularPolynomial (fun i => FreeEmbedding.logarithmicEmbedding K hK (w i)) a‖ =75‖regularPolynomial w a‖ := by76constructor77· intro i78exact (logarithmicEmbedding_norm_le K hK (w i)).trans79(Nat.mul_le_mul_left _ (hdegree i))80· exact logarithmicEmbedding_regularPolynomial_norm_eq K hK w a8182/-- The short embedding in every free-group factor. -/83def productLogarithmicEmbedding (K n : ℕ) (hK : 2 ≤ K) :84ProductFreeGroup K n →* (Fin n → FreeGroup Bool) where85toFun x j := FreeEmbedding.logarithmicEmbedding K hK (x j)86map_one' := by ext j; exact map_one _87map_mul' x y := by ext j; exact map_mul _ _ _8889theorem productLogarithmicEmbedding_injective (K n : ℕ) (hK : 2 ≤ K) :90Function.Injective (productLogarithmicEmbedding K n hK) := by91intro x y hxy92funext j93apply FreeEmbedding.logarithmicEmbedding_injective K hK94exact congrFun hxy j9596/-- Product-group scalar regular polynomials keep their exact norm after substitution. -/97theorem productLogarithmicEmbedding_regularPolynomial_norm_eq (K n : ℕ) (hK : 2 ≤ K)98{I : Type*} [Fintype I] (w : I → ProductFreeGroup K n) (a : I → ℂ) :99‖regularPolynomial (fun i => productLogarithmicEmbedding K n hK (w i)) a‖ =100‖regularPolynomial w a‖ :=101regularPolynomial_injective_norm_eq _ (productLogarithmicEmbedding_injective K n hK) w a102103/-- The full product free-group short substitution, with degree in each coordinate. -/104theorem product_logarithmic_substitution (K n : ℕ) (hK : 2 ≤ K)105{I : Type*} [Fintype I] (w : I → ProductFreeGroup K n) (a : I → ℂ)106(d : ℕ) (hdegree : ∀ i j, FreeGroup.norm (w i j) ≤ d) :107(∀ i j, FreeGroup.norm (productLogarithmicEmbedding K n hK (w i) j) ≤108(2 * Nat.log 2 (K - 1) + 1) * d) ∧109‖regularPolynomial (fun i => productLogarithmicEmbedding K n hK (w i)) a‖ =110‖regularPolynomial w a‖ := by111constructor112· intro i j113exact (logarithmicEmbedding_norm_le K hK (w i j)).trans114(Nat.mul_le_mul_left _ (hdegree i j))115· exact productLogarithmicEmbedding_regularPolynomial_norm_eq K n hK w a116117/-- The total reduced-word length is controlled by the same logarithmic factor. -/118theorem productLogarithmicEmbedding_total_norm_le (K n : ℕ) (hK : 2 ≤ K)119(x : ProductFreeGroup K n) :120(∑ j, FreeGroup.norm (productLogarithmicEmbedding K n hK x j)) ≤121(2 * Nat.log 2 (K - 1) + 1) * ∑ j, FreeGroup.norm (x j) := by122rw [Finset.mul_sum]123exact Finset.sum_le_sum (fun j _ => logarithmicEmbedding_norm_le K hK (x j))124125/-- The actual normalized block comparison polynomial after short substitution. -/126def gammaShort {K n : ℕ} (hK : 2 ≤ K)127(A : Matrix (Branch K n) (Branch K n) ℂ) :128Hilbert (Fin n → FreeGroup Bool) →L[ℂ] Hilbert (Fin n → FreeGroup Bool) :=129(1 / ((K : ℂ) ^ n)) •130∑ a : Branch K n, ∑ b : Branch K n,131A a b • leftRegular (productLogarithmicEmbedding K n hK132((branchWord a)⁻¹ * branchWord b))133134/-- The actual short substitution has exactly the original block comparison norm. -/135theorem gammaShort_norm_eq {K n : ℕ} (hK : 2 ≤ K)136(A : Matrix (Branch K n) (Branch K n) ℂ) : ‖gammaShort hK A‖ = freeNorm A := by137have hpoly := productLogarithmicEmbedding_regularPolynomial_norm_eq K n hK138(fun p : Branch K n × Branch K n => (branchWord p.1)⁻¹ * branchWord p.2)139(fun p => A p.1 p.2)140simp only [regularPolynomial, Fintype.sum_prod_type] at hpoly141simp only [gammaShort, freeNorm, gamma, norm_smul]142rw [hpoly]143144/-- Every block-polynomial support word has the exact logarithmic degree bound. -/145theorem gammaShort_coordinate_degree {K n : ℕ} (hK : 2 ≤ K)146(a b : Branch K n) (j : Fin n) :147FreeGroup.norm (productLogarithmicEmbedding K n hK148((branchWord a)⁻¹ * branchWord b) j) ≤ 2 * (2 * Nat.log 2 (K - 1) + 1) := by149have hword : FreeGroup.norm (((branchWord a)⁻¹ * branchWord b : ProductFreeGroup K n) j) ≤ 2 := by150change FreeGroup.norm ((FreeGroup.of (a j))⁻¹ * FreeGroup.of (b j)) ≤ 2151simpa using FreeGroup.norm_mul_le (FreeGroup.of (a j))⁻¹ (FreeGroup.of (b j))152exact (logarithmicEmbedding_norm_le K hK (((branchWord a)⁻¹ * branchWord b) j)).trans153(by simpa [Nat.mul_comm] using Nat.mul_le_mul_left (2 * Nat.log 2 (K - 1) + 1) hword)154155/-- Exact norm preservation and logarithmic support degree for the block comparison model. -/156theorem block_degree_reduction {K n : ℕ} (hK : 2 ≤ K)157(A : Matrix (Branch K n) (Branch K n) ℂ) :158‖gammaShort hK A‖ = freeNorm A ∧159∀ a b : Branch K n, ∀ j : Fin n,160FreeGroup.norm (productLogarithmicEmbedding K n hK161((branchWord a)⁻¹ * branchWord b) j) ≤ 2 * (2 * Nat.log 2 (K - 1) + 1) :=162⟨gammaShort_norm_eq hK A, gammaShort_coordinate_degree hK⟩163164end Nonadditivity.ShortEmbeddingNorm