cbc81ea6c5
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
29 lines
678 B
Text
29 lines
678 B
Text
import logic
|
|
|
|
namespace S1
|
|
hypothesis I : Type
|
|
definition F (X : Type) : Type := (X → Prop) → Prop
|
|
hypothesis unfold.{l} : I.{l} → F I.{l}
|
|
hypothesis fold.{l} : F I.{l} → I.{l}
|
|
hypothesis iso1 : ∀x, fold (unfold x) = x
|
|
end S1
|
|
|
|
namespace S2
|
|
universe u
|
|
hypothesis I : Type.{u}
|
|
definition F (X : Type) : Type := (X → Prop) → Prop
|
|
hypothesis unfold : I → F I
|
|
hypothesis fold : F I → I
|
|
hypothesis iso1 : ∀x, fold (unfold x) = x
|
|
end S2
|
|
|
|
|
|
namespace S3
|
|
section
|
|
hypothesis I : Type
|
|
definition F (X : Type) : Type := (X → Prop) → Prop
|
|
hypothesis unfold : I → F I
|
|
hypothesis fold : F I → I
|
|
hypothesis iso1 : ∀x, fold (unfold x) = x
|
|
end
|
|
end S3
|