* http://cs.unibo.it/helm/.
*)
+(* $Id$ *)
module PEH = ProofEngineHelpers
module U = CicUniv
let conclusion =
match metas with [] -> what | _ -> Cic.Appl (what :: List.rev metas)
in
- let tac = T.thens ~start:(letin_tac conclusion)
- ~continuations:[clearbody ~index:1]
+ let tac = T.then_ ~start:(letin_tac conclusion)
+ ~continuation:(clearbody ~index:1)
in
let proof = (xuri, metasenv, u, t) in
let aux (proof, goals) (tac, goal) =
let _, metasenv, _, _ = proof in
let _, context, ty = CicUtil.lookup_meta goal metasenv in
let index, major = PEH.lookup_type metasenv context hyp in
- match MetadataQuery.fwd_simpl ~dbd major with
+ match FwdQueries.fwd_simpl ~dbd major with
| [] -> error fail_msg2
| uri :: _ ->
Printf.eprintf "fwd: %s\n" (UriManager.string_of_uri uri); flush stderr;
let start = lapply_tac (Cic.Rel index) (Cic.Const (uri, [])) in
- let tac = T.thens ~start ~continuations:[PESR.clear hyp] in
+ let tac = T.then_ ~start ~continuation:(PESR.clear hyp) in
PET.apply_tactic tac status
in
PET.mk_tactic fwd_simpl_tac