Skip to content
Snippets Groups Projects
Commit 88efaeeb authored by Ralf Jung's avatar Ralf Jung
Browse files

add OFE structure for Prop

parent acea2a52
No related branches found
No related tags found
No related merge requests found
...@@ -946,12 +946,19 @@ Notation discrete_ofe_equivalence_of A := ltac:( ...@@ -946,12 +946,19 @@ Notation discrete_ofe_equivalence_of A := ltac:(
Instance leibnizO_leibniz A : LeibnizEquiv (leibnizO A). Instance leibnizO_leibniz A : LeibnizEquiv (leibnizO A).
Proof. by intros x y. Qed. Proof. by intros x y. Qed.
(** * Basic Coq types *)
Canonical Structure boolO := leibnizO bool. Canonical Structure boolO := leibnizO bool.
Canonical Structure natO := leibnizO nat. Canonical Structure natO := leibnizO nat.
Canonical Structure positiveO := leibnizO positive. Canonical Structure positiveO := leibnizO positive.
Canonical Structure NO := leibnizO N. Canonical Structure NO := leibnizO N.
Canonical Structure ZO := leibnizO Z. Canonical Structure ZO := leibnizO Z.
Section prop.
Instance Prop_equiv : Equiv Prop := iff.
Instance Prop_equivalence : Equivalence (≡@{PROP}) := _.
Canonical Structure PropO := discreteO Prop.
End prop.
(** * Option type *) (** * Option type *)
Section option. Section option.
Context {A : ofeT}. Context {A : ofeT}.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment