lean2/hott/types
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
..
int fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
nat feat(hott): minor fixes. allow the usage of numerals for trunc_index 2015-12-17 12:46:16 -08:00
arrow.hlean feat(hit/quotient): prove the flattening lemma 2015-11-08 14:04:59 -08:00
arrow_2.hlean feat(hott): prove HoTT book 7.5.4 and 7.5.5 2015-09-28 09:09:21 -07:00
bool.hlean fix(choice): make some style changes 2016-01-24 16:34:45 -08:00
default.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
eq.hlean feat(types): add more equivalences between combinations of type constructors 2015-09-11 23:35:21 -07:00
equiv.hlean feat(hott/types/equiv): add is_trunc_equiv to equiv.hlean 2016-01-24 16:33:59 -08:00
fiber.hlean feat(hott/homotopy): general connectivity elimination and the wedge connectivity lemma 2016-02-04 11:07:22 -08:00
lift.hlean feat(library,hott,frontends/lean): avoid keywords with hyphen 2015-11-08 14:04:54 -08:00
list.hlean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
num.hlean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
pi.hlean feat(list): port list.basic from the standard library 2015-11-22 14:21:26 -08:00
pointed.hlean feat(hott): add symmetry of pushouts and pointed pushouts 2016-01-24 16:30:26 -08:00
prod.hlean feat(hott): functoriality of quotients 2015-12-28 09:06:13 -08:00
pullback.hlean feat(hott): port more from chapters 4 and 6 of the book 2015-09-28 09:09:21 -07:00
sigma.hlean feat(hott): functoriality of quotients 2015-12-28 09:06:13 -08:00
sum.hlean feat(hott): minor fixes. allow the usage of numerals for trunc_index 2015-12-17 12:46:16 -08:00
trunc.hlean feat(library/unifier): remove "eager delta hack", use is_def_eq when delta-constraint does not have metavariables anymore 2016-01-03 12:39:32 -08:00
types.md fix(types.md): add num 2015-12-09 12:36:11 -08:00
unit.hlean feat(hott): port nat and int from the standard library 2015-12-09 12:36:11 -08:00
univ.hlean feat(library/tactic): make let tactic transparent, introduce new opaque note tactic 2015-12-14 10:14:02 -08:00
W.hlean feat(hott/function): show that a function is embedding iff it has propositional fibers 2015-11-16 21:32:09 -08:00