Intervals in ℤ #
This file defines integer ranges. range m n
is the set of integers greater than m
and strictly
less than n
.
Note #
This could be unified with Data.List.Intervals
. See the TODOs there.
Equations
- Int.decidableLELT P m n = decidable_of_iff (∀ r ∈ m.range n, P r) ⋯
Equations
- Int.decidableLELE P m n = decidable_of_iff (∀ r ∈ m.range (n + 1), P r) ⋯
Equations
- Int.decidableLTLT P m n = Int.decidableLELT P (m + 1) n
Equations
- Int.decidableLTLE P m n = Int.decidableLELE P (m + 1) n