Is Z.le as defined in the standard library proof irrelevant?
问题 In the Coq standard library, there is an enumerated type called comparison with three elements Eq,Lt,Gt . This is used to define the less-than or less-than-or-equal operators in ZArith : m < n is defined as m ?= n = Lt and m <= n is defined as m ?= n <> Gt . By virtue of Hedberg's theorem ( UIP_dec in the standard library) I can prove that < is proof-irrelevant, but I run into issues when it comes to <= , since it is defined negatively. I find this particularly annoying, since if <= were