lean2/tests/lean/run/univ1.lean
2015-03-25 18:25:48 -07:00

29 lines
644 B
Text

import logic
namespace S1
axiom I : Type
definition F (X : Type) : Type := (X → Prop) → Prop
axiom unfold.{l} : I.{l} → F I.{l}
axiom foldd.{l} : F I.{l} → I.{l}
axiom iso1 : ∀x, foldd (unfold x) = x
end S1
namespace S2
universe u
axiom I : Type.{u}
definition F (X : Type) : Type := (X → Prop) → Prop
axiom unfold : I → F I
axiom foldd : F I → I
axiom iso1 : ∀x, foldd (unfold x) = x
end S2
namespace S3
context
hypothesis I : Type
definition F (X : Type) : Type := (X → Prop) → Prop
hypothesis unfold : I → F I
hypothesis foldd : F I → I
hypothesis iso1 : ∀x, foldd (unfold x) = x
end
end S3