Open ecranceMERCE opened 9 months ago
The definition of the trocq tactic makes use of elaboration, then typechecking, then conversion:
trocq
https://github.com/coq-community/trocq/blob/95f083ad0b3bca87324437d835b5957b9bd6a6cd/theories/Param.v#L154-L157
After that, refine is called without checks. Why are all these steps required, and why was the work done by hand on the Elpi side instead of delegating the checks to refine?
refine
CC @gares
The current API does not report errors nicely as you do here. Maybe it should.
The definition of the
trocq
tactic makes use of elaboration, then typechecking, then conversion:https://github.com/coq-community/trocq/blob/95f083ad0b3bca87324437d835b5957b9bd6a6cd/theories/Param.v#L154-L157
After that,
refine
is called without checks. Why are all these steps required, and why was the work done by hand on the Elpi side instead of delegating the checks torefine
?