add Hole and Template skeleton
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user