equal
deleted
inserted
replaced
117 String.isSubstring ascii_of_lam_fact_prefix s |
117 String.isSubstring ascii_of_lam_fact_prefix s |
118 |
118 |
119 val is_combinator_def = String.isPrefix (helper_prefix ^ combinator_prefix) |
119 val is_combinator_def = String.isPrefix (helper_prefix ^ combinator_prefix) |
120 |
120 |
121 fun is_axiom_used_in_proof pred = |
121 fun is_axiom_used_in_proof pred = |
122 exists (fn ((_, ss), _, _, _, []) => exists pred ss) |
122 exists (fn ((_, ss), _, _, _, []) => exists pred ss | _ => false) |
123 |
123 |
124 fun lam_trans_from_atp_proof atp_proof default = |
124 fun lam_trans_from_atp_proof atp_proof default = |
125 case (is_axiom_used_in_proof is_combinator_def atp_proof, |
125 case (is_axiom_used_in_proof is_combinator_def atp_proof, |
126 is_axiom_used_in_proof is_lam_lifted atp_proof) of |
126 is_axiom_used_in_proof is_lam_lifted atp_proof) of |
127 (false, false) => default |
127 (false, false) => default |