Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
POPL20 Iris Tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Iris
POPL20 Iris Tutorial
Commits
fffa5267
Commit
fffa5267
authored
2 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Bump Iris (beautify code for `iCombine .. gives`).
parent
d0af7ae6
No related branches found
No related tags found
No related merge requests found
Pipeline
#78879
failed
2 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
coq-tutorial-popl20.opam
+1
-1
1 addition, 1 deletion
coq-tutorial-popl20.opam
solutions/symbol_ghost.v
+1
-1
1 addition, 1 deletion
solutions/symbol_ghost.v
solutions/two_state_ghost.v
+1
-1
1 addition, 1 deletion
solutions/two_state_ghost.v
with
3 additions
and
3 deletions
coq-tutorial-popl20.opam
+
1
−
1
View file @
fffa5267
...
...
@@ -8,7 +8,7 @@ dev-repo: "git+https://gitlab.mpi-sws.org/iris/tutorial-popl20.git"
synopsis: "The Iris tutorial at POPL 2020"
depends: [
"coq-iris-heap-lang" { (= "dev.202
2
-0
8-11.5.b6b4b694
") | (= "dev") }
"coq-iris-heap-lang" { (= "dev.202
3
-0
3-09.0.f91e8eab
") | (= "dev") }
]
build: [make "-j%{jobs}%"]
...
...
This diff is collapsed.
Click to expand it.
solutions/symbol_ghost.v
+
1
−
1
View file @
fffa5267
...
...
@@ -56,7 +56,7 @@ Section symbol_ghost.
Lemma
symbol_obs
γ
s
n
:
counter
γ
n
-∗
symbol
γ
s
-∗
⌜
(
s
<
n
)
%
nat
⌝.
Proof
.
iIntros
"Hc Hs"
.
i
Destruct
(
own_valid_2
with
"Hc Hs"
)
a
s
%
[?
%
max_nat_included
_]
%
auth_both_valid_discrete
.
i
Combine
"Hc Hs"
give
s
%
[?
%
max_nat_included
_]
%
auth_both_valid_discrete
.
iPureIntro
.
simpl
in
*.
lia
.
Qed
.
End
symbol_ghost
.
...
...
This diff is collapsed.
Click to expand it.
solutions/two_state_ghost.v
+
1
−
1
View file @
fffa5267
...
...
@@ -54,7 +54,7 @@ Section two_state_ghost.
two_state_auth
γ
b
-∗
two_state_final
γ
-∗
⌜
b
=
true
⌝.
Proof
.
iIntros
"H1 H2"
.
i
Destruct
(
own_valid_2
with
"H1 H2"
)
a
s
%
[
Hinc
_]
%
auth_both_valid_discrete
.
i
Combine
"H1 H2"
give
s
%
[
Hinc
_]
%
auth_both_valid_discrete
.
apply
option_included
in
Hinc
as
[|([]
&
[]
&
_
&
?
&
_)];
destruct
b
;
naive_solver
.
Qed
.
...
...
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