Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Terraform modules
Monitor
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
William Mansky
Iris
Commits
e76ca2de
Commit
e76ca2de
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
fix build after merging
parent
c5fa01fe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/heap_lang/lifting.v
+2
-2
2 additions, 2 deletions
theories/heap_lang/lifting.v
theories/heap_lang/proofmode.v
+6
-6
6 additions, 6 deletions
theories/heap_lang/proofmode.v
with
8 additions
and
8 deletions
theories/heap_lang/lifting.v
+
2
−
2
View file @
e76ca2de
...
...
@@ -180,9 +180,9 @@ Proof.
iModIntro
.
iSplit
=>
//.
by
iApply
"HΦ"
.
Qed
.
Lemma
wp_faa
E
l
i1
e2
i2
:
Lemma
wp_faa
s
E
l
i1
e2
i2
:
IntoVal
e2
(
LitV
(
LitInt
i2
))
→
{{{
▷
l
↦
LitV
(
LitInt
i1
)
}}}
FAA
(
Lit
(
LitLoc
l
))
e2
@
E
{{{
▷
l
↦
LitV
(
LitInt
i1
)
}}}
FAA
(
Lit
(
LitLoc
l
))
e2
@
s
;
E
{{{
RET
LitV
(
LitInt
i1
);
l
↦
LitV
(
LitInt
(
i1
+
i2
))
}}}
.
Proof
.
iIntros
(
<-%
of_to_val
Φ
)
">Hl HΦ"
.
...
...
This diff is collapsed.
Click to expand it.
theories/heap_lang/proofmode.v
+
6
−
6
View file @
e76ca2de
...
...
@@ -162,16 +162,16 @@ Proof.
rewrite
right_id
.
by
apply
later_mono
,
sep_mono_r
,
wand_mono
.
Qed
.
Lemma
tac_wp_faa
Δ
Δ'
Δ''
E
i
K
l
i1
e2
i2
Φ
:
Lemma
tac_wp_faa
Δ
Δ'
Δ''
s
E
i
K
l
i1
e2
i2
Φ
:
IntoVal
e2
(
LitV
(
LitInt
i2
))
→
IntoLaterNEnvs
1
Δ
Δ'
→
envs_lookup
i
Δ'
=
Some
(
false
,
l
↦
LitV
(
LitInt
i1
))
%
I
→
envs_simple_replace
i
false
(
Esnoc
Enil
i
(
l
↦
LitV
(
LitInt
(
i1
+
i2
))))
Δ'
=
Some
Δ''
→
envs_entails
Δ''
(
WP
fill
K
(
Lit
(
LitInt
i1
))
@
E
{{
Φ
}})
→
envs_entails
Δ
(
WP
fill
K
(
FAA
(
Lit
(
LitLoc
l
))
e2
)
@
E
{{
Φ
}})
.
envs_entails
Δ''
(
WP
fill
K
(
Lit
(
LitInt
i1
))
@
s
;
E
{{
Φ
}})
→
envs_entails
Δ
(
WP
fill
K
(
FAA
(
Lit
(
LitLoc
l
))
e2
)
@
s
;
E
{{
Φ
}})
.
Proof
.
rewrite
/
envs_entails
=>
?????;
subst
.
rewrite
-
wp_bind
.
eapply
wand_apply
;
first
exact
:
(
wp_faa
_
_
i1
_
i2
)
.
rewrite
-
wp_bind
.
eapply
wand_apply
;
first
exact
:
(
wp_faa
_
_
_
i1
_
i2
)
.
rewrite
into_laterN_env_sound
-
later_sep
envs_simple_replace_sound
//
;
simpl
.
rewrite
right_id
.
by
apply
later_mono
,
sep_mono_r
,
wand_mono
.
Qed
.
...
...
@@ -274,10 +274,10 @@ Tactic Notation "wp_cas_suc" :=
Tactic
Notation
"wp_faa"
:=
iStartProof
;
lazymatch
goal
with
|
|
-
envs_entails
_
(
wp
?E
?e
?Q
)
=>
|
|
-
envs_entails
_
(
wp
?s
?E
?e
?Q
)
=>
first
[
reshape_expr
e
ltac
:(
fun
K
e'
=>
eapply
(
tac_wp_faa
_
_
_
_
_
K
);
[
apply
_|..])
eapply
(
tac_wp_faa
_
_
_
_
_
_
K
);
[
apply
_|..])
|
fail
1
"wp_faa: cannot find 'CAS' in"
e
];
[
apply
_
|
let
l
:=
match
goal
with
|
-
_
=
Some
(_,
(
?l
↦
{_}
_)
%
I
)
=>
l
end
in
...
...
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