Commit graph

69 commits

Author SHA1 Message Date
Leonardo de Moura
ba9a8f9d98 feat(frontends/lean): add 'show' expression syntax sugar
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-06 07:50:22 -08:00
Leonardo de Moura
cbe89ca32e doc(doc/todo): update TODO list
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-02 19:19:49 -08:00
Leonardo de Moura
17eb2374ee doc(README): add link to tutorial in the main page
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-02 19:14:02 -08:00
Leonardo de Moura
9fa03db42b doc(doc/lean/tutorial): expand the tutorial
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-02 19:09:55 -08:00
Leonardo de Moura
759aa61f70 refactor(builtin/kernel): define if-then-else using Hilbert's operator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-30 19:28:42 -08:00
Leonardo de Moura
b55aee1efd doc(demo): add another example into demo set
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-28 10:11:58 -08:00
Leonardo de Moura
9bdf076342 doc(demo): add files for making demos
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-28 09:59:16 -08:00
Leonardo de Moura
ceff335bb8 doc(doc/lean/tutorial): update tutorial
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-26 22:58:44 -08:00
Leonardo de Moura
a43020b31b refactor(kernel): remove heterogeneous equality
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-16 17:39:12 -08:00
Leonardo de Moura
ccb9faf065 refactor(*): error messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-13 16:54:21 -08:00
Leonardo de Moura
d83a13d044 doc(doc/lean/tutorial): update tutorial
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-12 21:56:08 -08:00
Leonardo de Moura
2179e57db3 refactor(builtin): move if_then_else to its own module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-09 14:08:39 -08:00
Leonardo de Moura
57c0006916 chore(*): cleanup lean builtin symbols, replace :: with _
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-09 08:33:52 -08:00
Leonardo de Moura
e42b616438 fix(kernel/normalizer): equality between semantic attachments
Given a heterogenous equality:  a == b
The normalizer will only reduce it if a and b are objects of the same kind.
Now, 1 == true is not reduced to false anymore.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-08 19:10:30 -08:00
Leonardo de Moura
048151487e feat(kernel): use Pi as forall/implication
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-08 00:38:39 -08:00
Leonardo de Moura
d9c41e7282 doc(lean): add tutorial draft, and fix lexical documentation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-07 00:06:32 -08:00
Leonardo de Moura
feae89d019 fix(doc/design): reflect changes in Lean syntax
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-06 11:51:15 -08:00
Leonardo de Moura
62bb2ab2f9 fix(builtin/Nat): name convention
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-06 11:41:14 -08:00
Leonardo de Moura
8c956280d9 chore(frontends/lean): rename setoption and setopaque commands to set::option and set::opaque
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-06 11:41:03 -08:00
Leonardo de Moura
935c2a03a3 feat(*): change name conventions for Lean builtin libraries
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 19:21:44 -08:00
Leonardo de Moura
9d6bd7501c feat(doc/lean): include lean documentation scripts in the test set
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 13:16:47 -08:00
Leonardo de Moura
028a9bd9bd feat(frontends/lean/scanner): use Lua style comments in Lean
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 08:53:27 -08:00
Leonardo de Moura
03cf9be8b5 doc(doc/lean/calc.md): link to Nat.lean
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-03 11:59:24 -08:00
Leonardo de Moura
66ec538c63 doc(doc/lean/calc.md): calculational proof documentation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-03 11:52:21 -08:00
Leonardo de Moura
3874e23a76 doc(doc/lean): expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-26 21:29:54 -08:00
Leonardo de Moura
f27105d17f doc(doc/lean): lexical conventions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-23 22:50:13 -08:00
Leonardo de Moura
8d7bd34059 fix(doc/make/split-stack): typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-09 22:45:13 -08:00
Leonardo de Moura
d06f4fa3d1 fix(doc/make/split-stack): typos
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-09 22:41:16 -08:00
Leonardo de Moura
0cd8e3e76b feat(split-stack): add support for split-stacks (no more stackoverflows)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-09 22:30:54 -08:00
Leonardo de Moura
29613e45ad doc(README.md): Boost support
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-09 17:45:31 -08:00
Leonardo de Moura
1eeec07713 doc(lua): add options documentation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-28 11:02:34 -08:00
Leonardo de Moura
6cb8300076 doc(lua): add S-expression documentation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-28 10:33:32 -08:00
Leonardo de Moura
a98fdd9be6 refactor(shell): combine lean and leanlua executables in a single executable
The main motivation is to allow users to configure/extend Lean using .lua files before loading the actual .lean files.
Example:
        ./lean extension1.lua extension2.lua file.lean

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-19 16:48:21 -08:00
Leonardo de Moura
28ac7f7791 doc(lua): add mpz and mpq Lua API documentation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-19 13:31:35 -08:00
Leonardo de Moura
3ef04b3e82 fix(doc/lua): extra lines in the automatically generated .md.lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-19 13:25:42 -08:00
Leonardo de Moura
70c410eba2 doc(lua): add link to wikipedia splay tree page
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-18 21:29:48 -08:00
Leonardo de Moura
5247d3b16b doc(lua): add sections on Lua tables and splay maps
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-18 21:26:34 -08:00
Leonardo de Moura
87775cbc07 chore(build): include incorrect output in the logs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-18 15:39:55 -08:00
Soonho Kong
20756c382c test(*): split leantests, leanslowtests, leanluatests, leanluadocs into singletons 2013-11-18 18:27:11 -05:00
Leonardo de Moura
88b2feff6f test(doc/lua): add script for validating examples in the Lua API documentation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-18 12:49:57 -08:00
Leonardo de Moura
972721006e doc(lua): add main file for Lua API documentation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-18 12:42:50 -08:00
Soonho Kong
ed4526a4f0 doc(coding_style.md): add section about git pre-push hook
[skip ci]
2013-11-11 20:18:38 -05:00
Leonardo de Moura
4eadd0b7d8 doc(README): add lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-08 10:43:52 -08:00
Leonardo de Moura
30d54fa483 chore(todo): update todo list 2013-11-07 15:25:03 -08:00
Leonardo de Moura
a16c41c2c7 chore(todo): update todo list 2013-11-07 15:24:41 -08:00
Leonardo de Moura
9c18439eb2 chore(todo): update todo list 2013-11-07 15:24:09 -08:00
Soonho Kong
7944db2f18 doc(coding_style): add how to organize template source code
[skip ci]
2013-10-28 11:31:46 -04:00
Leonardo de Moura
833c513840 doc(commit_convention): add new category
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-10-25 09:23:14 -07:00
Leonardo de Moura
7d602c1068 doc(todo): update todo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-10-24 20:21:17 -07:00
Leonardo de Moura
e01da4d4e5 doc(todo): update todo.md 2013-10-02 09:56:45 -07:00