Leonardo de Moura
|
cbc81ea6c5
|
chore(*): minimize dependencies on tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-24 19:58:48 -07:00 |
|
Leonardo de Moura
|
dbaf81e16d
|
refactor(library): remove unnecessary 'standard' subdirectory
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-23 18:08:09 -07:00 |
|
Jeremy Avigad
|
47a1c00a6d
|
refactor(library/standard): collect notation in general_notation
|
2014-08-23 17:53:02 -07:00 |
|
Leonardo de Moura
|
2f699fa53a
|
feat(*): make sections 'permanent', and add 'transient' contexts, closes #88
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-23 15:45:15 -07:00 |
|
Leonardo de Moura
|
e602c4ba49
|
feat(frontends/lean): change multicomment to /- ... -/
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 17:55:13 -07:00 |
|
Leonardo de Moura
|
c5a44aca44
|
fix(frontends/lean/elaborator): do not expose type information produced when synthesizing class instances
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 17:07:12 -07:00 |
|
Leonardo de Moura
|
a5f0593df1
|
feat(*): change inductive datatype syntax
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 15:46:10 -07:00 |
|
Leonardo de Moura
|
626cd952e7
|
test(tests/lean/run): add overload test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 15:23:33 -07:00 |
|
Leonardo de Moura
|
01000ff7df
|
feat(library): add typed_expr macro
We use it to enforce that a let-variable has the expected type
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 11:26:06 -07:00 |
|
Leonardo de Moura
|
937c465685
|
fix(library/unifier): too much reduction
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 21:37:51 -07:00 |
|
Leonardo de Moura
|
07bc0727e2
|
feat(frontends/lean): 'let [inline]' is the default
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 18:24:22 -07:00 |
|
Leonardo de Moura
|
6cf73b51e2
|
fix(library/unifier): bug in occurs_check, the dependency may be eliminated by reducing term
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 17:56:18 -07:00 |
|
Leonardo de Moura
|
bb6dbe0e6f
|
fix(library/unifier): we should preprocess choice constraints before we start solving any constraint, fixes #85
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 16:58:25 -07:00 |
|
Leonardo de Moura
|
725f5ba0a0
|
feat(frontends/lean): use 'begin-end' instead of 'proof-qed' for blocks of tactics, closes #81
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 16:58:25 -07:00 |
|
Leonardo de Moura
|
359c72b02f
|
fix(frontends/lean/pp): bug when pretty printing binder information, fixes #73
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-21 09:28:07 -07:00 |
|
Leonardo de Moura
|
8375626cb6
|
fix(doc/lean/tutorial): adjust tutorial to library changes, fix test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 18:32:53 -07:00 |
|
Jeremy Avigad
|
6264fb52d6
|
fix(lean/library/standard): fix tests, more cleanup
|
2014-08-20 18:04:31 -07:00 |
|
Leonardo de Moura
|
f5987b7bda
|
refactor(library/unifier): make it easier to add new options to the unifier
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 17:30:08 -07:00 |
|
Leonardo de Moura
|
9588336c15
|
refactor(kernel/type_checker): remove "global" constraint buffer from type_checker, and use constraint_seq instead
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
b60c9d9ecc
|
test(tests/lean/run): add test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
f0d50e0d33
|
feat(frontends/lean): change the name resolution rules: when in a namespace N that defines C, then C always refers to N.C (i.e., it overrides any alias)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-18 18:58:50 -07:00 |
|
Leonardo de Moura
|
08ae17650b
|
feat(frontends/lean): try overloaded notation and declarations in the order they were defined
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-18 18:58:50 -07:00 |
|
Leonardo de Moura
|
919f02983e
|
feat(frontends/lean/elaborator): case-split on coercions that cannot be resolved by postponing
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-18 18:58:50 -07:00 |
|
Leonardo de Moura
|
4a96fefd96
|
fix(library/unifier): bug in unifier priority queue
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-18 18:58:50 -07:00 |
|
Leonardo de Moura
|
1d306c09ee
|
fix(tests/lean/interactive): remove leftover from test output
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-17 17:29:52 -07:00 |
|
Leonardo de Moura
|
05b0f24cb5
|
fix(frontends/lean/decl_cmds): improve error message for invalid end of theorem
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-17 17:03:54 -07:00 |
|
Leonardo de Moura
|
13af81d554
|
fix(tests/lean/interactive): adjust test output to reflect new features
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-17 15:23:53 -07:00 |
|
Leonardo de Moura
|
55b0a03e3d
|
refactor(frontends/lean/info_manager): to allow cache to be used when producing info data, fixes #37, closes #45
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-17 12:16:32 -07:00 |
|
Leonardo de Moura
|
1436212a34
|
fix(library/unifier): use depth-first search strategy for solving class-instance constraints
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-16 13:51:24 -07:00 |
|
Leonardo de Moura
|
670bfe24f5
|
chore(build): remove hott library directory, and move hott tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-15 13:30:56 -07:00 |
|
Leonardo de Moura
|
094459504b
|
fix(tests/lean/run): adjust test to changes in the library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-15 13:27:18 -07:00 |
|
Leonardo de Moura
|
28b7d87f1f
|
feat(frontends/lean/pp): pretty print numerals
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 09:12:22 -07:00 |
|
Leonardo de Moura
|
e778e3faec
|
fix(tests/lean): adjust tests expected output
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-13 12:35:14 -07:00 |
|
Leonardo de Moura
|
60ab6d3bd8
|
feat(frontends/lean): remove feature that in declarations such as (A B : Type), forced A and B to be in the same universe
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 17:40:30 -07:00 |
|
Leonardo de Moura
|
7d0c0818e5
|
test(tests/lean/slow): add self contained path_groupoids test file
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-11 16:44:30 -07:00 |
|
Leonardo de Moura
|
70c0eda9fc
|
feat(frontends/lean): make sure all scopes are closed in the end of the module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 17:08:59 -07:00 |
|
Leonardo de Moura
|
1a67e69678
|
feat(library/scoped_ext): force user to end a scope with an identifier matching the one used in beginning of scope, closes #30
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 16:59:08 -07:00 |
|
Leonardo de Moura
|
2486c483cf
|
chore(kernel/error_msgs): change type mismatch error messages, closes #33
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 16:18:40 -07:00 |
|
Leonardo de Moura
|
9e6c5695be
|
fix(library/unifier): make sure the imitation step is type correct, fix ensure_sufficient_args
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 16:09:45 -07:00 |
|
Leonardo de Moura
|
4ad7e709aa
|
feat(frontends/lean): default for inductive types, closes #32
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 07:52:37 -07:00 |
|
Leonardo de Moura
|
8d9ca4c4ea
|
fix(tests/lean): remove obsolete test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 19:40:02 -07:00 |
|
Leonardo de Moura
|
a173b7f6e6
|
test(tests/lean/interactive): add old 'interactive' tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 14:57:08 -07:00 |
|
Leonardo de Moura
|
069f217215
|
fix(frontends/lean/elaborator): use full local context for metavariables due to coercions and overloads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 17:21:21 -07:00 |
|
Leonardo de Moura
|
9cc2015caa
|
feat(library/unifier): better error message for invalid local context
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 16:25:22 -07:00 |
|
Leonardo de Moura
|
d1924097d5
|
feat(library/match): add 'local' backtracking
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 10:09:00 -07:00 |
|
Leonardo de Moura
|
e6ffda0c51
|
feat(library/match): add basic match_plugin that just invokes whnf before failing
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 08:37:03 -07:00 |
|
Leonardo de Moura
|
56d151ef7f
|
feat(frontends/lean): 'partial' aliases. closes #24
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 22:08:10 -07:00 |
|
Leonardo de Moura
|
c34c2f4f5c
|
feat(library/match): match universe levels
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 18:30:30 -07:00 |
|
Leonardo de Moura
|
0d5e346143
|
fix(library/expr_lt): make sure the builtin order is AC-compatible
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 15:51:10 -07:00 |
|
Leonardo de Moura
|
63d478c63f
|
fix(tests/lua/hop1): incorrect assertion
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 20:06:50 -07:00 |
|