X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fgrafite_engine%2FgrafiteTypes.ml;h=6e8be22bbe0367d149bdf148fbea77d8d9421395;hb=24dd4569daf1d35bffaa813b8164058d8643f14d;hp=fe872c128283332a31d83037693e9e9027b89bda;hpb=e00d05ab58597620345c2fd49b84a23efa8db34c;p=helm.git diff --git a/components/grafite_engine/grafiteTypes.ml b/components/grafite_engine/grafiteTypes.ml index fe872c128..6e8be22bb 100644 --- a/components/grafite_engine/grafiteTypes.ml +++ b/components/grafite_engine/grafiteTypes.ml @@ -69,8 +69,8 @@ let get_current_proof status = let get_proof_metasenv status = match status.proof_status with | No_proof -> [] - | Proof (_, metasenv, _, _, _) - | Incomplete_proof { proof = (_, metasenv, _, _, _) } + | Proof (_, metasenv, _, _, _, _) + | Incomplete_proof { proof = (_, metasenv, _, _, _, _) } | Intermediate metasenv -> metasenv @@ -93,11 +93,11 @@ let set_metasenv metasenv status = let proof_status = match status.proof_status with | No_proof -> Intermediate metasenv - | Incomplete_proof ({ proof = (uri, _, proof, ty, attrs) } as incomplete_proof) -> + | Incomplete_proof ({ proof = (uri, _, subst, proof, ty, attrs) } as incomplete_proof) -> Incomplete_proof - { incomplete_proof with proof = (uri, metasenv, proof, ty, attrs) } + { incomplete_proof with proof = (uri, metasenv, subst, proof, ty, attrs) } | Intermediate _ -> Intermediate metasenv - | Proof (_, metasenv', _, _, _) -> + | Proof (_, metasenv', _, _, _, _) -> assert (metasenv = metasenv'); status.proof_status in @@ -105,14 +105,14 @@ let set_metasenv metasenv status = let get_proof_context status goal = match status.proof_status with - | Incomplete_proof { proof = (_, metasenv, _, _, _) } -> + | Incomplete_proof { proof = (_, metasenv, _, _, _, _) } -> let (_, context, _) = CicUtil.lookup_meta goal metasenv in context | _ -> [] let get_proof_conclusion status goal = match status.proof_status with - | Incomplete_proof { proof = (_, metasenv, _, _, _) } -> + | Incomplete_proof { proof = (_, metasenv, _, _, _, _) } -> let (_, _, conclusion) = CicUtil.lookup_meta goal metasenv in conclusion | _ -> raise (Statement_error "no ongoing proof")