Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarPathSample

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

Direct imports

Imported by project modules

1 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

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarPathSupport78/-! # Path estimates on the manuscript's canonical Haar sample space -/9noncomputable section10set_option backward.isDefEq.respectTransparency false11set_option maxHeartbeats 100000012namespace Nonadditivity.HaarPathWeights13open MeasureTheory HaarModel HaarInvariantTensor14open scoped BigOperators Matrix Matrix.Norms.L2Operator1516/-- Two distinct coordinates of the canonical sample have exactly the product17Haar expectation, for arbitrary continuous scalar factors. -/18theorem integral_sample_pair_eq_integral_prod {N : ℕ} (K n : ℕ)19    (x y : Fin n × Fin K) (hxy : x ≠ y)20    (f g : LocalUnitary N → ℂ) (hf : Continuous f) (hg : Continuous g) :21    (∫ ω : Sample K n N, f (ω x)*g (ω y) ∂sampleMeasure K n N) =22      ∫ U : LocalUnitary N × LocalUnitary N, f U.1*g U.2 ∂(haar N).prod (haar N) := by23  have hind := ((independent_coordinates K n N).indepFun hxy).comp hf.measurable hg.measurable24  have he := hind.integral_fun_mul_eq_mul_integral25    (hf.comp (continuous_apply x)).aestronglyMeasurable26    (hg.comp (continuous_apply y)).aestronglyMeasurable27  have hx := integral_comp_eval (μ := fun _ : Fin n × Fin K => haar N) (i := x)28    hf.aestronglyMeasurable29  have hy := integral_comp_eval (μ := fun _ : Fin n × Fin K => haar N) (i := y)30    hg.aestronglyMeasurable31  simp only [Function.comp_apply] at he32  rw [he]33  simp only [sampleMeasure]34  rw [hx,hy,integral_prod_mul]3536lemma continuous_listMonomial {N : ℕ} (L R : List (Entry N)) : Continuous (listMonomial L R) := by37  change Continuous (fun U => listMonomial L R U)38  simp_rw [listMonomial_eq_entryMonomial]39  exact continuous_entryMonomial _ _ _ _4041/-- Exact transfer of each closed-path weight to two canonical coordinates. -/42theorem integral_sample_pathProduct_eq {N m : ℕ} (K n : ℕ)43    (x y : Fin n × Fin K) (hxy : x ≠ y)44    (P : HaarPathGraph.Path (Fin (N+1)) 2 m) :45    (∫ ω : Sample K n N, pathProduct P (ω x,ω y) ∂sampleMeasure K n N) =46      ∫ U : LocalUnitary N × LocalUnitary N, pathProduct P U ∂(haar N).prod (haar N) := by47  simp_rw [pathProduct_eq,signedProduct_eq]48  exact integral_sample_pair_eq_integral_prod K n x y hxy _ _49    (continuous_listMonomial _ _) (continuous_listMonomial _ _)5051/-- The explicit singleton-sensitive bound on the existing sample model. -/52theorem norm_sample_pathProduct_integral_le {N m : ℕ} (K n : ℕ)53    (x y : Fin n × Fin K) (hxy : x ≠ y)54    (P : HaarPathGraph.Path (Fin (N+1)) 2 m) (hm : 0 < m)55    (hN : 16*((m/2:ℕ):ℝ)^4 ≤ N+1) :56    ‖∫ ω : Sample K n N, pathProduct P (ω x,ω y) ∂sampleMeasure K n N‖ ≤57      (4/(N+1:ℝ)^(m/2)) * (m:ℝ)^P.defectTwice *58        ((m:ℝ)/Real.sqrt (Real.sqrt (N+1)))^(HaarPathMultiplicity.singletonEdges P.edgeList).card := by59  rw [integral_sample_pathProduct_eq K n x y hxy]60  exact norm_pathProduct_integral_le P hm hN6162/-- Paths with too many vertices contribute exactly zero on the same model. -/63theorem integral_sample_pathProduct_eq_zero_of_vertices_gt {N m : ℕ} (K n : ℕ)64    (x y : Fin n × Fin K) (hxy : x ≠ y)65    (P : HaarPathGraph.Path (Fin (N+1)) 2 m) (hv : m/2 < P.vertices.card) :66    (∫ ω : Sample K n N, pathProduct P (ω x,ω y) ∂sampleMeasure K n N)=0 := by67  rw [integral_sample_pathProduct_eq K n x y hxy]68  exact integral_pathProduct_eq_zero_of_vertices_gt P hv6970end Nonadditivity.HaarPathWeights