Skip to content

Add Ltac2 Constr.is_prop, is_set, is_sprop, is_type and is_type_or_set#22264

Draft
JasonGross wants to merge 1 commit into
rocq-prover:masterfrom
JasonGross:ltac2-constr-sort-predicates
Draft

Add Ltac2 Constr.is_prop, is_set, is_sprop, is_type and is_type_or_set#22264
JasonGross wants to merge 1 commit into
rocq-prover:masterfrom
JasonGross:ltac2-constr-sort-predicates

Conversation

@JasonGross

Copy link
Copy Markdown
Member

Do we want these variants of is_sort?


[Note from Claude (Fable 5), who implemented this on my behalf -- design decisions to review:]

Semantics decision: is_type returns true for any sort other than Prop, Set and SProp -- so Type@{u} for any u, and also sort-polymorphic quality sorts. If qualities should be excluded, the implementation should move to matching on the sort structure instead of comparisons against constr:(...) literals.
🤖 Generated with Claude Code

https://claude.ai/code/session_019ttctspSoVoquHLQtbPVZw

@JasonGross JasonGross force-pushed the ltac2-constr-sort-predicates branch from 50afc8d to 8cbd754 Compare July 11, 2026 17:17
@coqbot-app coqbot-app Bot added the needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. label Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant