roseking's picture
Add lean source and binary files (part 84)
cdec422 verified
Raw History Blame Contribute Delete
1.96 kB
15
theorem class_uniformProtocolGap {a b : ℕ} [Nonempty (Fin a)] [Nonempty (Fin b)]
    (R : Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ) (hR : Density R) (hc : InClass R) :
    UniformProtocolGap.{u} R hR := by
proof · 2 lines
  intro k O M _ _ _ _ _ _ d A B _ _ _ _ _ _ _ _ TA TB CA CB _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ p e P hP sigma hs
  exact p.uniform_gap_purification (positiveCopies R k) (hc.positiveCopies k) P hP sigma hs
21
theorem class_uniformCompletedGap {a b : ℕ} [Nonempty (Fin a)] [Nonempty (Fin b)]
    (R : Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ) (hR : Density R) (hc : InClass R) :
    UniformCompletedGap.{u} R hR := by
proof · 2 lines
  intro k ell hell p
  exact p.uniform_error (hc.positiveCopies k) hell

The explicit density witness removes a proof dependency from the challenge statement. This is equivalent to the original five-clause formulation.

31
theorem mainClaim_iff_original : MainClaim.{u} ↔
    (Density rhoFin ∧ ¬ Separable rhoFin ∧
      distillableSecretKey.{u} rhoFin rhoFin_density = 0 ∧
      UniformProtocolGap.{u} rhoFin rhoFin_density ∧
      UniformCompletedGap.{u} rhoFin rhoFin_density) := by
proof · 5 lines
  constructor
  · rintro ⟨hR, hsep, hkey, hprotocol, hcompleted⟩
    exact ⟨hR, hsep, hkey, hprotocol, hcompleted⟩
  · rintro ⟨hR, hsep, hkey, hprotocol, hcompleted⟩
    exact ⟨hR, hsep, hkey, hprotocol, hcompleted⟩
42
theorem main : MainClaim.{u} := by
proof · 4 lines
  exact ⟨rhoFin_density, rhoFin_not_separable,
    class_distillableSecretKey_zero rhoFin rhoFin_density rhoFin_inClass,
    class_uniformProtocolGap rhoFin rhoFin_density rhoFin_inClass,
    class_uniformCompletedGap rhoFin rhoFin_density rhoFin_inClass⟩