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
Jonas Kastberg
iris
Commits
5c61abfb
Commit
5c61abfb
authored
Dec 08, 2018
by
Robbert Krebbers
Browse files
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
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
Supports
Markdown
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