lean2/tests/lean
Leonardo de Moura 64c3ba7b74 feat(frontends/lean): display metavariable application arguments in check command
The idea is to "fix" counter-intuitive output like the ones were
produced in the tests check.lean and check2.lean
2014-10-30 13:28:25 -07:00
..
expensive chore(tests/lean): add 'expensive' file 2014-08-01 10:35:32 -07:00
hott chore(build): remove hott library directory, and move hott tests 2014-08-15 13:30:56 -07:00
interactive feat(frontends/lean): lean --server should display meta-variables using the approach used in check command, closes #280 2014-10-30 12:45:41 -07:00
run fix(frontends/lean): universe variable is treated as parameter inside section, fixes #283 2014-10-29 19:47:14 -07:00
slow fix(library/unifier): broken optimization in the unifier 2014-10-28 16:09:41 -07:00
alias.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
alias.lean.expected.out feat(frontends/lean): add basic pretty printer 2014-07-09 01:12:36 -07:00
alias2.lean fix(frontends/lean/pp): pp was not taking into account new namespace name resolution rules, fixes #216 2014-10-01 11:24:45 -07:00
alias2.lean.expected.out fix(frontends/lean/pp): pp was not taking into account new namespace name resolution rules, fixes #216 2014-10-01 11:24:45 -07:00
bad_class.lean fix(library/algebra/category): minor fixes to reflect recent changes, and fix tests 2014-10-08 23:44:09 -07:00
bad_class.lean.expected.out fix(library/algebra/category): minor fixes to reflect recent changes, and fix tests 2014-10-08 23:44:09 -07:00
bad_coercions.lean feat(frontends/lean): do not allow coercion definition in sections 2014-10-11 18:41:17 -07:00
bad_coercions.lean.expected.out feat(frontends/lean): do not allow coercion definition in sections 2014-10-11 18:41:17 -07:00
bad_end.lean fix(frontends/lean/parser): segfault when ending scope without opening, fixes #244 2014-10-13 21:08:36 -07:00
bad_end.lean.expected.out fix(frontends/lean/parser): segfault when ending scope without opening, fixes #244 2014-10-13 21:08:36 -07:00
bad_notation.lean feat(frontends/lean/notation_cmd): remove the cleanup notation hack 2014-10-11 16:40:26 -07:00
bad_notation.lean.expected.out feat(frontends/lean/notation_cmd): remove the cleanup notation hack 2014-10-11 16:40:26 -07:00
beginend_bug.lean fix(frontends/lean/elaborator): incorrect error position in begin-end block, fixes #276 2014-10-29 16:51:06 -07:00
beginend_bug.lean.expected.out fix(frontends/lean/elaborator): incorrect error position in begin-end block, fixes #276 2014-10-29 16:51:06 -07:00
bug1.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
bug1.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
calc1.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
calc1.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
check.lean feat(frontends/lean): use nice names for meta-variables when executing check c and c is a constant 2014-10-24 08:23:26 -07:00
check.lean.expected.out feat(frontends/lean): display metavariable application arguments in check command 2014-10-30 13:28:25 -07:00
check2.lean fix(frontends/lean/builtin_cmds): bug (name clashing) in 'check' command new meta-variable naming 2014-10-26 19:19:45 -07:00
check2.lean.expected.out feat(frontends/lean): display metavariable application arguments in check command 2014-10-30 13:28:25 -07:00
choice_expl.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
choice_expl.lean.expected.out fix(frontends/lean): distribute '@' over choice 2014-08-27 16:31:18 -07:00
cls_err.lean feat(frontends/lean): add '[]' notation for marking arguments where class-instance resolution should be applied 2014-10-12 13:06:00 -07:00
cls_err.lean.expected.out feat(library/tactic/goal): add option pp.compact_goals 2014-10-28 16:30:37 -07:00
coe.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
coe.lean.expected.out fix(frontends/lean/pp): when formatting a coercion to function-class 2014-09-20 09:56:46 -07:00
config.lean chore(tests/lean): reactivate config.lean 2014-07-10 23:32:23 +01:00
config.lean.expected.out chore(shell): re-activate .lean tests 2014-06-11 14:36:42 -07:00
const.lean feat(frontends/lean): add '[]' notation for marking arguments where class-instance resolution should be applied 2014-10-12 13:06:00 -07:00
const.lean.expected.out feat(frontends/lean): variables/parameters and check commands have access to all section variables/parameters, closes #231 2014-10-08 08:40:55 -07:00
crash.lean feat(frontends/lean): allow parameters only in contexts 2014-10-11 17:13:56 -07:00
crash.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
ctxopt.lean fix(frontends/lean/parser): configuration options defined in a context are transient, fixes #162 2014-09-09 11:02:54 -07:00
ctxopt.lean.expected.out fix(frontends/lean/parser): configuration options defined in a context are transient, fixes #162 2014-09-09 11:02:54 -07:00
empty.lean feat(frontends/lean): rename 'using' command to 'open' 2014-09-03 16:00:38 -07:00
empty.lean.expected.out feat(library/tactic/goal): add option pp.compact_goals 2014-10-28 16:30:37 -07:00
empty_thm.lean feat(frontends/lean): rename 'using' command to 'open' 2014-09-03 16:00:38 -07:00
empty_thm.lean.expected.out fix(frontends/lean/decl_cmds): improve error message for invalid end of theorem 2014-08-17 17:03:54 -07:00
error_pos_bug.lean fix(frontends/lean/elaborator): bug when reporting error position 2014-10-10 17:31:12 -07:00
error_pos_bug.lean.expected.out fix(frontends/lean/elaborator): bug when reporting error position 2014-10-10 17:31:12 -07:00
eta_bug.lean fix(kernel/converter): remove buggy eta-reduction and rely only on eta-expansion 2014-10-21 16:54:25 -07:00
eta_bug.lean.expected.out fix(kernel/converter): remove buggy eta-reduction and rely only on eta-expansion 2014-10-21 16:54:25 -07:00
gen_bug.lean fix(library/tactic): type check generalization result, fixes #273 2014-10-29 20:34:01 -07:00
gen_bug.lean.expected.out fix(library/tactic): type check generalization result, fixes #273 2014-10-29 20:34:01 -07:00
goals1.lean feat(library/tactic): change apply tactic semantics: goals are not reversed; and dependent arguments are not included 2014-10-22 18:11:09 -07:00
goals1.lean.expected.out feat(frontends/lean): modify begin-end semantics, closes #258 2014-10-28 22:15:38 -07:00
have1.lean feat(library/tactic): change apply tactic semantics: goals are not reversed; and dependent arguments are not included 2014-10-22 18:11:09 -07:00
have1.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
inst.lean feat(frontends/lean): force 'classes' to be declared before instances are declared, closes #228 2014-10-07 18:02:15 -07:00
inst.lean.expected.out feat(frontends/lean): allow user to associate priorities to class-instances, closes #180 2014-09-28 12:20:42 -07:00
let1.lean feat(frontends/lean): rename '[fact]' to '[visible]' 2014-09-08 07:47:42 -07:00
let1.lean.expected.out fix(frontends/lean/pp): pretty print 'let-expressions', closes #87 2014-08-28 18:20:58 -07:00
let3.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
let3.lean.expected.out feat(frontends/lean/pp): improve let-expr pretty printer 2014-08-29 07:46:58 -07:00
let4.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
let4.lean.expected.out fix(frontends/let): let-expression pretty printer 2014-08-29 10:58:27 -07:00
notation.lean feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
notation.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
notation2.lean feat(frontends/lean/pp): support foldl/foldr notation in the pretty printer 2014-10-19 11:16:24 -07:00
notation2.lean.expected.out fix(tests/lean/notation): remove 'sorry' warning from expected outputs 2014-10-20 15:34:44 -07:00
notation3.lean feat(frontends/lean/pp): support foldl/foldr notation in the pretty printer 2014-10-19 11:16:24 -07:00
notation3.lean.expected.out fix(tests/lean/notation): remove 'sorry' warning from expected outputs 2014-10-20 15:34:44 -07:00
notation4.lean feat(frontends/lean/pp): support scopedexpr notation in the pretty printer 2014-10-19 12:50:40 -07:00
notation4.lean.expected.out fix(tests/lean/notation): remove 'sorry' warning from expected outputs 2014-10-20 15:34:44 -07:00
notation5.lean feat(frontends/lean/notation_cmd): do not allow user to define new tokes containing '(', ')', ',' or change their precedence 2014-10-19 13:39:06 -07:00
notation5.lean.expected.out feat(frontends/lean/notation_cmd): do not allow user to define new tokes containing '(', ')', ',' or change their precedence 2014-10-19 13:39:06 -07:00
notation6.lean fix(frontends/lean/pp): bug in pretty printer notation match procedure 2014-10-20 18:58:27 -07:00
notation6.lean.expected.out fix(frontends/lean/pp): bug in pretty printer notation match procedure 2014-10-20 18:58:27 -07:00
num.lean feat(frontends/lean/inductive_cmd): prefix introduction rules with the name of the inductive datatype 2014-09-04 17:26:36 -07:00
num.lean.expected.out feat(frontends/lean/pp): pretty print numerals 2014-08-14 09:12:22 -07:00
num2.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
num2.lean.expected.out feat(frontends/lean): allow users to define "numeral notation" 2014-09-26 14:55:23 -07:00
num3.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
num3.lean.expected.out feat(frontends/lean): allow users to define "numeral notation" 2014-09-26 14:55:23 -07:00
num4.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
num4.lean.expected.out feat(frontends/lean): allow users to define "numeral notation" 2014-09-26 14:55:23 -07:00
num5.lean fix(frontends/lean): add 'eval' command 2014-09-26 20:16:03 -07:00
num5.lean.expected.out fix(frontends/lean): add 'eval' command 2014-09-26 20:16:03 -07:00
omit.lean chore(*): minimize the use of parameters 2014-10-09 07:13:06 -07:00
omit.lean.expected.out feat(frontends/lean): add 'include' and 'omit' commands, closes #184 2014-10-03 07:23:24 -07:00
param.lean feat(frontends/lean/parser): reject ambiguous parameter declaration, closes #242 2014-10-10 18:08:03 -07:00
param.lean.expected.out feat(frontends/lean/parser): reject ambiguous parameter declaration, closes #242 2014-10-10 18:08:03 -07:00
pp.lean fix(frontends/lean/pp): bug when pretty printing binder information, fixes #73 2014-08-21 09:28:07 -07:00
pp.lean.expected.out feat(frontends/lean/builtin_cmds): remove workaround for getting nice metavariable names in the check command 2014-10-30 13:12:45 -07:00
print_ax1.lean feat(frontends/lean): add 'print axioms' command, close #251 2014-10-24 14:35:03 -07:00
print_ax1.lean.expected.out feat(frontends/lean): add 'print axioms' command, close #251 2014-10-24 14:35:03 -07:00
print_ax2.lean feat(frontends/lean): add 'print axioms' command, close #251 2014-10-24 14:35:03 -07:00
print_ax2.lean.expected.out feat(frontends/lean): add 'print axioms' command, close #251 2014-10-24 14:35:03 -07:00
prodtst.lean refactor(frontends/lean): remove hardcoded Type', and define it using notation 2014-10-02 14:29:51 -07:00
prodtst.lean.expected.out refactor(frontends/lean): remove hardcoded Type', and define it using notation 2014-10-02 14:29:51 -07:00
proj.lean fix(library/definitional/projection): error messages for projection generation 2014-10-29 13:39:17 -07:00
proj.lean.expected.out fix(library/definitional/projection): remove redundant 'error in' 2014-10-29 16:51:06 -07:00
protected.lean refactor(frontends/lean): replace '[protected]' modifier with 'protected definition' and 'protected theorem', '[protected]' is not a hint. 2014-09-19 15:54:32 -07:00
protected.lean.expected.out feat(frontends/lean): add '[protected]' modifier 2014-09-03 15:01:13 -07:00
pstate.lean fix(frontends/lean/elaborator): missing information when displaying unsolved placeholders 2014-10-26 16:11:58 -07:00
pstate.lean.expected.out feat(frontends/lean): modify begin-end semantics, closes #258 2014-10-28 22:15:38 -07:00
sec.lean fix(frontends/lean/decl_cmds): do not allow section parameters/variables to shadow existing parameters/variables 2014-10-02 18:29:41 -07:00
sec.lean.expected.out feat(frontends/lean): allow variables anywhere 2014-10-10 16:16:19 -07:00
show1.lean feat(library/tactic): change apply tactic semantics: goals are not reversed; and dependent arguments are not included 2014-10-22 18:11:09 -07:00
show1.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
showenv.l chore(*): cleanup lean builtin symbols, replace :: with _ 2014-01-09 08:33:52 -08:00
t1.lean refactor(kernel): rename var_decl to constant_assumption 2014-10-02 17:55:34 -07:00
t1.lean.expected.out refactor(*): rename Bool to Prop 2014-07-22 09:43:18 -07:00
t2.lean feat(frontends/lean/builtin_cmds): add simple 'print' command 2014-06-11 14:35:34 -07:00
t2.lean.expected.out feat(frontends/lean/builtin_cmds): add simple 'print' command 2014-06-11 14:35:34 -07:00
t3.lean feat(frontends/lean): allow parameters only in contexts 2014-10-11 17:13:56 -07:00
t3.lean.expected.out feat(frontends/lean): add declaration to namespace without opening it, closes #161 2014-09-09 18:02:14 -07:00
t4.lean chore(*): minimize the use of parameters 2014-10-09 07:13:06 -07:00
t4.lean.expected.out feat(frontends/lean): change the name resolution rules: when in a namespace N that defines C, then C always refers to N.C (i.e., it overrides any alias) 2014-08-18 18:58:50 -07:00
t5.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
t5.lean.expected.out feat(frontends/lean): add basic pretty printer 2014-07-09 01:12:36 -07:00
t6.lean chore(*): minimize the use of parameters 2014-10-09 07:13:06 -07:00
t6.lean.expected.out feat(frontends/lean/builtin_cmds): remove workaround for getting nice metavariable names in the check command 2014-10-30 13:12:45 -07:00
t7.lean chore(*): minimize the use of parameters 2014-10-09 07:13:06 -07:00
t7.lean.expected.out feat(frontends/lean/builtin_cmds): remove workaround for getting nice metavariable names in the check command 2014-10-30 13:12:45 -07:00
t9.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
t9.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
t10.lean feat(frontends/lean): change default precedence to 1 2014-10-20 18:40:55 -07:00
t10.lean.expected.out feat(frontends/lean/pp): minimize number of spaces when pretty printing notation 2014-10-19 13:08:15 -07:00
t11.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
t11.lean.expected.out feat(frontends/lean/pp): minimize number of spaces when pretty printing notation 2014-10-19 13:08:15 -07:00
t12.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
t12.lean.expected.out feat(frontends/lean): add basic pretty printer 2014-07-09 01:12:36 -07:00
t13.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
t13.lean.expected.out feat(frontends/lean): add basic pretty printer 2014-07-09 01:12:36 -07:00
t14.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
t14.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -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 fix(tests): make sure tests can be executed on Windows msys2 shell 2014-09-20 15:51:24 -07:00
test_single_pp.sh chore(tests): cleanup test scripts 2014-06-29 09:03:39 -07:00
tuple.lean feat(library/universe): improve support for universe level constraints in the unifier 2014-10-09 20:28:39 -07:00
tuple.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
uni_bug1.lean refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands 2014-10-02 17:55:34 -07:00
uni_bug1.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
unifier_bug.lean fix(library/unifier): broken optimization in the unifier 2014-10-28 16:09:41 -07:00
unifier_bug.lean.expected.out fix(library/unifier): broken optimization in the unifier 2014-10-28 16:09:41 -07:00
univ.lean feat(frontends/lean/elaborator): more strict test for bad universe solution 2014-10-02 14:29:51 -07:00
univ.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
univ_vars.lean feat(frontends/lean): add 'universe variable' command 2014-10-11 14:22:33 -07:00
univ_vars.lean.expected.out fix(frontends/lean): universe variable is treated as parameter inside section, fixes #283 2014-10-29 19:47:14 -07:00
var.lean chore(*): minimize the use of parameters 2014-10-09 07:13:06 -07:00
var.lean.expected.out feat(frontends/lean): allow variables anywhere 2014-10-10 16:16:19 -07:00
var2.lean chore(*): minimize the use of parameters 2014-10-09 07:13:06 -07:00
var2.lean.expected.out feat(frontends/lean/pp): take notation declarations into account when pretty printing 2014-10-19 08:41:29 -07:00
whnf_tac.lean feat(library/tactic): add whnf tactic, closes #270 2014-10-28 23:18:49 -07:00
whnf_tac.lean.expected.out feat(library/tactic): add whnf tactic, closes #270 2014-10-28 23:18:49 -07:00