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
William Mansky
Iris
Commits
a3969eb5
Commit
a3969eb5
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
also avoid '!#'
parent
07ff13e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/base_logic/lib/invariants.v
+2
-2
2 additions, 2 deletions
theories/base_logic/lib/invariants.v
theories/base_logic/lib/viewshifts.v
+2
-2
2 additions, 2 deletions
theories/base_logic/lib/viewshifts.v
with
4 additions
and
4 deletions
theories/base_logic/lib/invariants.v
+
2
−
2
View file @
a3969eb5
...
...
@@ -137,7 +137,7 @@ Section inv.
↑
N1
∪
↑
N2
⊆@
{
coPset
}
↑
N
→
inv
N1
P
-∗
inv
N2
Q
-∗
inv
N
(
P
∗
Q
)
.
Proof
.
rewrite
inv_eq
.
iIntros
(??)
"#HinvP #HinvQ !
#
"
;
iIntros
(
E
?)
.
rewrite
inv_eq
.
iIntros
(??)
"#HinvP #HinvQ !
>
"
;
iIntros
(
E
?)
.
iMod
(
"HinvP"
with
"[%]"
)
as
"[$ HcloseP]"
;
first
set_solver
.
iMod
(
"HinvQ"
with
"[%]"
)
as
"[$ HcloseQ]"
;
first
set_solver
.
iMod
(
fupd_intro_mask'
_
(
E
∖
↑
N
))
as
"Hclose"
;
first
set_solver
.
...
...
@@ -149,7 +149,7 @@ Section inv.
□
(
P
-∗
P
∗
P
)
-∗
inv
N
P
-∗
inv
N
Q
-∗
inv
N
(
P
∗
Q
)
.
Proof
.
rewrite
inv_eq
.
iIntros
"#HPdup #HinvP #HinvQ !
#
"
(
E
?)
.
rewrite
inv_eq
.
iIntros
"#HPdup #HinvP #HinvQ !
>
"
(
E
?)
.
iMod
(
"HinvP"
with
"[//]"
)
as
"[HP HcloseP]"
.
iDestruct
(
"HPdup"
with
"HP"
)
as
"[$ HP]"
.
iMod
(
"HcloseP"
with
"HP"
)
as
%
_
.
...
...
This diff is collapsed.
Click to expand it.
theories/base_logic/lib/viewshifts.v
+
2
−
2
View file @
a3969eb5
...
...
@@ -82,10 +82,10 @@ Lemma vs_inv_acc N E P :
⊢
inv
N
P
=
{
E
,
E
∖↑
N
}=>
▷
P
∗
∃
R
,
R
∗
(
R
∗
▷
P
=
{
E
∖↑
N
,
E
}=>
True
)
.
Proof
.
(* FIXME: scope printing is weird, there are [%stdpp]. *)
iIntros
(?)
"!
#
#Hinv"
.
iIntros
(?)
"!
>
#Hinv"
.
iMod
(
inv_acc
with
"Hinv"
)
as
"[$ Hclose]"
;
first
done
.
iModIntro
.
iExists
(
▷
P
=
{
E
∖
↑
N
,
E
}
=∗
True
)
%
I
.
iFrame
.
iIntros
"!
#
[Hclose HP]"
.
iMod
(
"Hclose"
with
"HP"
)
.
done
.
iIntros
"!
>
[Hclose HP]"
.
iMod
(
"Hclose"
with
"HP"
)
.
done
.
Qed
.
Lemma
vs_alloc
N
P
:
⊢
▷
P
=
{
↑
N
}=>
inv
N
P
.
...
...
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