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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Service Desk
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
lambda-rust
Commits
a0961de3
There was a problem fetching the pipeline summary.
Commit
a0961de3
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
locally teach solve_ndisj how to handle these inclusions
parent
c72bfec9
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/typing/uniq_bor.v
+5
-6
5 additions, 6 deletions
theories/typing/uniq_bor.v
with
5 additions
and
6 deletions
theories/typing/uniq_bor.v
+
5
−
6
View file @
a0961de3
...
@@ -8,6 +8,8 @@ From lrust.typing Require Import perm lft_contexts type_context typing own.
...
@@ -8,6 +8,8 @@ From lrust.typing Require Import perm lft_contexts type_context typing own.
Section
uniq_bor
.
Section
uniq_bor
.
Context
`{
typeG
Σ
}
.
Context
`{
typeG
Σ
}
.
Local
Hint
Extern
1000
(_
⊆
_)
=>
set_solver
:
ndisj
.
Program
Definition
uniq_bor
(
κ
:
lft
)
(
ty
:
type
)
:=
Program
Definition
uniq_bor
(
κ
:
lft
)
(
ty
:
type
)
:=
{|
ty_size
:=
1
;
{|
ty_size
:=
1
;
(* We quantify over [P]s so that the Proper lemma
(* We quantify over [P]s so that the Proper lemma
...
@@ -38,15 +40,12 @@ Section uniq_bor.
...
@@ -38,15 +40,12 @@ Section uniq_bor.
with
"[Hpbown]"
)
as
"#Hinv"
;
first
by
eauto
.
with
"[Hpbown]"
)
as
"#Hinv"
;
first
by
eauto
.
iIntros
"!> !# * % Htok"
.
iMod
(
inv_open
with
"Hinv"
)
as
"[INV Hclose]"
.
set_solver
.
iIntros
"!> !# * % Htok"
.
iMod
(
inv_open
with
"Hinv"
)
as
"[INV Hclose]"
.
set_solver
.
iDestruct
"INV"
as
"[>Hbtok|#Hshr]"
.
iDestruct
"INV"
as
"[>Hbtok|#Hshr]"
.
-
iMod
(
bor_unnest
_
_
_
P
with
"LFT [Hbtok]"
)
as
"Hb"
.
-
iMod
(
bor_unnest
_
_
_
P
with
"LFT [Hbtok]"
)
as
"Hb"
.
solve_ndisj
.
{
apply
ndisj_subseteq_difference
.
solve_ndisj
.
set_solver
.
}
(* FIXME: some tactic should solve this in one go. *)
{
iApply
bor_unfold_idx
.
eauto
.
}
{
iApply
bor_unfold_idx
.
eauto
.
}
iModIntro
.
iNext
.
iMod
"Hb"
.
iModIntro
.
iNext
.
iMod
"Hb"
.
iMod
(
bor_iff
with
"LFT [] Hb"
)
as
"Hb"
.
iMod
(
bor_iff
with
"LFT [] Hb"
)
as
"Hb"
.
solve_ndisj
.
{
apply
ndisj_subseteq_difference
.
solve_ndisj
.
set_solver
.
}
(* FIXME: some tactic should solve this in one go. *)
{
by
eauto
.
}
{
by
eauto
.
}
iMod
(
ty
.(
ty_share
)
with
"LFT Hb Htok"
)
as
"[#Hshr $]"
.
iMod
(
ty
.(
ty_share
)
with
"LFT Hb Htok"
)
as
"[#Hshr $]"
.
solve_ndisj
.
{
apply
ndisj_subseteq_difference
.
solve_ndisj
.
set_solver
.
}
(* FIXME: some tactic should solve this in one go. *)
iMod
(
"Hclose"
with
"[]"
)
as
"_"
;
auto
.
iMod
(
"Hclose"
with
"[]"
)
as
"_"
;
auto
.
-
iMod
(
"Hclose"
with
"[]"
)
as
"_"
.
by
eauto
.
-
iMod
(
"Hclose"
with
"[]"
)
as
"_"
.
by
eauto
.
iApply
step_fupd_intro
.
set_solver
.
auto
.
iApply
step_fupd_intro
.
set_solver
.
auto
.
...
...
This diff is collapsed.
Click to expand it.
Ralf Jung
@jung
mentioned in commit
c72bfec9
·
8 years ago
mentioned in commit
c72bfec9
mentioned in commit c72bfec9e38531b7dc70f05c2415ed1e3f806899
Toggle commit list
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