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
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Simon Spies
lambda-rust
Commits
e051894d
Commit
e051894d
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
nicer proof script fix
parent
aa0081c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/typing/lib/cell.v
+3
-3
3 additions, 3 deletions
theories/typing/lib/cell.v
with
3 additions
and
3 deletions
theories/typing/lib/cell.v
+
3
−
3
View file @
e051894d
...
...
@@ -194,7 +194,7 @@ Section typing.
iIntros
(
α
ϝ
ret
arg
)
.
inv_vec
arg
=>
c
x
.
simpl_subst
.
iApply
type_deref
;
[
solve_typing
..|]
.
iIntros
(
c'
);
simpl_subst
.
iApply
type_new
;
[
solve_typing
..|];
iIntros
(
r
);
simpl_subst
.
iApply
(
type_new
(
ty_size
ty
))
;
[
solve_typing
..|];
iIntros
(
r
);
simpl_subst
.
(* Drop to Iris level. *)
iIntros
(
tid
qmax
)
"#LFT #HE Htl HL HC"
.
rewrite
3
!
tctx_interp_cons
tctx_interp_singleton
!
tctx_hasty_val
.
...
...
@@ -209,7 +209,7 @@ Section typing.
iDestruct
(
ty_size_eq
with
"Hrown"
)
as
">Heq"
.
iDestruct
"Heq"
as
%
Heq
.
(* FIXME: Changing the order of $Hr↦ $Hc'↦ breaks applying...?? *)
wp_apply
(
wp_memcpy
with
"[$Hr↦ $Hc'↦]"
)
.
{
rewrite
Heq
/=
?Nat2Z
.
id
//.
}
{
rewrite
Heq
//.
}
{
f_equal
.
done
.
}
iIntros
"[Hr↦ Hc'↦]"
.
wp_seq
.
iDestruct
"Hx"
as
"[Hx↦ Hx†]"
.
iDestruct
"Hx↦"
as
(
vx
)
"[Hx↦ Hxown]"
.
...
...
@@ -225,7 +225,7 @@ Section typing.
{
rewrite
2
!
tctx_interp_cons
tctx_interp_singleton
!
tctx_hasty_val
.
iFrame
"Hc"
.
rewrite
!
tctx_hasty_val'
//.
iSplitL
"Hx↦ Hx†"
.
-
iFrame
.
iExists
_
.
iFrame
.
iNext
.
iApply
uninit_own
.
done
.
-
try
rewrite
!
Nat2Z
.
id
.
iFrame
.
iExists
_
.
iFrame
.
}
-
iFrame
.
iExists
_
.
iFrame
.
}
iApply
type_delete
;
[
solve_typing
..|]
.
iApply
type_delete
;
[
solve_typing
..|]
.
iApply
type_jump
;
solve_typing
.
...
...
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