Motivation: avoid overload when we use `open nat`. Unfortunately, we currently do not allow users to mark inductive datatype declarations as protected.
12 lines
173 B
Text
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
|