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
Pierre Roux
Iris
Commits
f230165b
Commit
f230165b
authored
4 years ago
by
Paolo G. Giarrusso
Committed by
Robbert Krebbers
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Drop line break
https://gitlab.mpi-sws.org/iris/iris/-/wikis/style-guide
parent
58c1caae
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
iris/bi/plainly.v
+14
-6
14 additions, 6 deletions
iris/bi/plainly.v
with
14 additions
and
6 deletions
iris/bi/plainly.v
+
14
−
6
View file @
f230165b
...
...
@@ -548,6 +548,13 @@ Global Instance big_sepMS_plain `{BiAffine PROP, Countable A} (Φ : A → PROP)
(
∀
x
,
Plain
(
Φ
x
))
→
Plain
([
∗
mset
]
x
∈
X
,
Φ
x
)
.
Proof
.
rewrite
big_opMS_eq
.
apply
_
.
Qed
.
Global
Instance
plainly_timeless
P
`{
!
BiPlainlyExist
PROP
}
:
Timeless
P
→
Timeless
(
■
P
)
.
Proof
.
intros
.
rewrite
/
Timeless
/
bi_except_0
later_plainly_1
.
by
rewrite
(
timeless
P
)
/
bi_except_0
plainly_or
{
1
}
plainly_elim
.
Qed
.
(* Interaction with equality *)
Section
internal_eq
.
Context
`{
!
BiInternalEq
PROP
}
.
...
...
@@ -604,6 +611,13 @@ Section prop_ext.
(
λ
Q
,
■
(
True
-∗
Q
))
%
I
ltac
:(
shelve
));
last
solve_proper
.
by
rewrite
-
entails_wand
//
-
(
plainly_emp_intro
True
%
I
)
True_impl
.
Qed
.
(* This proof uses [BiPlainlyExist] and [BiLöb] via [plainly_timeless] and
[wand_timeless]. *)
Global
Instance
internal_eq_timeless
`{
!
BiPlainlyExist
PROP
,
!
BiLöb
PROP
}
`{
!
Timeless
P
}
`{
!
Timeless
Q
}
:
Timeless
(
PROP
:=
PROP
)
(
P
≡
Q
)
.
Proof
.
rewrite
prop_ext
.
apply
_
.
Qed
.
End
prop_ext
.
(* Interaction with ▷ *)
...
...
@@ -629,12 +643,6 @@ Proof. induction n; apply _. Qed.
Global
Instance
except_0_plain
P
:
Plain
P
→
Plain
(
◇
P
)
.
Proof
.
rewrite
/
bi_except_0
;
apply
_
.
Qed
.
Global
Instance
plainly_timeless
P
`{
!
BiPlainlyExist
PROP
}
:
Timeless
P
→
Timeless
(
■
P
)
.
Proof
.
intros
.
rewrite
/
Timeless
/
bi_except_0
later_plainly_1
.
by
rewrite
(
timeless
P
)
/
bi_except_0
plainly_or
{
1
}
plainly_elim
.
Qed
.
End
plainly_derived
.
(* When declared as an actual instance, [plain_persistent] will cause
...
...
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