diff options
| author | Enrico Tassi | 2019-06-27 10:47:42 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2019-06-27 10:47:42 +0200 |
| commit | 90d0f98ea37038e35bba06f0c6ccb8e76d27a80e (patch) | |
| tree | ef0f5eef3ad7756672eb119e0331eb95e772ee42 /plugins/funind/recdef.ml | |
| parent | 2c39a12f5a8d7178b991595324692c1596ea9199 (diff) | |
| parent | 2c271baa72113ac9ee6a67f19d6128afe82ae479 (diff) | |
Merge PR #10337: [stm] [vernac] Remove special ?proof parameter from vernac main path
Ack-by: SkySkimmer
Ack-by: ejgallego
Reviewed-by: gares
Diffstat (limited to 'plugins/funind/recdef.ml')
| -rw-r--r-- | plugins/funind/recdef.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/funind/recdef.ml b/plugins/funind/recdef.ml index 425e498330..b68b31c93b 100644 --- a/plugins/funind/recdef.ml +++ b/plugins/funind/recdef.ml @@ -71,7 +71,7 @@ let declare_fun f_id kind ?univs value = ConstRef(declare_constant f_id (DefinitionEntry ce, kind));; let defined lemma = - Lemmas.save_lemma_proved ?proof:None ~lemma ~opaque:Proof_global.Transparent ~idopt:None + Lemmas.save_lemma_proved ~lemma ~opaque:Proof_global.Transparent ~idopt:None let def_of_const t = match (Constr.kind t) with @@ -1365,7 +1365,7 @@ let open_new_goal ~lemma build_proof sigma using_lemmas ref_ goal_name (gls_type ) g) in - Lemmas.save_lemma_proved ?proof:None ~lemma ~opaque:opacity ~idopt:None + Lemmas.save_lemma_proved ~lemma ~opaque:opacity ~idopt:None in let info = Lemmas.Info.make ~hook:(DeclareDef.Hook.make hook) ~scope:(DeclareDef.Global Declare.ImportDefaultBehavior) ~kind:(Decl_kinds.Proof Decl_kinds.Lemma) @@ -1492,7 +1492,7 @@ let com_eqn sign uctx nb_arg eq_name functional_ref f_ref terminate_ref equation } ) )) lemma in - let _ = Flags.silently (fun () -> Lemmas.save_lemma_proved ?proof:None ~lemma ~opaque:opacity ~idopt:None) () in + let _ = Flags.silently (fun () -> Lemmas.save_lemma_proved ~lemma ~opaque:opacity ~idopt:None) () in () (* Pp.msgnl (fun _ _ -> str "eqn finished"); *) |
