lean4-htt/tests/lean/run/1093.lean
2016-07-29 10:44:44 -07:00

10 lines
237 B
Text

import data.nat
open tactic nat
attribute zero_add [simp]
example (a : nat) : 0 + a ≤ a :=
by do simp, trace_state, mk_const `le.refl >>= apply
example (a : nat) : 0 + a ≥ a :=
by do simp, trace_state, mk_const `le.refl >>= apply