lean2/tests/lean/run/eq17.lean
2015-11-08 14:04:59 -08:00

5 lines
210 B
Text

open nat
definition lt_of_succ : ∀ {a b : nat}, succ a < b → a < b
| 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)