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
84c40c55
Commit
84c40c55
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Lemmas to show that `monPred`s are persistent/absorbing/affine.
parent
6231b7b9
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/monpred.v
+9
-2
9 additions, 2 deletions
theories/bi/monpred.v
with
9 additions
and
2 deletions
theories/bi/monpred.v
+
9
−
2
View file @
84c40c55
...
...
@@ -440,6 +440,13 @@ Proof. split => ?. unseal. apply bi_positive. Qed.
Global
Instance
monPred_bi_affine
:
BiAffine
PROP
→
BiAffine
monPredI
.
Proof
.
split
=>
?
.
unseal
.
by
apply
affine
.
Qed
.
Lemma
monPred_persistent
P
:
(
∀
i
,
Persistent
(
P
i
))
→
Persistent
P
.
Proof
.
intros
HP
.
constructor
=>
i
.
unseal
.
apply
HP
.
Qed
.
Lemma
monPred_absorbing
P
:
(
∀
i
,
Absorbing
(
P
i
))
→
Absorbing
P
.
Proof
.
intros
HP
.
constructor
=>
i
.
unseal
.
apply
HP
.
Qed
.
Lemma
monPred_affine
P
:
(
∀
i
,
Affine
(
P
i
))
→
Affine
P
.
Proof
.
intros
HP
.
constructor
=>
i
.
unseal
.
apply
HP
.
Qed
.
Global
Instance
monPred_at_persistent
P
i
:
Persistent
P
→
Persistent
(
P
i
)
.
Proof
.
move
=>
[]
/
(_
i
)
.
by
unseal
.
Qed
.
Global
Instance
monPred_at_absorbing
P
i
:
Absorbing
P
→
Absorbing
(
P
i
)
.
...
...
@@ -449,9 +456,9 @@ Proof. move => [] /(_ i). unfold Affine. by unseal. Qed.
(** Note that [monPred_in] is *not* [Plain], because it depends on the index. *)
Global
Instance
monPred_in_persistent
i
:
Persistent
(
@
monPred_in
I
PROP
i
)
.
Proof
.
unfold
Persistent
.
unseal
;
split
=>
?
.
by
apply
bi
.
pure_persistent
.
Qed
.
Proof
.
apply
monPred_persistent
=>
j
.
rewrite
monPred_at_in
.
apply
_
.
Qed
.
Global
Instance
monPred_in_absorbing
i
:
Absorbing
(
@
monPred_in
I
PROP
i
)
.
Proof
.
unfold
Absorbing
.
unseal
.
split
=>
?
/=.
apply
absorbing
,
_
.
Qed
.
Proof
.
apply
monPred_absorbing
=>
j
.
rewrite
monPred_at_in
.
apply
_
.
Qed
.
Definition
monPred_embedding_mixin
:
BiEmbedMixin
PROP
monPredI
monPred_embed
.
Proof
.
...
...
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