Skip to content

Move the dubious compare and hash functions from Constr to a Termops submodule#21863

Merged
coqbot-app[bot] merged 2 commits into
rocq-prover:masterfrom
ppedrot:constr-type-as-first-order-data
Apr 1, 2026
Merged

Move the dubious compare and hash functions from Constr to a Termops submodule#21863
coqbot-app[bot] merged 2 commits into
rocq-prover:masterfrom
ppedrot:constr-type-as-first-order-data

Conversation

@ppedrot

@ppedrot ppedrot commented Apr 1, 2026

Copy link
Copy Markdown
Member

These functions make very little sense in general as they mostly ignore most invariants about terms. They are only used by plugins and thankfully never in the kernel. Their main use seems to treat constr as a first-order data type with an otherwise unspecified representation.

Overlays:

@ppedrot ppedrot added this to the 9.3+rc1 milestone Apr 1, 2026
@ppedrot ppedrot added kind: cleanup Code removal, deprecation, refactorings, etc. request: full CI Use this label when you want your next push to trigger a full CI. labels Apr 1, 2026
@ppedrot ppedrot requested review from a team as code owners April 1, 2026 12:08
@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 Apr 1, 2026
@SkySkimmer SkySkimmer self-assigned this Apr 1, 2026
ppedrot added a commit to ppedrot/aac-tactics that referenced this pull request Apr 1, 2026
ppedrot added a commit to ppedrot/equations that referenced this pull request Apr 1, 2026
ppedrot added a commit to ppedrot/Mtac2 that referenced this pull request Apr 1, 2026
ppedrot added a commit to ppedrot/smtcoq that referenced this pull request Apr 1, 2026
ppedrot added a commit to ppedrot/stalmarck that referenced this pull request Apr 1, 2026
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 1, 2026
@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 Apr 1, 2026
ppedrot added 2 commits April 1, 2026 16:39
…submodule.

These functions make very little sense in general as they mostly ignore most
invariants about terms. They are only used by plugins and thankfully never
in the kernel. Their main use seems to treat constr as a first-order data
type with an otherwise unspecified representation.
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 1, 2026
@ppedrot ppedrot force-pushed the constr-type-as-first-order-data branch from c86b3ae to 050910b Compare April 1, 2026 15:48
@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 Apr 1, 2026
@SkySkimmer

Copy link
Copy Markdown
Contributor

@coqbot merge now

@coqbot-app coqbot-app Bot merged commit ca2b417 into rocq-prover:master Apr 1, 2026
8 checks passed
@coqbot-app

coqbot-app Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

@SkySkimmer: Please take care of the following overlays:

  • 21863-ppedrot-constr-type-as-first-order-data.sh

SkySkimmer added a commit to rocq-community/aac-tactics that referenced this pull request Apr 1, 2026
SkySkimmer added a commit to rocq-community/stalmarck that referenced this pull request Apr 1, 2026
ppedrot added a commit to rocq-prover/equations that referenced this pull request Apr 1, 2026
@ppedrot ppedrot deleted the constr-type-as-first-order-data branch April 1, 2026 20:20
Janno added a commit to Mtac2/Mtac2 that referenced this pull request Apr 2, 2026
ckeller pushed a commit to smtcoq/smtcoq that referenced this pull request Apr 2, 2026
ppedrot added a commit to ppedrot/coq that referenced this pull request Apr 3, 2026
This is a follow-up of rocq-prover#21863. Since it is clear that these functions
are only used by plugins to manipulate terms as blobs, we should not try
to be too clever by half, so we just ignore the aliasing quotient.
proux01 pushed a commit to proux01/itauto that referenced this pull request Apr 10, 2026
proux01 pushed a commit to proux01/itauto that referenced this pull request Apr 10, 2026
ppedrot added a commit to ppedrot/coq that referenced this pull request May 6, 2026
This is a follow-up of rocq-prover#21863. Since it is clear that these functions
are only used by plugins to manipulate terms as blobs, we should not try
to be too clever by half, so we just ignore the aliasing quotient.
ppedrot added a commit to ppedrot/coq that referenced this pull request May 11, 2026
This is a follow-up of rocq-prover#21863. Since it is clear that these functions
are only used by plugins to manipulate terms as blobs, we should not try
to be too clever by half, so we just ignore the aliasing quotient.
FloraStorm pushed a commit to FloraStorm/rocq that referenced this pull request May 18, 2026
This is a follow-up of rocq-prover#21863. Since it is clear that these functions
are only used by plugins to manipulate terms as blobs, we should not try
to be too clever by half, so we just ignore the aliasing quotient.
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