gracefully handle the case of empty theories when going up the accessibility chain
1 (* Title: HOL/TPTP/MaSh_Export.thy
2 Author: Jasmin Blanchette, TU Muenchen
5 header {* MaSh Exporter *}
13 [provers = e, max_relevant = 40, strict, dont_slice, type_enc = poly_guards??,
14 lam_trans = combs_and_lifting, timeout = 5, dont_preplay, minimize]
17 open Sledgehammer_Filter_MaSh
22 val do_it = false (* switch to "true" to generate the files *);
23 val thy = @{theory List};
24 val params = Sledgehammer_Isar.default_params @{context} []
29 generate_accessibility thy false "/tmp/mash_accessibility"
36 generate_features thy false "/tmp/mash_features"
43 generate_isa_dependencies thy false "/tmp/mash_isa_dependencies"
50 generate_atp_dependencies @{context} params thy false "/tmp/mash_atp_dependencies"
57 generate_commands thy "/tmp/mash_commands"
64 generate_iter_suggestions @{context} params thy 500 "/tmp/mash_iter_suggestions"