lean2/tests/lean/run/eq17.lean

6 lines
210 B
Text
Raw Normal View History

open nat
definition lt_of_succ : ∀ {a b : nat}, succ a < b → a < b
2015-10-23 14:24:30 +00:00
| lt_of_succ (lt.base (succ a)) := nat.lt_trans (lt.base a) (lt.base (succ a))
| lt_of_succ (lt.step h) := lt.step (lt_of_succ h)