Finite intervals of naturals #
This file proves that ℕ
is a LocallyFiniteOrder
and calculates the cardinality of its
intervals as finsets and fintypes.
TODO #
Some lemmas can be generalized using OrderedGroup
, CanonicallyOrderedMul
or SuccOrder
and subsequently be moved upstream to Order.Interval.Finset
.
Equations
- One or more equations did not get rendered due to their size.
Note that while this lemma cannot be easily generalized to a type class, it holds for ℤ as
well. See Int.image_Ico_emod
for the ℤ version.