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
06347d84
Commit
06347d84
authored
5 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
bump Iris for array changes
parent
213ac1d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#17116
passed
5 years ago
Stage: build
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
opam
+1
-1
1 addition, 1 deletion
opam
theories/logic/spec_rules.v
+3
-1
3 additions, 1 deletion
theories/logic/spec_rules.v
theories/prelude/ctx_subst.v
+2
-1
2 additions, 1 deletion
theories/prelude/ctx_subst.v
theories/typing/types.v
+1
-1
1 addition, 1 deletion
theories/typing/types.v
with
7 additions
and
4 deletions
opam
+
1
−
1
View file @
06347d84
...
...
@@ -9,6 +9,6 @@ build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-rf" "%{lib}%/coq/user-contrib/reloc"]
depends: [
"coq-iris" { (= "dev.2019-0
5-24.0.c9984c7f
") | (= "dev") }
"coq-iris" { (= "dev.2019-0
6-01.2.88c7fc6d
") | (= "dev") }
"coq-autosubst" { = "dev.coq86" }
]
This diff is collapsed.
Click to expand it.
theories/logic/spec_rules.v
+
3
−
1
View file @
06347d84
...
...
@@ -159,7 +159,9 @@ Section rules.
iExists
l
.
iFrame
"Hj Hl"
.
iApply
"Hclose"
.
iNext
.
iExists
(
<
[
j
:=
fill
K
(
#
l
)]
>
tp
),
(
state_upd_heap
<
[
l
:=
v
]
>
σ
)
.
rewrite
to_gen_heap_insert
to_tpool_insert'
;
last
eauto
.
iFrame
.
iPureIntro
.
eapply
rtc_r
,
step_insert_no_fork
;
eauto
.
econstructor
;
eauto
.
eapply
rtc_r
,
step_insert_no_fork
;
eauto
.
rewrite
-
state_init_heap_singleton
.
eapply
AllocNS
;
first
by
lia
.
intros
.
assert
(
i
=
0
)
as
->
by
lia
.
by
rewrite
loc_add_0
.
Qed
.
Lemma
step_load
E
ρ
j
K
l
q
v
:
...
...
This diff is collapsed.
Click to expand it.
theories/prelude/ctx_subst.v
+
2
−
1
View file @
06347d84
...
...
@@ -19,7 +19,8 @@ Fixpoint subst_map_ctx_item (es : stringmap val) (K : ectx_item)
|
InjLCtx
=>
InjLCtx
|
InjRCtx
=>
InjRCtx
|
CaseCtx
e1
e2
=>
CaseCtx
(
subst_map
es
e1
)
(
subst_map
es
e2
)
|
AllocCtx
=>
AllocCtx
|
AllocNLCtx
v2
=>
AllocNLCtx
v2
|
AllocNRCtx
e1
=>
AllocNRCtx
(
subst_map
es
e1
)
|
LoadCtx
=>
LoadCtx
|
StoreLCtx
v2
=>
StoreLCtx
v2
|
StoreRCtx
e1
=>
StoreRCtx
(
subst_map
es
e1
)
...
...
This diff is collapsed.
Click to expand it.
theories/typing/types.v
+
1
−
1
View file @
06347d84
...
...
@@ -157,7 +157,7 @@ where "Γ ⊢ₜ e : τ" := (typed Γ e τ).
Lemma
binop_nat_typed_safe
(
op
:
bin_op
)
(
n1
n2
:
Z
)
τ
:
binop_nat_res_type
op
=
Some
τ
→
is_Some
(
bin_op_eval
op
#
n1
#
n2
)
.
Proof
.
destruct
op
;
simpl
;
eauto
.
Qed
.
Proof
.
destruct
op
;
simpl
;
eauto
.
discriminate
.
Qed
.
Lemma
binop_bool_typed_safe
(
op
:
bin_op
)
(
b1
b2
:
bool
)
τ
:
binop_bool_res_type
op
=
Some
τ
→
is_Some
(
bin_op_eval
op
#
b1
#
b2
)
.
...
...
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