lean2/tests/lean/print_thm.lean
Leonardo de Moura 8a85e4ee87 feat(frontends/lean/builtin_cmds): improve print <id> when <id> is a not yet revealed theorem
We add a remark saying the command `reveal <id>` should be used to
access `<id>` definition.
2015-06-13 12:12:22 -07:00

10 lines
101 B
Text

open nat
theorem simple (a : nat) : a ≥ 0 :=
zero_le a
print simple
reveal simple
print simple