Mirror of https://github.com/leanprover/lean2 in case it ever disappears
Find a file
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
bin feat(bin/leanutil): start "compilation server" 2015-08-16 12:20:48 -07:00
doc feat(doc/lean/library_style.org): clarify C_of_A_of_B convention 2015-12-31 15:16:57 -08:00
extras chore(extras/latex/lstlean.tex): update list of modifiers 2015-12-31 15:16:57 -08:00
hott fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
images chore(CMakeLists.txt): move Lean logo to make sure we can test leanemacs without installing Lean 2015-01-31 17:38:49 -08:00
library fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
script chore(hott): cleanup 2015-12-10 10:42:16 -08:00
src fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
tests fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
.gitignore feat(util/file_lock): add support for Windows 2015-12-14 10:07:26 -08:00
.travis.osx.yml fix(.travis.osx.yml): explicitly turn on multi-thread support 2015-05-06 02:37:31 -04:00
.travis.windows.yml fix(.travis.windows.yml): use cmake-2.8.11.2 2015-05-05 17:17:37 -04:00
.travis.yml fix(.travis.yml): add missing ';'s 2015-05-13 17:52:39 -04:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md chore(README): remove coveralls "badge" 2015-08-20 18:00:15 -07:00

logo

LicenseWindowsUbuntuOS XBuilds/Tests

Issue Stats Issue Stats

About

Requirements

Installing required packages at

Windows

Linux

OS X

Build Instructions

Miscellaneous