Pratik Patil

CalibratedSymmetry.lean

1module23public import SubentropyCertificates.CalibratedConcavity4import all SubentropyCertificates.MarginalEigenbasisTable56/-! Relabeling the classical coordinates of the calibrated subentropy. -/7@[expose] public section8noncomputable section9open Matrix10open scoped Kronecker1112namespace SubentropyCertificates.AncillaCalibration13open D5.S3.Quantum.Foundation.FiniteStateChannel (DensityState)14open SubentropyCertificates.BinarySpectra (densityMatrix)15open SubentropyCertificates.QubitDeficit (reindex_subentropy)1617variable {I X C : Type*} [Fintype I] [DecidableEq I] [Fintype X] [DecidableEq X]18  [Fintype C] [DecidableEq C]1920/-- Relabeling the classical coordinates leaves the calibrated subentropy unchanged. -/21theorem calibratedSubentropy_reindex (ν : DensityState C) (p : X → ℝ) (e : I ≃ X) :22    calibratedSubentropy ν (p ∘ e) = calibratedSubentropy ν p := by23  let E := e.prodCongr (Equiv.refl C)24  have h : (diagonal (fun i ↦ ((p ∘ e) i : ℂ)) ⊗ₖ densityMatrix ν) =25      ((diagonal (fun x ↦ (p x : ℂ))) ⊗ₖ densityMatrix ν).submatrix E E := by26    ext ⟨i,c⟩ ⟨j,d⟩27    change diagonal (fun i ↦ (p (e i) : ℂ)) i j * densityMatrix ν c d =28      diagonal (fun x ↦ (p x : ℂ)) (e i) (e j) * densityMatrix ν c d29    by_cases hij : i = j30    · subst j31      simp32    · simp [diagonal_apply_ne _ hij, diagonal_apply_ne _ (e.injective.ne hij)]33  rw [calibratedSubentropy, calibratedSubentropy, h, reindex_subentropy]3435end SubentropyCertificates.AncillaCalibration

Axioms used

Choose a statement to see which axioms its proof uses.