Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarPrescribedProbability

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

Catalog entries: Explicit favorable-realization probability

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

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

1 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarPrescribedBound7import Nonadditivity.ProbabilityQuantitative89/-! # Explicit favorable-event probability at the prescribed Haar dimension -/1011noncomputable section12namespace Nonadditivity.HaarPrescribedDimension13open MeasureTheory StructuredHaarConsequences StructuredHaarModel14  StructuredLinearization PolynomialReduction15open scoped Matrix Matrix.Norms.L2Operator1617/-- The manuscript's probability fraction for each admissible linearized test18polynomial. The expectation estimate is discharged by the full Haar proof. -/19theorem prescribed_polynomial_favorable_probability {K n : ℕ}20    (hK : 2 ≤ K) (hn : Quantitative.n₀ K ≤ n)21    (H : Polynomial (StructuredLinearization.G n))22    (hlinear : ∀ w ∈ H.support, w = 1 ∨ ∃ x : Fin n × Fin 2,23      w = ProductPolynomialReduction.generator x ∨24        w = (ProductPolynomialReduction.generator x)⁻¹)25    (hherm : ∀ (ν : Type) [Fintype ν] [DecidableEq ν] [Nonempty ν]26      (π : StructuredLinearization.G n →* unitary (Matrix ν ν ℂ)),27        (H.finiteEval π).IsHermitian)28    (hL : Real.log (2 * (Fintype.card H.Index : ℝ)) ≤29      2 * (K : ℝ)^(2*n) * Real.log (1 + 2*(n : ℝ)))30    (hpos : 0 < ‖H.regularEval‖) :31    Quantitative.tolerance (Real.log K) n /32        (2 * (1 + Quantitative.tolerance (Real.log K) n)) ≤33      (HaarModel.sampleMeasure 2 n (sampleSize K n)).real34        {ω | ‖H.finiteEval (sampleRepresentation n (sampleSize K n) ω)‖ ≤35          (1 + Quantitative.tolerance (Real.log K) n) * ‖H.regularEval‖} := by36  have hnpos : (0 : ℝ) < n := by37    have hn64 := (Quantitative.threshold_consequences hK hn).2.138    linarith39  have hL0 : 0 ≤ Real.log (2 * (Fintype.card H.Index : ℝ)) := by40    have hc : (1 : ℝ) ≤ Fintype.card H.Index := by41      exact_mod_cast Fintype.card_pos (α := H.Index)42    exact Real.log_nonneg (by linarith)43  have hlog := (Quantitative.quantitative_certificate hK hn hL0 hL).2.2.244  have hε : 0 < Quantitative.tolerance (Real.log K) n := by45    unfold Quantitative.tolerance46    positivity47  have he := (explicitHaarExpectation hK hn) H hlinear hherm48  have hfactor : Real.exp (Quantitative.haarLogMultiplier (Real.log K) n49      (Real.log (2 * (Fintype.card H.Index : ℝ)))) ≤50        1 + Quantitative.tolerance (Real.log K) n / 2 := by51    have h := Real.exp_lt_exp.mpr hlog52    rw [Real.exp_log (by linarith :53      0 < 1 + Quantitative.tolerance (Real.log K) n / 2)] at h54    exact h.le55  apply Probability.favorable_realization_probability56    (integrable_polynomial_norm n (sampleSize K n) H)57    (Filter.Eventually.of_forall (fun _ => norm_nonneg _)) hε hpos58  exact he.trans (by nlinarith [mul_le_mul_of_nonneg_left hfactor hpos.le])5960end Nonadditivity.HaarPrescribedDimension