Commit graph

7768 commits

Author SHA1 Message Date
Leonardo de Moura
453e90261b refactor(library/blast): make sure all actions return action_result, add macros for simplifying strategy definition
revert is not an action, but a procedure for helping us to build actions.
2015-11-18 12:29:43 -08:00
Leonardo de Moura
59e676e4fa fix(library/blast/strategy): initialization
A strategy is supposed to solve the current branch.
2015-11-18 10:20:02 -08:00
Leonardo de Moura
e580e6cdb1 fix(tests/lean/interactive/findp): adjust test 2015-11-18 10:10:46 -08:00
Leonardo de Moura
93a0f62cd3 chore(library/blast/congruence_closure): fix style 2015-11-17 19:16:42 -08:00
Leonardo de Moura
dde4aa72f9 chore(library/blast/congruence_closure): fix warnings 2015-11-17 19:14:12 -08:00
Leonardo de Moura
3734cc671a feat(library/blast/congruence_closure): add is_eqv 2015-11-17 19:10:00 -08:00
Leonardo de Moura
d833410f0d feat(library/blast/congruence_closure): add proved/disproved aux methods 2015-11-17 19:06:23 -08:00
Leonardo de Moura
3f6b79227f refactor(library/blast/congruence_closure,library/app_builder): add helper methods for theorems heavily used in the congruence closure module 2015-11-17 18:57:40 -08:00
Leonardo de Moura
3de9a89d93 feat(library/blast/congruence_closure): congruence_closure basics 2015-11-17 18:45:22 -08:00
Leonardo de Moura
de67288305 fix(library/app_builder): mk_rel supports relations where the lhs and rhs are not necessarily the last two arguments (e.g., heq) 2015-11-17 18:45:22 -08:00
Leonardo de Moura
f363975856 feat(frontends/lean): add command #congr_rel for testing new congruence lemma for equivalence relations 2015-11-17 18:45:22 -08:00
Leonardo de Moura
16bcd2f522 feat(congr_lemma_manager): add congruence lemma for equivalence relation over iff/eq 2015-11-17 18:45:22 -08:00
Leonardo de Moura
a96aed6dfe test(tests/lean): add tests for simp priorities 2015-11-16 22:41:04 -08:00
Leonardo de Moura
491c7c55e1 feat(library/simplifier/simp_rule_set): add priorities for simp and congr rules 2015-11-16 22:34:06 -08:00
Leonardo de Moura
f7c6eee791 feat(library/head_map): add head_map_prio 2015-11-16 22:07:04 -08:00
Floris van Doorn
9e492a8771 feat(category): more about adjoint functors
This commit has multiple unfinished proofs (commented out)
2015-11-16 21:32:09 -08:00
Floris van Doorn
f866f71491 feat(algebra/e_closure): add some support for dependent elimination of two_quotients 2015-11-16 21:32:09 -08:00
Floris van Doorn
206bcd4b2a feat(algebra/homotopy_group): define homotopy groups 2015-11-16 21:32:09 -08:00
Floris van Doorn
47be1e3a15 feat(types/pointed): change definition of loop space 2015-11-16 21:32:09 -08:00
Floris van Doorn
d402b67d25 feat(hott/function): show that a function is embedding iff it has propositional fibers 2015-11-16 21:32:09 -08:00
Floris van Doorn
5c1bf1e777 fix(hott): delete empty file 2015-11-16 21:32:09 -08:00
Floris van Doorn
e00ccff6de fix(hott): make sure the HoTT library compiles with --to_axiom 2015-11-16 21:32:09 -08:00
Leonardo de Moura
5095f05303 fix(tests/lean/interactive/findp): adjust test to recent changes in the standard lib 2015-11-16 21:30:28 -08:00
Daniel Selsam
835e8995b4 test(simplifier19): nested fusion 2015-11-16 20:39:16 -08:00
Daniel Selsam
2eeab1c757 fix(algebra/simplifier): use export 2015-11-16 20:39:15 -08:00
Daniel Selsam
a689c66b1e fix(library/blast/simplifier): handle scalar in fusion 2015-11-16 20:39:15 -08:00
Daniel Selsam
49ff8640d9 fix(library/blast/simplifier): use ac rules for numerals 2015-11-16 20:39:15 -08:00
Daniel Selsam
8ca5d87f0b feat(library/blast/simplifier): rely on norm_num for recursion 2015-11-16 20:33:22 -08:00
Daniel Selsam
56efc969fd feat(library/simplifier/simp_rule_set): throw exception for null simp rule 2015-11-16 20:33:22 -08:00
Daniel Selsam
7cd15aaecd test(simplifier11): add necessary simp rule 2015-11-16 20:33:22 -08:00
Daniel Selsam
9f1dda5622 style(library/blast/simplifier): follow else brace rules 2015-11-16 20:33:22 -08:00
Daniel Selsam
6ba42bb7bc test(simplifier11.lean): add rule for (not P) 2015-11-16 20:33:22 -08:00
Daniel Selsam
a02459fe5e test(simplifier9.lean): fix order of congr rules 2015-11-16 20:33:22 -08:00
Daniel Selsam
b9a516783c fix(library/blast/simplifier): remove unnecessary casts 2015-11-16 20:33:22 -08:00
Daniel Selsam
550cac6065 feat(library/norm_num): use type_context 2015-11-16 20:33:22 -08:00
Leonardo de Moura
770ca546be fix(library/norm_num): unused variables warnings 2015-11-16 19:02:02 -08:00
Leonardo de Moura
ab98be633a fix(library/blast/simplifier): warning when compiling using clang on OSX 2015-11-16 18:56:35 -08:00
Leonardo de Moura
d5d8ac8b44 fix(kernel/expr): warning when compiling using clang on OSX 2015-11-16 18:50:34 -08:00
Leonardo de Moura
f482e09cc2 fix(compiler/preprocess_rec): warning when compiling using clang on OSX 2015-11-16 18:38:41 -08:00
Leonardo de Moura
4dc27fb43b chore(library/blast): use "override" consistently for proof_step objects 2015-11-16 18:30:59 -08:00
Leonardo de Moura
38436468e2 chore(library/type_context): remove dead code 2015-11-16 18:23:45 -08:00
Leonardo de Moura
4afd366a2c fix(library/congr_lemma_manager): warnings when compiling using clang on OSX 2015-11-16 18:23:17 -08:00
Leonardo de Moura
8e4fd50913 chore(frontends/lean/builtin_cmds): fix style 2015-11-16 16:10:01 -08:00
Leonardo de Moura
39ec756331 feat(library/blast): add congruence closure skeleton 2015-11-16 16:07:00 -08:00
Leonardo de Moura
60945e95b4 feat(library/blast): add 'discard' action for detecting irrelevant hypotheses 2015-11-16 11:43:51 -08:00
Leonardo de Moura
7abb0d6b96 chore(frontends/lean/builtin_cmds,library/blast/simplifier): fix style 2015-11-16 11:10:12 -08:00
Leonardo de Moura
b3ca5faa49 fix(tests/lean): some of the simplifier tests 2015-11-16 11:01:53 -08:00
Leonardo de Moura
dfaf1c2ba3 refactor(library): move basic theorems to init, remove sorry's from algebra/simplifier.lean 2015-11-16 10:26:09 -08:00
Leonardo de Moura
a567cce685 fix(library/blast/simplify_actions): compilation error due to recent changes in the simplifier API 2015-11-16 10:13:27 -08:00
Daniel Selsam
5e8068b2b2 feat(library/blast/simplifier): draft of fusion 2015-11-16 09:13:07 -08:00