Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lambda-rust
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Simon Spies
lambda-rust
Commits
4ee23161
Commit
4ee23161
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Proof mode name fixes (in preparation of Iris !83).
parent
b6993ddc
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
theories/lifetime/na_borrow.v
+1
-1
1 addition, 1 deletion
theories/lifetime/na_borrow.v
theories/typing/lib/refcell/refcell.v
+1
-1
1 addition, 1 deletion
theories/typing/lib/refcell/refcell.v
theories/typing/lib/rwlock/rwlock.v
+1
-1
1 addition, 1 deletion
theories/typing/lib/rwlock/rwlock.v
with
3 additions
and
3 deletions
theories/lifetime/na_borrow.v
+
1
−
1
View file @
4ee23161
...
@@ -52,7 +52,7 @@ Section na_bor.
...
@@ -52,7 +52,7 @@ Section na_bor.
Lemma
na_bor_shorten
κ
κ'
:
κ
⊑
κ'
-∗
&
na
{
κ'
,
tid
,
N
}
P
-∗
&
na
{
κ
,
tid
,
N
}
P
.
Lemma
na_bor_shorten
κ
κ'
:
κ
⊑
κ'
-∗
&
na
{
κ'
,
tid
,
N
}
P
-∗
&
na
{
κ
,
tid
,
N
}
P
.
Proof
.
Proof
.
iIntros
"Hκκ' H"
.
iDestruct
"H"
as
(
i
)
"[
?
?]"
.
iExists
i
.
iFrame
.
iIntros
"Hκκ' H"
.
iDestruct
"H"
as
(
i
)
"[
H
?]"
.
iExists
i
.
iFrame
.
iApply
(
idx_bor_shorten
with
"Hκκ' H"
)
.
iApply
(
idx_bor_shorten
with
"Hκκ' H"
)
.
Qed
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
theories/typing/lib/refcell/refcell.v
+
1
−
1
View file @
4ee23161
...
@@ -127,7 +127,7 @@ Section refcell.
...
@@ -127,7 +127,7 @@ Section refcell.
iAssert
((
q
/
2
).[
κ
]
∗
▷
∃
γ
,
refcell_inv
tid
l
γ
κ
ty
)
%
I
with
"[> -Hclose]"
iAssert
((
q
/
2
).[
κ
]
∗
▷
∃
γ
,
refcell_inv
tid
l
γ
κ
ty
)
%
I
with
"[> -Hclose]"
as
"[$ HQ]"
;
last
first
.
as
"[$ HQ]"
;
last
first
.
{
iMod
(
"Hclose"
with
"[] HQ"
)
as
"[Hb $]"
.
{
iMod
(
"Hclose"
with
"[] HQ"
)
as
"[Hb $]"
.
-
iIntros
"!> H !>"
.
iNext
.
iDestruct
"H"
as
(
γ
st
)
"(
?
& _ & _)"
.
-
iIntros
"!> H !>"
.
iNext
.
iDestruct
"H"
as
(
γ
st
)
"(
H
& _ & _)"
.
iExists
_
.
iIntros
"{$H}!%"
.
destruct
st
as
[[?[|[]|]]|];
simpl
;
lia
.
iExists
_
.
iIntros
"{$H}!%"
.
destruct
st
as
[[?[|[]|]]|];
simpl
;
lia
.
-
iMod
(
bor_exists
with
"LFT Hb"
)
as
(
γ
)
"Hb"
.
done
.
-
iMod
(
bor_exists
with
"LFT Hb"
)
as
(
γ
)
"Hb"
.
done
.
iExists
κ
,
γ
.
iSplitR
.
by
iApply
lft_incl_refl
.
by
iApply
bor_na
.
}
iExists
κ
,
γ
.
iSplitR
.
by
iApply
lft_incl_refl
.
by
iApply
bor_na
.
}
...
...
This diff is collapsed.
Click to expand it.
theories/typing/lib/rwlock/rwlock.v
+
1
−
1
View file @
4ee23161
...
@@ -122,7 +122,7 @@ Section rwlock.
...
@@ -122,7 +122,7 @@ Section rwlock.
iAssert
((
q
/
2
).[
κ
]
∗
▷
∃
γ
,
rwlock_inv
tid
l
γ
κ
ty
)
%
I
with
"[> -Hclose]"
iAssert
((
q
/
2
).[
κ
]
∗
▷
∃
γ
,
rwlock_inv
tid
l
γ
κ
ty
)
%
I
with
"[> -Hclose]"
as
"[$ HQ]"
;
last
first
.
as
"[$ HQ]"
;
last
first
.
{
iMod
(
"Hclose"
with
"[] HQ"
)
as
"[Hb $]"
.
{
iMod
(
"Hclose"
with
"[] HQ"
)
as
"[Hb $]"
.
-
iIntros
"!> H !>"
.
iNext
.
iDestruct
"H"
as
(
γ
st
)
"(
?
& _ & _)"
.
-
iIntros
"!> H !>"
.
iNext
.
iDestruct
"H"
as
(
γ
st
)
"(
H
& _ & _)"
.
iExists
_
.
iIntros
"{$H}!%"
.
destruct
st
as
[[|[[]?]|]|];
simpl
;
lia
.
iExists
_
.
iIntros
"{$H}!%"
.
destruct
st
as
[[|[[]?]|]|];
simpl
;
lia
.
-
iMod
(
bor_exists
with
"LFT Hb"
)
as
(
γ
)
"Hb"
.
done
.
-
iMod
(
bor_exists
with
"LFT Hb"
)
as
(
γ
)
"Hb"
.
done
.
iExists
κ
,
γ
.
iSplitR
.
by
iApply
lft_incl_refl
.
iApply
bor_share
;
try
done
.
iExists
κ
,
γ
.
iSplitR
.
by
iApply
lft_incl_refl
.
iApply
bor_share
;
try
done
.
...
...
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