You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lean4game/server/test/test_statement.lean

28 lines
403 B
Plaintext

import GameServer.Commands
--import
Game "Test"
World "TestW"
Level 1
LemmaDoc add_zero as "add_zero" in "Nat" "(nothing)"
@[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