You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst I only envisaged porting the P, N, and Z arithmetics from Coq, it might be nice to go for full-on completion and port QArith too. I'm not sure what the type should be, but probably something like this:
record Biqwhere
constructor Rationumerator: Biz
denominator: Bip
The constructor could be Rational instead of Ratio, though by convention it should really be MkBiq. Coq uses num and den for the field names. I don't like "num", but perhaps n and d, or numer and denom would be okay.
The text was updated successfully, but these errors were encountered:
Just to make things extra confusing, Coq also immediately defines a way to get the denominator as a positive Z, i.e. BizP in our nomenclature, which is then apparently used quite a lot.
Whilst I only envisaged porting the P, N, and Z arithmetics from Coq, it might be nice to go for full-on completion and port QArith too. I'm not sure what the type should be, but probably something like this:
The constructor could be
Rational
instead ofRatio
, though by convention it should really beMkBiq
. Coq usesnum
andden
for the field names. I don't like "num", but perhapsn
andd
, ornumer
anddenom
would be okay.The text was updated successfully, but these errors were encountered: