Coq: logical comparison of integers

Natural numbers (nat) in coq have the function beq_nat, is there a similar function for integers Z (in ZArith)?

And for the future, how can I find the answer to such questions without asking about Stackoverflow?

+4
source share
1 answer

There is a function in the standard library Z.eqb. Be sure to import the ZArithtp module in order to use it.

Unfortunately, I do not know any resources to find this, besides viewing the standard documentation library ...

+4
source

All Articles