@@ -23,10 +23,10 @@ val print_seed_of_or2and_edge: Proof.context -> seed_of_or2and_edge -> unit list
2323val seed_is_from_tactic : seed_of_or2and_edge -> bool;
2424
2525val apply_PSL_to_get_seeds_of_or2and_edges: Proof.state -> seeds_of_or2and_edge;
26- val filter_out_bad_seeds_of_or2and_edge: term (* parental or-node*) -> Proof.state -> abduction_graph -> seeds_of_or2and_edge -> seeds_of_or2and_edge
27- val conjectures_to_seeds_of_or2and_edge: (Proof.state (* default pst*) * Proof.state (* chained pst to proved the parental ornode*) ) -> (string * term) list -> seeds_of_or2and_edge;
28- val seed_has_counterexample : Proof.state -> seed_of_or2and_edge -> bool;
29- val seeds_to_updated_graph : key -> seeds_of_or2and_edge -> Update_Abduction_Graph.update_abduction_graph;
26+ val filter_out_bad_seeds_of_or2and_edge : term (* parental or-node*) -> Proof.state -> abduction_graph -> seeds_of_or2and_edge -> seeds_of_or2and_edge
27+ val conjectures_to_seeds_of_or2and_edge : (Proof.state (* default pst*) * Proof.state (* chained pst to proved the parental ornode*) ) -> (string * term) list -> seeds_of_or2and_edge;
28+ val seed_has_counterexample : Proof.state -> seed_of_or2and_edge -> bool;
29+ val seeds_to_updated_graph : key -> seeds_of_or2and_edge -> Update_Abduction_Graph.update_abduction_graph;
3030
3131end ;
3232
@@ -170,19 +170,16 @@ fun add_or2and_edge_and_connect_it_to_parental_ornode
170170 if proved_parent_or
171171 then
172172 let
173- val how_we_got_andnode = Or2And_Edge.how_to_get_andnodes_from_ornode_of proof: string;
174- val script_to_prove_andnd = the script_opt_gen : string;
175- val script_to_prove_ornd = how_we_got_andnode ^ script_to_prove_andnd : string;
173+ val how_we_got_andnode = Or2And_Edge.how_to_get_andnodes_from_ornode_of proof : string;
174+ val script_to_prove_andnd = the script_opt_gen : string;
175+ val script_to_prove_ornd = how_we_got_andnode ^ script_to_prove_andnd : string;
176176 val or2and_edge_val = Abduction_Node.Or_To_And {
177177 how_to_get_andnodes_from_ornode = proof,
178- (* TODO: Should we really need to use the option type here?*)
179- proof_of_ornode_assmng_andnodes = SOME script_to_prove_ornd} : abduction_node;
178+ proof_of_ornode_assmng_andnodes = script_to_prove_ornd} : abduction_node;
180179 val or2and_edge_key = ((O2A_E (serial())), []) : key;
181180 val thy = Proof.theory_of state : theory;
182181 val used_cnjctr_names = Top_Down_Util.get_lemma_names_from_sh_output thy script_to_prove_andnd : strings;
183-
184182 val used_name_term_pairs = filter (fn (name, _) => member (op =) used_cnjctr_names name) name_term_pairs: (string * term) list;
185-
186183 val relevant_name_term_pairs = if Or2And_Edge.how_to_get_andnodes_from_ornode_of proof = " " (* if this is the result of tactic application*)
187184 then used_name_term_pairs
188185 else name_term_pairs;
0 commit comments