lean2/examples/lean/ex4.lean
Leonardo de Moura c3bc6afb12 refactor(library/arith): move int and nat declarations to .lean files.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-30 10:32:14 -08:00

7 lines
247 B
Text

Import tactic
Definition a : Nat := 10
(* Trivial indicates a "proof by evaluation" *)
Theorem T1 : a > 0 := (by trivial)
Theorem T2 : a - 5 > 3 := (by trivial)
(* The next one is commented because it fails *)
(* Theorem T3 : a > 11 := Trivial *)