src/HOL/Tools/ATP/atp_proof_reconstruct.ML
changeset 47921 fc26d5538868
parent 47920 a5c2386518e2
child 47927 c35238d19bb9
equal deleted inserted replaced
47920:a5c2386518e2 47921:fc26d5538868
   895         val props =
   895         val props =
   896           Symtab.empty
   896           Symtab.empty
   897           |> fold (fn Definition_Step _ => I (* FIXME *)
   897           |> fold (fn Definition_Step _ => I (* FIXME *)
   898                     | Inference_Step ((s, _), t, _, _) =>
   898                     | Inference_Step ((s, _), t, _, _) =>
   899                       Symtab.update_new (s,
   899                       Symtab.update_new (s,
   900                           t |> fold_rev forall_of (map Var (Term.add_vars t []))
   900                           t |> fold forall_of (map Var (Term.add_vars t []))
   901                             |> member (op = o apsnd fst) tainted s ? s_not))
   901                             |> member (op = o apsnd fst) tainted s ? s_not))
   902                   atp_proof
   902                   atp_proof
   903         fun prop_of_clause c =
   903         fun prop_of_clause c =
   904           fold (curry s_disj) (map_filter (Symtab.lookup props o fst) c)
   904           fold (curry s_disj) (map_filter (Symtab.lookup props o fst) c)
   905                @{term False}
   905                @{term False}