diff options
| author | Gaëtan Gilbert | 2020-02-06 17:12:07 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2020-02-06 21:17:56 +0100 |
| commit | 8a8217fe0b1ba8b7548ae648368774105cf21b11 (patch) | |
| tree | ce08b54bcfb9d49872be1eca888b8f47c528820f | |
| parent | 53cabaf1e26bfc13e5a45dfeb90ad6a858344c32 (diff) | |
unsafe_type_of -> get_type_of in Equality.inject_if_homogenous_dependent_pair
| -rw-r--r-- | tactics/equality.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml index de7e755e5a..9195746dc6 100644 --- a/tactics/equality.ml +++ b/tactics/equality.ml @@ -1352,7 +1352,7 @@ let inject_if_homogenous_dependent_pair ty = if not (Ind_tables.check_scheme (!eq_dec_scheme_kind_name()) ind && pf_apply is_conv gl ar1.(2) ar2.(2)) then raise Exit; check_required_library ["Coq";"Logic";"Eqdep_dec"]; - let new_eq_args = [|pf_unsafe_type_of gl ar1.(3);ar1.(3);ar2.(3)|] in + let new_eq_args = [|pf_get_type_of gl ar1.(3);ar1.(3);ar2.(3)|] in let inj2 = lib_ref "core.eqdep_dec.inj_pair2" in let c, eff = find_scheme (!eq_dec_scheme_kind_name()) ind in (* cut with the good equality and prove the requested goal *) |
