Download lean/OAI/InformationTheory/SecretKey/Main.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.96 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/InformationTheory/SecretKey/Main.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/InformationTheory/SecretKey/Main.lean
-
curl -L -o Main.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/InformationTheory/SecretKey/Main.lean
1.96 kB
Lean 4 · 4
declarations statementsfull
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 hstheorem 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
31The explicit density witness removes a proof dependency from the challenge statement. This is equivalent to the original five-clause formulation.
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⟩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⟩Outline