Skip to content
GitLab
Menu
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
d642a40b
Commit
d642a40b
authored
Oct 27, 2016
by
Ralf Jung
Browse files
improve f_equiv doc
parent
3b9f9c3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/tactics.v
View file @
d642a40b
...
...
@@ -253,10 +253,11 @@ Ltac setoid_subst :=
(** f_equiv works on goals of the form [f _ = f _], for any relation and any
number of arguments. It looks for an appropriate [Proper] instance, and applies
it. The tactic is somewhat limited, since it cannot be used to backtrack on
the Proper instances that has been found. To that end, we try to
ensure
the
the Proper instances that has been found. To that end, we try to
avoid
the
trivial instance in which the resulting goals have an [eq]. More generally,
we try to "maintain" the relation of the current goal. For example,
when having [Proper (equiv ==> dist) f] and [Proper (dist ==> dist) f], it will
favor the second. *)
favor the second
because the relation (dist) stays the same
. *)
Ltac
f_equiv
:
=
match
goal
with
|
_
=>
reflexivity
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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