lean2/tests/lean/run/ppbeta.lean

10 lines
278 B
Text

import data.int
open [coercions] int
open [coercions] nat
definition lt (a b : int) := int.le (int.add a 1) b
infix `<` := lt
infixl `+` := int.add
theorem lt_add_succ2 (a : int) (n : nat) : a < a + nat.succ n :=
int.le.intro (show a + 1 + n = a + nat.succ n, from sorry)