In order not to require the user to know how parametricity works, it would be interesting to be able to give both terms t and u one wants to relate, then let Trocq open a goal with the right type expected for the parametricity witness:
Trocq Prove t u.
It looks hard right now, because of a limitation in Coq-Elpi IIUC.
In order not to require the user to know how parametricity works, it would be interesting to be able to give both terms
t
andu
one wants to relate, then let Trocq open a goal with the right type expected for the parametricity witness:It looks hard right now, because of a limitation in Coq-Elpi IIUC.