Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
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
Gaëtan Gilbert
Iris
Commits
ef06857c
Commit
ef06857c
authored
7 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
MonoidHommomorphism instances for embeddings.
parent
bd3a8a9f
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/bi/embedding.v
+20
-0
20 additions, 0 deletions
theories/bi/embedding.v
with
20 additions
and
0 deletions
theories/bi/embedding.v
+
20
−
0
View file @
ef06857c
From
iris
.
algebra
Require
Import
monoid
.
From
iris
.
bi
Require
Import
interface
derived_laws
.
From
stdpp
Require
Import
hlist
.
...
...
@@ -117,6 +118,25 @@ Section bi_embedding.
Proof
.
intros
?
.
by
rewrite
/
Affine
(
affine
P
)
bi_embed_emp
.
Qed
.
Global
Instance
bi_embed_absorbing
P
:
Absorbing
P
→
Absorbing
⎡
P
⎤.
Proof
.
intros
?
.
by
rewrite
/
Absorbing
-
bi_embed_absorbingly
absorbing
.
Qed
.
Global
Instance
bi_embed_and_homomorphism
:
MonoidHomomorphism
bi_and
bi_and
(
≡
)
bi_embed
.
Proof
.
by
split
;
[
split
|];
try
apply
_;
[
setoid_rewrite
bi_embed_and
|
rewrite
bi_embed_pure
]
.
Qed
.
Global
Instance
bi_embed_or_homomorphism
:
MonoidHomomorphism
bi_or
bi_or
(
≡
)
bi_embed
.
Proof
.
by
split
;
[
split
|];
try
apply
_;
[
setoid_rewrite
bi_embed_or
|
rewrite
bi_embed_pure
]
.
Qed
.
Global
Instance
bi_embed_sep_homomorphism
:
MonoidHomomorphism
bi_sep
bi_sep
(
≡
)
bi_embed
.
Proof
.
by
split
;
[
split
|];
try
apply
_;
[
setoid_rewrite
bi_embed_sep
|
rewrite
bi_embed_emp
]
.
Qed
.
End
bi_embedding
.
Section
sbi_embedding
.
...
...
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