(* {{{ *********** local given_clause wrapper ***********)
-let given_clause dbd ?tables maxm ?auto cache subst flags smart_flag status =
+let given_clause dbd ?tables maxm auto cache subst flags smart_flag status =
let active,passive,bag,cache,maxmeta,goal_steps,saturation_steps,timeout =
match tables with
| None ->
(* first time, do a huge saturation *)
let bag, equalities, cache, maxmeta =
- Saturation.find_equalities dbd status ?auto smart_flag cache
+ Saturation.find_equalities dbd status smart_flag auto cache
in
let passive = Saturation.make_passive equalities in
let active = Saturation.make_active [] in
(* saturate a bit more if cache cahnged *)
let bag, equalities, cache, maxm =
if cache_size oldcache <> cache_size cache then
- Saturation.saturate_more
- bag active maxm status smart_flag ?auto cache
+ Saturation.close_more
+ bag active maxm status smart_flag auto cache
else
bag, [], cache, maxm
in
let flags =
{flags with use_only_paramod=true;timeout=Unix.gettimeofday() +. 30.0}
in
- given_clause dbd ?tables 0 cache [] flags true (proof'''',newmeta)
+ given_clause dbd ?tables 0 None cache [] flags true (proof'''',newmeta)
with
| None, active, passive, bag,_,_ ->
raise (ProofEngineTypes.Fail (lazy ("FIXME: propaga le tabelle")))
;;
let equational_case
- dbd tables maxm ?auto cache depth fake_proof goalno goalty subst context
+ dbd tables maxm auto cache depth fake_proof goalno goalty subst context
flags
=
let ppterm = ppterm context in
prerr_endline "</CACHE>";
*)
match
- given_clause dbd ?tables maxm ?auto cache subst flags false (fake_proof,goalno)
+ given_clause dbd ?tables maxm auto cache subst flags false (fake_proof,goalno)
with
| None, active,passive, bag, cache, maxmeta ->
let tables = Some (active,passive,bag,cache) in
if is_equational_case goalty flags then
match
equational_case dbd tables maxm
- ~auto:callback_for_paramod cache
+ (Some callback_for_paramod) cache
depth fake_proof goalno goalty subst context flags
with
| Some elems, tables, cache, maxm ->