CicTypeChecker.typecheck_mutual_inductive_defs uri
(types, [], leftno) CicUniv.empty_ugraph
in
+ let status =
MatitaSync.add_inductive_def
- ~uri ~types ~params:[] ~leftno ~ugraph status;
+ ~uri ~types ~params:[] ~leftno ~ugraph status
+ in
+ {status with proof_status = No_proof }
| TacticAst.Theorem (loc, thm_flavour, Some name, ty, None) ->
let uri =
UriManager.uri_of_string (MatitaMisc.qualify status name ^ ".con")
"metasenv not empty while giving a definition with body";
let body = CicMetaSubst.apply_subst subst body in
let ty = CicMetaSubst.apply_subst subst ty in
- MatitaSync.add_constant ~uri ~body ~ty ~ugraph status
+ let status = MatitaSync.add_constant ~uri ~body ~ty ~ugraph status in
+ {status with proof_status = No_proof}
| TacticAst.Theorem (_, _, None, _, _) ->
command_error "The grammas should avoid having unnamed theorems!"
| TacticAst.Coercion (loc, term) -> assert false (** TODO *)