Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Iris
Commits
c3c91b70
Commit
c3c91b70
authored
Feb 06, 2020
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify proof considerably
parent
d6b0cf0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
theories/bi/lib/counterexamples.v
theories/bi/lib/counterexamples.v
+3
-7
No files found.
theories/bi/lib/counterexamples.v
View file @
c3c91b70
...
...
@@ -325,12 +325,8 @@ Module linear2. Section linear2.
Proof
.
iIntros
"HP"
.
iMod
cinv_alloc
as
(
γ
)
"Hmkinv"
.
set
(
INV
:
=
(
P
∨
cinv_own
γ
∗
P
)%
I
).
iMod
(
"Hmkinv"
$!
INV
with
"[HP]"
)
as
"(Hinv & Htok)"
.
{
iLeft
.
done
.
}
iMod
(
cinv_access
with
"Hinv Htok"
)
as
"([HP|Hinv] & Htok & Hclose)"
;
last
first
.
{
iDestruct
"Hinv"
as
"(Htok' & ?)"
.
iMod
(
cinv_own_excl
with
"Htok Htok'"
)
as
"[]"
.
}
iApply
"Hclose"
.
iNext
.
iRight
.
iFrame
.
iMod
(
"Hmkinv"
$!
True
%
I
with
"[//]"
)
as
"[Hinv Htok]"
.
iMod
(
cinv_access
with
"Hinv Htok"
)
as
"(Htrue & Htok & Hclose)"
.
iApply
"Hclose"
.
done
.
Qed
.
End
linear2
.
End
linear2
.
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