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?
There is a function in the standard library Z.eqb. Be sure to import the ZArithtp module in order to use it.
Z.eqb
ZArith
Unfortunately, I do not know any resources to find this, besides viewing the standard documentation library ...