(match types with (name,_,_,_)::_ -> name | _ -> assert false)
| _ -> assert false in
let uri =
- UriManager.uri_of_string (GrafiteTypes.qualify status name ^ ext)
- in
+ UriManager.uri_of_string (GrafiteTypes.qualify status name ^ ext) in
+ let obj = CicRefine.pack_coercion_obj obj in
let metasenv = GrafiteTypes.get_proof_metasenv status in
match obj with
| Cic.CurrentProof (_,metasenv',bo,ty,_,_) ->
("Theorem already proved: " ^ UriManager.string_of_uri x ^
"\nPlease use a variant."));
end;
- assert (metasenv = metasenv');
let initial_proof = (Some uri, metasenv, bo, ty) in
let initial_stack = Continuationals.Stack.of_metasenv metasenv in
{ status with GrafiteTypes.proof_status =