Skip to content

Commit

Permalink
Merge pull request #548 from SkySkimmer/sort-poly-ind
Browse files Browse the repository at this point in the history
Adapt to coq/coq#18331 (mind_kelim -> mind_squashed)
  • Loading branch information
ppedrot committed Nov 29, 2023
2 parents b8752c6 + 131853c commit d85ca2d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/coq_elpi_builtins.ml
Expand Up @@ -1612,10 +1612,7 @@ informative, as well a singleton types in Prop (which are
regarded as not non-informative).|})),
(fun i ~depth {env} _ state ->
let _, indbo = Inductive.lookup_mind_specif env i in
match indbo.Declarations.mind_kelim with
| (Sorts.InSProp | Sorts.InProp) -> raise No_clause
| Sorts.InSet when Environ.is_impredicative_set env -> raise No_clause
| (Sorts.InSet | Sorts.InType | Sorts.InQSort) -> ()
if Option.has_some indbo.Declarations.mind_squashed then raise No_clause
)),
DocAbove);

Expand Down

0 comments on commit d85ca2d

Please sign in to comment.