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
Abel Nieto
Iris
Commits
f871290b
"git-rts@gitlab.mpi-sws.org:LukeXuan/iris.git" did not exist on "05b7229dbe7467a43e85779fda96c21a5c36decf"
Commit
f871290b
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Remove some old hacks.
parent
ab7651d1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/heap_lang/tactics.v
+9
-10
9 additions, 10 deletions
theories/heap_lang/tactics.v
with
9 additions
and
10 deletions
theories/heap_lang/tactics.v
+
9
−
10
View file @
f871290b
...
@@ -209,22 +209,21 @@ Ltac solve_closed :=
...
@@ -209,22 +209,21 @@ Ltac solve_closed :=
end
.
end
.
Hint
Extern
0
(
Closed
_
_)
=>
solve_closed
:
typeclass_instances
.
Hint
Extern
0
(
Closed
_
_)
=>
solve_closed
:
typeclass_instances
.
Ltac
solve_to_val
:=
Ltac
solve_into_val
:=
rewrite
/
AsVal
/
IntoVal
;
try
match
goal
with
|
|
-
context
E
[
language
.
to_val
?e
]
=>
let
X
:=
context
E
[
to_val
e
]
in
change
X
end
;
match
goal
with
match
goal
with
|
|
-
to_val
?e
=
Som
e
?v
=>
|
|
-
IntoVal
?
e
?v
=>
let
e'
:=
W
.
of_expr
e
in
change
(
to_val
(
W
.
to_expr
e'
)
=
Some
v
);
let
e'
:=
W
.
of_expr
e
in
change
(
to_val
(
W
.
to_expr
e'
)
=
Some
v
);
apply
W
.
to_val_Some
;
simpl
;
unfold
W
.
to_expr
;
reflexivity
apply
W
.
to_val_Some
;
simpl
;
unfold
W
.
to_expr
;
reflexivity
|
|
-
is_Some
(
to_val
?e
)
=>
end
.
Hint
Extern
10
(
IntoVal
_
_)
=>
solve_into_val
:
typeclass_instances
.
Ltac
solve_as_val
:=
match
goal
with
|
|
-
AsVal
?e
=>
let
e'
:=
W
.
of_expr
e
in
change
(
is_Some
(
to_val
(
W
.
to_expr
e'
)));
let
e'
:=
W
.
of_expr
e
in
change
(
is_Some
(
to_val
(
W
.
to_expr
e'
)));
apply
W
.
to_val_is_Some
,
(
bool_decide_unpack
_);
vm_compute
;
exact
I
apply
W
.
to_val_is_Some
,
(
bool_decide_unpack
_);
vm_compute
;
exact
I
end
.
end
.
Hint
Extern
10
(
IntoVal
_
_)
=>
solve_to_val
:
typeclass_instances
.
Hint
Extern
10
(
AsVal
_)
=>
solve_as_val
:
typeclass_instances
.
Hint
Extern
10
(
AsVal
_)
=>
solve_to_val
:
typeclass_instances
.
Ltac
solve_atomic
:=
Ltac
solve_atomic
:=
match
goal
with
match
goal
with
...
...
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