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
Hugo Herbelin
iris-coq
Commits
5c61abfb
Commit
5c61abfb
authored
Dec 08, 2018
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close issue #223: make instance anonymous and put a comment why the instance is there.
parent
84188aac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
theories/algebra/big_op.v
theories/algebra/big_op.v
+5
-1
No files found.
theories/algebra/big_op.v
View file @
5c61abfb
...
...
@@ -413,7 +413,11 @@ Section homomorphisms.
Context
`
{
Monoid
M1
o1
,
Monoid
M2
o2
}.
Infix
"`o1`"
:
=
o1
(
at
level
50
,
left
associativity
).
Infix
"`o2`"
:
=
o2
(
at
level
50
,
left
associativity
).
Instance
foo
{
A
}
(
R
:
relation
A
)
:
RewriteRelation
R
.
(** The ssreflect rewrite tactic only works for relations that have a
[RewriteRelation] instance. For the purpose of this section, we want to
rewrite with arbitrary relations, so we declare any relation to be a
[RewriteRelation]. *)
Local
Instance
:
∀
{
A
}
(
R
:
relation
A
),
RewriteRelation
R
.
Lemma
big_opL_commute
{
A
}
(
h
:
M1
→
M2
)
`
{!
MonoidHomomorphism
o1
o2
R
h
}
(
f
:
nat
→
A
→
M1
)
l
:
...
...
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