decrease priority for rtc_reflexive instance
We give this instance a lower-than-usual priority because when it is applied to Reflexive ?
, it leads to a new evar being created for R
. Unfortunately, we cannot set Hint Mode
for Reflexive
in a way that just rules out Reflexive ?
[1], but we can at least stop TC search from using this instance. This helps performance because it gives TC search less freedom in the remainder of the search. It doesn't seem like backtracking is happening here.
Also see the discussion below https://gitlab.mpi-sws.org/FP/iris-coq/commit/8e8c722870b36c23032d9bc10019e40e6eb6be62. I think this is useful even if we decide to roll back the IntoVal
change as there may be other places where rtc_reflexive
inadvertently gets chosen.
[1] That would break https://gitlab.mpi-sws.org/FP/iris-coq/blob/38ba379fae88865ed3a06ba44bf22938b6524610/theories/algebra/list.v#L213
Merge request reports
Activity
added 1 commit
- 9c9d14b0 - decrease priority for rtc_reflexive instance
I did some more research and reported Coq bug #7916, and updated the comment in the code.
mentioned in commit 0eb9a89b
mentioned in merge request !39 (merged)