I'm trying to import Library Coq.Structures.OrdersFacts as usual with:
Require Import Coq.Structures.OrdersFacts
Then I try to use of the lemmas there with either:
apply CompareFacts.compare_nlt_iff.
or apply compare_nlt_iff.
But none work ... what am I missing?
CompareFacts
is aModule Type
, not aModule
. You can see that if you doFind a Module of this type and apply its Lemmas instead.
EDIT:
I meant that to use the lemmas on i.e.
nat
, you need a module that shows thatnat
is aDecStrOrder'
(andNat
fromPeanoNat
is such a module), and also one that specializesCompareFacts
fornat
.Perhaps an example is more useful.