lean2/hott
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
..
algebra fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
cubical feat(library/tactic): make let tactic transparent, introduce new opaque note tactic 2015-12-14 10:14:02 -08:00
hit feat(hott): add symmetry of pushouts and pointed pushouts 2016-01-24 16:30:26 -08:00
homotopy feat(hott/homotopy): general connectivity elimination and the wedge connectivity lemma 2016-02-04 11:07:22 -08:00
init feat(hott/homotopy): general connectivity elimination and the wedge connectivity lemma 2016-02-04 11:07:22 -08:00
tools feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
types fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
.gitignore chore(.gitignore): update 2015-03-28 23:29:41 -04:00
.project feat(*): add support for separate HoTT library 2014-12-05 14:34:02 -08:00
arity.hlean feat(categories): add exponential laws for categories 2015-11-08 14:04:59 -08:00
book.md feat(hott/homotopy): general connectivity elimination and the wedge connectivity lemma 2016-02-04 11:07:22 -08:00
choice.hlean fix(choice): make some style changes 2016-01-24 16:34:45 -08:00
core.hlean fix(hott): import commands (some files have been moved to different directories) 2015-09-25 09:39:45 -07:00
eq2.hlean feat(hit/two_quotient): give dependent eliminator for two_quotients 2015-11-22 18:29:37 -08:00
function.hlean chore(hott): more cleanup. 2015-12-10 10:42:16 -08:00
hott.md chore(hott): update md files, move port.md 2016-01-24 16:34:45 -08:00
hprop_trunc.hlean refactor(hott): move cubical folder and files eq2, function and hprop_trunc from types/ to the root HoTT directory 2015-08-07 13:34:41 -07:00
port.md chore(hott): update md files, move port.md 2016-01-24 16:34:45 -08:00