Exact Lean source
Nonadditivity.ExactQualitative
Download original .lean · View on GitHub · Jump to source
Catalog entries: Qualitative finite-dimensional realization
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
6 project constants, including generated, internal and private declarations.
6 declarations
Nonadditivity.ExactQualitative.exists_actual_channel_bounds_positiveNonadditivity.ExactQualitative.exists_actual_channel_bounds_with_dimensionsNonadditivity.ExactQualitative.exists_actual_channel_bounds_with_dimensions._proof_1_1internal/detail/privateNonadditivity.ExactQualitative.exists_actual_channel_bounds_with_dimensions._proof_1_2internal/detail/privateNonadditivity.ExactQualitative.exists_actual_channel_bounds_with_dimensions._proof_1_3internal/detail/privateNonadditivity.ExactQualitative.exists_actual_channel_gap
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.DeterministicQualitative7import Nonadditivity.WeightedBlockBell8import Nonadditivity.WeightedParameters9import Nonadditivity.WeightedPositivity1011/-! # The exact qualitative bounds without Haar assumptions1213A nonzero arbitrarily small perturbation of the branch weights supplies a14strict Bell entropy reserve. Its effect on the adjoint certificate fits inside15the prescribed single-use tolerance. Finite-moment damping is chosen only after16this reserve is fixed, so its entropy error is absorbed completely. This proves17the displayed qualitative bounds with no error in the two-use lower bound.1819The construction is different from the manuscript's Haar construction and does20not supply its sharp prescribed local dimension.21-/22noncomputable section23set_option backward.isDefEq.respectTransparency false24set_option maxHeartbeats 60000025namespace Nonadditivity.ExactQualitative26open Entropy Channels Channels.KrausChannel AdjointPurity BlockConstruction27open Conversion BlockScalars ActualConsequences FiniteBlockModel28open WeightedBellScalar WeightedBlock29open scoped BigOperators Matrix.Norms.L2Operator ComplexOrder MatrixOrder3031/-- The manuscript's qualitative channel dimensions and exact two-use lower32bound, now with every analytic existence premise discharged. -/33theorem exists_actual_channel_bounds_with_dimensions {K n : ℕ}34(hK : 2 ≤ K) (hn : 1 ≤ n) {η : ℝ} (hη : 0 < η) :35∃ (T : FiniteQuantumChannel) (N : ℕ), 0 < N ∧36Fintype.card T.Input = 2 * N^n * K^(2*n) ∧37Fintype.card T.Output = K^n ∧380 < T.chi ∧ T.chi ≤ (n : ℝ)*Scalar.aK K+η ∧39(n : ℝ)*Scalar.log2 K/(K : ℝ) ≤ T.chiTwo := by40classical41letI : NeZero K := ⟨by omega⟩42let ε : ℝ := η * Real.log 243have hε : 0 < ε := mul_pos hη Scalar.log_two_pos44obtain ⟨δ,hδ,_,hbudget⟩ := WeightedParameters.exists_collinsYoun_budget hK hn hε45obtain ⟨s,hs,hsK,hscale⟩ := WeightedParameters.exists_small_perturbation hK n hδ46let q := perturbedWeights hK s47have hq (i : Fin K) : 0 ≤ q i := (perturbedWeights_positive hK hs.le hsK i).le48have hsum : ∑ i, q i=1 := perturbedWeights_sum hK s49let margin : ℝ := (n : ℝ)*(2*s^2*Real.log K)50have hnpos : (0 : ℝ) < n := by exact_mod_cast (show 0<n by omega)51have hmargin : 0 < margin := mul_pos hnpos (perturbation_margin_pos hK hs)52obtain ⟨τ,hτ,hstable⟩ := EntropyStability.exists_damped_bell_entropy_modulus53(ο := ZMod (K^n)) margin hmargin54obtain ⟨m,hm,horder⟩ := DampedRealization.exists_moment_order55(ο := ZMod (K^n)) (amplification_gt_one (half_pos hε))56(collinsYounConstant_pos hK hn) hτ57let U := baseUnitary K (4*m)58let B := blockChannel U n59obtain ⟨F,G,hF,hres,hGF,hcert,hloss⟩ := horder _ _ B (by60intro A _ ht hu61exact block_adjoint_normalized_moment_le hK hn m A ht hu.le)62let W := weightedBlock U q hq hsum n63let D := DampedChannel.damped W F hF hres64letI : DecidableEq ((ZMod (K^n) × ZMod (K^n)) ×65(Bool × TensorChainIndex (LocalIndex K (4*m)) n)) := instDecidableEqProd66let T := converted D67have hweighted := WeightedCertificate.damped_weighted_certificate B (outputScale q n)68(outputScale_isHermitian q n) (block_adjoint_outputScale_sq U q hq hsum n)69F hF hres hδ.le hscale hcert70rw [← weightedBlock_eq_weighted U q hq hsum n] at hweighted71have hfinal : ∀ A : Matrix (ZMod (K^n)) (ZMod (K^n)) ℂ,72A.IsHermitian → A.trace=0 →73‖D.adjointMap A‖ ≤ amplification ε*collinsYounConstant K n*hsLength A := by74intro A hA ht75exact (hweighted A hA ht).trans76(mul_le_mul_of_nonneg_right hbudget (hsLength_nonneg A))77have hsingle : T.holevo ≤ (n : ℝ)*Real.log (1+9/(K : ℝ))+ε := by78have h := converted_holevo_le_of_adjoint_certificate D79(amplification_times_constant_pos (η := ε) hK hn).le hfinal80simp only [Nat.cast_pow] at h81exact h.trans (log_purity_factor_le_eta hK hε)82have hb := weightedBlock_canonical_entropy_le U q hq hsum n83have hsq : ∑ i, q i^2 = 1/(K : ℝ)+2*s^2 := perturbedWeights_sum_sq hK s84rw [hsq] at hb85have hd := hstable W F hF hres hloss86have hjoint : ((D.tensor D.conjugate).output BellOutput.bellState).vonNeumann ≤87(n : ℝ)*(2*Real.log K-Real.log K/(K : ℝ)) := by88calc89_ ≤ (DampedBellStability.pairedBellOutput W).vonNeumann + margin := hd90_ ≤ (n : ℝ)*(2*Real.log K-(1/(K : ℝ)+2*s^2)*Real.log K)+margin :=91add_le_add hb (le_refl margin)92_ = _ := by dsimp only [margin]; ring93have hpair := converted_tensor_holevo_lower D BellOutput.bellState94have hlower : (n : ℝ)*Real.log K/(K : ℝ) ≤ (T.tensor T).holevo := by95have hc := two_use_entropy_cancellation K n96linarith97have hpos : 0 < T.holevoBits := by98apply WeightedPositivity.converted_damped_weightedBlock_holevoBits_pos99U q hq hsum hn ⟨⟨0,by omega⟩,?_⟩ F G hF hres hGF100change perturbedWeights hK s ⟨0,by omega⟩ ≠ _101rw [perturbedWeights_zero_index]102linarith103refine ⟨FiniteQuantumChannel.ofKraus T, Fintype.card (LocalIndex K (4*m)),104Fintype.card_pos, ?_, ?_, hpos, ?_, ?_⟩105· exact Qualitative.constructed_input_dimension (LocalIndex K (4*m)) n106· exact ZMod.card _107· exact HolevoBits.natural_upper_to_bits n hsingle108· exact HolevoBits.natural_lower_to_bits n hlower109110theorem exists_actual_channel_bounds_positive {K n : ℕ}111(hK : 2 ≤ K) (hn : 1 ≤ n) {η : ℝ} (hη : 0 < η) :112∃ T : FiniteQuantumChannel,1130 < T.chi ∧ T.chi ≤ (n : ℝ)*Scalar.aK K+η ∧114(n : ℝ)*Scalar.log2 K/(K : ℝ) ≤ T.chiTwo := by115obtain ⟨T,_,_,_,_,h⟩ := exists_actual_channel_bounds_with_dimensions hK hn hη116exact ⟨T,h⟩117118/-- The exact qualitative additive lower bound for the same genuine channel. -/119theorem exists_actual_channel_gap {K n : ℕ}120(hK : 2 ≤ K) (hn : 1 ≤ n) {η : ℝ} (hη : 0 < η) :121∃ T : FiniteQuantumChannel,1220 < T.chi ∧ T.chi ≤ (n : ℝ)*Scalar.aK K+η ∧123(n : ℝ)*Scalar.deltaK K-2*η ≤ T.gap := by124obtain ⟨T,hp,hu,hl⟩ := exists_actual_channel_bounds_positive hK hn hη125refine ⟨T,hp,hu,?_⟩126exact Scalar.holevo_gap hu (by simpa only [mul_div_assoc] using hl)127128end Nonadditivity.ExactQualitative