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.CompleteLattice.PiLex

20 declarations. Mathlib docs · Source

Complete linear order instance on lexicographically ordered pi types

We show that for α a family of complete linear orders, the lexicographically ordered type of dependent functions Πₗ i, α i is itself a complete linear order.

Lexicographic ordering

Colexicographic ordering

instance Pi.Lex.instInfSetLexForall E0 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : LinearOrder ι] → [(i : ι) → CompleteLinearOrder (α i)] → [WellFoundedLT ι] → InfSet (Πₗ (i : ι), α i)

theorem Pi.Lex.sInf_apply E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedLT ι] (s : Set (Πₗ (i : ι), α i)) (i : ι), sInf s i = ⨅ e, ↑e i

theorem Pi.Lex.sInf_apply_le E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedLT ι] {s : Set (Πₗ (i : ι), α i)} {i : ι} {e : Πₗ (i : ι), α i},
  e ∈ s → (∀ j < i, e j = sInf s j) → sInf s i ≤ e i

theorem Pi.Lex.le_sInf_apply E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedLT ι] {s : Set (Πₗ (i : ι), α i)} {i : ι} {e : Πₗ (i : ι), α i},
  (∀ f ∈ s, (∀ j < i, f j = sInf s j) → e i ≤ f i) → e i ≤ sInf s i

instance Pi.Lex.instSupSetLexForall E0 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : LinearOrder ι] → [(i : ι) → CompleteLinearOrder (α i)] → [WellFoundedLT ι] → SupSet (Πₗ (i : ι), α i)

theorem Pi.Lex.sSup_apply E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedLT ι] (s : Set (Πₗ (i : ι), α i)) (i : ι), sSup s i = ⨆ e, ↑e i

theorem Pi.Lex.le_sSup_apply E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedLT ι] {s : Set (Πₗ (i : ι), α i)} {i : ι} {e : Πₗ (i : ι), α i},
  e ∈ s → (∀ j < i, e j = sSup s j) → e i ≤ sSup s i

theorem Pi.Lex.sSup_apply_le E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedLT ι] {s : Set (Πₗ (i : ι), α i)} {i : ι} {e : Πₗ (i : ι), α i},
  (∀ f ∈ s, (∀ j < i, f j = sSup s j) → f i ≤ e i) → sSup s i ≤ e i

instance Pi.Lex.completeLattice E0 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : LinearOrder ι] →
      [(i : ι) → CompleteLinearOrder (α i)] → [WellFoundedLT ι] → CompleteLattice (Πₗ (i : ι), α i)

instance Pi.Lex.instCompleteLinearOrderLexForall E0 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : LinearOrder ι] →
      [(i : ι) → CompleteLinearOrder (α i)] → [WellFoundedLT ι] → CompleteLinearOrder (Πₗ (i : ι), α i)

instance Pi.Colex.instInfSetColexForall E0 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : LinearOrder ι] → [(i : ι) → CompleteLinearOrder (α i)] → [WellFoundedGT ι] → InfSet (Colex ((i : ι) → α i))

theorem Pi.Colex.sInf_apply E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedGT ι] (s : Set (Colex ((i : ι) → α i))) (i : ι), sInf s i = ⨅ e, ↑e i

theorem Pi.Colex.sInf_apply_le E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedGT ι] {s : Set (Colex ((i : ι) → α i))} {i : ι} {e : Colex ((i : ι) → α i)},
  e ∈ s → (∀ j > i, e j = sInf s j) → sInf s i ≤ e i

theorem Pi.Colex.le_sInf_apply E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedGT ι] {s : Set (Colex ((i : ι) → α i))} {i : ι} {e : Colex ((i : ι) → α i)},
  (∀ f ∈ s, (∀ j > i, f j = sInf s j) → e i ≤ f i) → e i ≤ sInf s i

instance Pi.Colex.instSupSetColexForall E0 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : LinearOrder ι] → [(i : ι) → CompleteLinearOrder (α i)] → [WellFoundedGT ι] → SupSet (Colex ((i : ι) → α i))

theorem Pi.Colex.sSup_apply E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedGT ι] (s : Set (Colex ((i : ι) → α i))) (i : ι), sSup s i = ⨆ e, ↑e i

theorem Pi.Colex.le_sSup_apply E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedGT ι] {s : Set (Colex ((i : ι) → α i))} {i : ι} {e : Colex ((i : ι) → α i)},
  e ∈ s → (∀ j > i, e j = sSup s j) → e i ≤ sSup s i

theorem Pi.Colex.sSup_apply_le E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : LinearOrder ι] [inst_1 : (i : ι) → CompleteLinearOrder (α i)]
  [inst_2 : WellFoundedGT ι] {s : Set (Colex ((i : ι) → α i))} {i : ι} {e : Colex ((i : ι) → α i)},
  (∀ f ∈ s, (∀ j > i, f j = sSup s j) → f i ≤ e i) → sSup s i ≤ e i

instance Pi.Colex.completeLattice E0 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : LinearOrder ι] →
      [(i : ι) → CompleteLinearOrder (α i)] → [WellFoundedGT ι] → CompleteLattice (Colex ((i : ι) → α i))

instance Pi.Colex.instCompleteLinearOrderColexForall E0 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : LinearOrder ι] →
      [(i : ι) → CompleteLinearOrder (α i)] → [WellFoundedGT ι] → CompleteLinearOrder (Colex ((i : ι) → α i))