It seems to me that mczify is helpful to write this kind of glue code. Also, we need zify instances for ringType operators instantiated with Z_ringType. I should probably think about including them in mczify, although the long-term goal is reimplementing the preprocessing/reification procedures such as zify, ring, and field in Coq-Elpi.
It seems to me that mczify is helpful to write this kind of glue code. Also, we need zify instances for
ringType
operators instantiated withZ_ringType
. I should probably think about including them in mczify, although the long-term goal is reimplementing the preprocessing/reification procedures such aszify
,ring
, andfield
in Coq-Elpi.The following code is based on one in elliptic-curves-ssr.