aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-02-06 15:55:29 +0100
committerGaëtan Gilbert2020-02-06 21:17:56 +0100
commit276aa928c9b3c2337aebf21383e18f145735426b (patch)
tree6dfc4404d543d5b532b503089f1369b074a005fb
parenta9e4f78935ba091d7e012df8398bccc5d08d1370 (diff)
unsafe_type_of -> get_type_of in Tactics.is_functional_induction
-rw-r--r--tactics/tactics.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 14d8e4fccd..6ed6e49b7e 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -4274,7 +4274,7 @@ let get_elim_signature elim hyp0 gl =
let is_functional_induction elimc gl =
let sigma = Tacmach.New.project gl in
- let scheme = compute_elim_sig sigma ~elimc (Tacmach.New.pf_unsafe_type_of gl (fst elimc)) in
+ let scheme = compute_elim_sig sigma ~elimc (Tacmach.New.pf_get_type_of gl (fst elimc)) in
(* The test is not safe: with non-functional induction on non-standard
induction scheme, this may fail *)
Option.is_empty scheme.indarg