Elimination constraints for bounded sort polymorphism#111
Elimination constraints for bounded sort polymorphism#111jrosain wants to merge 1 commit intorocq-prover:masterfrom
Conversation
|
Since Roq uses the concept of polymorphism in many ways, perhaps it would be better to have a more descriptive string than just "poly" in nonterminal names in the grammar. "sort_poly" would be much clearer and it only makes names a little bit longer on the doc. |
|
That's a good point, it'll be done. |
|
What properties is "eliminates to" expected to have? Reflexivity and transitivity are somewhat implicit here, but I mostly wonder about antisymmetry wrt. sort conversion, similar to universe level comparison being antisymmetric wrt. level conversion. |
Right! Note that we may have non-reflexive sorts, iirc @tabareau has some examples of this. About antisymmetry: if |
|
I'm planning to actually change that before the release, not only because there is no justification for that, but also because this is basically an implementation leak. |
|
Yes, I agree that it was premature, and it makes sense to remove this for the time being. |
Rendered https://github.com/jrosain/rocq-rfcs/blob/elimination-constraints/text/elimination-constraints.md