add Hole and Template skeleton

This commit is contained in:
Jon Eugster
2023-05-12 16:02:36 +02:00
parent 2a81c67675
commit c6e224dc40
3 changed files with 55 additions and 4 deletions
+19 -2
View File
@@ -1,4 +1,5 @@
import GameServer.Commands
--import
Game "Test"
World "TestW"
@@ -6,5 +7,21 @@ Level 1
LemmaDoc add_zero as "add_zero" in "Nat" "(nothing)"
Statement add_zero (attr := simp, to_additive) "test" (n : Nat) : n + 0 = n := by
rfl
@[simp] Statement add_zero "test" (n : Nat) : n + n = n := by
sorry
Statement (n : Nat) : 0 + n = n := by
Template
induction n
Hole
simp
simp
NewLemma add_zero
--attribute [simp] add_zero
#print add_zero
theorem xy (n : Nat) : n + n = n := by
simp