Leonardo de Moura
|
dd72269b13
|
feat(frontends/lean): rename command Set to SetOption
It is not nice to have Set as a reserved keyword. See example examples/lean/set.lean
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-12-18 21:18:48 -08:00 |
|
Leonardo de Moura
|
d7886c4f5f
|
doc(examples/lean): new example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-12-18 21:03:16 -08:00 |
|
Leonardo de Moura
|
8cfe5cf9ed
|
fix(frontends/lean/pp): pretty printer was ignoring notation decls in the local scope
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-12-18 18:00:37 -08:00 |
|
Leonardo de Moura
|
79fa6e4940
|
feat(frontends/lean): Scopes in the default Lean frontend
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-12-18 17:40:21 -08:00 |
|
Leonardo de Moura
|
b887a2b900
|
fix(examples/lean/tactic_in_lua): try to make sure the example works when using LuaJIT
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-12-17 08:58:06 -08:00 |
|
Leonardo de Moura
|
caea19dcf0
|
doc(examples/lean): new tactic example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-12-06 16:34:59 -08:00 |
|
Leonardo de Moura
|
4e4fea1eca
|
fix(examples/lean): add all examples to test suite
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-12-05 21:54:55 -08:00 |
|
Leonardo de Moura
|
a7027a1d00
|
feat(library/tactic): polish tactic API, and add new example showing how to implement tactics using Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-30 00:16:39 -08:00 |
|
Leonardo de Moura
|
0680865689
|
Fix typo
|
2013-09-05 19:18:55 -07:00 |
|
Leonardo de Moura
|
71d76a891c
|
Add proof by evaluation examples
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-05 18:56:33 -07:00 |
|
Leonardo de Moura
|
9f34f96b08
|
Add another example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-04 05:40:28 -07:00 |
|
Leonardo de Moura
|
0c071d43af
|
Move examples to lean examples subdir. We should have an example subdirectory for each frontend
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-03 20:42:20 -07:00 |
|
Leonardo de Moura
|
c6db95802c
|
Make example 1 less symmetric
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-03 18:12:46 -07:00 |
|
Leonardo de Moura
|
8e7c657cf7
|
Use expected type of a definition in the elaborator. Improve elaborator solver. Add new example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-03 18:04:42 -07:00 |
|
Leonardo de Moura
|
e54338f4a8
|
Add a real example. Fix bug in the parser
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-31 19:32:08 -07:00 |
|
Leonardo de Moura
|
51640ecff8
|
Move files in examples directory to tests directory. They are not real examples
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-31 19:16:30 -07:00 |
|
Leonardo de Moura
|
03a5b5dbd0
|
Add more tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-31 14:25:27 -07:00 |
|
Leonardo de Moura
|
64788320f2
|
Fix elaborator for let-expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-31 14:24:07 -07:00 |
|
Leonardo de Moura
|
aedfb5be2c
|
Add another example that demonstrates how to use implicit arguments
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-30 16:34:47 -07:00 |
|
Leonardo de Moura
|
1b6d51b0aa
|
Mark implicit arguments of builtin symbols
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-30 15:56:04 -07:00 |
|
Leonardo de Moura
|
4ef4655183
|
Add homogeneous equality
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-30 14:26:12 -07:00 |
|
Leonardo de Moura
|
f886485056
|
Add new example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-30 13:37:18 -07:00 |
|
Leonardo de Moura
|
8dacd97801
|
Remove obsolete commands.
|
2013-08-27 16:03:45 -07:00 |
|
Leonardo de Moura
|
6edda12549
|
Fix example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 09:42:49 -07:00 |
|
Leonardo de Moura
|
f1462dc51e
|
Change lean frontend specific options. Now, frontend specific options must begin with the frontend name.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 10:55:55 -07:00 |
|
Leonardo de Moura
|
56d2d2a112
|
Improve pretty printer performance for deep formulas and formats with long lines. Add example that demonstrates performance problem (before: 13 secs, after: 1 sec).
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 22:45:48 -07:00 |
|
Leonardo de Moura
|
31460aa5b8
|
Add option declarations. Add Help.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 17:02:09 -07:00 |
|
Leonardo de Moura
|
ce470f57db
|
Add set options to lean_parser. Add support for disabling unicode output. Use channels in lean_parser.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 12:42:55 -07:00 |
|
Leonardo de Moura
|
73262e9786
|
Add Echo command. Allow '\' 'n' escape sequence in strings.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Leonardo de Moura
|
fbb021386c
|
Add minor improvement to pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Leonardo de Moura
|
f5e0150db3
|
Allow notation to be associated with arbitrary expression (instead of only constants).
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -07:00 |
|
Leonardo de Moura
|
53e4100e1f
|
Add example with nested quantifiers
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -07:00 |
|
Leonardo de Moura
|
986d9635e1
|
Add syntax sugar for forall/exists expressions. Fix problem when pretty printing nested equalities.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 15:48:07 -07:00 |
|
Leonardo de Moura
|
ce43c1cbae
|
Fix cup symbol. In Emacs, the unicode characters cup and cap are assigned incorrectly.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 18:43:31 -07:00 |
|
Leonardo de Moura
|
a46bf357b0
|
Fix bug in level.cpp. Add new example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 18:37:47 -07:00 |
|
Leonardo de Moura
|
676ebcca3d
|
Add parse_arrow
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 15:44:39 -07:00 |
|
Leonardo de Moura
|
4d5b65fe87
|
Fix bug in parser.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 15:25:20 -07:00 |
|
Leonardo de Moura
|
afd62ced87
|
Add parse_let
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 15:25:20 -07:00 |
|
Leonardo de Moura
|
ae523e33b4
|
Add parse_theorem and parse_definition
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 12:48:42 -07:00 |
|
Leonardo de Moura
|
5d2027d889
|
Add parse_lambda and parse_pi
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 12:34:00 -07:00 |
|
Leonardo de Moura
|
85222e13ba
|
Add small example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 11:02:29 -07:00 |
|