lean2/tests/lean
Leonardo de Moura b3f87e2e4f feat(library/tactic): make THEN, ORELSE, APPEND, PAR and INTERLEAVE nary combinators
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-28 22:11:07 -08:00
..
slow Move 'slow' test files to different subdir. Modify CTestCustom.cmake.in to run leantests. 2013-09-06 08:48:12 -07:00
arith1.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
arith1.lean.expected.out feat(frontends/lean/elaborator): solve easy overloads at preprocessing time 2013-10-29 10:07:15 -07:00
arith2.lean Add Real arithmetic. Fix elaborator for coercions. Now, two overloads are considered ambiguous if they need the same number of coercions. Improve pretty printer for nest infix operators with same precedence and associativity. 2013-09-02 13:20:00 -07:00
arith2.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
arith3.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
arith3.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
arith4.lean Add trigonometric functions 2013-09-02 17:03:02 -07:00
arith4.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
arith5.lean Add hyperbolic functions 2013-09-02 17:28:43 -07:00
arith5.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
arith6.lean Define divides, and add examples 2013-09-03 20:18:20 -07:00
arith6.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
arith7.lean Define absolute value function and notation for it. Add new example. 2013-09-03 20:39:54 -07:00
arith7.lean.expected.out feat(frontends/lean): make the first argument of if-expression implicit, add support for marking implicit arguments on builtin symbols (aka semantic attachments) 2013-10-29 15:53:50 -07:00
arith8.lean Parse decimal values 2013-09-06 08:48:12 -07:00
arith8.lean.expected.out Parse decimal values 2013-09-06 08:48:12 -07:00
arrow.lean Improve pretty printer for Pi's 2013-09-08 11:04:07 -07:00
arrow.lean.expected.out Improve pretty printer for Pi's 2013-09-08 11:04:07 -07:00
bad1.lean test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad1.lean.expected.out test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad2.lean fix(tests/lean): remove obsolete comments 2013-10-24 20:16:02 -07:00
bad2.lean.expected.out fix(tests/lean): remove obsolete comments 2013-10-24 20:16:02 -07:00
bad3.lean test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad3.lean.expected.out test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad4.lean test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad4.lean.expected.out test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad5.lean feat(frontends/lean): make the 'expression template' argument in Subst implicit because higher-order matching can infer it. 2013-10-30 10:45:43 -07:00
bad5.lean.expected.out feat(frontends/lean): make the 'expression template' argument in Subst implicit because higher-order matching can infer it. 2013-10-30 10:45:43 -07:00
bad6.lean test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad6.lean.expected.out test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad7.lean test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
bad7.lean.expected.out test(frontends/lean): all 'bad' examples can be solved 2013-10-24 20:12:58 -07:00
cast1.lean Add Cast, DomInj and RanInj. Improve operator << for lean_frontend objects. 2013-09-06 18:32:15 -07:00
cast1.lean.expected.out Display the input term in the output of the Check command. It is useful to see the fully elaborated term. 2013-09-08 22:55:21 -07:00
cast2.lean Add Cast, DomInj and RanInj. Improve operator << for lean_frontend objects. 2013-09-06 18:32:15 -07:00
cast2.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
cast3.lean Add casting propagation and normalization 2013-09-06 20:45:26 -07:00
cast3.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
coercion1.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
coercion1.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
coercion2.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
coercion2.lean.expected.out Fix test error on Cygwin 2013-09-09 18:35:11 -07:00
config.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
config.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
conv.lean test(conversion): add more conversion tests 2013-10-15 15:35:08 -07:00
conv.lean.expected.out fix(tests/lean): add parenthesis 2013-10-24 20:04:50 -07:00
elab1.lean refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
elab1.lean.expected.out feat(frontends/lean/parse): allow script-code blocks to be used in the apply command 2013-11-28 21:48:30 -08:00
elab2.lean Fix bug in the elaborator. Move character ' to class A 2013-09-06 17:12:35 -07:00
elab2.lean.expected.out fix(tests/lean): adjust tests 2013-10-24 15:42:17 -07:00
elab3.lean Add missing case to elaborator 2013-09-06 17:43:08 -07:00
elab3.lean.expected.out fix(tests/lean): adjust tests 2013-10-24 15:42:17 -07:00
elab4.lean Fix problem with pretty printer. Add another test for elaborator 2013-09-06 18:01:11 -07:00
elab4.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
elab5.lean Display the input term in the output of the Check command. It is useful to see the fully elaborated term. 2013-09-08 22:55:21 -07:00
elab5.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
eq1.lean refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
eq1.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
eq2.lean test(frontends/lean): add 'l = nil' test 2013-10-29 16:30:03 -07:00
eq2.lean.expected.out test(frontends/lean): add 'l = nil' test 2013-10-29 16:30:03 -07:00
eq3.lean fix(frontends/lean/notation): adjust the implicit arguments of TransExt, and add new test 2013-10-29 17:12:50 -07:00
eq3.lean.expected.out fix(frontends/lean/notation): adjust the implicit arguments of TransExt, and add new test 2013-10-29 17:12:50 -07:00
ex1.lean Add test script 2013-08-31 18:31:39 -07:00
ex1.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
ex2.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
ex2.lean.expected.out Improve application type mismatch errors. We also show the implicit arguments (not just their types) 2013-09-04 16:36:58 -07:00
ex3.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
ex3.lean.expected.out refactor(kernel/metavar): avoid using unique names for default metavariable prefix 2013-11-07 10:16:25 -08:00
ho.lean feat(frontends/lean): make the 'expression template' argument in Subst implicit because higher-order matching can infer it. 2013-10-30 10:45:43 -07:00
ho.lean.expected.out feat(frontends/lean): make the 'expression template' argument in Subst implicit because higher-order matching can infer it. 2013-10-30 10:45:43 -07:00
implicit1.lean Modify the parser for accepting expressions such as: 'fun a b, f a b', 'forall a, f a > 0', etc. This is just syntax sugar for 'fun (a : _) (b : _), f a b' and 'forall a : _, f a > 0' 2013-09-03 17:24:05 -07:00
implicit1.lean.expected.out fix(tests/lean): adjust tests 2013-10-24 15:42:17 -07:00
let1.lean Add (optional) type to let declarations 2013-09-06 10:06:26 -07:00
let1.lean.expected.out Display the input term in the output of the Check command. It is useful to see the fully elaborated term. 2013-09-08 22:55:21 -07:00
let2.lean Add (optional) type to let declarations 2013-09-06 10:06:26 -07:00
let2.lean.expected.out Add (optional) type to let declarations 2013-09-06 10:06:26 -07:00
let3.lean Add (optional) type to let declarations 2013-09-06 10:06:26 -07:00
let3.lean.expected.out Add (optional) type to let declarations 2013-09-06 10:06:26 -07:00
let4.lean Fix type checker and elaborator for let expressions. Fix get_coercions (we need to pass the context). Fix pretty printer for def_type_mismatch_exception. 2013-09-06 11:02:00 -07:00
let4.lean.expected.out refactor(kernel/metavar): avoid using unique names for default metavariable prefix 2013-11-07 10:16:25 -08:00
loop1.lean fix(lua): replace std::mutex with std::recursive_mutex, add test that demonstrates the problem that is being fixed 2013-11-15 21:26:16 -08:00
loop1.lean.expected.out fix(lua): replace std::mutex with std::recursive_mutex, add test that demonstrates the problem that is being fixed 2013-11-15 21:26:16 -08:00
loop2.lean feat(util/shared_mutex): add support for recursive lock at shared_mutex 2013-11-15 22:01:11 -08:00
loop2.lean.expected.out feat(util/shared_mutex): add support for recursive lock at shared_mutex 2013-11-15 22:01:11 -08:00
lua1.lean feat(lua): use (** ... **) instead of {{ ... }} for nested Lua scripts 2013-11-12 16:05:49 -08:00
lua1.lean.expected.out feat(frontends/lean): add support for embedded Lua scripts in Lean files 2013-11-07 13:56:04 -08:00
lua2.lean feat(lua): use (** ... **) instead of {{ ... }} for nested Lua scripts 2013-11-12 16:05:49 -08:00
lua2.lean.expected.out feat(lua): add lua_exception for wrapping lua errors, and improve Lua error messages in the Lean frontend 2013-11-07 15:19:26 -08:00
lua3.lean feat(lua): use (** ... **) instead of {{ ... }} for nested Lua scripts 2013-11-12 16:05:49 -08:00
lua3.lean.expected.out feat(lua): add lua_exception for wrapping lua errors, and improve Lua error messages in the Lean frontend 2013-11-07 15:19:26 -08:00
lua4.lean chore(lua): rename env() to get_env() 2013-11-13 13:58:51 -08:00
lua4.lean.expected.out feat(lua): use formatter available in the state object to convert Lean objects into strings in the Lua API 2013-11-12 16:56:30 -08:00
lua5.lean chore(lua): rename env() to get_env() 2013-11-13 13:58:51 -08:00
lua5.lean.expected.out feat(lua): allow lua scripts (embedded in Lean files) to access the environment 2013-11-10 11:14:04 -08:00
lua6.lean feat(lua): use (** ... **) instead of {{ ... }} for nested Lua scripts 2013-11-12 16:05:49 -08:00
lua6.lean.expected.out feat(lua): allow Lua scripts to update 'global' options 2013-11-12 15:38:00 -08:00
lua7.lean feat(lua): use formatter available in the state object to convert Lean objects into strings in the Lua API 2013-11-12 16:56:30 -08:00
lua7.lean.expected.out feat(lua): use formatter available in the state object to convert Lean objects into strings in the Lua API 2013-11-12 16:56:30 -08:00
lua8.lean chore(lua): rename env() to get_env() 2013-11-13 13:58:51 -08:00
lua8.lean.expected.out feat(lua): use formatter available in the state object to convert Lean objects into strings in the Lua API 2013-11-12 16:56:30 -08:00
lua9.lean test(lua): use simplified Const creation 2013-11-14 15:17:00 -08:00
lua9.lean.expected.out test(frontends/lean): example mixing Lean and Lua 2013-11-13 16:07:15 -08:00
lua10.lean feat(lua): add for_each to expr Lua API 2013-11-13 16:30:59 -08:00
lua10.lean.expected.out feat(lua): add for_each to expr Lua API 2013-11-13 16:30:59 -08:00
lua11.lean test(lua): object Lua API 2013-11-13 20:59:28 -08:00
lua11.lean.expected.out test(lua): object Lua API 2013-11-13 20:59:28 -08:00
lua12.lean feat(lua): add semantic attachments for builtin arithmetical values to Lua API, improve mk_constant 2013-11-14 15:15:04 -08:00
lua12.lean.expected.out test(frontends/lean): add missing expected output 2013-11-14 15:51:47 -08:00
lua13.lean feat(lua): expose parse_expr and parse_commands from frontends/lean in the Lua API 2013-11-15 16:11:26 -08:00
lua13.lean.expected.out feat(lua): expose parse_expr and parse_commands from frontends/lean in the Lua API 2013-11-15 16:11:26 -08:00
lua14.lean feat(lua): expose parse_expr and parse_commands from frontends/lean in the Lua API 2013-11-15 16:11:26 -08:00
lua14.lean.expected.out feat(lua): expose parse_expr and parse_commands from frontends/lean in the Lua API 2013-11-15 16:11:26 -08:00
lua15.lean refactor(util/lua): propagate C++ Lean exceptions in Lua 2013-11-27 12:25:29 -08:00
lua15.lean.expected.out refactor(util/lua): propagate C++ Lean exceptions in Lua 2013-11-27 12:25:29 -08:00
lua16.lean feat(bindings/lua): expose io_state object in the Lua API 2013-11-26 12:54:47 -08:00
lua16.lean.expected.out feat(bindings/lua): expose io_state object in the Lua API 2013-11-26 12:54:47 -08:00
mod1.lean feat(kernel/environment): track which modules were already imported 2013-11-17 18:15:44 -08:00
mod1.lean.expected.out feat(kernel/environment): track which modules were already imported 2013-11-17 18:15:44 -08:00
overload1.lean Add support for overloads in the elaborator 2013-09-01 14:54:02 -07:00
overload1.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
overload2.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
overload2.lean.expected.out refactor(kernel/metavar): avoid using unique names for default metavariable prefix 2013-11-07 10:16:25 -08:00
revapp.lean feat(frontends/lean/parser): allow 'typeless' definitions, the type is inferred by the system 2013-11-01 08:51:49 -07:00
revapp.lean.expected.out feat(frontends/lean/parser): allow 'typeless' definitions, the type is inferred by the system 2013-11-01 08:51:49 -07:00
script.lua feat(lua): add lua_exception for wrapping lua errors, and improve Lua error messages in the Lean frontend 2013-11-07 15:19:26 -08:00
simple.lean feat(kernel/environment): track which modules were already imported 2013-11-17 18:15:44 -08:00
simple.lean.expected.out feat(kernel/environment): track which modules were already imported 2013-11-17 18:15:44 -08:00
subst.lean feat(frontends/lean): make the 'expression template' argument in Subst implicit because higher-order matching can infer it. 2013-10-30 10:45:43 -07:00
subst.lean.expected.out feat(kernel/value): allow semantic attachments to use coercions when being pretty printed 2013-10-30 11:42:26 -07:00
tactic1.lean feat(library/tactic): modify assumption_tactic, it should fail if not applicable, and TRY tactical 2013-11-28 18:23:38 -08:00
tactic1.lean.expected.out feat(library/tactic): expose conj_tactic, imp_tactic, conj_hyp_tactic in the Lua API 2013-11-28 18:17:15 -08:00
tactic2.lean feat(frontends/lean/parse): allow script-code blocks to be used in the apply command 2013-11-28 21:48:30 -08:00
tactic2.lean.expected.out feat(frontends/lean/parse): allow script-code blocks to be used in the apply command 2013-11-28 21:48:30 -08:00
tactic3.lean feat(library/tactic): make THEN, ORELSE, APPEND, PAR and INTERLEAVE nary combinators 2013-11-28 22:11:07 -08:00
tactic3.lean.expected.out feat(library/tactic): make THEN, ORELSE, APPEND, PAR and INTERLEAVE nary combinators 2013-11-28 22:11:07 -08:00
test.sh Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
test_single.sh chore(build): include incorrect output in the logs 2013-11-18 15:39:55 -08:00
tst1.lean feat(frontends/lean): make the first argument of if-expression implicit, add support for marking implicit arguments on builtin symbols (aka semantic attachments) 2013-10-29 15:53:50 -07:00
tst1.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
tst2.lean Move files in examples directory to tests directory. They are not real examples 2013-08-31 19:16:30 -07:00
tst2.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst3.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst3.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst4.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst4.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
tst5.lean refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
tst5.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
tst6.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst6.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
tst7.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst7.lean.expected.out refactor(kernel/metavar): avoid using unique names for default metavariable prefix 2013-11-07 10:16:25 -08:00
tst8.lean Add missing test 2013-09-03 14:51:34 -07:00
tst8.lean.expected.out Display the input term in the output of the Check command. It is useful to see the fully elaborated term. 2013-09-08 22:55:21 -07:00
tst9.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst9.lean.expected.out refactor(kernel/metavar): avoid using unique names for default metavariable prefix 2013-11-07 10:16:25 -08:00
tst10.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst10.lean.expected.out feat(frontends/lean): make the first argument of if-expression implicit, add support for marking implicit arguments on builtin symbols (aka semantic attachments) 2013-10-29 15:53:50 -07:00
tst11.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst11.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
tst12.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst12.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst13.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst13.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst14.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst14.lean.expected.out Display the input term in the output of the Check command. It is useful to see the fully elaborated term. 2013-09-08 22:55:21 -07:00
tst15.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst15.lean.expected.out fix(tests/lean): add parenthesis 2013-10-24 20:04:50 -07:00
tst16.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst16.lean.expected.out Display the input term in the output of the Check command. It is useful to see the fully elaborated term. 2013-09-08 22:55:21 -07:00
tst17.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
tst17.lean.expected.out refactor(equality): make homogeneous equality the default equality 2013-10-29 16:20:06 -07:00
ty1.lean fix(frontends/lean/parser): associated position with 'type' placeholder 2013-10-31 16:27:36 -07:00
ty1.lean.expected.out fix(frontends/lean/parser): associated position with 'type' placeholder 2013-10-31 16:27:36 -07:00
ty2.lean test(kernel/typechecker): type checker 2013-11-16 15:01:39 -08:00
ty2.lean.expected.out test(kernel/typechecker): type checker 2013-11-16 15:01:39 -08:00
unicode.lean Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
unicode.lean.expected.out Fix unit tests for Windows 2013-09-03 10:44:51 -07:00
vars1.lean Add 'Variables' command. 2013-09-06 08:48:12 -07:00
vars1.lean.expected.out Add 'Variables' command. 2013-09-06 08:48:12 -07:00