lean2/hott/algebra/category
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
..
constructions feat(category): more about adjoint functors 2015-11-16 21:32:09 -08:00
functor fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
limits fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
category.hlean refactor(library,hott): remove coercions between algebraic structures 2015-11-11 11:57:44 -08:00
category.md refactor(category): move some files to subfolders, and create file with basic functors 2015-11-08 14:04:59 -08:00
default.hlean refactor(hott/*): remove 'Module:' lines 2015-05-23 20:52:58 +10:00
groupoid.hlean feat(hott): use the induction tactic for trunc at some places 2015-12-17 12:46:16 -08:00
iso.hlean feat(category): various small changes in category theory 2015-11-08 14:04:59 -08:00
nat_trans.hlean fix(hott): small fixes after rebasing 2015-11-08 14:04:59 -08:00
precategory.hlean fix(hott): small fixes after rebasing 2015-11-08 14:04:59 -08:00
strict.hlean refactor(library,hott): remove coercions between algebraic structures 2015-11-11 11:57:44 -08:00