lean4-htt/tests/lean/run/1093.lean

11 lines
206 B
Text

open tactic nat
constant zadd (a : nat) : 0 + a = a
constant le.refl (a : nat) : a ≤ a
attribute [simp] zadd
example (a : nat) : 0 + a ≤ a :=
by do simp
example (a : nat) : 0 + a ≥ a :=
by do simp