SharpInverse.lean
1module23public import SubentropyCertificates.CurveInverse4public import SubentropyCertificates.IdenticalPureSignals56/-! Pointwise optimality of the curve and its inverse, without regularity7assumptions on competing universal bounds. -/89@[expose] public section10noncomputable section11set_option autoImplicit false12set_option backward.isDefEq.respectTransparency false13open Set14open scoped BigOperators1516namespace SubentropyCertificates.Discrimination17open D5.S3.Quantum.Foundation.FiniteStateChannel18open D5.S3.Quantum.Subentropy.ClassicalQuantumGram19open D5.S3.Quantum.Subentropy.GuessingProbability20open SubentropyCertificates.ClassicalCurve2122variable {B : Type*} [Fintype B] [DecidableEq B] [Nonempty B]2324theorem inverse_attainable_in_dimension (m : ℕ) (q : ℝ) (hq : q ∈ curveRange m) :25 ∃ (p : Option (Fin (m + 1)) → ℝ) (hp : ∀ x, 0 ≤ p x) (hs : ∑ x, p x = 1)26 (ρ : Option (Fin (m + 1)) → DensityState B),27 conditionalSubentropy p hp hs ρ = q ∧ 1 - pGuess p ρ = phiInverse m q hq := by28 obtain ⟨p, hp, hs, ρ, he, hq'⟩ :=29 curve_attainable_in_dimension (B := B) m (phiInverse m q hq) (phiInverse_mem m q hq)30 exact ⟨p, hp, hs, ρ, hq'.trans (phi_phiInverse m q hq), he⟩3132theorem universal_upper_bound_ge_curve (m : ℕ) (U : ℝ → ℝ)33 (hU : ∀ (p : Option (Fin (m + 1)) → ℝ) (hp : ∀ x, 0 ≤ p x)34 (hs : ∑ x, p x = 1) (ρ : Option (Fin (m + 1)) → DensityState B),35 conditionalSubentropy p hp hs ρ ≤ U (1 - pGuess p ρ))36 (e : ℝ) (he : e ∈ Icc 0 (uniformError m)) : phi m e ≤ U e := by37 obtain ⟨p, hp, hs, ρ, he', hq'⟩ := curve_attainable_in_dimension (B := B) m e he38 have h := hU p hp hs ρ39 rw [he', hq'] at h40 exact h4142theorem universal_lower_bound_le_inverse (m : ℕ) (L : ℝ → ℝ)43 (hL : ∀ (p : Option (Fin (m + 1)) → ℝ) (hp : ∀ x, 0 ≤ p x)44 (hs : ∑ x, p x = 1) (ρ : Option (Fin (m + 1)) → DensityState B),45 L (conditionalSubentropy p hp hs ρ) ≤ 1 - pGuess p ρ)46 (q : ℝ) (hq : q ∈ curveRange m) : L q ≤ phiInverse m q hq := by47 obtain ⟨p, hp, hs, ρ, hq', he'⟩ := inverse_attainable_in_dimension (B := B) m q hq48 have h := hL p hp hs ρ49 rw [hq', he'] at h50 exact h5152end SubentropyCertificates.Discrimination
Axioms used
Choose a statement to see which axioms its proof uses.