lean2/tests/lean/ns1.lean
Leonardo de Moura 7726ccad28 chore(builtin): rename nat, int and real modules to Nat, Int and Real.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-01 13:52:25 -08:00

19 lines
No EOL
293 B
Text

Import Int.
Namespace foo.
Variable a : Nat.
Definition b := a.
Theorem T : a = b := Refl a.
Axiom H : b >= a.
Namespace bla.
Variables a c d : Int.
Check a + b + c.
EndNamespace.
EndNamespace.
Check foo::T.
Check foo::H.
Check foo::a.
Check foo::bla::a.
EndNamespace.