Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
coq-stdpp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
David Swasey
coq-stdpp
Commits
49a61c0d
Commit
49a61c0d
authored
May 31, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More documentation of f_equiv.
parent
8e8305ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
theories/tactics.v
theories/tactics.v
+5
-3
No files found.
theories/tactics.v
View file @
49a61c0d
...
...
@@ -250,11 +250,13 @@ Ltac setoid_subst :=
|
H
:
@
equiv
?A
?e
_
?x
|-
_
=>
symmetry
in
H
;
setoid_subst_aux
(@
equiv
A
e
)
x
end
.
(** 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
(** 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
trivial instance in which the resulting goals have an [eq]. *)
trivial instance in which the resulting goals have an [eq]. More generally,
when having [Proper (equiv ==> dist) f] and [Proper (dist ==> dist) f], it will
favor the second. *)
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