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

21 declarations. Mathlib docs · Source

theorem GeneralizedCoheytingAlgebra.copy.congr_simp E1 #

∀ {α : Type u} (c c_1 : GeneralizedCoheytingAlgebra α) (e_c : c = c_1) (le le_1 : α → α → Prop) (e_le : le = le_1)
  (eq_le : le = LE.le) (bot bot_1 : α) (e_bot : bot = bot_1) (eq_bot : bot = ⊥) (sup sup_1 : α → α → α)
  (e_sup : sup = sup_1) (eq_sup : sup = max) (inf inf_1 : α → α → α) (e_inf : inf = inf_1) (eq_inf : inf = min)
  (sdiff sdiff_1 : α → α → α) (e_sdiff : sdiff = sdiff_1) (eq_sdiff : sdiff = SDiff.sdiff),
  c.copy le eq_le bot eq_bot sup eq_sup inf eq_inf sdiff eq_sdiff = c_1.copy le_1 ⋯ bot_1 ⋯ sup_1 ⋯ inf_1 ⋯ sdiff_1 ⋯

theorem OrderBot.copy.congr_simp E1 #

∀ {α : Type u} {h h' : LE α} (c c_1 : OrderBot α) (e_c : c = c_1) (bot bot_1 : α) (e_bot : bot = bot_1)
  (eq_bot : bot = ⊥) (le_eq : ∀ (x y : α), x ≤ y ↔ x ≤ y), c.copy bot eq_bot le_eq = c_1.copy bot_1 ⋯ le_eq

theorem GeneralizedHeytingAlgebra.copy.congr_simp E1 #

∀ {α : Type u} (c c_1 : GeneralizedHeytingAlgebra α) (e_c : c = c_1) (le le_1 : α → α → Prop) (e_le : le = le_1)
  (eq_le : le = LE.le) (top top_1 : α) (e_top : top = top_1) (eq_top : top = ⊤) (sup sup_1 : α → α → α)
  (e_sup : sup = sup_1) (eq_sup : sup = max) (inf inf_1 : α → α → α) (e_inf : inf = inf_1) (eq_inf : inf = min)
  (himp himp_1 : α → α → α) (e_himp : himp = himp_1) (eq_himp : himp = HImp.himp),
  c.copy le eq_le top eq_top sup eq_sup inf eq_inf himp eq_himp = c_1.copy le_1 ⋯ top_1 ⋯ sup_1 ⋯ inf_1 ⋯ himp_1 ⋯

theorem OrderTop.copy.congr_simp E1 #

∀ {α : Type u} {h h' : LE α} (c c_1 : OrderTop α) (e_c : c = c_1) (top top_1 : α) (e_top : top = top_1)
  (eq_top : top = ⊤) (le_eq : ∀ (x y : α), x ≤ y ↔ x ≤ y), c.copy top eq_top le_eq = c_1.copy top_1 ⋯ le_eq

theorem SemilatticeInf.mk.congr_simp E1 #

∀ {α : Type u} [toPartialOrder : PartialOrder α] [toPartialOrder_1 : PartialOrder α]
  (e_toPartialOrder : toPartialOrder = toPartialOrder_1) (inf inf_1 : α → α → α) (e_inf : inf = inf_1)
  (inf_le_left : ∀ (a b : α), inf a b ≤ a) (inf_le_right : ∀ (a b : α), inf a b ≤ b)
  (le_inf : ∀ (a b c : α), a ≤ b → a ≤ c → a ≤ inf b c),
  { toPartialOrder := toPartialOrder, inf := inf, inf_le_left := inf_le_left, inf_le_right := inf_le_right,
      le_inf := le_inf } =
    { toPartialOrder := toPartialOrder_1, inf := inf_1, inf_le_left := ⋯, inf_le_right := ⋯, le_inf := ⋯ }

theorem Lattice.copy.congr_simp E1 #

∀ {α : Type u} (c c_1 : Lattice α) (e_c : c = c_1) (le le_1 : α → α → Prop) (e_le : le = le_1) (eq_le : le = LE.le)
  (sup sup_1 : α → α → α) (e_sup : sup = sup_1) (eq_sup : sup = max) (inf inf_1 : α → α → α) (e_inf : inf = inf_1)
  (eq_inf : inf = min), c.copy le eq_le sup eq_sup inf eq_inf = c_1.copy le_1 ⋯ sup_1 ⋯ inf_1 ⋯

def OrderTop.copy E1 #

{α : Type u} → {h h' : LE α} → (c : OrderTop α) → (top : α) → top = ⊤ → (∀ (x y : α), x ≤ y ↔ x ≤ y) → OrderTop α

A function to create a provable equal copy of a top order with possibly different definitional equalities.

def OrderBot.copy E1 #

{α : Type u} → {h h' : LE α} → (c : OrderBot α) → (bot : α) → bot = ⊥ → (∀ (x y : α), x ≤ y ↔ x ≤ y) → OrderBot α

A function to create a provable equal copy of a bottom order with possibly different definitional equalities.

def BoundedOrder.copy E1 #

{α : Type u} →
  {h h' : LE α} →
    (c : BoundedOrder α) → (top : α) → top = ⊤ → (bot : α) → bot = ⊥ → (∀ (x y : α), x ≤ y ↔ x ≤ y) → BoundedOrder α

A function to create a provable equal copy of a bounded order with possibly different definitional equalities.

def Lattice.copy E1 #

{α : Type u} →
  (c : Lattice α) →
    (le : α → α → Prop) → le = LE.le → (sup : α → α → α) → sup = max → (inf : α → α → α) → inf = min → Lattice α

A function to create a provable equal copy of a lattice with possibly different definitional equalities.

def DistribLattice.copy E1 #

{α : Type u} →
  (c : DistribLattice α) →
    (le : α → α → Prop) → le = LE.le → (sup : α → α → α) → sup = max → (inf : α → α → α) → inf = min → DistribLattice α

A function to create a provable equal copy of a distributive lattice with possibly different definitional equalities.

def GeneralizedHeytingAlgebra.copy E1 #

{α : Type u} →
  (c : GeneralizedHeytingAlgebra α) →
    (le : α → α → Prop) →
      le = LE.le →
        (top : α) →
          top = ⊤ →
            (sup : α → α → α) →
              sup = max →
                (inf : α → α → α) → inf = min → (himp : α → α → α) → himp = HImp.himp → GeneralizedHeytingAlgebra α

A function to create a provable equal copy of a generalised heyting algebra with possibly different definitional equalities.

def GeneralizedCoheytingAlgebra.copy E1 #

{α : Type u} →
  (c : GeneralizedCoheytingAlgebra α) →
    (le : α → α → Prop) →
      le = LE.le →
        (bot : α) →
          bot = ⊥ →
            (sup : α → α → α) →
              sup = max →
                (inf : α → α → α) →
                  inf = min → (sdiff : α → α → α) → sdiff = SDiff.sdiff → GeneralizedCoheytingAlgebra α

A function to create a provable equal copy of a generalised co-Heyting algebra with possibly different definitional equalities.

def HeytingAlgebra.copy E1 #

{α : Type u} →
  (c : HeytingAlgebra α) →
    (le : α → α → Prop) →
      le = LE.le →
        (top : α) →
          top = ⊤ →
            (bot : α) →
              bot = ⊥ →
                (sup : α → α → α) →
                  sup = max →
                    (inf : α → α → α) →
                      inf = min →
                        (himp : α → α → α) → himp = HImp.himp → (compl : α → α) → compl = Compl.compl → HeytingAlgebra α

A function to create a provable equal copy of a heyting algebra with possibly different definitional equalities.

def CoheytingAlgebra.copy E1 #

{α : Type u} →
  (c : CoheytingAlgebra α) →
    (le : α → α → Prop) →
      le = LE.le →
        (top : α) →
          top = ⊤ →
            (bot : α) →
              bot = ⊥ →
                (sup : α → α → α) →
                  sup = max →
                    (inf : α → α → α) →
                      inf = min →
                        (sdiff : α → α → α) →
                          sdiff = SDiff.sdiff → (hnot : α → α) → hnot = HNot.hnot → CoheytingAlgebra α

A function to create a provable equal copy of a co-Heyting algebra with possibly different definitional equalities.

def BiheytingAlgebra.copy E1 #

{α : Type u} →
  (c : BiheytingAlgebra α) →
    (le : α → α → Prop) →
      le = LE.le →
        (top : α) →
          top = ⊤ →
            (bot : α) →
              bot = ⊥ →
                (sup : α → α → α) →
                  sup = max →
                    (inf : α → α → α) →
                      inf = min →
                        (sdiff : α → α → α) →
                          sdiff = SDiff.sdiff →
                            (hnot : α → α) →
                              hnot = HNot.hnot →
                                (himp : α → α → α) →
                                  himp = HImp.himp → (compl : α → α) → compl = Compl.compl → BiheytingAlgebra α

A function to create a provable equal copy of a bi-Heyting algebra with possibly different definitional equalities.

def CompleteLattice.copy E1 #

{α : Type u} →
  (c : CompleteLattice α) →
    (le : α → α → Prop) →
      le = LE.le →
        (top : α) →
          top = ⊤ →
            (bot : α) →
              bot = ⊥ →
                (sup : α → α → α) →
                  sup = max →
                    (inf : α → α → α) →
                      inf = min →
                        (sSup : Set α → α) →
                          sSup = SupSet.sSup → (sInf : Set α → α) → sInf = InfSet.sInf → CompleteLattice α

A function to create a provable equal copy of a complete lattice with possibly different definitional equalities.

def Frame.copy E1 #

{α : Type u} →
  (c : Order.Frame α) →
    (le : α → α → Prop) →
      le = LE.le →
        (top : α) →
          top = ⊤ →
            (bot : α) →
              bot = ⊥ →
                (sup : α → α → α) →
                  sup = max →
                    (inf : α → α → α) →
                      inf = min →
                        (himp : α → α → α) →
                          himp = HImp.himp →
                            (compl : α → α) →
                              compl = Compl.compl →
                                (sSup : Set α → α) →
                                  sSup = SupSet.sSup → (sInf : Set α → α) → sInf = InfSet.sInf → Order.Frame α

A function to create a provable equal copy of a frame with possibly different definitional equalities.

def Coframe.copy E1 #

{α : Type u} →
  (c : Order.Coframe α) →
    (le : α → α → Prop) →
      le = LE.le →
        (top : α) →
          top = ⊤ →
            (bot : α) →
              bot = ⊥ →
                (sup : α → α → α) →
                  sup = max →
                    (inf : α → α → α) →
                      inf = min →
                        (sdiff : α → α → α) →
                          sdiff = SDiff.sdiff →
                            (hnot : α → α) →
                              hnot = HNot.hnot →
                                (sSup : Set α → α) →
                                  sSup = SupSet.sSup → (sInf : Set α → α) → sInf = InfSet.sInf → Order.Coframe α

A function to create a provable equal copy of a coframe with possibly different definitional equalities.

def CompleteDistribLattice.copy E1 #

{α : Type u} →
  (c : CompleteDistribLattice α) →
    (le : α → α → Prop) →
      le = LE.le →
        (top : α) →
          top = ⊤ →
            (bot : α) →
              bot = ⊥ →
                (sup : α → α → α) →
                  sup = max →
                    (inf : α → α → α) →
                      inf = min →
                        (sdiff : α → α → α) →
                          sdiff = SDiff.sdiff →
                            (hnot : α → α) →
                              hnot = HNot.hnot →
                                (himp : α → α → α) →
                                  himp = HImp.himp →
                                    (compl : α → α) →
                                      compl = Compl.compl →
                                        (sSup : Set α → α) →
                                          sSup = SupSet.sSup →
                                            (sInf : Set α → α) → sInf = InfSet.sInf → CompleteDistribLattice α

A function to create a provable equal copy of a complete distributive lattice with possibly different definitional equalities.

def ConditionallyCompleteLattice.copy E1 #

{α : Type u} →
  (c : ConditionallyCompleteLattice α) →
    (le : α → α → Prop) →
      le = LE.le →
        (sup : α → α → α) →
          sup = max →
            (inf : α → α → α) →
              inf = min →
                (sSup : Set α → α) →
                  sSup = SupSet.sSup → (sInf : Set α → α) → sInf = InfSet.sInf → ConditionallyCompleteLattice α

A function to create a provable equal copy of a conditionally complete lattice with possibly different definitional equalities.