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.Group.End

30 declarations. Mathlib docs · Source

Relation isomorphisms form a group

This file contains Monoid instances for RelHom and OrderHom, where multiplication is given by composition. Likewise there is a Group instance for RelIso. Because OrderIso is an abbreviation for RelIso, there is no need for an additional instance.

TODO

  • Rename the mul_def/one_def lemmas to mul_eq_comp/one_eq_id.
  • Use the IsMulApplyEqComp and IsOneApplyEqSelf classes for RelHom and RelIso.

instance RelHom.instMonoid E0 #

{α : Type u_1} → {r : α → α → Prop} → Monoid (r →r r)

theorem RelHom.one_def E0 #

∀ {α : Type u_1} {r : α → α → Prop}, 1 = RelHom.id r

theorem RelHom.mul_def E0 #

∀ {α : Type u_1} {r : α → α → Prop} (f g : r →r r), f * g = f.comp g

theorem RelHom.coe_one E0 #

∀ {α : Type u_1} {r : α → α → Prop}, ⇑1 = id

theorem RelHom.coe_mul E0 #

∀ {α : Type u_1} {r : α → α → Prop} (f g : r →r r), ⇑(f * g) = ⇑f ∘ ⇑g

theorem RelHom.one_apply E0 #

∀ {α : Type u_1} {r : α → α → Prop} (a : α), 1 a = a

theorem RelHom.mul_apply E0 #

∀ {α : Type u_1} {r : α → α → Prop} (e₁ e₂ : r →r r) (x : α), (e₁ * e₂) x = e₁ (e₂ x)

instance RelEmbedding.instMonoid E0 #

{α : Type u_1} → {r : α → α → Prop} → Monoid (r ↪r r)

theorem RelEmbedding.one_def E0 #

∀ {α : Type u_1} {r : α → α → Prop}, 1 = RelEmbedding.refl r

theorem RelEmbedding.mul_def E0 #

∀ {α : Type u_1} {r : α → α → Prop} (f g : r ↪r r), f * g = g.trans f

theorem RelEmbedding.coe_one E0 #

∀ {α : Type u_1} {r : α → α → Prop}, ⇑1 = id

theorem RelEmbedding.coe_mul E0 #

∀ {α : Type u_1} {r : α → α → Prop} (f g : r ↪r r), ⇑(f * g) = ⇑f ∘ ⇑g

theorem RelEmbedding.one_apply E0 #

∀ {α : Type u_1} {r : α → α → Prop} (a : α), 1 a = a

theorem RelEmbedding.mul_apply E0 #

∀ {α : Type u_1} {r : α → α → Prop} (e₁ e₂ : r ↪r r) (x : α), (e₁ * e₂) x = e₁ (e₂ x)

instance RelIso.instGroup E0 #

{α : Type u_1} → {r : α → α → Prop} → Group (r ≃r r)

theorem RelIso.one_def E0 #

∀ {α : Type u_1} {r : α → α → Prop}, 1 = RelIso.refl r

theorem RelIso.mul_def E0 #

∀ {α : Type u_1} {r : α → α → Prop} (f g : r ≃r r), f * g = g.trans f

theorem RelIso.coe_one E0 #

∀ {α : Type u_1} {r : α → α → Prop}, ⇑1 = id

theorem RelIso.coe_mul E0 #

∀ {α : Type u_1} {r : α → α → Prop} (e₁ e₂ : r ≃r r), ⇑(e₁ * e₂) = ⇑e₁ ∘ ⇑e₂

theorem RelIso.one_apply E0 #

∀ {α : Type u_1} {r : α → α → Prop} (x : α), 1 x = x

theorem RelIso.mul_apply E0 #

∀ {α : Type u_1} {r : α → α → Prop} (e₁ e₂ : r ≃r r) (x : α), (e₁ * e₂) x = e₁ (e₂ x)

theorem RelIso.inv_apply_self E0 #

∀ {α : Type u_1} {r : α → α → Prop} (e : r ≃r r) (x : α), e⁻¹ (e x) = x

theorem RelIso.apply_inv_self E0 #

∀ {α : Type u_1} {r : α → α → Prop} (e : r ≃r r) (x : α), e (e⁻¹ x) = x

instance OrderHom.instMul E0 #

{α : Type u_1} → [inst : Preorder α] → Mul (α →o α)

instance OrderHom.instOne E0 #

{α : Type u_1} → [inst : Preorder α] → One (α →o α)

instance OrderHom.instIsMulApplyEqComp E0 #

∀ {α : Type u_1} [inst : Preorder α], IsMulApplyEqComp (α →o α)

instance OrderHom.instIsOneApplyEqSelf E0 #

∀ {α : Type u_1} [inst : Preorder α], IsOneApplyEqSelf (α →o α)

theorem OrderHom.mul_eq_comp E1 #

∀ {α : Type u_1} [inst : Preorder α] (f g : α →o α), f * g = f.comp g

theorem OrderHom.one_eq_id E1 #

∀ {α : Type u_1} [inst : Preorder α], 1 = OrderHom.id

instance OrderHom.instMonoid E0 #

{α : Type u_1} → [inst : Preorder α] → Monoid (α →o α)