Exact Lean source
Nonadditivity.HaarExpectationFromMoment
Download original .lean · View on GitHub · Jump to source
Direct imports
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
5 project constants, including generated, internal and private declarations.
5 declarations
Nonadditivity.HaarIteratedMoments.canonicalExpectation_prescribed_leNonadditivity.HaarIteratedMoments.explicitHaarExpectation_of_onePairTraceBoundNonadditivity.HaarIteratedMoments.explicitHaarExpectation_of_onePairTraceBound._proof_1_1internal/detail/privateNonadditivity.HaarIteratedMoments.explicitHaarExpectation_of_onePairTraceBound._proof_1_2internal/detail/privateNonadditivity.HaarIteratedMoments.ofPolynomial_support_subset
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarCanonicalTransport7import Nonadditivity.HaarFiniteSymmetry8import Nonadditivity.StructuredHaarConsequences910/-! # The canonical prescribed-dimension expectation from one-pair moments1112All tensor replacement, basis transport, Haar law regrouping, self-adjointness,13Jensen, and scalar dimension factors are proved. The sole analytic input here14is the explicit one-pair trace bound for arbitrary remaining free factors.15-/16noncomputable section17set_option backward.isDefEq.respectTransparency false18set_option maxHeartbeats 150000019namespace Nonadditivity.HaarIteratedMoments20open HaarWordExpansion HaarTensorReplacement HaarTensorConstants ProductMomentBridge21open ProductHaagerupProduct MeasureTheory22open scoped Matrix Matrix.Norms.L2Operator BigOperators2324theorem ofPolynomial_support_subset {G : Type} [Group G] [DecidableEq G]25(P : PolynomialReduction.Polynomial G) : (ofPolynomial P).support ⊆ P.support := by26intro g hg27by_contra hn28apply (Finsupp.mem_support_iff.mp hg)29unfold ofPolynomial30change (∑ w ∈ P.support, (Finsupp.single w (P.coefficient w) :31G →₀ Matrix P.Index P.Index ℂ)) g = 032simp only [Finsupp.finset_sum_apply]33apply Finset.sum_eq_zero34intro w hw35have hne : w ≠ g := fun he => hn (he ▸ hw)36simp [hne]3738theorem canonicalExpectation_prescribed_le {h : ℝ} {n N : ℕ}39(hh : (2:ℝ)/3 ≤ h) (hn : 2 ≤ n)40(hD : N+1 = Quantitative.dimensionChoice h n)41(hone : OnePairTraceBound N (Quantitative.momentParameter h n))42(P : PolynomialReduction.Polynomial (Fin n → FreeGroup (Fin 2)))43(hlinear : ∀ w ∈ P.support, ∀ r, FreeGroup.norm (w r) ≤ 1)44(hsymm : ∀ (ν : Type) [Fintype ν] [DecidableEq ν] [Nonempty ν]45(ρ : (Fin n → FreeGroup (Fin 2)) →* unitary (Matrix ν ν ℂ)),46(P.finiteEval ρ).IsHermitian) :47(∫ ω : HaarModel.Sample 2 n N,48‖P.finiteEval (StructuredHaarModel.sampleRepresentation n N ω)‖49∂HaarModel.sampleMeasure 2 n N) ≤ ‖P.regularEval‖ *50Real.exp (Quantitative.haarLogMultiplier h n (Real.log (2*(Fintype.card P.Index:ℝ)))) := by51let φ := functionGroupHom (Fin 2) n52let f := transportPolynomial φ (ofPolynomial P)53have hs : IsSelfAdjoint (regularEval f) := by54apply transportPolynomial_selfAdjoint55rw [regularEval_ofPolynomial]56exact HaarFiniteSymmetry.polynomial_regular_selfAdjoint_of_finite P hlinear hsymm57have hl : ∀ w ∈ f.support, RadiusLe 1 w := by58intro w hw59have him : w ∈ (ofPolynomial P).support.image φ :=60Finsupp.mapDomain_support hw61obtain ⟨v,hv,rfl⟩ := Finset.mem_image.mp him62exact radius_functionGroupHom v (hlinear v (ofPolynomial_support_subset P hv))63have hb := iteratedExpectation_prescribed_le hh hn hD hone f hs hl64have he := canonicalMoment_eq_iteratedMoment N 1 n (ofPolynomial P)65simp only [pow_one, finiteEval_ofPolynomial] at he66rw [← he] at hb67have hnorm : ‖regularEval f‖ = ‖P.regularEval‖ := by68rw [transportPolynomial_regular_norm φ (functionGroupHom_injective n), regularEval_ofPolynomial]69rwa [hnorm] at hb7071/-- The exact remaining expectation interface used by the finite channel72construction follows from the single one-pair moment statement. -/73theorem explicitHaarExpectation_of_onePairTraceBound {K n : ℕ}74(hK : 2 ≤ K) (hn : Quantitative.n₀ K ≤ n)75(hone : OnePairTraceBound (StructuredHaarConsequences.sampleSize K n)76(Quantitative.momentParameter (Real.log K) n)) :77StructuredHaarConsequences.ExplicitHaarExpectation K n := by78intro P hlinear hsymm79have hKreal : (2:ℝ) ≤ K := by exact_mod_cast hK80have hlogK := Real.log_le_log (by norm_num : (0:ℝ)<2) hKreal81have hh : (2:ℝ)/3 ≤ Real.log (K:ℝ) := by linarith [Real.log_two_gt_d9]82obtain ⟨_,hn64,_,_⟩ := Quantitative.threshold_consequences hK hn83have hn2 : 2 ≤ n := by exact_mod_cast (show (2:ℝ) ≤ n by linarith)84apply canonicalExpectation_prescribed_le hh hn285(StructuredHaarConsequences.sampleSize_add_one K n) hone P _ hsymm86intro w hw r87rcases hlinear w hw with rfl | ⟨x,rfl | rfl⟩88· simp89· simp only [ProductPolynomialReduction.generator, Pi.inv_apply, FreeGroup.norm_inv_eq,90apply_ite FreeGroup.norm, FreeGroup.norm_of, FreeGroup.norm_one]91split_ifs <;> omega92· simp only [ProductPolynomialReduction.generator, Pi.inv_apply, FreeGroup.norm_inv_eq,93apply_ite FreeGroup.norm, FreeGroup.norm_of, FreeGroup.norm_one]94split_ifs <;> omega9596end Nonadditivity.HaarIteratedMoments