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
fdeea0b8
Commit
fdeea0b8
authored
1 year ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Group `monpred` BI instances together.
parent
de8e16fd
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
iris/bi/monpred.v
+12
-10
12 additions, 10 deletions
iris/bi/monpred.v
with
12 additions
and
10 deletions
iris/bi/monpred.v
+
12
−
10
View file @
fdeea0b8
...
@@ -553,6 +553,18 @@ Section instances.
...
@@ -553,6 +553,18 @@ Section instances.
@
monPred_defs
.
monPred_in_unseal
)
.
@
monPred_defs
.
monPred_in_unseal
)
.
Ltac
unseal
:=
rewrite
!
monPred_unseal
/=.
Ltac
unseal
:=
rewrite
!
monPred_unseal
/=.
Global
Instance
monPred_bi_persistently_forall
:
BiPersistentlyForall
PROP
→
BiPersistentlyForall
monPredI
.
Proof
.
intros
?
A
φ
.
split
=>
/=
i
.
unseal
.
by
apply
persistently_forall_2
.
Qed
.
Global
Instance
monPred_bi_pure_forall
:
BiPureForall
PROP
→
BiPureForall
monPredI
.
Proof
.
intros
?
A
φ
.
split
=>
/=
i
.
unseal
.
by
apply
pure_forall_2
.
Qed
.
Global
Instance
monPred_bi_later_contractive
:
BiLaterContractive
PROP
→
BiLaterContractive
monPredI
.
Proof
.
intros
?
n
.
unseal
=>
P
Q
HPQ
.
split
=>
i
/=.
f_contractive
.
apply
HPQ
.
Qed
.
Global
Instance
monPred_bi_embed_emp
:
BiEmbedEmp
PROP
monPredI
.
Global
Instance
monPred_bi_embed_emp
:
BiEmbedEmp
PROP
monPredI
.
Proof
.
split
.
by
unseal
.
Qed
.
Proof
.
split
.
by
unseal
.
Qed
.
...
@@ -719,16 +731,6 @@ Section bi_facts.
...
@@ -719,16 +731,6 @@ Section bi_facts.
Global
Instance
monPred_in_flip_mono
:
Proper
((
⊑
)
==>
flip
(
⊢
))
(
@
monPred_in
I
PROP
)
.
Global
Instance
monPred_in_flip_mono
:
Proper
((
⊑
)
==>
flip
(
⊢
))
(
@
monPred_in
I
PROP
)
.
Proof
.
solve_proper
.
Qed
.
Proof
.
solve_proper
.
Qed
.
Global
Instance
monPred_persistently_forall
:
BiPersistentlyForall
PROP
→
BiPersistentlyForall
monPredI
.
Proof
.
intros
?
A
φ
.
split
=>
/=
i
.
unseal
.
by
apply
persistently_forall_2
.
Qed
.
Global
Instance
monPred_pure_forall
:
BiPureForall
PROP
→
BiPureForall
monPredI
.
Proof
.
intros
?
A
φ
.
split
=>
/=
i
.
unseal
.
by
apply
pure_forall_2
.
Qed
.
Global
Instance
monPred_later_contractive
:
BiLaterContractive
PROP
→
BiLaterContractive
monPredI
.
Proof
.
intros
?
n
.
unseal
=>
P
Q
HPQ
.
split
=>
i
/=.
f_contractive
.
apply
HPQ
.
Qed
.
Global
Instance
monPred_bi_löb
:
BiLöb
PROP
→
BiLöb
monPredI
.
Global
Instance
monPred_bi_löb
:
BiLöb
PROP
→
BiLöb
monPredI
.
Proof
.
rewrite
{
2
}
/
BiLöb
;
unseal
=>
?
P
HP
;
split
=>
i
/=.
apply
löb_weak
,
HP
.
Qed
.
Proof
.
rewrite
{
2
}
/
BiLöb
;
unseal
=>
?
P
HP
;
split
=>
i
/=.
apply
löb_weak
,
HP
.
Qed
.
Global
Instance
monPred_bi_positive
:
BiPositive
PROP
→
BiPositive
monPredI
.
Global
Instance
monPred_bi_positive
:
BiPositive
PROP
→
BiPositive
monPredI
.
...
...
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