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.Pi

33 declarations. Mathlib docs · Source

instance Pi.isOrderedMonoid E0 #

∀ {ι : Type u_6} {Z : ι → Type u_7} [inst : (i : ι) → CommMonoid (Z i)] [inst_1 : (i : ι) → Preorder (Z i)]
  [∀ (i : ι), IsOrderedMonoid (Z i)], IsOrderedMonoid ((i : ι) → Z i)

The product of a family of ordered commutative monoids is an ordered commutative monoid.

instance Pi.isOrderedAddMonoid E0 #

∀ {ι : Type u_6} {Z : ι → Type u_7} [inst : (i : ι) → AddCommMonoid (Z i)] [inst_1 : (i : ι) → Preorder (Z i)]
  [∀ (i : ι), IsOrderedAddMonoid (Z i)], IsOrderedAddMonoid ((i : ι) → Z i)

The product of a family of ordered additive commutative monoids is an ordered additive commutative monoid.

instance Pi.existsMulOfLe E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : (i : ι) → LE (α i)] [inst_1 : (i : ι) → Mul (α i)]
  [∀ (i : ι), ExistsMulOfLE (α i)], ExistsMulOfLE ((i : ι) → α i)

instance Pi.existsAddOfLe E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : (i : ι) → LE (α i)] [inst_1 : (i : ι) → Add (α i)]
  [∀ (i : ι), ExistsAddOfLE (α i)], ExistsAddOfLE ((i : ι) → α i)

instance Pi.instCanonicallyOrderedMulForall E0 #

∀ {ι : Type u_6} {Z : ι → Type u_7} [inst : (i : ι) → Monoid (Z i)] [inst_1 : (i : ι) → PartialOrder (Z i)]
  [∀ (i : ι), CanonicallyOrderedMul (Z i)], CanonicallyOrderedMul ((i : ι) → Z i)

The product of a family of canonically ordered monoids is a canonically ordered monoid.

instance Pi.instCanonicallyOrderedAddForall E0 #

∀ {ι : Type u_6} {Z : ι → Type u_7} [inst : (i : ι) → AddMonoid (Z i)] [inst_1 : (i : ι) → PartialOrder (Z i)]
  [∀ (i : ι), CanonicallyOrderedAdd (Z i)], CanonicallyOrderedAdd ((i : ι) → Z i)

The product of a family of canonically ordered additive monoids is a canonically ordered additive monoid.

instance Pi.isOrderedCancelMonoid E0 #

∀ {I : Type u_1} {f : I → Type u_5} [inst : (i : I) → CommMonoid (f i)] [inst_1 : (i : I) → Preorder (f i)]
  [∀ (i : I), IsOrderedCancelMonoid (f i)], IsOrderedCancelMonoid ((i : I) → f i)

instance Pi.isOrderedAddCancelMonoid E0 #

∀ {I : Type u_1} {f : I → Type u_5} [inst : (i : I) → AddCommMonoid (f i)] [inst_1 : (i : I) → Preorder (f i)]
  [∀ (i : I), IsOrderedCancelAddMonoid (f i)], IsOrderedCancelAddMonoid ((i : I) → f i)

instance Pi.isOrderedRing E0 #

∀ {I : Type u_1} {f : I → Type u_5} [inst : (i : I) → Semiring (f i)] [inst_1 : (i : I) → PartialOrder (f i)]
  [∀ (i : I), IsOrderedRing (f i)], IsOrderedRing ((i : I) → f i)

theorem Function.one_le_const_of_one_le E1 #

∀ {α : Type u_2} (β : Type u_3) [inst : One α] [inst_1 : Preorder α] {a : α}, 1 ≤ a → 1 ≤ Function.const β a

theorem Function.const_nonneg_of_nonneg E1 #

∀ {α : Type u_2} (β : Type u_3) [inst : Zero α] [inst_1 : Preorder α] {a : α}, 0 ≤ a → 0 ≤ Function.const β a

theorem Function.const_nonpos_of_nonpos E1 #

∀ {α : Type u_2} (β : Type u_3) [inst : Zero α] [inst_1 : Preorder α] {a : α}, a ≤ 0 → Function.const β a ≤ 0

theorem Function.const_le_one_of_le_one E1 #

∀ {α : Type u_2} (β : Type u_3) [inst : One α] [inst_1 : Preorder α] {a : α}, a ≤ 1 → Function.const β a ≤ 1

theorem Function.one_le_const E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : One α] [inst_1 : Preorder α] {a : α} [Nonempty β],
  1 ≤ Function.const β a ↔ 1 ≤ a

theorem Function.const_nonneg E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Zero α] [inst_1 : Preorder α] {a : α} [Nonempty β],
  0 ≤ Function.const β a ↔ 0 ≤ a

theorem Function.one_lt_const E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : One α] [inst_1 : Preorder α] {a : α} [Nonempty β],
  1 < Function.const β a ↔ 1 < a

theorem Function.const_pos E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Zero α] [inst_1 : Preorder α] {a : α} [Nonempty β],
  0 < Function.const β a ↔ 0 < a

theorem Function.const_le_one E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : One α] [inst_1 : Preorder α] {a : α} [Nonempty β],
  Function.const β a ≤ 1 ↔ a ≤ 1

theorem Function.const_nonpos E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Zero α] [inst_1 : Preorder α] {a : α} [Nonempty β],
  Function.const β a ≤ 0 ↔ a ≤ 0

theorem Function.const_neg' E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Zero α] [inst_1 : Preorder α] {a : α} [Nonempty β],
  Function.const β a < 0 ↔ a < 0

theorem Function.const_lt_one E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : One α] [inst_1 : Preorder α] {a : α} [Nonempty β],
  Function.const β a < 1 ↔ a < 1

theorem Function.one_le_extend E1 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : One γ] [inst_1 : LE γ] {f : α → β} {g : α → γ} {e : β → γ},
  1 ≤ g → 1 ≤ e → 1 ≤ Function.extend f g e

theorem Function.extend_nonneg E1 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Zero γ] [inst_1 : LE γ] {f : α → β} {g : α → γ} {e : β → γ},
  0 ≤ g → 0 ≤ e → 0 ≤ Function.extend f g e

theorem Function.extend_nonpos E1 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Zero γ] [inst_1 : LE γ] {f : α → β} {g : α → γ} {e : β → γ},
  g ≤ 0 → e ≤ 0 → Function.extend f g e ≤ 0

theorem Function.extend_le_one E1 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : One γ] [inst_1 : LE γ] {f : α → β} {g : α → γ} {e : β → γ},
  g ≤ 1 → e ≤ 1 → Function.extend f g e ≤ 1

theorem Pi.single_le_single E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : DecidableEq ι] [inst_1 : (i : ι) → Zero (α i)]
  [inst_2 : (i : ι) → Preorder (α i)] {i : ι} {a b : α i}, Pi.single i a ≤ Pi.single i b ↔ a ≤ b

theorem Pi.mulSingle_le_mulSingle E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : DecidableEq ι] [inst_1 : (i : ι) → One (α i)]
  [inst_2 : (i : ι) → Preorder (α i)] {i : ι} {a b : α i}, Pi.mulSingle i a ≤ Pi.mulSingle i b ↔ a ≤ b

theorem Pi.one_le_mulSingle E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : DecidableEq ι] [inst_1 : (i : ι) → One (α i)]
  [inst_2 : (i : ι) → Preorder (α i)] {i : ι} {a : α i}, 1 ≤ Pi.mulSingle i a ↔ 1 ≤ a

theorem Pi.single_nonneg E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : DecidableEq ι] [inst_1 : (i : ι) → Zero (α i)]
  [inst_2 : (i : ι) → Preorder (α i)] {i : ι} {a : α i}, 0 ≤ Pi.single i a ↔ 0 ≤ a

theorem Pi.one_lt_mulSingle E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : DecidableEq ι] [inst_1 : (i : ι) → One (α i)]
  [inst_2 : (i : ι) → Preorder (α i)] {i : ι} {a : α i}, 1 < Pi.mulSingle i a ↔ 1 < a

theorem Pi.single_pos E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : DecidableEq ι] [inst_1 : (i : ι) → Zero (α i)]
  [inst_2 : (i : ι) → Preorder (α i)] {i : ι} {a : α i}, 0 < Pi.single i a ↔ 0 < a

theorem Pi.single_nonpos E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : DecidableEq ι] [inst_1 : (i : ι) → Zero (α i)]
  [inst_2 : (i : ι) → Preorder (α i)] {i : ι} {a : α i}, Pi.single i a ≤ 0 ↔ a ≤ 0

theorem Pi.mulSingle_le_one E0 #

∀ {ι : Type u_6} {α : ι → Type u_7} [inst : DecidableEq ι] [inst_1 : (i : ι) → One (α i)]
  [inst_2 : (i : ι) → Preorder (α i)] {i : ι} {a : α i}, Pi.mulSingle i a ≤ 1 ↔ a ≤ 1