Skip to content

Commit

Permalink
Adapt to coq/coq#18331 (mind_kelim -> mind_squashed)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkySkimmer committed Nov 20, 2023
1 parent 4a1a6d9 commit 131853c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/coq_elpi_builtins.ml
Original file line number Diff line number Diff line change
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 131853c

Please sign in to comment.