lean2/tests/lean/interactive
Leonardo de Moura 812c1a2960 feat(library/elaborator): only expand definitions that are not marked as hidden
The elaborator produces better proof terms. This is particularly important when we have to prove the remaining holes using tactics.
For example, in one of the tests, the elaborator was producing the sub-expression

 (λ x : N, if ((λ x::1 : N, if (P a x x::1) ⊥ ⊤) == (λ x : N, ⊤)) ⊥ ⊤)

After, this commit it produces

 (λ x : N, ¬ ∀ x::1 : N, ¬ P a x x::1)

The expressions above are definitionally equal, but the second is easier to work with.

Question: do we really need hidden definitions?
Perhaps, we can use only the opaque flag.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-20 02:16:49 -08:00
..
config.lean feat(frontends/lean): rename command Set to SetOption 2013-12-18 21:18:48 -08:00
config.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
elab6.lean feat(library/elaborator): only expand definitions that are not marked as hidden 2013-12-20 02:16:49 -08:00
elab6.lean.expected.out feat(library/elaborator): only expand definitions that are not marked as hidden 2013-12-20 02:16:49 -08:00
t1.lean feat(library/tactic): use _tac suffix instead of _tactic like Isabelle 2013-12-05 20:06:32 -08:00
t1.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t2.lean feat(library/tactic): use _tac suffix instead of _tactic like Isabelle 2013-12-05 20:06:32 -08:00
t2.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t3.lean feat(library/tactic): use _tac suffix instead of _tactic like Isabelle 2013-12-05 20:06:32 -08:00
t3.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t4.lean fix(frontends/lean/parser): remove unnecessary '#' after error 2013-12-05 17:27:08 -08:00
t4.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t5.lean feat(library/tactic): use _tac suffix instead of _tactic like Isabelle 2013-12-05 20:06:32 -08:00
t5.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t6.lean feat(library/tactic): use _tac suffix instead of _tactic like Isabelle 2013-12-05 20:06:32 -08:00
t6.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t7.lean feat(frontends/lean/parser): add assumption command, and allow Lean expressions (proof terms) to be used with apply tactic command 2013-12-05 20:08:51 -08:00
t7.lean.expected.out fix(frontends/lean/pp): make sure pp and parser are using the same precedences 2013-12-19 12:46:14 -08:00
t8.lean feat(frontends/lean): rename command Set to SetOption 2013-12-18 21:18:48 -08:00
t8.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t9.lean fix(frontends/lean/parser): display failed state in noninteractive mode, stop processing tactic commands when a Lean command is found 2013-12-06 05:13:29 -08:00
t9.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t10.lean fix(frontends/lean/parser): display failed state in noninteractive mode, stop processing tactic commands when a Lean command is found 2013-12-06 05:13:29 -08:00
t10.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t11.lean fix(frontends/lean/notation): change the precedence of '->' 2013-12-06 13:23:24 -08:00
t11.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t12.lean feat(library/tactic/boolean_tactics): avoid unnecessary Let expression in proof terms 2013-12-06 15:01:54 -08:00
t12.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
t13.lean fix(library/tactic/goal): to_goal way of handling context_entries of the form (name, domain, body) where domain is null, and body is a proof term 2013-12-06 16:14:25 -08:00
t13.lean.expected.out fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
test.sh fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00
test_single.sh fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version) 2013-12-06 17:03:12 -08:00