Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
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
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
Abhishek Anand
Iris
Commits
1889960b
Commit
1889960b
authored
5 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
minor tweaks
parent
9e18501a
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/lang.v
+2
-1
2 additions, 1 deletion
theories/heap_lang/lang.v
theories/heap_lang/lifting.v
+3
-3
3 additions, 3 deletions
theories/heap_lang/lifting.v
with
5 additions
and
4 deletions
theories/heap_lang/lang.v
+
2
−
1
View file @
1889960b
...
...
@@ -153,7 +153,8 @@ read and written. Also notice that the sets of boxed and unboxed values are
disjoint. *)
Definition
lit_is_unboxed
(
l
:
base_lit
)
:
Prop
:=
match
l
with
(* disallow comparing (erased) prophecies with (erased) prophecies, by considering them boxed *)
(** Disallow comparing (erased) prophecies with (erased) prophecies, by
considering them boxed. *)
|
LitProphecy
_
|
LitErased
=>
False
|
_
=>
True
end
.
...
...
This diff is collapsed.
Click to expand it.
theories/heap_lang/lifting.v
+
3
−
3
View file @
1889960b
...
...
@@ -593,7 +593,7 @@ Proof.
Qed
.
Lemma
wp_load_offset_vec
s
E
l
sz
(
off
:
fin
sz
)
(
vs
:
vec
val
sz
)
:
{{{
▷
l
↦∗
vs
}}}
!
#
(
l
+
ₗ
off
)
@
s
;
E
{{{
RET
(
vs
!!!
off
)
;
l
↦∗
vs
}}}
.
{{{
▷
l
↦∗
vs
}}}
!
#
(
l
+
ₗ
off
)
@
s
;
E
{{{
RET
vs
!!!
off
;
l
↦∗
vs
}}}
.
Proof
.
apply
wp_load_offset
.
by
apply
vlookup_lookup
.
Qed
.
Lemma
wp_store_offset
s
E
l
off
vs
v
:
...
...
@@ -628,7 +628,7 @@ Proof.
Qed
.
Lemma
wp_cmpxchg_suc_offset_vec
s
E
l
sz
(
off
:
fin
sz
)
(
vs
:
vec
val
sz
)
v1
v2
:
(
vs
!!!
off
)
=
v1
→
vs
!!!
off
=
v1
→
vals_compare_safe
(
vs
!!!
off
)
v1
→
{{{
▷
l
↦∗
vs
}}}
CmpXchg
#
(
l
+
ₗ
off
)
v1
v2
@
s
;
E
...
...
@@ -655,7 +655,7 @@ Proof.
Qed
.
Lemma
wp_cmpxchg_fail_offset_vec
s
E
l
sz
(
off
:
fin
sz
)
(
vs
:
vec
val
sz
)
v1
v2
:
(
vs
!!!
off
)
≠
v1
→
vs
!!!
off
≠
v1
→
vals_compare_safe
(
vs
!!!
off
)
v1
→
{{{
▷
l
↦∗
vs
}}}
CmpXchg
#
(
l
+
ₗ
off
)
v1
v2
@
s
;
E
...
...
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