Constr-as-datatype functions now use the user name for references.#21882
Conversation
|
Plugins really want the quotienting. Possible solutions:
|
actually we can canonize each side using the respective env then compare the canonized kernames |
|
Yes, my plan to solve this is to canonize the term before storing it in the environment but then I need to understand what part of the code really relies on that. |
07f1d07 to
4b67af2
Compare
|
The metacoq CI can be fixed via a one-liner, given the rest of the CI I'm not sure it's worth it to try to restore the previous behaviour for congruence / firstorder. |
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.
4b67af2 to
90f587b
Compare
|
I normalized the terms in aac-tactics before storing them in the hashtable and it seems to have been enough for all tests to pass. In my opinion this PR is ready. |
|
@coqbot merge now |
This is a follow-up of #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.