lean2/hott/algebra/category/functor
Leonardo de Moura 42fbc63bb6 fix(library/tc_multigraph): avoid name collisions
@avigad, @fpvandoorn, @rlewis1988, @dselsam

I changed how transitive instances are named.
The motivation is to avoid a naming collision problem found by Daniel.
Before this commit, we were getting an error on the following file
tests/lean/run/collision_bug.lean.

Now, transitive instances contain the prefix "_trans_".
It makes it clear this is an internal definition and it should not be used
by users.

This change also demonstrates (again) how the `rewrite` tactic is
fragile. The problem is that the matching procedure used by it has
very little support for solving matching constraints that involving type
class instances. Eventually, we will need to reimplement `rewrite`
using the new unification procedure used in blast.

In the meantime, the workaround is to use `krewrite` (as usual).
2016-02-04 13:15:42 -08:00
..
adjoint.hlean feat(library/tactic): make let tactic transparent, introduce new opaque note tactic 2015-12-14 10:14:02 -08:00
adjoint2.hlean feat(category): more about adjoint functors 2015-11-16 21:32:09 -08:00
attributes.hlean feat(category): more about adjoint functors 2015-11-16 21:32:09 -08:00
basic.hlean feat(library/simplifier/simp_rule_set): add priorities for simp and congr rules 2015-11-16 22:34:06 -08:00
default.hlean feat(category): various small changes in category theory 2015-11-08 14:04:59 -08:00
equivalence.hlean fix(functor.equivalence): comment out sorry's 2015-11-08 14:04:59 -08:00
examples.hlean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
exponential_laws.hlean feat(category): more about adjoint functors 2015-11-16 21:32:09 -08:00
functor.md refactor(category): move some files to subfolders, and create file with basic functors 2015-11-08 14:04:59 -08:00
yoneda.hlean fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00