src/HOL/Tools/Predicate_Compile/code_prolog.ML
changeset 45750 17100f4ce0b5
parent 45442 2b91e27676b2
child 46614 165886a4fe64
equal deleted inserted replaced
45749:92c6ddca552e 45750:17100f4ce0b5
  1037       case tss of
  1037       case tss of
  1038         [ts] => SOME (map (restore_term ctxt' constant_table) (ts ~~ map snd vs'))
  1038         [ts] => SOME (map (restore_term ctxt' constant_table) (ts ~~ map snd vs'))
  1039       | _ => NONE
  1039       | _ => NONE
  1040   in
  1040   in
  1041     Quickcheck.Result
  1041     Quickcheck.Result
  1042       {counterexample = Option.map ((curry (op ~~)) (Term.add_free_names t [])) counterexample,
  1042       {counterexample = Option.map (pair true o curry (op ~~) (Term.add_free_names t [])) counterexample,
  1043        evaluation_terms = Option.map (K []) counterexample, timings = [], reports = []}
  1043        evaluation_terms = Option.map (K []) counterexample, timings = [], reports = []}
  1044   end;
  1044   end;
  1045 
  1045 
  1046 fun test_goals ctxt _ insts goals =
  1046 fun test_goals ctxt _ insts goals =
  1047   let
  1047   let