Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
Manage
Activity
Members
Labels
Plan
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
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
Paolo G. Giarrusso
iris
Commits
bf8da205
Commit
bf8da205
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add an example why we need WeakMonoidHomomorphism.
parent
02a0929d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/algebra/monoid.v
+3
-1
3 additions, 1 deletion
theories/algebra/monoid.v
with
3 additions
and
1 deletion
theories/algebra/monoid.v
+
3
−
1
View file @
bf8da205
...
...
@@ -30,7 +30,9 @@ Lemma monoid_right_id `{Monoid M o} : RightId (≡) monoid_unit o.
Proof
.
intros
x
.
etrans
;
[
apply
monoid_comm
|
apply
monoid_left_id
]
.
Qed
.
(** The [Homomorphism] classes give rise to generic lemmas about big operators
commuting with each other. *)
commuting with each other. We also consider a [WeakMonoidHomomorphism] which
does not necesarrily commute with unit; an example is the [own] connective: we
only have `True ==∗ own γ ∅`, not `True ↔ own γ ∅`. *)
Class
WeakMonoidHomomorphism
{
M1
M2
:
ofeT
}
(
o1
:
M1
→
M1
→
M1
)
(
o2
:
M2
→
M2
→
M2
)
`{
Monoid
M1
o1
,
Monoid
M2
o2
}
(
f
:
M1
→
M2
)
:=
{
monoid_homomorphism_ne
:
NonExpansive
f
;
...
...
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