Skip to content

Commit

Permalink
Adapt w.r.t. coq/coq#18935.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedrot committed Apr 16, 2024
1 parent 06d4418 commit 30790b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lean.ml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,11 @@ let lean_scheme env ~dep mind u s =
in
let sigma, body =
Indrec.build_induction_scheme env sigma
((mind, 0), u)
((mind, 0), EConstr.EInstance.make u)
dep
s'
in
let body = EConstr.Unsafe.to_constr body in
let uctx = Evd.universe_context_set sigma in
match s with
| LSProp ->
Expand Down

0 comments on commit 30790b0

Please sign in to comment.