lean2/src/builtin
Leonardo de Moura d6167eae32 feat(builtin/num): define add and mul
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-08 22:28:15 -08:00
..
obj feat(builtin/num): define add and mul 2014-02-08 22:28:15 -08:00
builtin.cpp refactor(extra): move extra to builtin 2013-12-28 22:06:11 -08:00
CMakeLists.txt feat(builtin): add num type (the base type that will be used to build nat, int, real) 2014-02-08 09:12:53 -08:00
find.lua feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end' 2014-01-05 13:06:36 -08:00
Int.lean refactor(builtin/kernel): define if-then-else using Hilbert's operator 2014-01-30 19:28:42 -08:00
kernel.lean feat(builtin/num): add auxiliary definitions and theorems for proving the primitive recursion theorem 2014-02-08 19:36:17 -08:00
lean2cpp.lean feat(builtin): automatically generate Lean/C++ interface for builtin theories 2014-01-09 18:09:53 -08:00
lean2cpp.sh fix(build): broken dependencies between lean executable and .olean, *_decls.cpp and *_decls.h files 2014-01-10 10:58:35 -08:00
lean2h.lean feat(library/simplifier): cast elimination in the simplifier 2014-01-23 17:28:14 -08:00
lean2h.sh fix(build): broken dependencies between lean executable and .olean, *_decls.cpp and *_decls.h files 2014-01-10 10:58:35 -08:00
macros.lua feat(frontends/lean): add 'show' expression syntax sugar 2014-02-06 07:50:22 -08:00
name_conv.lua refactor(kernel): remove heterogeneous equality 2014-01-16 17:39:12 -08:00
Nat.lean feat(frontends/lean): add 'show' expression syntax sugar 2014-02-06 07:50:22 -08:00
num.lean feat(builtin/num): define add and mul 2014-02-08 22:28:15 -08:00
optional.lean refactor(builtin/sum): use new 'have' expression to formalize optional-types 2014-02-06 09:15:12 -08:00
README.md fix(builtin/README): update documentation 2014-01-06 12:03:11 -08:00
Real.lean refactor(builtin/kernel): define if-then-else using Hilbert's operator 2014-01-30 19:28:42 -08:00
repl.lua refactor(shell): move read-eval-loop script to repl.lua 2014-01-07 16:56:22 -08:00
specialfn.lean feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end' 2014-01-05 13:06:36 -08:00
subtype.lean refactor(builtin): merge pair.lean with kernel.lean, and add basic theorems 2014-02-07 16:04:44 -08:00
sum.lean fix(library/elaborator): fix glitches in the elaborator that were forcing us to provide parameters explicitly 2014-02-07 18:02:08 -08:00
tactic.lua feat(frontends/lean): position information in error messages 2014-02-06 17:26:38 -08:00
template.lua refactor(extra): move extra to builtin 2013-12-28 22:06:11 -08:00
util.lua fix(builtin/util): bug incorrect encoding of \t and \n in regular expression, and missing local 2014-01-12 17:40:41 -08:00

Builtin libraries and scripts

This directory contains builtin Lean theories and additional Lua scripts that are distributed with Lean. Some of the theories (e.g., kernel.lean) are automatically loaded when we start Lean. Others must be imported using the import command.

Several Lean components rely on these libraries. For example, they use the axioms and theorems defined in these libraries to build proofs.