lean4-htt/tests/lean/run/root.lean
Leonardo de Moura a37e24af4a test: _root_
cc @Kha
2020-11-05 15:39:22 -08:00

17 lines
208 B
Text

def x := 10
namespace Foo
def x := true
#check x
#check _root_.x
theorem ex1 : x = true := rfl
theorem ex2 : _root_.x = 10 := rfl
end Foo
theorem ex3 : x = 10 := rfl
theorem ex4 : _root_.x = 10 := rfl