Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
116
Issues
116
List
Boards
Labels
Service Desk
Milestones
Merge Requests
22
Merge Requests
22
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Iris
Commits
a3969eb5
Commit
a3969eb5
authored
Jul 15, 2020
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also avoid '!#'
parent
07ff13e0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
theories/base_logic/lib/invariants.v
theories/base_logic/lib/invariants.v
+2
-2
theories/base_logic/lib/viewshifts.v
theories/base_logic/lib/viewshifts.v
+2
-2
No files found.
theories/base_logic/lib/invariants.v
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
%
_
.
...
...
theories/base_logic/lib/viewshifts.v
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
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment