2014-07-07 22:40:32 +00:00
|
|
|
import logic
|
|
|
|
|
|
|
|
namespace N1
|
|
|
|
section
|
|
|
|
section
|
|
|
|
variable A : Type
|
2014-07-22 16:43:18 +00:00
|
|
|
definition foo (a : A) : Prop := true
|
2014-07-07 22:40:32 +00:00
|
|
|
check foo
|
|
|
|
end
|
|
|
|
check foo
|
|
|
|
end
|
|
|
|
check foo
|
|
|
|
end
|
|
|
|
check N1.foo
|
|
|
|
|
|
|
|
namespace N2
|
|
|
|
section
|
|
|
|
parameter A : Type
|
|
|
|
inductive list : Type :=
|
|
|
|
| nil {} : list
|
|
|
|
| cons : A → list → list
|
|
|
|
check list
|
|
|
|
end
|
|
|
|
check list
|
|
|
|
end
|
|
|
|
check N2.list
|