Pratik Patil

PlateauEquality.lean

1module23public import SubentropyCertificates.PureUniformDistance45/-! Theorem 13, plateau equality. A difference spanning the full range of subentropy6forces its two arguments to be a minimizer and a maximizer. -/7@[expose] public section8noncomputable section9open Matrix10open scoped BigOperators ComplexOrder MatrixOrder1112namespace SubentropyCertificates.SpectralContinuity13open D5.S3.Quantum.Foundation.FiniteStateChannel14open D5.S3.Quantum.Information.InputInformationBalance (IsPure)15open D5.S3.Quantum.Subentropy.Basic16open SubentropyCertificates.QuantumEquality17open SubentropyCertificates.Subadditivity (subentropy_nonnegative subentropy_zero_iff_pure)18open SubentropyCertificates.MixedQubit (traceDistance)1920variable {D : Type*} [Fintype D] [DecidableEq D] [Nonempty D]2122private theorem full_gap (ρ σ : DensityState D) :23    |subentropy ρ - subentropy σ| ≤ subentropy (maximallyMixed D) ∧24    (|subentropy ρ - subentropy σ| = subentropy (maximallyMixed D) ↔25      (IsPure ρ ∧ σ = maximallyMixed D) ∨ (ρ = maximallyMixed D ∧ IsPure σ)) := by26  obtain ⟨hr, er⟩ := subentropy_maximum_iff ρ27  obtain ⟨hs, es⟩ := subentropy_maximum_iff σ28  have hr0 := subentropy_nonnegative ρ29  have hs0 := subentropy_nonnegative σ30  have hu := subentropy_nonnegative (maximallyMixed D)31  refine ⟨abs_le.mpr ⟨by linarith, by linarith⟩, ?_⟩32  constructor33  · intro h34    rcases le_total (subentropy ρ) (subentropy σ) with hle | hle35    · rw [abs_of_nonpos (sub_nonpos.mpr hle)] at h36      exact Or.inl ⟨(subentropy_zero_iff_pure ρ).mp (by linarith), es.mp (by linarith)⟩37    · rw [abs_of_nonneg (sub_nonneg.mpr hle)] at h38      exact Or.inr ⟨er.mp (by linarith), (subentropy_zero_iff_pure σ).mp (by linarith)⟩39  · rintro (⟨hρ, rfl⟩ | ⟨rfl, hσ⟩)40    · simp [(subentropy_zero_iff_pure ρ).mpr hρ, abs_of_nonneg hu]41    · simp [(subentropy_zero_iff_pure σ).mpr hσ, abs_of_nonneg hu]4243private theorem plateau_supremum {δ : ℝ} (hδ : 1 - 1 / (Fintype.card D : ℝ) ≤ δ) :44    sSup (quantumDifferences D δ) = subentropy (maximallyMixed D) := by45  apply IsGreatest.csSup_eq46  refine ⟨?_, ?_⟩47  · let i : D := Classical.choice ‹Nonempty D›48    let τ := diagonalDensity (pointMass i) (pointMass_probability i)49    have ht : IsPure τ := (subentropy_zero_iff_pure τ).mp (pointMass_subentropy i)50    exact ⟨τ, maximallyMixed D, (pure_uniform_traceDistance τ ht).1.le.trans hδ,51      ((full_gap τ _).2.mpr (Or.inl ⟨ht, rfl⟩)).symm⟩52  · rintro v ⟨ρ, σ, _, rfl⟩53    exact (full_gap ρ σ).15455/-- A pair attains the maximum on a plateau ball exactly when it consists, in either56order, of a pure state and I/d. Feasibility is part of the equivalence. -/57theorem quantum_modulus_plateau_eq_iff (ρ σ : DensityState D) {δ : ℝ}58    (hδ : 1 - 1 / (Fintype.card D : ℝ) ≤ δ) :59    (traceDistance ρ σ ≤ δ ∧ |subentropy ρ - subentropy σ| = sSup (quantumDifferences D δ)) ↔60      (IsPure ρ ∧ σ = maximallyMixed D) ∨ (ρ = maximallyMixed D ∧ IsPure σ) := by61  rw [plateau_supremum hδ, (full_gap ρ σ).2]62  refine ⟨And.right, fun h ↦ ⟨?_, h⟩⟩63  rcases h with ⟨hρ, rfl⟩ | ⟨rfl, hσ⟩64  · exact (pure_uniform_traceDistance ρ hρ).1.le.trans hδ65  · exact (pure_uniform_traceDistance σ hσ).2.le.trans hδ6667end SubentropyCertificates.SpectralContinuity

Axioms used

Choose a statement to see which axioms its proof uses.