Leonardo de Moura
|
90eb5c8ca5
|
test(tests/lean/hott): add test for rewriter in the HoTT version
|
2015-02-04 19:33:08 -08:00 |
|
Leonardo de Moura
|
61a029d9df
|
fix(tests/lean/rewrite_loop): notation
|
2015-02-04 19:21:26 -08:00 |
|
Leonardo de Moura
|
d0171ffe7a
|
test(tests/lean/run): add more rewrite tactic examples
|
2015-02-04 19:19:46 -08:00 |
|
Leonardo de Moura
|
08dcc9e2fc
|
feat(frontends/lean/parse_rewrite_tactic): polish rewrite tactic notation
|
2015-02-04 19:19:19 -08:00 |
|
Leonardo de Moura
|
55fb678db2
|
fix(library/tactic/location): clang++ 3.3 compilation problem
|
2015-02-04 18:48:23 -08:00 |
|
Leonardo de Moura
|
42c2f7eb11
|
fix(library/tactic/rewrite_tactic): memory leak
|
2015-02-04 18:40:11 -08:00 |
|
Leonardo de Moura
|
89fde9d829
|
feat(library/tactic/rewrite_tactic): add maximum number of iterations threshold to rewrite tactic
The idea is to avoid nontermination.
|
2015-02-04 16:13:15 -08:00 |
|
Soonho Kong
|
ca16381892
|
feat(bin): add linja.in and LEAN_BIN_DEP cmake option
see the discussion in issue #422
|
2015-02-04 15:46:08 -08:00 |
|
Leonardo de Moura
|
dc297865d4
|
chore(library/tactic/rewrite_tactic): fix compilation warnings
|
2015-02-04 15:34:02 -08:00 |
|
Leonardo de Moura
|
0c8eaa38c8
|
test(tests/lean/run): add basic rewriter test
|
2015-02-04 15:30:18 -08:00 |
|
Leonardo de Moura
|
ee079d12f4
|
feat(library/tactic/rewrite_tactic): remove trivial goal in rewrite_tactic
|
2015-02-04 15:29:52 -08:00 |
|
Leonardo de Moura
|
f0fac1ae0e
|
feat(library/constants): add eq.intro
|
2015-02-04 15:27:18 -08:00 |
|
Leonardo de Moura
|
e5381679d6
|
feat(library/tactic/rewrite_tactic): rewrite goal
|
2015-02-04 15:17:58 -08:00 |
|
Leonardo de Moura
|
599de0271b
|
feat(frontends/lean/parse_tactic_location): validate occurrence index
|
2015-02-04 14:04:56 -08:00 |
|
Leonardo de Moura
|
09818adf90
|
feat(library/tactic/rewrite_tactic): elaborate rewrite rule using unifier
|
2015-02-04 13:51:32 -08:00 |
|
Leonardo de Moura
|
49323ab598
|
feat(library/util): add mk_symm
|
2015-02-04 13:44:55 -08:00 |
|
Leonardo de Moura
|
ccae014ef9
|
feat(library/tactic/rewrite_tactic): ignore inst_implicit arguments when matching applications of declarations which contain them
|
2015-02-04 12:14:47 -08:00 |
|
Leonardo de Moura
|
0e05c239a5
|
feat(library/tactic/rewrite_tactic): add custom matcher pluging for rewriter
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
8912c759dd
|
fix(frontends/lean/parse_rewrite_tactic): corner case "rewrite ?(t)"
The token '?(' is used to represent inaccessible terms in recursive
equations. In the rewriter tactic, we want "rewrite ?(t)" to be parsed
as "? (t)".
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
991d29b7f6
|
fix(frontends/lean/parse_rewrite_tactic): bugs in rewrite tactic parser
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
d6a7ec4621
|
chore(library/tactic/rewrite_tactic): fix style
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
b4dd2cc729
|
refactor(library/tactic/rewrite_tactic): more general rewrite step
The rule can be an arbitrary expression.
Allow user to provide a pattern that restricts the application of the rule.
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
461fd45efc
|
feat(frontends/lean): allow a different location for each rewrite element
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
c845e44777
|
feat(frontends/lean): parse rewrite tactic
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
180cda304e
|
feat(library/tactic): add rewrite tactic skeleton
The tactic has not been implemented yet, but this commit adds all the
support for storing arguments, serializing and deserializing them.
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
87bcec2e5e
|
feat(frontends/lean): parse tactic location (i.e., scope of application)
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
8a78adc9af
|
feat(library/tactic): add auxiliary object "location"
This object will used to specify the scope of application of tactics
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
2a6ccb252e
|
test(tests/lean/extra): add regression tests for issue #422
|
2015-02-04 10:55:03 -08:00 |
|
Leonardo de Moura
|
0cea63651d
|
fix(frontends/lean): store line/col information at snapshots, save snapshot before 'end' scope, and before "closing" open namespaces
closes #422
|
2015-02-04 10:40:36 -08:00 |
|
Leonardo de Moura
|
420da8fd3f
|
feat(library/projection): store bit saying whether a projection is for a class or not.
|
2015-02-04 08:54:20 -08:00 |
|
Leonardo de Moura
|
1ee47dc063
|
feat(frontends/lean/server): suppress projections from autocompletion
closes #424
|
2015-02-04 07:18:47 -08:00 |
|
Leonardo de Moura
|
c92f3bec65
|
refactor(library/definitional/projection): move projection "database" to library/projection
|
2015-02-04 07:18:43 -08:00 |
|
Leonardo de Moura
|
0e06f4aedc
|
feat(library/match): extend match_plugin interface
|
2015-02-03 18:10:38 -08:00 |
|
Leonardo de Moura
|
44e575c895
|
feat(library/match): improve match_app_core
|
2015-02-03 17:37:22 -08:00 |
|
Leonardo de Moura
|
790fd9c24b
|
chore(library/match): remove unused procedure
|
2015-02-03 15:20:26 -08:00 |
|
Leonardo de Moura
|
f79f43c702
|
refactor(library/match): use "special" meta-variables instead of free variables to represent placholders in the higher-order matcher
|
2015-02-03 15:15:04 -08:00 |
|
Leonardo de Moura
|
fc6d9878c9
|
refactor(kernel): add expr_cache
It is the old instantiate_metavars_cache.
|
2015-02-03 14:59:55 -08:00 |
|
Jeremy Avigad
|
dc7b432482
|
feat(src/emacs/README.md): tell user that packages will be installed automatically. Closes #423.
|
2015-02-03 13:50:59 -08:00 |
|
Jeremy Avigad
|
875869fdbc
|
fix(src/emacs/README.md): make minor grammatical corrections
|
2015-02-03 13:50:59 -08:00 |
|
Jeremy Avigad
|
77e8439012
|
feat(library/data/nat/div): add theorems for coprime, etc.
|
2015-02-03 13:50:59 -08:00 |
|
Leonardo de Moura
|
45e62031e2
|
fix(library/match): bug in matcher
|
2015-02-03 13:46:19 -08:00 |
|
Leonardo de Moura
|
10357f3f53
|
fix(tests/lean/nonexhaustive): remove line "warning: imported file uses 'sorry'" from test produced output
|
2015-02-01 21:25:52 -08:00 |
|
Leonardo de Moura
|
36cfb7fac0
|
test(tests/lean/bad_set_option): add tests for bad 'set_option' command
|
2015-02-01 20:20:35 -08:00 |
|
Leonardo de Moura
|
9d1e312c12
|
test(tests/lean/extra): add extra tests for 'print' command
|
2015-02-01 20:20:26 -08:00 |
|
Leonardo de Moura
|
ed85ac254a
|
test(tests/lean): add more tests for error messages
|
2015-02-01 20:04:22 -08:00 |
|
Leonardo de Moura
|
3f37c0e739
|
test(tests/lean/run): add 'export' command test
|
2015-02-01 19:57:26 -08:00 |
|
Leonardo de Moura
|
7d9d89bae6
|
test(tests/lean/extra): add test for saving recursive equation pre-terms
|
2015-02-01 19:49:14 -08:00 |
|
Leonardo de Moura
|
2403d555ee
|
test(tests/lean/bad_eqns): add tests for definition package error messages
|
2015-02-01 19:36:06 -08:00 |
|
Leonardo de Moura
|
c3b4ed8267
|
doc(fixing_tests.md): add documentation for fixing broken tests
|
2015-02-01 11:55:33 -08:00 |
|
Leonardo de Moura
|
6cd4972a84
|
fix(tests/lean): adjust tests to reflect changes in the standard library
|
2015-02-01 11:36:38 -08:00 |
|