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
|
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
|
03902d4b45
|
refactor(library/unifier): add option m_discard too unifier, if m_discard == false, then unsolved flex-flex constraints are returned, the unifier also does not apply "last resource" techniques that may miss many solutions.
|
2014-09-11 14:49:35 -07:00 |
|
Leonardo de Moura
|
80fd14b39e
|
refactor(frontends/lean): replace collect_metavars with metavar_closure helper class
|
2014-09-11 14:49:35 -07:00 |
|
Leonardo de Moura
|
1e5ba9bd75
|
refactor(frontends/lean/elaborator): move coercion_elaborator to its own module
|
2014-09-10 16:42:49 -07:00 |
|
Leonardo de Moura
|
6bc41f8dde
|
refactor(frontends/lean/elaborator): move placeholder_elaborator to its own module
|
2014-09-10 16:42:49 -07:00 |
|
Leonardo de Moura
|
9ce356e515
|
refactor(frontends/lean/local_context): do not use references in the local context
|
2014-09-10 16:42:49 -07:00 |
|
Leonardo de Moura
|
669b1bff45
|
refactor(frontends/lean/elaborator): rename choice_elaborator to choice_iterator and move to separate module
|
2014-09-10 11:20:16 -07:00 |
|
Leonardo de Moura
|
4a4de27a6c
|
refactor(frontends/lean/elaborator): move local_context to separate file
|
2014-09-10 11:20:16 -07:00 |
|
Leonardo de Moura
|
4ea322febc
|
chore(frontends/lean/elaborator): minor cleanup
|
2014-09-10 11:20:16 -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
|
e856a268a2
|
fix(frontends/lean): OVERLOAD info for overloaded notation, fixes #132
|
2014-09-09 17:44:19 -07:00 |
|
Leonardo de Moura
|
c92a9b8808
|
fix(frontends/lean/class): take whnf into account in add_instance
|
2014-09-09 16:09:05 -07:00 |
|
Leonardo de Moura
|
38058450d4
|
fix(frontends/lean/elaborator): whnf may produce assertion violation if term contains free variables
|
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
|
2d94584816
|
feat(frontends/lean/pp): add 'pp.beta' option, closes #154
|
2014-09-09 14:10:20 -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
|
0505be2aca
|
feat(frontends/lean/server): unifier maximum number of steps error in FINDG, closes #155
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-09 10:36:41 -07:00 |
|
Leonardo de Moura
|
53292d8297
|
feat(frontends/lean/server): add timebound to WAIT command, closes #156
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-09 10:28:47 -07:00 |
|
Leonardo de Moura
|
d9afb3ca96
|
fix(frontends/lean/elaborator): missing constraint
|
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 |
|
Soonho Kong
|
c88bfc0c02
|
chore(frontends/lean/server.cpp): add BEGIN/END for WAIT command
|
2014-09-08 16:04:19 -07:00 |
|
Leonardo de Moura
|
11addbb594
|
fix(frontend/lean/server): auto completion doesn't use prefix, fixes #147
|
2014-09-08 08:04:04 -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
|
cbdfb0dcdc
|
feat(frontends/lean/elaborator): (Pi/forall) intro in class inference, closes #77
|
2014-09-07 19:59:34 -07:00 |
|
Leonardo de Moura
|
da701eb6de
|
fix(frontends/lean/elaborator): bug in recent change
|
2014-09-07 19:08:31 -07:00 |
|
Leonardo de Moura
|
fea516af24
|
feat(frontends/lean/elaborator): allow Pi/forall local instances
|
2014-09-07 18:16:33 -07:00 |
|
Leonardo de Moura
|
c378a58cc2
|
feat(frontends/lean): add [class] modifier for inductive datatypes as a shortcut for 'class' command.
|
2014-09-07 18:16:33 -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
|
6d2df80a17
|
feat(frontends/lean/server): use '?a' instead of '?M_i' for implicit arguments when displaying FINDP and FINDG matches
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-07 09:36:03 -07:00 |
|
Leonardo de Moura
|
1bc31d7df0
|
feat(frontends/lean/server): instantiate implicit arguments with metavariables when generating FINDP and FINDG output
|
2014-09-06 13:17:26 -07:00 |
|
Leonardo de Moura
|
87d7391d7a
|
fix(frontends/lean/server): do not fail if file does not exist in 'VISIT file'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-06 12:34:20 -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
|
bdb91f6783
|
feat(frontends/lean/server): give preference to prefix matches
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-05 21:57:35 -07:00 |
|
Leonardo de Moura
|
629feb77ef
|
feat(frontends/lean/server): ingore keywords and commands in FINDP
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-05 20:59:14 -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
|
a8361f128f
|
feat(frontends/lean/server): sort fuzzy matches by number of errors
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-05 18:03:04 -07:00 |
|
Leonardo de Moura
|
f1436d78ca
|
feat(frontends/lean/server): using fuzzy matching
|
2014-09-05 18:01:18 -07:00 |
|
Leonardo de Moura
|
898021c1b8
|
fix(frontends/lean/server): cleanup info in modified line
|
2014-09-05 01:36:17 -07:00 |
|
Leonardo de Moura
|
613c035ff8
|
fix(frontends/lean): missing pre_info for type incorrect declarations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-05 01:12:08 -07:00 |
|
Leonardo de Moura
|
5fa1c0a5fb
|
feat(frontends/lean/server): take current namespace into account when processing FINDP command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-05 00:40:34 -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
|
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
|
d75a4739e4
|
refactor(util/name): move string_to_name to name module
|
2014-09-04 13:09:42 -07:00 |
|