4946f55290
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
20 lines
278 B
Text
20 lines
278 B
Text
import data.num
|
|
set_option pp.notation false
|
|
set_option pp.implicit true
|
|
|
|
namespace foo
|
|
constant N : Type.{1}
|
|
constant z : N
|
|
constant o : N
|
|
constant a : N
|
|
notation 0 := z
|
|
notation 1 := o
|
|
|
|
check a = 0
|
|
end foo
|
|
|
|
check 2 = 1
|
|
check #foo foo.a = 1
|
|
|
|
open foo
|
|
check a = 1
|