lean2/library/data/int
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
..
basic.lean refactor(library): cleanup nat/int proofs 2015-12-29 12:39:53 -08:00
countable.lean feat(library/data/int/countable): show that int is encodable, isomorphic to nat, and countable 2015-08-12 21:31:24 -07:00
default.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
div.lean fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
gcd.lean refactor(library): remove algebra namespace 2015-12-05 23:50:01 -08:00
int.md feat(library/data/{int,rat,real}/bigops): add bigops for int, rat, real 2015-08-08 17:20:23 -04:00
order.lean feat(library/tactic): make let tactic transparent, introduce new opaque note tactic 2015-12-14 10:14:02 -08:00
power.lean fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00