Exact Lean source
Nonadditivity.HaarPrescribedBound
Download original .lean · View on GitHub · Jump to source
Catalog entries: Prescribed finite dimensions and Holevo gap · Uniform adjoint norm estimate at prescribed dimensions
Direct imports
Imported by project modules
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
14 project constants, including generated, internal and private declarations.
14 declarations
Nonadditivity.HaarPrescribedDimension.exists_prescribed_channelNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_boundNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_bound._proof_1_1internal/detail/privateNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_bound._simp_1_2internal/detail/privateNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_bound._simp_1_3internal/detail/privateNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_bound._simp_1_4internal/detail/privateNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_bound._simp_1_5internal/detail/privateNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_bound._simp_1_6internal/detail/privateNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_bound._simp_1_7internal/detail/privateNonadditivity.HaarPrescribedDimension.exists_prescribed_channel_with_lower_bound._simp_1_8internal/detail/privateNonadditivity.HaarPrescribedDimension.explicitHaarExpectationNonadditivity.HaarPrescribedDimension.onePairLengthBoundsNonadditivity.HaarPrescribedDimension.onePairLengthBounds._proof_1_1internal/detail/privateNonadditivity.HaarPrescribedDimension.onePairTraceBound
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarRefinedCoefficientBound7import Nonadditivity.HaarPathClassAssembly8import Nonadditivity.HaarPrescribedDimension910/-! # The unconditional prescribed-dimension Haar and channel bounds1112Actual Haar integration, refined path classes, operator coefficient sums,13finite scalar majorants, and tensor replacement are joined here. No random14matrix, path-counting, or coefficient estimate remains an input.15-/16noncomputable section17set_option backward.isDefEq.respectTransparency false18set_option maxHeartbeats 150000019namespace Nonadditivity.HaarPrescribedDimension20open HaarOperatorPathBridge HaarOperatorCurry HaarOnePairAssembly21HaarWordExpansion HaarIteratedMoments StructuredHaarConsequences22open scoped Matrix Matrix.Norms.L2Operator2324/-- The literal mixed moment contributions satisfy the tracked length budget. -/25theorem onePairLengthBounds {N p : ℕ} (hp : 2≤p)26(hN : 2^80*(p:ℝ)^80≤N+1) : OnePairLengthBounds N p := by27classical28intro j ι _ _ _ f _ hlinear t ht29have ht0 : 0<t := (Finset.mem_Icc.mp ht).130have htp : t≤p := (Finset.mem_Icc.mp ht).231have hA := operatorCurry_linear f (fun w hw => (hlinear w hw).1)32have hb : ∀ P : HaarPathGraph.Path (Fin (N+1)) 2 t, pathWeight P≠0 →33‖refinedCoefficientSum (operatorCurry f) p P‖ ≤ (N+1:ℝ)^P.vertices.card *34(2^(HaarPathMultiplicity.singletonEdges P.edgeList).card *35(p:ℝ)^(9*P.defectTwice+11)*‖regularEval f‖^p) := by36intro P _37have h := coefficient_bound (operatorCurry f) hA p (by omega) P ht038simpa only [Fintype.card_fin,Nat.cast_add,Nat.cast_one,operatorCurry_norm,mul_assoc] using h39have h := norm_pathOperatorSum_le_of_coefficient_bound hp ht0 htp hN40(operatorCurry f) (pow_nonneg (norm_nonneg (regularEval f)) p) hb41exact mixedLengthContribution_le_of_pathSum N p t ht0 f h4243/-- The full one-pair trace comparison in the manuscript's growing moment range. -/44theorem onePairTraceBound {N p : ℕ} (hp : 2≤p)45(hN : 2^80*(p:ℝ)^80≤N+1) : OnePairTraceBound N p :=46onePairTraceBound_of_lengthBounds hp hN (onePairLengthBounds hp hN)4748/-- The exact canonical Haar expectation needed by the channel construction. -/49theorem explicitHaarExpectation {K n : ℕ} (hK : 2≤K) (hn : Quantitative.n₀ K≤n) :50ExplicitHaarExpectation K n := by51have hKreal : (2:ℝ)≤K := by exact_mod_cast hK52have hlogK := Real.log_le_log (by norm_num : (0:ℝ)<2) hKreal53have hh : (2:ℝ)/3≤Real.log (K:ℝ) := by linarith [Real.log_two_gt_d9]54obtain ⟨_,hn64,_,_⟩ := Quantitative.threshold_consequences hK hn55have hn2 : (2:ℝ)≤n := by linarith56have hp := (Quantitative.moment_parameter_bounds hh hn2).2.157have hD := HaarMomentConstants.prescribed_dimension_strong hh hn258have he : sampleSize K n+1=Quantitative.dimensionChoice (Real.log K) n :=59sampleSize_add_one K n60rw [←he,Nat.cast_add,Nat.cast_one] at hD61exact explicitHaarExpectation_of_onePairTraceBound hK hn (onePairTraceBound hp hD)6263/-- A genuine finite CPTP channel with the manuscript's prescribed dimensions64and the supplementary single-use lower bound, on the same channel witness. -/65theorem exists_prescribed_channel_with_lower_bound {K n : ℕ}66(hK : 2≤K) (hn : Quantitative.n₀ K≤n) :67∃ T : ActualConsequences.FiniteQuantumChannel,68Fintype.card T.Input = 2*(localDimension K n)^n*K^(2*n) ∧69Fintype.card T.Output = K^n ∧700 < T.chi ∧712*(n:ℝ)/(K:ℝ) ≤ T.chi ∧72T.chi ≤ (n:ℝ)*Scalar.aK K+2*Scalar.log2 (kappa n) ∧73(n:ℝ)*Scalar.log2 K/(K:ℝ)≤T.chiTwo ∧74(n:ℝ)*Scalar.deltaK K-4*Scalar.log2 (kappa n)≤T.gap := by75letI : NeZero K := ⟨by omega⟩76obtain ⟨ω,hupper,hlower,_⟩ := exists_explicit_channel hK hn77(explicitHaarExpectation hK hn)78let U := StructuredHaarModel.derivedUnitary K n (sampleSize K n) hK ω79let T := ActualConsequences.FiniteQuantumChannel.ofKraus80(Conversion.converted (BlockConstruction.blockChannel U n))81obtain ⟨_,hn64,_,_⟩ := Quantitative.threshold_consequences hK hn82have hn1 : 1 ≤ n := by exact_mod_cast (show (1:ℝ) ≤ n by linarith)83have hp : 0 < T.chi := PositiveHolevo.block_converted_holevoBits_pos hK U hn184have hs : 2*(n:ℝ)/(K:ℝ) ≤ T.chi :=85PositiveHolevo.block_converted_holevoBits_lower hK U n86have he : (2*Scalar.log2 (kappa n))*Real.log 2 = 2*Real.log (kappa n) := by87dsimp [Scalar.log2]88field_simp89have hu : T.chi ≤ (n:ℝ)*Scalar.aK K+2*Scalar.log2 (kappa n) :=90HolevoBits.natural_upper_to_bits n (by simpa only [he] using hupper)91have hl : (n:ℝ)*Scalar.log2 K/(K:ℝ) ≤ T.chiTwo :=92HolevoBits.natural_lower_to_bits n hlower93refine ⟨T,explicit_input_dimension,ZMod.card _,hp,hs,hu,hl,?_⟩94unfold ActualConsequences.FiniteQuantumChannel.gap Scalar.deltaK95rw [mul_sub,←mul_div_assoc]96nlinarith only [hu,hl]9798/-- A genuine finite CPTP channel with the manuscript's prescribed dimensions99and its one-use, two-use, and additive-gap bounds, all in bits. -/100theorem exists_prescribed_channel {K n : ℕ} (hK : 2≤K) (hn : Quantitative.n₀ K≤n) :101∃ T : ActualConsequences.FiniteQuantumChannel,102Fintype.card T.Input = 2*(localDimension K n)^n*K^(2*n) ∧103Fintype.card T.Output = K^n ∧1040 < T.chi ∧105T.chi ≤ (n:ℝ)*Scalar.aK K+2*Scalar.log2 (kappa n) ∧106(n:ℝ)*Scalar.log2 K/(K:ℝ)≤T.chiTwo ∧107(n:ℝ)*Scalar.deltaK K-4*Scalar.log2 (kappa n)≤T.gap := by108obtain ⟨T,hinput,houtput,hpos,_,hupper,hlower,hgap⟩ :=109exists_prescribed_channel_with_lower_bound hK hn110exact ⟨T,hinput,houtput,hpos,hupper,hlower,hgap⟩111112end Nonadditivity.HaarPrescribedDimension