aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics
diff options
context:
space:
mode:
Diffstat (limited to 'tactics')
-rw-r--r--tactics/tactics.ml9
1 files changed, 6 insertions, 3 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 210800955..c531a34fa 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -3574,10 +3574,13 @@ let admit_as_an_axiom gl =
(** ppedrot: seems legit to have admitted subproofs as local*)
let con = Declare.declare_constant ~internal:Declare.KernelSilent ~local:true na decl in
let axiom = constr_of_global (ConstRef con) in
- exact_no_check
- (applist (axiom,
+ let gl =
+ exact_no_check
+ (applist (axiom,
List.rev (Array.to_list (instance_from_named_context sign))))
- gl
+ gl in
+ Pp.feedback Interface.AddedAxiom;
+ gl
let unify ?(state=full_transparent_state) x y gl =
try