26 lines
377 B
Text
26 lines
377 B
Text
import logic
|
|
|
|
namespace N1
|
|
context
|
|
context
|
|
parameter A : Type
|
|
definition foo (a : A) : Prop := true
|
|
check foo
|
|
end
|
|
check foo
|
|
end
|
|
check foo
|
|
end N1
|
|
check N1.foo
|
|
|
|
namespace N2
|
|
context
|
|
parameter A : Type
|
|
inductive list : Type :=
|
|
nil {} : list,
|
|
cons : A → list → list
|
|
check list
|
|
end
|
|
check list
|
|
end N2
|
|
check N2.list
|