Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
88efaeeb
Commit
88efaeeb
authored
Apr 03, 2020
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add OFE structure for Prop
parent
acea2a52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
theories/algebra/ofe.v
theories/algebra/ofe.v
+7
-0
No files found.
theories/algebra/ofe.v
View file @
88efaeeb
...
...
@@ -946,12 +946,19 @@ Notation discrete_ofe_equivalence_of A := ltac:(
Instance
leibnizO_leibniz
A
:
LeibnizEquiv
(
leibnizO
A
).
Proof
.
by
intros
x
y
.
Qed
.
(** * Basic Coq types *)
Canonical
Structure
boolO
:
=
leibnizO
bool
.
Canonical
Structure
natO
:
=
leibnizO
nat
.
Canonical
Structure
positiveO
:
=
leibnizO
positive
.
Canonical
Structure
NO
:
=
leibnizO
N
.
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 *)
Section
option
.
Context
{
A
:
ofeT
}.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment