Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Sammler
iris-coq
Commits
5c61abfb
Commit
5c61abfb
authored
6 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Close issue #223: make instance anonymous and put a comment why the instance is there.
parent
84188aac
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/algebra/big_op.v
+5
-1
5 additions, 1 deletion
theories/algebra/big_op.v
with
5 additions
and
1 deletion
theories/algebra/big_op.v
+
5
−
1
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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment