Adjacent half-open intervals cover the range
ProvedMonotone.iUnion_Ioc_finorder-theory
For a monotone finite sequence of cuts, the union of adjacent equals . Via biUnion_Ico_Ioc_map_succ and orderSucc_castSucc rewrites.
Preamble
import Mathlib.Order.SuccPred.LinearLocallyFinite import Mathlib.Data.Fin.SuccPredOrder import Mathlib.Order.SuccPred.IntervalSucc import Mathlib.Order.Fin.Basic open Set
Formal statement
namespace Monotone
theorem iUnion_Ioc_fin {α : Type*} [LinearOrder α] {n : ℕ} (cuts : Fin (n+1) → α) (hcuts : Monotone cuts) : (⋃ i : Fin n, Ioc (cuts i.castSucc) (cuts i.succ)) = Ioc (cuts 0) (cuts (Fin.last n)) := by sorry
end MonotoneSource