Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ReLoC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
ReLoC
Commits
4156d65d
Commit
4156d65d
authored
6 years ago
by
Dan Frumin
Browse files
Options
Downloads
Patches
Plain Diff
some cleanup
parent
1550ac33
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/logic/adequacy.v
+1
-1
1 addition, 1 deletion
theories/logic/adequacy.v
theories/typing/fundamental.v
+5
-13
5 additions, 13 deletions
theories/typing/fundamental.v
with
6 additions
and
14 deletions
theories/logic/adequacy.v
+
1
−
1
View file @
4156d65d
...
...
@@ -34,7 +34,7 @@ Proof.
as
(
γc
)
"[Hcfg1 Hcfg2]"
.
{
apply
auth_valid_discrete_2
.
split
=>
//.
-
apply
prod_included
.
split
=>
///=.
(* TODO: use gmap.empty_included *)
eexists
.
by
rewrite
left_id
.
apply
:
ucmra_unit_least
.
-
split
=>
//.
apply
to_tpool_valid
.
apply
to_gen_heap_valid
.
}
set
(
Hcfg
:=
RelocG
_
_
(
CFGSG
_
_
γc
))
.
iMod
(
inv_alloc
specN
_
(
spec_inv
([
e'
],
σ
))
with
"[Hcfg1]"
)
as
"#Hcfg"
.
...
...
This diff is collapsed.
Click to expand it.
theories/typing/fundamental.v
+
5
−
13
View file @
4156d65d
...
...
@@ -13,15 +13,6 @@ Section fundamental.
Implicit
Types
Δ
:
listC
(
lty2C
Σ
)
.
Hint
Resolve
to_of_val
.
(** TODO: actually use this folding tactic *)
(* right now it is not compatible with the _atomic tactics *)
Local
Ltac
fold_logrel
:=
lazymatch
goal
with
|
|
-
environments
.
envs_entails
_
(
refines
?E
(
fmap
(
λ
τ
,
_
_
?Δ
)
?Γ
)
?e1
?e2
(_
(
interp
?T
)
_))
=>
fold
(
bin_log_related
E
Δ
Γ
e1
e2
T
)
end
.
Local
Ltac
intro_clause
:=
progress
(
iIntros
(
vs
)
"#Hvs /="
)
.
Local
Ltac
intro_clause'
:=
progress
(
iIntros
(?)
"? /="
)
.
Local
Ltac
value_case
:=
try
intro_clause'
;
...
...
@@ -205,16 +196,17 @@ Section fundamental.
by
iApply
"He2"
.
Qed
.
(* TODO
Lemma
bin_log_related_seq'
Δ
Γ
e1
e2
e1'
e2'
τ1
τ2
:
({
Δ
;
Γ
}
⊨
e1
≤
log
≤
e1'
:
τ1
)
-∗
({
Δ
;
Γ
}
⊨
e2
≤
log
≤
e2'
:
τ2
)
-∗
{
Δ
;
Γ
}
⊨
(
e1
;;
e2
)
≤
log
≤
(
e1'
;;
e2'
)
:
τ2
.
Proof
.
iIntros
"He1 He2"
.
iApply (bin_log_related_seq (λne _, True%I) _ _ _ _ _ _ τ1.[ren (+1)] with "[He1]"); auto.
by iApply bin_log_related_weaken_2.
Qed. *)
iApply
(
bin_log_related_seq
lty2_true
_
_
_
_
_
_
τ1
.[
ren
(
+
1
)]
with
"[He1] He2"
)
.
intro_clause
.
rewrite
interp_ren
-
(
interp_ren_up
[]
Δ
τ1
)
.
by
iApply
"He1"
.
Qed
.
Lemma
bin_log_related_injl
Δ
Γ
e
e'
τ1
τ2
:
({
Δ
;
Γ
}
⊨
e
≤
log
≤
e'
:
τ1
)
-∗
...
...
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