lean2/tests/lean/run/root.lean
Leonardo de Moura 364bba2129 feat(frontends/lean/inductive_cmd): prefix introduction rules with the name of the inductive datatype
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 17:26:36 -07:00

17 lines
240 B
Text

import logic
variable foo : Prop
namespace N1
variable foo : Prop
check N1.foo
check _root_.foo
namespace N2
variable foo : Prop
check N1.foo
check N1.N2.foo
print raw foo
print raw _root_.foo
end N2
end N1