Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tej Chajed
stdpp
Commits
eddfc645
Commit
eddfc645
authored
Jul 01, 2016
by
Robbert Krebbers
Browse files
Use ndot_ne_disjoint more eager so it expands definitions.
parent
0a1cf07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/tactics.v
View file @
eddfc645
...
...
@@ -412,10 +412,11 @@ Tactic Notation "feed" "destruct" constr(H) "as" simple_intropattern(IP) :=
It will search for the first subterm of the goal matching [pat], and then call [tac]
with that subterm. *)
Ltac
find_pat
pat
tac
:
=
match
goal
with
|-
context
[
?x
]
=>
unify
pat
x
with
typeclass_instances
;
tryif
tac
x
then
idtac
else
fail
2
end
.
match
goal
with
|-
context
[
?x
]
=>
unify
pat
x
with
typeclass_instances
;
tryif
tac
x
then
idtac
else
fail
2
end
.
(** Coq's [firstorder] tactic fails or loops on rather small goals already. In
particular, on those generated by the tactic [unfold_elem_ofs] which is used
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment