Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rice Wine
Iris
Commits
1e2d180b
Commit
1e2d180b
authored
Nov 19, 2015
by
Robbert Krebbers
Browse files
COFE on type with leibniz equality.
parent
e760dfb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
iris/cofe.v
View file @
1e2d180b
...
...
@@ -272,6 +272,8 @@ Section discrete_cofe.
End
discrete_cofe
.
Arguments
discrete_cofeC
_
{
_
_
}.
Definition
leibniz_cofeC
(
A
:
Type
)
:
cofeT
:
=
@
discrete_cofeC
A
equivL
_
.
(** Later *)
Inductive
later
(
A
:
Type
)
:
Type
:
=
Later
{
later_car
:
A
}.
Arguments
Later
{
_
}
_
.
...
...
prelude/base.v
View file @
1e2d180b
...
...
@@ -194,6 +194,8 @@ Ltac unfold_leibniz := repeat
setoid_rewrite
<-(
leibniz_equiv
(
A
:
=
A
))
end
.
Definition
equivL
{
A
}
:
Equiv
A
:
=
(=).
(** A [Params f n] instance forces the setoid rewriting mechanism not to
rewrite in the first [n] arguments of the function [f]. We will declare such
instances for all operational type classes in this development. *)
...
...
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