We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 487232d commit 7d6baacCopy full SHA for 7d6baac
src/Rewriter/Util/plugins/inductive_from_elim.ml.v93
@@ -44,7 +44,7 @@ let make_inductive_from_elim sigma (name : Names.Id.t option) (elim_ty : EConstr
44
let ctor_type_to_constr cty =
45
EConstr.to_constr sigma (EConstr.Vars.subst_var sigma name cty)
46
in
47
- let sigma = Evd.collapse_sort_variables sigma in
+ let sigma = Evd.collapse_sort_variables ~only_above_prop:false sigma in
48
let univs, ubinders = Evd.check_univ_decl ~poly:PolyFlags.default sigma UState.default_univ_decl in
49
let uctx = match univs with
50
| UState.Monomorphic_entry ctx ->
0 commit comments