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
Tej Chajed
iris
Commits
03b7f923
Commit
03b7f923
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
reference the coq bug for the idtac weirdness
parent
8cf16088
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
heap_lang/wp_tactics.v
+3
-2
3 additions, 2 deletions
heap_lang/wp_tactics.v
with
3 additions
and
2 deletions
heap_lang/wp_tactics.v
+
3
−
2
View file @
03b7f923
...
@@ -119,12 +119,13 @@ Ltac wp_finish :=
...
@@ -119,12 +119,13 @@ Ltac wp_finish :=
Tactic
Notation
"wp_rec"
">"
:=
Tactic
Notation
"wp_rec"
">"
:=
u_löb
ltac
:(
(* Find the redex and apply wp_rec *)
u_löb
ltac
:(
(* Find the redex and apply wp_rec *)
idtac
;
(*
FIXME WTF without this, it matches the goal before executing u_löb ?!?
*)
idtac
;
(*
<https://coq.inria.fr/bugs/show_bug.cgi?id=4584>
*)
lazymatch
goal
with
lazymatch
goal
with
|
|
-
_
⊑
wp
?E
?e
?Q
=>
reshape_expr
e
ltac
:(
fun
K
e'
=>
|
|
-
_
⊑
wp
?E
?e
?Q
=>
reshape_expr
e
ltac
:(
fun
K
e'
=>
match
eval
cbv
in
e'
with
match
eval
cbv
in
e'
with
|
App
(
Rec
_
_
_)
_
=>
|
App
(
Rec
_
_
_)
_
=>
wp_bind
K
;
etrans
;
[|
eapply
wp_rec
;
reflexivity
];
wp_finish
wp_bind
K
;
etrans
;
[|
eapply
wp_rec
;
reflexivity
];
wp_finish
end
)
end
)
end
)
.
end
)
.
Tactic
Notation
"wp_rec"
:=
wp_rec
>
;
wp_strip_later
.
Tactic
Notation
"wp_rec"
:=
wp_rec
>
;
wp_strip_later
.
...
...
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