lean2/hott/algebra
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
..
category fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
algebra.md chore(hott): update md files, move port.md 2016-01-24 16:34:45 -08:00
binary.hlean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
bundled.hlean feat(hott/algebra): port abstract structures 2015-12-09 12:34:06 -08:00
e_closure.hlean feat(hott): add recursor to refl_quotient 2015-11-22 18:29:37 -08:00
field.hlean chore(hott): cleanup 2015-12-10 10:42:16 -08:00
group.hlean feat(hott): minor fixes. allow the usage of numerals for trunc_index 2015-12-17 12:46:16 -08:00
homotopy_group.hlean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
hott.hlean fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
lattice.hlean feat(hott/algebra): port abstract structures 2015-12-09 12:34:06 -08:00
order.hlean fix(hott): change some theorems to definitions 2015-12-17 12:46:16 -08:00
ordered_field.hlean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
ordered_group.hlean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
ordered_ring.hlean chore(hott): cleanup 2015-12-10 10:42:16 -08:00
priority.hlean feat(hott/algebra): port abstract structures 2015-12-09 12:34:06 -08:00
relation.hlean feat(hott/algebra): port abstract structures 2015-12-09 12:34:06 -08:00
ring.hlean chore(hott): more cleanup. 2015-12-10 10:42:16 -08:00
trunc_group.hlean feat(hit): add elimination rule to propositions 2015-11-22 14:21:25 -08:00