Leonardo de Moura
|
029acbd1df
|
feat(library/coercion): better support for coercions to function-class. closes #185
|
2014-09-12 13:17:20 -07:00 |
|
Leonardo de Moura
|
a2e36e97f2
|
fix(frontends/lean/builtin_cmds): allow coercion command inside section, fixes #186
|
2014-09-12 12:13:29 -07:00 |
|
Leonardo de Moura
|
010ecebfea
|
feat(frontends/lean): add proof-qed expression
Remark: we still have to add support to it in the elaborator.
Right now, it is just an embellished parenthesis.
|
2014-09-11 18:14:49 -07:00 |
|
Leonardo de Moura
|
7ffe73b8ca
|
fix(frontends/lean): name clash inside section, fixes #181
|
2014-09-11 16:37:23 -07:00 |
|
Leonardo de Moura
|
5cff53c447
|
test(tests/lean/run): add section test
|
2014-09-11 15:33:20 -07:00 |
|
Leonardo de Moura
|
85f7132efe
|
feat(frontends/lean/placeholder_elaborator): perform class-instance resolution in a completely independent unifier object, it also triggers the resolution when expected type does not contain metavariables, closes #175, closes #173, closes #68
|
2014-09-11 14:49:35 -07:00 |
|
Leonardo de Moura
|
b82092a123
|
fix(frontends/lean/parser): segmentation fault after REPLACE, fixes #172
|
2014-09-10 08:39:39 -07:00 |
|
Leonardo de Moura
|
570879b55f
|
feat(frontends/lean): add declaration to namespace without opening it, closes #161
|
2014-09-09 18:02:14 -07:00 |
|
Leonardo de Moura
|
efb14d906b
|
chore(tests/lean): add untracked tests
|
2014-09-09 16:21:30 -07:00 |
|
Leonardo de Moura
|
9b9adf8831
|
refactor(library): replace decidable_eq with abbreviation
|
2014-09-09 16:09:05 -07:00 |
|
Leonardo de Moura
|
47e02342bb
|
feat(frontends/lean/elaborator): use whnf in class-instance resolution, closes #160
|
2014-09-09 15:04:44 -07:00 |
|
Leonardo de Moura
|
abdd784729
|
feat(shell): start 'lean --server' with 'pp.beta = true'
|
2014-09-09 14:13:35 -07:00 |
|
Leonardo de Moura
|
ee196bbf1a
|
fix(frontends/lean/pp): pretty printing coercions to functions, fixes #151
|
2014-09-09 12:49:32 -07:00 |
|
Leonardo de Moura
|
d8caa294b5
|
fix(frontends/lean/parser): configuration options defined in a context are transient, fixes #162
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-09 11:02:54 -07:00 |
|
Leonardo de Moura
|
05c6e1461e
|
fix(tests/lean/interactive): interactive tests expected output, they must include the new '-- BEGINWAIT' messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-09 09:47:19 -07:00 |
|
Leonardo de Moura
|
187661aa6a
|
feat(library/unifier): consider whnf case-split on flex-rigid constraints whenever the rhs contains a local constant that is not in the lhs
|
2014-09-09 09:27:26 -07:00 |
|
Leonardo de Moura
|
4088cdc139
|
chore(frontend/lean/pp_options): use consistent name convention for pp option names
|
2014-09-09 09:27:26 -07:00 |
|
Leonardo de Moura
|
b4793df653
|
feat(frontends/lean): rename '[fact]' to '[visible]'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-08 07:47:42 -07:00 |
|
Leonardo de Moura
|
559dd586f2
|
feat(library): add 'decidable_eq' class
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-07 22:23:36 -07:00 |
|
Leonardo de Moura
|
cbdfb0dcdc
|
feat(frontends/lean/elaborator): (Pi/forall) intro in class inference, closes #77
|
2014-09-07 19:59:34 -07:00 |
|
Leonardo de Moura
|
2631979f5c
|
fix(library/scoped_ext): section/context should not affect namespace
|
2014-09-07 19:59:34 -07:00 |
|
Leonardo de Moura
|
3310eb3dfc
|
feat(frontends/lean): remove restriction on implict arguments, add new test that demonstrates the new feature
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-07 12:29:32 -07:00 |
|
Leonardo de Moura
|
5549295c47
|
fix(frontends/lean/inductive_cmd): bug when elaborating inductive tyoe parameters
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-06 11:38:32 -07:00 |
|
Leonardo de Moura
|
bbff564a1c
|
feat(frontends/lean): persistent notation in sections
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-06 11:14:20 -07:00 |
|
Leonardo de Moura
|
b5f595c432
|
fix(frontends/lean/inductive_cmd): bugs when declarating inductive datatypes in sections, fixes #141, fixes #142
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-05 19:17:09 -07:00 |
|
Leonardo de Moura
|
9412e604c8
|
refactor(library/data): cleanup datatypes
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 22:31:52 -07:00 |
|
Leonardo de Moura
|
6632a50015
|
refactor(library): add namespaces 'or', 'and' and 'iff'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 21:25:21 -07:00 |
|
Leonardo de Moura
|
68d9bef860
|
refactor(library): add 'eq' and 'ne' namespaces
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 18:41:06 -07:00 |
|
Leonardo de Moura
|
2bc6f92d33
|
refactor(library): add 'and' namespace
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 17:44:53 -07:00 |
|
Leonardo de Moura
|
364bba2129
|
feat(frontends/lean/inductive_cmd): prefix introduction rules with the name of the inductive datatype
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 17:26:36 -07:00 |
|
Leonardo de Moura
|
8743394627
|
refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 15:04:57 -07:00 |
|
Leonardo de Moura
|
653141135d
|
chore(tests/lean): add missing tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 15:04:57 -07:00 |
|
Leonardo de Moura
|
ffc871ea8c
|
feat(frontends/lean/server): only display 'EXTRA_TYPE' info when the column number is provided to the 'INFO' command, closes #133
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 14:02:53 -07:00 |
|
Leonardo de Moura
|
9d0a4d21d4
|
chore(tests/lean/interactive): adjust test expected output
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 10:00:42 -07:00 |
|
Leonardo de Moura
|
f9a90b9920
|
feat(frontends/lean): add 'export' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 18:37:01 -07:00 |
|
Leonardo de Moura
|
5e18e6609c
|
feat(frontends/lean): add 'as' clause to 'open' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 17:37:02 -07:00 |
|
Leonardo de Moura
|
e51c4ad2e9
|
feat(frontends/lean): rename 'using' command to 'open'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 16:00:38 -07:00 |
|
Leonardo de Moura
|
e14814d4bf
|
feat(frontends/lean): add '[protected]' modifier
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 15:01:13 -07:00 |
|
Leonardo de Moura
|
2ca0a22e2c
|
fix(tests/lean/interactive/in4): adjust test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 01:35:46 -07:00 |
|
Leonardo de Moura
|
0f9478d91e
|
feat(frontends/lean): add 'class' command back
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-02 15:04:23 -07:00 |
|
Leonardo de Moura
|
8dec18018c
|
refactor(library/data/list): avoid placeholders '_', make first argument of false_elim implicit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-01 19:44:04 -07:00 |
|
Leonardo de Moura
|
b7d7f12b8e
|
fix(frontends/lean/info_manager): several bugs: invalid flag was not being reset for empty lines, merge with overwrite=false was adding 'poluting' state, --NAY generation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-30 10:35:36 -07:00 |
|
Jeremy Avigad
|
6ffd719c1a
|
refactor(library/logic): move identities from classical to identities
|
2014-08-29 22:28:22 -07:00 |
|
Leonardo de Moura
|
59d3227eaa
|
fix(tests/lean/interactive): test output
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-29 18:17:07 -07:00 |
|
Leonardo de Moura
|
9a4472cff5
|
fix(frontends/lean): wrong displayed type in proof with multiple sorry's, fixes #112
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-29 14:32:53 -07:00 |
|
Leonardo de Moura
|
b9489ce585
|
fix(frontends/let): let-expression pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-29 10:58:27 -07:00 |
|
Leonardo de Moura
|
d8548369e7
|
feat(frontends/lean/pp): improve let-expr pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-29 07:46:58 -07:00 |
|
Leonardo de Moura
|
be56fcf0bd
|
fix(frontends/lean/pp): pretty print 'let-expressions', closes #87
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 18:20:58 -07:00 |
|
Leonardo de Moura
|
1e80a9dfe9
|
feat(frontends/lean): avoid exponential blowup when processing let-expressions with a lot of sharing, cleanup show-expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 16:27:52 -07:00 |
|
Leonardo de Moura
|
d536475e49
|
refactor(library): more implicit_args for: and_assoc, and_comm, or_assoc, or_comm, if_pos, if_neg
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 11:10:04 -07:00 |
|