]> matita.cs.unibo.it Git - helm.git/blobdiff - components/tactics/ring.ml
added a (for the moment) dummy field _subst to ProofengineTypes.proof.
[helm.git] / components / tactics / ring.ml
index b2d3032706960ca8757588c695cdd16741f48ed2..7695a4ff0c82d885b66c9a76f1a3478cd915823b 100644 (file)
@@ -122,14 +122,14 @@ let cic_is_const ?(uri: uri option = None) term =
     @param proof a proof
     @return the uri of a given proof
   *)
-let uri_of_proof ~proof:(uri, _, _, _, _) = uri
+let uri_of_proof ~proof:(uri, _, _, _, _, _) = uri
 
   (**
     @param status current proof engine status
     @raise Failure if proof is None
     @return current goal's metasenv
   *)
-let metasenv_of_status ((_,m,_,_, _), _) = m
+let metasenv_of_status ((_,m,_,_,_, _), _) = m
 
   (**
     @param status a proof engine status
@@ -447,7 +447,7 @@ let purge_hyps_tac ~count =
           (ProofEngineTypes.apply_tactic (S.clear ~hyps:[name_of_hyp]) status))
     | (_, []) -> failwith "Ring.purge_hyps_tac: no hypotheses left"
   in
-   let (_, metasenv, _, _, _) = proof in
+   let (_, metasenv, _subst, _, _, _) = proof in
     let (_, context, _) = CicUtil.lookup_meta goal metasenv in
      let proof',goal' = aux count context status in
       assert (goal = goal') ;