Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarIteratedMoments

Download original .lean · View on GitHub · Jump to source

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

25 project constants, including generated, internal and private declarations.

25 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarHybridMoments7import Nonadditivity.HaarTensorConstants89/-! # Iterating the actual Haar replacements1011The recursively integrated quantity uses the canonical Haar law at every12coordinate, literal finite matrix substitutions, and the actual regular norm13on the remaining free factors. The induction only assumes the one-pair trace14comparison, uniformly in those remaining free factors.15-/16noncomputable section17set_option backward.isDefEq.respectTransparency false18set_option maxHeartbeats 150000019set_option linter.unusedSectionVars false20namespace Nonadditivity.HaarIteratedMoments21open MeasureTheory HaarModel HaarWordExpansion HaarTensorReplacement22open HaarHybridMoments HaarTensorConstants ProductHaagerupProduct23open scoped BigOperators Matrix Matrix.Norms.L2Operator2425abbrev Pair (N : ℕ) := Fin 2 → LocalUnitary N2627def pairMeasure (N : ℕ) : Measure (Pair N) := Measure.pi (fun _ => haar N)2829instance pairProbability (N : ℕ) : IsProbabilityMeasure (pairMeasure N) := by30  unfold pairMeasure31  infer_instance3233def pairRepresentation (N : ℕ) (U : Pair N) :34    FreeGroup (Fin 2) →* LocalUnitary N := FreeGroup.lift U3536theorem continuous_pairRepresentation (N : ℕ) (g : FreeGroup (Fin 2)) :37    Continuous (fun U : Pair N => (pairRepresentation N U g : Matrix (Fin (N+1)) (Fin (N+1)) ℂ)) := by38  have hl : ∀ l : List (Fin 2 × Bool), Continuous39      (fun U : Pair N => pairRepresentation N U (FreeGroup.mk l)) := by40    intro l41    induction l with42    | nil => simpa using (continuous_const : Continuous (fun _ : Pair N => (1 : LocalUnitary N)))43    | cons x l ih =>44      simp only [pairRepresentation, FreeGroup.lift_mk, List.map_cons, List.prod_cons] at ih ⊢45      apply Continuous.mul _ ih46      cases hx : x.247      · exact (continuous_apply x.1).inv48      · exact continuous_apply x.149  exact continuous_subtype_val.comp (by simpa only [FreeGroup.mk_toWord] using hl g.toWord)5051def iteratedMoment (N p : ℕ) : (j : ℕ) →52    {ι : Type} → [Fintype ι] → [DecidableEq ι] →53    MatrixPolynomial (GroupIndex (Fin 2) j) ι → ℝ54  | 0, _, _, _, f => ‖regularEval f‖^p55  | j+1, _, _, _, f => ∫ U : Pair N,56      iteratedMoment N p j (partialEval (representationMatrix (pairRepresentation N U)) f)57        ∂pairMeasure N5859theorem iteratedMoment_nonneg (N p j : ℕ) {ι : Type} [Fintype ι] [DecidableEq ι]60    (f : MatrixPolynomial (GroupIndex (Fin 2) j) ι) : 0 ≤ iteratedMoment N p j f := by61  induction j generalizing ι with62  | zero => exact pow_nonneg (norm_nonneg _) _63  | succ j ih => exact integral_nonneg (fun U => ih _)6465/-- The one-pair analytic input, with actual remaining free factors as66coefficients. This is a single trace comparison, not an assumed norm estimate. -/67def OnePairTraceBound (N p : ℕ) : Prop :=68  ∀ (j : ℕ) (ι : Type) [Fintype ι] [DecidableEq ι] [Nonempty ι]69    (f : MatrixPolynomial (GroupIndex (Fin 2) (j+1)) ι),70    IsSelfAdjoint (regularEval f) →71    (∀ w ∈ f.support, RadiusLe 1 w) →72    (∫ U : Pair N,73      (vacuumTrace ((partialEval (representationMatrix (pairRepresentation N U)) f)^p)).re74        ∂pairMeasure N) ≤75      (vacuumTrace (f^p)).re + (N+1 : ℝ)^(-(1/2 : ℝ))*‖regularEval f‖^p7677/-- Every replacement contributes its enlarged matrix dimension and the78number of still-free coordinates. This yields the explicit triangular powers. -/79theorem iteratedMoment_le (N p : ℕ) (hp : Even p) (hp2 : 2 ≤ p)80    (hone : OnePairTraceBound N p) (j : ℕ)81    {ι : Type} [Fintype ι] [DecidableEq ι] [Nonempty ι]82    (f : MatrixPolynomial (GroupIndex (Fin 2) j) ι)83    (hf : IsSelfAdjoint (regularEval f))84    (hlinear : ∀ w ∈ f.support, RadiusLe 1 w) :85    iteratedMoment N p j f ≤86      replacementMultiplier (Fintype.card ι) (N+1) p j * ‖regularEval f‖^p := by87  induction j generalizing ι with88  | zero => simp [iteratedMoment, replacementMultiplier, triangle]89  | succ j ih =>90    let C := replacementMultiplier ((Fintype.card ι : ℝ)*(N+1)) (N+1) p j91    have hC : 0 ≤ C := by unfold C replacementMultiplier; positivity92    have hi : ∀ U : Pair N,93        iteratedMoment N p j94          (partialEval (representationMatrix (pairRepresentation N U)) f) ≤95        C * ‖regularEval (partialEval (representationMatrix (pairRepresentation N U)) f)‖^p := by96      intro U97      have hl : ∀ w ∈ (partialEval (representationMatrix (pairRepresentation N U)) f).support,98          RadiusLe 1 w := by99        intro w hw100        obtain ⟨v,hv,rfl⟩ := Finset.mem_image.mp (partialEval_support _ f hw)101        exact (hlinear v hv).2102      simpa only [C, Fintype.card_prod, Fintype.card_fin, Nat.cast_mul, Nat.cast_add,103        Nat.cast_one] using ih _ (partialEval_selfAdjoint _ f hf) hl104    have hint := integrable_partial_regularNorm_pow (pairMeasure N)105      (fun U => representationMatrix (pairRepresentation N U))106      (continuous_pairRepresentation N) f p107    have hstep := replacement_norm_moment_le (pairMeasure N) (pairRepresentation N)108      (continuous_pairRepresentation N) f hf (fun w hw => (hlinear w hw).2)109      hp hp2 ((N+1:ℝ)^(-(1/2:ℝ))) (hone j ι f hf hlinear)110    have hle := integral_mono_of_nonneg111      (Filter.Eventually.of_forall (fun U => iteratedMoment_nonneg N p j _))112      (hint.const_mul C) (Filter.Eventually.of_forall hi)113    rw [integral_const_mul] at hle114    apply hle.trans115    apply (mul_le_mul_of_nonneg_left hstep hC).trans_eq116    simp only [Fintype.card_fin, Nat.cast_add, Nat.cast_one]117    calc118      _ = (C * (2*(Fintype.card ι:ℝ)*(N+1)*(p:ℝ)^(3*j)*(1+(N+1:ℝ)^(-(1/2:ℝ))))) *119          ‖regularEval f‖^p := by ring_nf; rfl120      _ = _ := by rw [show C = replacementMultiplier ((Fintype.card ι:ℝ)*(N+1)) (N+1) p j from rfl,121          replacementMultiplier_succ]122123end Nonadditivity.HaarIteratedMoments