lean2/tests/lean/run/export.lean
Leonardo de Moura f9a90b9920 feat(frontends/lean): add 'export' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-03 18:37:01 -07:00

18 lines
208 B
Text

import data.nat
variables a b : nat.nat
namespace boo
export nat
check a + b
check nat.add
check boo.add
check add
end boo
check boo.nat_rec
open boo
check a + b
check boo.nat_rec
check nat_rec