lean2/tests/lean/run/export2.lean
2015-02-01 19:57:26 -08:00

12 lines
150 B
Text

open nat
definition foo := 30
namespace foo
definition x : nat := 10
definition y : nat := 20
end foo
export foo
example : x + y = foo := rfl