The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V04. Order and lattices

Mathlib.Order.SuccPred.IntervalSucc

17 declarations. Mathlib docs · Source

Intervals Ixx (f x) (f (Order.succ x))

In this file we prove

  • Monotone.biUnion_Ico_Ioc_map_succ: if α is a linear archimedean succ order and β is a linear order, then for any monotone function f and m n : α, the union of intervals Set.Ioc (f i) (f (Order.succ i)), m ≤ i < n, is equal to Set.Ioc (f m) (f n);

  • Monotone.pairwise_disjoint_on_Ioc_succ: if α is a linear succ order, β is a preorder, and f : α → β is a monotone function, then the intervals Set.Ioc (f n) (f (Order.succ n)) are pairwise disjoint.

For the latter lemma, we also prove various order dual versions.

theorem biUnion_Ici_Ico_map_succ E2 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [IsSuccArchimedean α]
  [inst_3 : LinearOrder β] {f : α → β} {a : α},
  (∀ i ∈ Set.Ici a, f a ≤ f i) →
    ¬BddAbove (f '' Set.Ici a) → ⋃ i ∈ Set.Ici a, Set.Ico (f i) (f (Order.succ i)) = Set.Ici (f a)

Union formula for Set.Ico (f i) (f (Order.succ i)) over i ∈ Ici a. See also iUnion_Ico_map_succ_eq_Ici for the specialization a = ⊥.

theorem biUnion_Ici_Ioc_map_succ E2 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [IsSuccArchimedean α]
  [inst_3 : LinearOrder β] {f : α → β} {a : α},
  (∀ i ∈ Set.Ici a, f a ≤ f i) →
    ¬BddAbove (f '' Set.Ici a) → ⋃ i ∈ Set.Ici a, Set.Ioc (f i) (f (Order.succ i)) = Set.Ioi (f a)

Union formula for Set.Ioc (f i) (f (Order.succ i)) over i ∈ Ici a. See also iUnion_Ioc_map_succ_eq_Ioi for the specialization a = ⊥.

theorem iUnion_Ico_map_succ_eq_Ici E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : OrderBot α] [inst_2 : SuccOrder α]
  [IsSuccArchimedean α] [inst_4 : LinearOrder β] {f : α → β},
  (∀ (a : α), f ⊥ ≤ f a) → ¬BddAbove (Set.range f) → ⋃ a, Set.Ico (f a) (f (Order.succ a)) = Set.Ici (f ⊥)

Special case a = ⊥ of biUnion_Ici_Ico_map_succ.

theorem iUnion_Ioc_map_succ_eq_Ioi E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : OrderBot α] [inst_2 : SuccOrder α]
  [IsSuccArchimedean α] [inst_4 : LinearOrder β] {f : α → β},
  (∀ (a : α), f ⊥ ≤ f a) → ¬BddAbove (Set.range f) → ⋃ a, Set.Ioc (f a) (f (Order.succ a)) = Set.Ioi (f ⊥)

Special case a = ⊥ of biUnion_Ici_Ioc_map_succ.

theorem Monotone.biUnion_Ico_Ioc_map_succ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [IsSuccArchimedean α]
  [inst_3 : LinearOrder β] {f : α → β},
  Monotone f → ∀ (m n : α), ⋃ i ∈ Set.Ico m n, Set.Ioc (f i) (f (Order.succ i)) = Set.Ioc (f m) (f n)

If α is a linear archimedean succ order and β is a linear order, then for any monotone function f and m n : α, the union of intervals Set.Ioc (f i) (f (Order.succ i)), m ≤ i < n, is equal to Set.Ioc (f m) (f n)

theorem Monotone.pairwise_disjoint_on_Ioc_succ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [inst_2 : Preorder β] {f : α → β},
  Monotone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ioc (f n) (f (Order.succ n)))

If α is a linear succ order, β is a preorder, and f : α → β is a monotone function, then the intervals Set.Ioc (f n) (f (Order.succ n)) are pairwise disjoint.

theorem Monotone.pairwise_disjoint_on_Ico_succ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [inst_2 : Preorder β] {f : α → β},
  Monotone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ico (f n) (f (Order.succ n)))

If α is a linear succ order, β is a preorder, and f : α → β is a monotone function, then the intervals Set.Ico (f n) (f (Order.succ n)) are pairwise disjoint.

theorem Monotone.pairwise_disjoint_on_Ioo_succ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [inst_2 : Preorder β] {f : α → β},
  Monotone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ioo (f n) (f (Order.succ n)))

If α is a linear succ order, β is a preorder, and f : α → β is a monotone function, then the intervals Set.Ioo (f n) (f (Order.succ n)) are pairwise disjoint.

theorem Monotone.pairwise_disjoint_on_Ioc_pred E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : PredOrder α] [inst_2 : Preorder β] {f : α → β},
  Monotone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ioc (f (Order.pred n)) (f n))

If α is a linear pred order, β is a preorder, and f : α → β is a monotone function, then the intervals Set.Ioc (f Order.pred n) (f n) are pairwise disjoint.

theorem Monotone.pairwise_disjoint_on_Ico_pred E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : PredOrder α] [inst_2 : Preorder β] {f : α → β},
  Monotone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ico (f (Order.pred n)) (f n))

If α is a linear pred order, β is a preorder, and f : α → β is a monotone function, then the intervals Set.Ico (f Order.pred n) (f n) are pairwise disjoint.

theorem Monotone.pairwise_disjoint_on_Ioo_pred E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : PredOrder α] [inst_2 : Preorder β] {f : α → β},
  Monotone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ioo (f (Order.pred n)) (f n))

If α is a linear pred order, β is a preorder, and f : α → β is a monotone function, then the intervals Set.Ioo (f Order.pred n) (f n) are pairwise disjoint.

theorem Antitone.pairwise_disjoint_on_Ioc_succ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [inst_2 : Preorder β] {f : α → β},
  Antitone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ioc (f (Order.succ n)) (f n))

If α is a linear succ order, β is a preorder, and f : α → β is an antitone function, then the intervals Set.Ioc (f (Order.succ n)) (f n) are pairwise disjoint.

theorem Antitone.pairwise_disjoint_on_Ico_succ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [inst_2 : Preorder β] {f : α → β},
  Antitone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ico (f (Order.succ n)) (f n))

If α is a linear succ order, β is a preorder, and f : α → β is an antitone function, then the intervals Set.Ico (f (Order.succ n)) (f n) are pairwise disjoint.

theorem Antitone.pairwise_disjoint_on_Ioo_succ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : SuccOrder α] [inst_2 : Preorder β] {f : α → β},
  Antitone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ioo (f (Order.succ n)) (f n))

If α is a linear succ order, β is a preorder, and f : α → β is an antitone function, then the intervals Set.Ioo (f (Order.succ n)) (f n) are pairwise disjoint.

theorem Antitone.pairwise_disjoint_on_Ioc_pred E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : PredOrder α] [inst_2 : Preorder β] {f : α → β},
  Antitone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ioc (f n) (f (Order.pred n)))

If α is a linear pred order, β is a preorder, and f : α → β is an antitone function, then the intervals Set.Ioc (f n) (f (Order.pred n)) are pairwise disjoint.

theorem Antitone.pairwise_disjoint_on_Ico_pred E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : PredOrder α] [inst_2 : Preorder β] {f : α → β},
  Antitone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ico (f n) (f (Order.pred n)))

If α is a linear pred order, β is a preorder, and f : α → β is an antitone function, then the intervals Set.Ico (f n) (f (Order.pred n)) are pairwise disjoint.

theorem Antitone.pairwise_disjoint_on_Ioo_pred E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : PredOrder α] [inst_2 : Preorder β] {f : α → β},
  Antitone f → Pairwise (Function.onFun Disjoint fun n ↦ Set.Ioo (f n) (f (Order.pred n)))

If α is a linear pred order, β is a preorder, and f : α → β is an antitone function, then the intervals Set.Ioo (f n) (f (Order.pred n)) are pairwise disjoint.