lean2/tests/lua
Leonardo de Moura e499f8e20a feat(kernel/inductive): relax conditions for an inductive datatype in Prop to be able to eliminate into Type
The new relaxed version allows us to define the "accessability"
proposition and have an eliminator into Type.

See justification in the new comments at inductive.cpp
2014-11-06 09:36:54 -08:00
..
old refactor(library/tactic): move 'tracing' tactics to separate module 2014-10-22 14:12:45 -07:00
slow refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
ac.lua feat(kernel/inductive): relax conditions for an inductive datatype in Prop to be able to eliminate into Type 2014-11-06 09:36:54 -08:00
acc.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
alias1.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
alias2.lua refactor(library/aliases): aliases are from name to names 2014-07-27 21:01:59 -07:00
big.lua test(shell): add command line tests 2014-05-26 04:53:04 -07:00
choice.lua feat(library): add choice expressions 2014-06-11 14:35:34 -07:00
choice2.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
cnstr1.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
coe1.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
coe2.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
coe3.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
coe4.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
coe5.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
def1.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
env1.lua feat(library/aliases): add 'exceptions' and support for universes to add_aliases procedure, add for_each_universe method to environment 2014-06-13 08:26:05 -07:00
env2.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env3.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
env4.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
env5.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
env6.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
env7.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
env8.lua feat(library/aliases): add 'exceptions' and support for universes to add_aliases procedure, add for_each_universe method to environment 2014-06-13 08:26:05 -07:00
env9.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
env11.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
eta.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
explicit.lua feat(library): add mk_explicit/is_explicit procedures for '@'-expressions 2014-06-24 12:11:27 -07:00
expr1.lua feat(kernel/expr): add is_contextual binder info 2014-05-14 14:54:27 -07:00
expr2.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
expr3.lua fix(library/expr_lt): make sure the builtin order is AC-compatible 2014-08-04 15:51:10 -07:00
expr4.lua refactor(kernel): store binder_infor in local constants 2014-06-30 11:37:46 -07:00
expr7.lua refactor(kernel): store binder_infor in local constants 2014-06-30 11:37:46 -07:00
expr8.lua refactor(kernel): store binder_infor in local constants 2014-06-30 11:37:46 -07:00
expr9.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
expr10.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
expr11.lua refactor(kernel/expr): remove dead code 2014-10-16 13:09:26 -07:00
extra.lua test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
format1.lua feat(lua): expose format objects in the Lua bindings 2013-11-07 21:54:42 -08:00
format2.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
format3.lua test(lua): add tests for format object 2013-11-11 12:58:47 -08:00
free.lua refactor(kernel/expr): remove dead code 2014-10-16 13:09:26 -07:00
glvl1.lua feat(library/aliases): add 'exceptions' and support for universes to add_aliases procedure, add for_each_universe method to environment 2014-06-13 08:26:05 -07:00
goal1.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
hop1.lua fix(tests/lua/hop1): incorrect assertion 2014-08-03 20:06:50 -07:00
hop2.lua feat(library/match): match universe levels 2014-08-04 18:30:30 -07:00
implua.lua test(lua): add import Lua file test 2014-05-26 04:34:34 -07:00
ind1.lua refactor(library): remove unnecessary file hott_kernel, HoTT and 2014-09-18 20:30:37 -07:00
ind2.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
ind3.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
ind4.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
ind5.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
ind6.lua test(lua): add another inductive datatype example 2014-05-22 14:10:25 -07:00
ind_ex.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
ind_tricky.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
int1.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
jst1.lua refactor(kernel/metavar): simplify substitution class, and remove dead code 2014-07-23 10:03:03 -07:00
level1.lua refactor(kernel): add level normalizer, is_equivalent predicate, switch to is_equivalent in the type checker, fix bugs in is_lt predicate 2014-05-11 18:05:02 -07:00
level2.lua feat(library/kernel_bindings): global level constructor/accessor/recognizer 2014-05-07 16:22:45 -07:00
level3.lua chore(tests): add missing tests 2014-06-29 09:03:51 -07:00
level4.lua refactor(kernel): add level normalizer, is_equivalent predicate, switch to is_equivalent in the type checker, fix bugs in is_lt predicate 2014-05-11 18:05:02 -07:00
level5.lua test(lua): add more level API unit tests 2014-05-13 09:20:10 -07:00
level6.lua feat(library/kernel_bindings): add sugar for level expressions in the Lua API 2014-05-17 08:10:36 -07:00
level7.lua test(lua): add is_geq (for universe level) tests 2014-05-17 13:42:12 -07:00
level8.lua test(lua): add more universe level expression tests 2014-05-20 11:41:17 -07:00
level9.lua test(lua): make sure bug reported by Floris does not happen in Lean 0.2 2014-05-21 13:34:04 -07:00
map2.lua test(lua): reactivate some of the Lua unit tests 2014-04-29 10:36:57 -07:00
mod1.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
mod3.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
mod3_corrupted1.olean test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3_corrupted2.olean test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3_corrupted3.olean test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3_corrupted4.olean test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3b.lua test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod4.lua fix(kernel/module): non-termination 2014-05-23 15:12:47 -07:00
mod5.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
mpz1.lua feat(lua): allow Lean to be compiled with Lua 5.1 and LuaJit 2013-11-03 12:40:44 -08:00
mpz2.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
n1.lua test(lua): use assertions 2013-11-05 13:21:01 -08:00
n2.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
n3.lua feat(lua): add State objects, it allows us to create several Lua State objects in a lua script 2013-11-11 15:05:50 -08:00
n5.lua test(lua): reactivate some of the Lua unit tests 2014-04-29 10:36:57 -07:00
n6.lua test(lua): fix n6.lua, and add more tests 2014-05-18 13:52:16 -07:00
n7.lua refactor(library/aliases): move replace_prefix to util/name 2014-05-31 15:11:22 -07:00
name1.lua test(tests/lua): extra tests for Lua hierachical name API 2014-01-14 11:38:10 -08:00
name_gen1.lua feat(util): name_generator Lua API 2014-05-07 17:28:11 -07:00
ns1.lua feat(util): name_set Lua API 2014-05-07 18:32:53 -07:00
ns2.lua feat(util/name_set): improve name_set Lua API 2014-05-08 17:17:00 -07:00
num1.lua fix(lua/numerics): bug in bindings, add more tests 2013-11-17 11:02:44 -08:00
opt1.lua refactor(lua/options): improve options bindings for Lua 2013-11-04 18:46:58 -08:00
opt2.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
opt3.lua test(lua): add tests for options object 2013-11-11 09:42:50 -08:00
opt4.lua feat(bindings/lua/options): improve options Lua API 2013-11-25 21:05:05 -08:00
order.lua fix(library/expr_lt): make sure the builtin order is AC-compatible 2014-08-04 15:51:10 -07:00
parse_table.lua feat(frontends/lean/parse_table): add use_lambda_abstraction flag to scoped_expr_actions 2014-06-10 09:39:01 -07:00
place1.lua feat(library): add simple placeholder module 2014-05-30 20:28:28 -07:00
place2.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
proof_state1.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
prv.lua feat(frontends/lean/builtin_cmds): add definition command family 2014-06-13 17:30:35 -07:00
replace1.lua feat(library/kernel_bindings): expose replace_fn in the Lua API 2014-06-04 15:26:55 -07:00
res1.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
scope.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
sexpr1.lua feat(lua): expose s-expressions in the Lua bindings 2013-11-04 19:58:32 -08:00
sexpr2.lua test(lua): add test driver for Lua binding tests 2013-11-05 13:11:34 -08:00
sexpr3.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
sexpr4.lua test(lua): add tests for sexpr object 2013-11-11 09:51:07 -08:00
sexpr5.lua feat(lua): add fields method to sexpr Lua API 2013-11-13 12:10:24 -08:00
sexpr_bug1.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
simple.lua test(lua): add import Lua file test 2014-05-26 04:34:34 -07:00
sorted.lua refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec' 2014-09-04 15:04:57 -07:00
subst1.lua perf(kernel/metavar): improve occurs_expr and occurs performance 2014-10-17 14:05:22 -07:00
tactic1.lua refactor(library/tactic): move 'tracing' tactics to separate module 2014-10-22 14:12:45 -07:00
tag1.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
tc1.lua refactor(kernel/type_checker): remove "global" constraint buffer from type_checker, and use constraint_seq instead 2014-08-20 16:46:19 -07:00
tc2.lua refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
tc3.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
tc4.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
tc5.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
tc6.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
tc7.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
tc8.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
tc_bug1.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
test.sh chore(tests/*/test.sh): change working dir; avoid using ls in for-loop 2014-10-06 11:20:13 -07:00
test_single.sh chore(tests): cleanup test scripts 2014-06-29 09:03:39 -07:00
token_table.lua feat(frontends/lean/parser): add parse_level 2014-06-12 12:34:55 -07:00
unify1.lua refactor(kernel/metavar): simplify substitution class, and remove dead code 2014-07-23 10:03:03 -07:00
unify2.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
unify3.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
unify4.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
unify5.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
unify6.lua feat(library/unifier): add option 'unifier.unfold_opaque', remove option 'unifier.use_exceptions' (the user should not be able to change this) 2014-07-05 09:43:16 -07:00
unify7.lua refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
yield.lua test(lua): add Lua 'yield' test 2014-05-26 04:39:53 -07:00