Download lean/HyperKitty/Main.lean from Snapkitty/hyperkitty-constraint-dsl: direct link, hf CLI and curl.
- Browser
- Download file 5.51 kB
-
https://huggingface.co/Snapkitty/hyperkitty-constraint-dsl/resolve/main/lean/HyperKitty/Main.lean
- Command line
-
hf download hf://Snapkitty/hyperkitty-constraint-dsl/lean/HyperKitty/Main.lean
-
curl -L -o Main.lean https://huggingface.co/Snapkitty/hyperkitty-constraint-dsl/resolve/main/lean/HyperKitty/Main.lean
5.51 kB
Lean 4 · 2
declarations statementsfull
theorem system_consistency :
∃ (qlg : Vec3) (sla : Ledger) (qra : Glyph),
QLG.canonical qlg ∧
sla.balance ∧
true := by proof · 6 lines
use {x:=1, y:=0, z:=0}
use Ledger.mkBalanced 1 1 0
use Glyph.Pi
constructor
· norm_num [QLG.canonical]
· simp [Ledger.balance, Ledger.mkBalanced]; omegatheorem decidability_instance :
∀ (g1 g2 : Glyph), Decidable (g1 = g2) := proof · 1 line
fun _ _ => inferInstanceOutline