aboutsummaryrefslogtreecommitdiff
path: root/kernel/cooking.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-05-26 00:10:29 +0200
committerPierre-Marie Pédrot2019-05-26 00:13:53 +0200
commitac8978c308f4f24f4edfbae135d99fd9dc5ea23a (patch)
tree90590ce6c533550cf6ebbe7efa6ab82de684df0b /kernel/cooking.mli
parent787dd2e37c80dd75b09a3c2805bfcbfa4b821a68 (diff)
Actually merge Discharge into Cooking.
This is the intended module for the feature provided by the inductive discharge. This allows for a bit of code sharing and cleanup.
Diffstat (limited to 'kernel/cooking.mli')
-rw-r--r--kernel/cooking.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/cooking.mli b/kernel/cooking.mli
index b022e2ac09..eb827bf93e 100644
--- a/kernel/cooking.mli
+++ b/kernel/cooking.mli
@@ -30,6 +30,9 @@ type 'opaque result = {
val cook_constant : hcons:bool -> recipe -> Opaqueproof.opaque result
val cook_constr : Opaqueproof.cooking_info -> constr -> constr
+val cook_inductive :
+ Opaqueproof.cooking_info -> mutual_inductive_body -> Entries.mutual_inductive_entry
+
(** {6 Utility functions used in module [Discharge]. } *)
val expmod_constr : Opaqueproof.work_list -> constr -> constr