Skip to content

Conversation

@ppedrot
Copy link
Member

@ppedrot ppedrot commented Dec 4, 2025

We reinstate Univ.ContextSet.t where it should have been left and add several assertions where we drop the elimination constraints.

Weirdly enough, just asserting that the set of elimination constraint is empty in monomorphic definitions is enough to pass the test-suite. If you ask me this is fishy, as it means we never really generate any constraint in this mode. At best we should generate constraints on local sort variables and then collapse them to trivially true ground constraints. This probably means somebody will have to fix things up when we really start using sort polymorphism.

Overlays:

@ppedrot ppedrot added this to the 9.2+rc1 milestone Dec 4, 2025
@ppedrot ppedrot requested review from a team as code owners December 4, 2025 17:38
@ppedrot ppedrot added the kind: cleanup Code removal, deprecation, refactorings, etc. label Dec 4, 2025
@ppedrot ppedrot requested review from a team as code owners December 4, 2025 17:38
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 4, 2025
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 4, 2025
ppedrot added a commit to ppedrot/Coq-Equations that referenced this pull request Dec 5, 2025
ppedrot added a commit to ppedrot/coq-elpi that referenced this pull request Dec 5, 2025
ppedrot added a commit to ppedrot/paramcoq that referenced this pull request Dec 5, 2025
ppedrot added a commit to ppedrot/rewriter that referenced this pull request Dec 5, 2025
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 5, 2025
ppedrot added a commit to ppedrot/Coq-Equations that referenced this pull request Dec 5, 2025
@ppedrot ppedrot force-pushed the reduce-pcontext-api branch from b565cc4 to 67f68ec Compare December 5, 2025 08:36
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 5, 2025
@SkySkimmer SkySkimmer self-assigned this Dec 5, 2025
@SkySkimmer SkySkimmer added the needs: overlay This is breaking external developments we track in CI. label Dec 5, 2025
@SkySkimmer
Copy link
Contributor

SkySkimmer commented Dec 5, 2025

metarocq needs overlay?

It was exposing a dubious context type when you can get it directly
from fresh_level instead.
Weirdly enough, just asserting that the set of elimination constraint
is empty in monomorphic definitions is enough to pass the test-suite.
If you ask me this is fishy, as it means we never really generate
any constraint in this mode. At best we should generate constraints
on local sort variables and then collapse them to trivially true
ground constraints. This probably means somebody will have to fix
things up when we really start using sort polymorphism.
ppedrot added a commit to ppedrot/metarocq that referenced this pull request Dec 5, 2025
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 5, 2025
@ppedrot ppedrot force-pushed the reduce-pcontext-api branch from 67f68ec to bdf1ef7 Compare December 5, 2025 14:06
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 5, 2025
ppedrot added a commit to ppedrot/Mtac2 that referenced this pull request Dec 5, 2025
@SkySkimmer SkySkimmer removed the needs: overlay This is breaking external developments we track in CI. label Dec 5, 2025
ppedrot added a commit to ppedrot/Mtac2 that referenced this pull request Dec 5, 2025
@SkySkimmer
Copy link
Contributor

@coqbot merge now

@coqbot-app
Copy link
Contributor

coqbot-app bot commented Dec 5, 2025

@SkySkimmer: You can't merge the PR because it hasn't been approved yet.

@SkySkimmer
Copy link
Contributor

@coqbot merge now

@coqbot-app coqbot-app bot merged commit b5263ff into rocq-prover:master Dec 5, 2025
7 of 9 checks passed
@coqbot-app
Copy link
Contributor

coqbot-app bot commented Dec 5, 2025

@SkySkimmer: Please take care of the following overlays:

  • 21394-ppedrot-reduce-pcontext-api.sh

SkySkimmer added a commit to LPCIC/coq-elpi that referenced this pull request Dec 5, 2025
SkySkimmer added a commit to rocq-community/paramcoq that referenced this pull request Dec 5, 2025
Janno added a commit to Mtac2/Mtac2 that referenced this pull request Dec 5, 2025
@ppedrot ppedrot deleted the reduce-pcontext-api branch December 5, 2025 21:15
ppedrot added a commit to mattam82/Coq-Equations that referenced this pull request Dec 5, 2025
ppedrot added a commit to MetaRocq/metarocq that referenced this pull request Dec 5, 2025
JasonGross pushed a commit to mit-plv/rewriter that referenced this pull request Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: cleanup Code removal, deprecation, refactorings, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants