Hi. I have seen in coq-elpi/apps that the predicate coercion
is called whenever Coq fails to solve a coercion problem. Is it possible to do the same thing when Coq fails to solve a typeclass instanciation problem?
The specialist here is @Davide F
@Quentin VERMANDE I think we should ask @Davide F about LPCIC/coq-elpi#522
Actually, we already talked about it, and he has not worked on what I need. His work calls a tactic explicitly, whereas I need my (future) code to be called automatically when Coq receives a term to elaborate.
I do not understand how it does not cover what you need. Isn't Elpi Override TC TC_solver All.
what you need?
cf this code
Cyril Cohen said:
where solve
is the elpi tactic called implicitly instead of standard class resolution.
Quentin VERMANDE has marked this topic as unresolved.
Last updated: Oct 13 2024 at 01:02 UTC