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.Algebra.Order.Monoid.Canonical.Basic

13 declarations. Mathlib docs · Source

theorem Set.range_add_eq_image_Ici E1 #

∀ {α : Type u_1} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [CanonicallyOrderedAdd α] [inst_3 : Sub α]
  [OrderedSub α] {β : Type u_2} {f : α → β} {k : α}, (Set.range fun x ↦ f (x + k)) = f '' Set.Ici k

theorem lt_add_iff_lt_left_or_exists_lt E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α} [inst_1 : Add α] [CanonicallyOrderedAdd α] [AddLeftReflectLT α]
  [IsLeftCancelAdd α], a < b + c ↔ a < b ∨ ∃ d < c, a = b + d

theorem forall_lt_add_iff_lt_left E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {P : α → Prop} {b c : α} [inst_1 : Add α] [CanonicallyOrderedAdd α]
  [AddLeftReflectLT α] [IsLeftCancelAdd α], (∀ a < b + c, P a) ↔ (∀ a < b, P a) ∧ ∀ d < c, P (b + d)

theorem exists_lt_add_iff_lt_left E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {P : α → Prop} {b c : α} [inst_1 : Add α] [CanonicallyOrderedAdd α]
  [AddLeftReflectLT α] [IsLeftCancelAdd α], (∃ a < b + c, P a) ↔ (∃ a < b, P a) ∨ ∃ d < c, P (b + d)

theorem le_add_iff_lt_left_or_exists_le E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α} [inst_1 : Add α] [CanonicallyOrderedAdd α] [AddLeftMono α]
  [IsLeftCancelAdd α], a ≤ b + c ↔ a < b ∨ ∃ d ≤ c, a = b + d

theorem forall_le_add_iff_le_left E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {P : α → Prop} {b c : α} [inst_1 : Add α] [CanonicallyOrderedAdd α]
  [AddLeftMono α] [IsLeftCancelAdd α], (∀ a ≤ b + c, P a) ↔ (∀ a < b, P a) ∧ ∀ d ≤ c, P (b + d)

theorem exists_le_add_iff_le_left E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {P : α → Prop} {b c : α} [inst_1 : Add α] [CanonicallyOrderedAdd α]
  [AddLeftMono α] [IsLeftCancelAdd α], (∃ a ≤ b + c, P a) ↔ (∃ a < b, P a) ∨ ∃ d ≤ c, P (b + d)

theorem lt_add_iff_lt_right_or_exists_lt E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α} [inst_1 : AddCommMagma α] [CanonicallyOrderedAdd α]
  [AddLeftReflectLT α] [IsLeftCancelAdd α], a < b + c ↔ a < c ∨ ∃ d < b, a = d + c

theorem forall_lt_add_iff_lt_right E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {P : α → Prop} {b c : α} [inst_1 : AddCommMagma α] [CanonicallyOrderedAdd α]
  [AddLeftReflectLT α] [IsLeftCancelAdd α], (∀ a < b + c, P a) ↔ (∀ a < c, P a) ∧ ∀ d < b, P (d + c)

theorem exists_lt_add_iff_lt_right E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {P : α → Prop} {b c : α} [inst_1 : AddCommMagma α] [CanonicallyOrderedAdd α]
  [AddLeftReflectLT α] [IsLeftCancelAdd α], (∃ a < b + c, P a) ↔ (∃ a < c, P a) ∨ ∃ d < b, P (d + c)

theorem le_add_iff_lt_right_or_exists_le E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α} [inst_1 : AddCommMagma α] [CanonicallyOrderedAdd α] [AddLeftMono α]
  [IsLeftCancelAdd α], a ≤ b + c ↔ a < c ∨ ∃ d ≤ b, a = d + c

theorem forall_le_add_iff_le_right E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {P : α → Prop} {b c : α} [inst_1 : AddCommMagma α] [CanonicallyOrderedAdd α]
  [AddLeftMono α] [IsLeftCancelAdd α], (∀ a ≤ b + c, P a) ↔ (∀ a < c, P a) ∧ ∀ d ≤ b, P (d + c)

theorem exists_le_add_iff_le_right E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {P : α → Prop} {b c : α} [inst_1 : AddCommMagma α] [CanonicallyOrderedAdd α]
  [AddLeftMono α] [IsLeftCancelAdd α], (∃ a ≤ b + c, P a) ↔ (∃ a < c, P a) ∨ ∃ d ≤ b, P (d + c)