lean4-htt/tests/lean/concrete_instance.lean
Leonardo de Moura e9f8f9e5d7 refactor(library/nat): rename nat.le to nat.less_than
Motivation: avoid overload when we use `open nat`.

Unfortunately, we currently do not allow users to mark inductive datatype
declarations as protected.
2016-11-25 18:53:03 -08:00

12 lines
173 B
Text

variables a b : nat
set_option pp.all true
check a * b
check a + b
-- instance : semigroup nat := sorry
-- instance : add_semigroup nat := sorry
check a * b
check a + b