lean2/tests/lean/extra
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
..
597a.hlean test(tests/lean/extra): add test for issue #597 2015-05-13 15:34:34 -07:00
597b.hlean test(tests/lean/extra): add test for issue #597 2015-05-13 15:34:34 -07:00
616a.hlean renaming(hit): rename type_quotient to quotient, and quotient to set_quotient 2015-06-04 20:14:13 -04:00
616b.hlean renaming(hit): rename type_quotient to quotient, and quotient to set_quotient 2015-06-04 20:14:13 -04:00
616c.hlean renaming(hit): rename type_quotient to quotient, and quotient to set_quotient 2015-06-04 20:14:13 -04:00
755.expected.out fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY 2015-08-18 12:42:22 -07:00
755.hlean fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY 2015-08-18 12:42:22 -07:00
bag.661.20.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
bag.671.8.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
bag.673.71.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
bag.677.47.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
bag.lean refactor(*): normalize metaclass names 2015-12-28 10:39:15 -08:00
congr.lean feat(library/congr_lemma_manager): handle simple congruence lemmas 2015-11-08 14:05:02 -08:00
denote_rec.lean test(tests/lean/extra): more tests for equations compiler 2014-12-15 19:22:17 -08:00
dir_option.lean feat(shell,frontends/lean): add command line option --dir 2015-11-19 08:34:23 -08:00
eqn_macro1.lean fix(tests/lean): adjust remaining tests to changes in the standard library 2015-11-08 14:04:56 -08:00
eqn_macro2.lean test(tests/lean/extra): add test for saving recursive equation pre-terms 2015-02-01 19:49:14 -08:00
goal_hole.lean test(tests/lean/extra): test for Soonho 2015-07-27 19:32:27 -07:00
issue_597.sh test(tests/lean/extra): add test for issue #597 2015-05-13 15:34:34 -07:00
issue_616.sh fix(frontends/lean/parser): fixes #616 2015-05-20 23:33:41 -07:00
issue_755.sh fix(frontends/lean/elaborator): fixes #755 2015-07-29 16:41:30 -07:00
lt_rec.lean test(tests/lean/extra): more tests for equations compiler 2014-12-15 19:22:17 -08:00
print_info.4.16.expected.out feat(frontends/lean): add "--info" command line option for extracting identifier/keyword information 2015-07-30 10:18:03 -07:00
print_info.7.18.expected.out feat(kernel/expr_eq_fn): take names into account when CompareBinderInfo is true 2015-12-13 14:47:11 -08:00
print_info.8.19.expected.out fix(tests/lean): adjust remaining tests to changes in the standard library 2015-11-08 14:04:56 -08:00
print_info.12.19.expected.out feat(kernel/expr_eq_fn): take names into account when CompareBinderInfo is true 2015-12-13 14:47:11 -08:00
print_info.12.20.expected.out feat(kernel/expr_eq_fn): take names into account when CompareBinderInfo is true 2015-12-13 14:47:11 -08:00
print_info.12.30.expected.out fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY 2015-08-18 12:42:22 -07:00
print_info.17.0.expected.out fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY 2015-08-18 12:42:22 -07:00
print_info.17.2.expected.out fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY 2015-08-18 12:42:22 -07:00
print_info.21.0.expected.out fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY 2015-08-18 12:42:22 -07:00
print_info.21.1.expected.out fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY 2015-08-18 12:42:22 -07:00
print_info.21.3.expected.out fix(tests/lean): adjust remaining tests to changes in the standard library 2015-11-08 14:04:56 -08:00
print_info.lean fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY 2015-08-18 12:42:22 -07:00
print_info.sh fix(frontends/lean): identifier size when using unicode 2015-07-30 11:32:24 -07:00
print_tests.lean fix(frontends/lean/parser): method for parsing decimals 2015-11-08 14:04:59 -08:00
rec.lean refactor(library/data): move vector as indexed family to examples folder 2015-08-12 15:05:14 -07:00
rec2.lean feat(frontends/lean/elaborator): replace metavariables in the equation lhs with fresh local constants before invoking compiler 2014-12-11 19:51:49 -08:00
rec3.lean feat(library/definitional/equations): add dependent pattern matching compilation 2015-01-02 22:06:40 -08:00
rec4.lean refactor(library/data): move vector as indexed family to examples folder 2015-08-12 15:05:14 -07:00
rec5.lean test(tests/lean/extra): more tests for equation elaborator 2014-12-12 15:43:41 -08:00
show_goal.6.0.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.6.14.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.8.4.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.8.5.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.9.4.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.9.12.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.14.6.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.15.6.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.18.6.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.18.20.expected.out fix(tests/lean): adjust remaining tests to changes in the standard library 2015-11-08 14:04:56 -08:00
show_goal.18.21.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.20.4.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.23.6.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.24.2.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.24.3.expected.out fix(frontends/lean): "show goal" localization, add "position", support "by tactic" 2015-07-28 12:48:12 -07:00
show_goal.lean fix(library/tc_multigraph): avoid name collisions 2016-02-04 13:15:42 -08:00
show_goal.sh test(tests/lean/extra): add test for "show goal" feature 2015-07-27 21:03:16 -07:00
show_goal_bag.sh fix(tests/lean/extra/show_goal_bag): adjust test to recent changes in the standard library 2015-08-04 06:52:20 +02:00
slow1.lean feat(kernel/default_converter): cache failures for (f t =?= f s) heuristic 2015-06-08 10:41:30 -07:00
test_eqn_macro.sh fix(test*.sh): allow spaces in filename 2015-03-28 23:29:52 -04:00
test_single.sh fix(test*.sh): allow spaces in filename 2015-03-28 23:29:52 -04:00
timeout.sh feat(kernel/default_converter): cache failures for (f t =?= f s) heuristic 2015-06-08 10:41:30 -07:00
tree_list_rec.lean test(tests/lean/extra): more tests for equations compiler 2014-12-15 19:22:17 -08:00