Closed pi8027 closed 3 years ago
Questions:
rat
instead of directly translate F
to int
? If we will have ratmul
in MathComp at some point, I think this will be useful.lia
to nia
sometimes?Is it still better to go through
rat
instead of directly translateF
toint
? If we will haveratmul
in MathComp at some point, I think this will be useful.
In fact, MathComp has ratr
of type forall R : unitRingType, rat -> R
. So it seems better to go through rat
instead.
We provide 4 automation tactics (lia|nia)_(ring|field)
, and field
does not invoke them for now. Users may invoke them as they need.
Closes #20.
For
F : numFieldType
, it attempts to turne != 0 :> F
intoe' != 0 :> int
by Z-ifyinge : F
toe' : int
, and then invokelia
on that. This Z-ification is done by the "How to make ad hoc proof automation less ad hoc" approach.