Pratik Patil

CQOptimalCoefficient.lean

1module23public import SubentropyCertificates.CQStrictBound4public import SubentropyCertificates.PureSignalBlockEmbedding5public import SubentropyCertificates.BinarySharpPriors6public import SubentropyCertificates.LinearDiscrimination78/-! Sharpness of the coefficient one in every fixed pair of admissible dimensions. -/9@[expose] public section10noncomputable section11set_option backward.isDefEq.respectTransparency false12open Matrix Set13open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator1415namespace SubentropyCertificates.ConditionalContinuity16open SubentropyCertificates.MixedQubit (traceDistance)17open SubentropyCertificates.ClassicalCurve (phi uniformError_mem)18open SubentropyCertificates.QuantumEquality (pointMass)19open SubentropyCertificates.Discrimination (smaller_coefficient_fails_near_zero)2021variable {X D : Type*} [Fintype X] [DecidableEq X] [Fintype D] [DecidableEq D]2223/-- The real coefficients that bound the conditional subentropy difference by the joint24trace distance, with the label and quantum coordinate spaces fixed. -/25def cqLipschitzCoefficients (X D : Type*) [Fintype X] [DecidableEq X] [Fintype D] [DecidableEq D] :26    Set ℝ :=27  {c | ∀ (A B : X → Matrix D D ℂ) (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)28    (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1),29    |blockConditionalQ B - blockConditionalQ A| ≤30      c * traceDistance (blockDensity A ha hta) (blockDensity B hb htb)}3132/-- The paper's sharpness pair uses a single pure signal at j and transfers mass e33from label a to label b. The joint distance is e, and the conditional34subentropies are zero and the binary curve, respectively. -/35theorem cq_binary_sharpness_pair (j : D) (a b : X) (hab : a ≠ b) {e : ℝ} (he : e ∈ Icc 0 1) :36    let A := pureLabelBlocks j (pointMass a)37    let B := pureLabelBlocks j (binaryPrior a b e)38    ∃ (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)39      (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1),40      traceDistance (blockDensity A ha hta) (blockDensity B hb htb) = e ∧41      blockConditionalQ A = 0 ∧ blockConditionalQ B = phi 0 e := by42  obtain ⟨hp, hq, hd, hzero, hcurve⟩ := binaryPrior_pair a b hab he43  refine ⟨pureLabelBlocks_posSemidef j _ hp, pureLabelBlocks_posSemidef j _ hq,44    pureLabelBlocks_trace j _ hp, pureLabelBlocks_trace j _ hq, ?_⟩45  exact ⟨(pureLabelBlocks_traceDistance j _ _ hp hq).trans hd,46    (pureLabelBlocks_conditionalQ j _ hp).trans hzero,47    (pureLabelBlocks_conditionalQ j _ hq).trans hcurve⟩4849/-- Every coefficient below one fails at arbitrarily small positive joint trace distance.50The witnesses use a fixed pure signal in the prescribed quantum space. -/51theorem cq_lipschitz_sharp_near_zero (hn : 2 ≤ Fintype.card X) (hm : 1 ≤ Fintype.card D)52    {c δ : ℝ} (hc : c < 1) (hδ : 0 < δ) :53    ∃ (A B : X → Matrix D D ℂ) (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)54      (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1),55      let d := traceDistance (blockDensity A ha hta) (blockDensity B hb htb)56      0 < d ∧ d < δ ∧ c * d < |blockConditionalQ B - blockConditionalQ A| := by57  obtain ⟨j⟩ : Nonempty D := Fintype.card_pos_iff.mp hm58  obtain ⟨a, b, hab⟩ := Fintype.one_lt_card_iff.mp hn59  obtain ⟨e, hpos, hsmall, hadm, hgap⟩ := smaller_coefficient_fails_near_zero 0 hc hδ60  obtain ⟨ha, hb, hta, htb, hd, hzero, hcurve⟩ := cq_binary_sharpness_pair j a b hab61    (show e ∈ Icc (0 : ℝ) 1 from ⟨hpos.le, hadm.trans (uniformError_mem 0).2⟩)62  refine ⟨_, _, ha, hb, hta, htb, ?_⟩63  dsimp only64  rw [hd, hzero, hcurve, sub_zero]65  exact ⟨hpos, hsmall, hgap.trans_le (le_abs_self _)⟩6667/-- One is the least admissible coefficient when there are at least two labels and the68quantum system has dimension at least one. -/69theorem cq_lipschitz_constant_isLeast (hn : 2 ≤ Fintype.card X) (hm : 1 ≤ Fintype.card D) :70    IsLeast (cqLipschitzCoefficients X D) 1 := by71  constructor72  · intro A B ha hb hta htb73    have h := cq_path_bound A B ha hb hta htb74    simpa only [one_mul] using h.1.trans h.275  · intro c hbound76    by_contra! hc77    obtain ⟨A, B, ha, hb, hta, htb, _, _, hgap⟩ :=78      cq_lipschitz_sharp_near_zero hn hm hc (δ := 1) zero_lt_one79    exact (hbound A B ha hb hta htb).not_gt hgap8081end SubentropyCertificates.ConditionalContinuity

Axioms used

Choose a statement to see which axioms its proof uses.