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.Hom.GroupNorm

36 declarations. Mathlib docs · Source

Algebraic order homomorphism classes

This file defines hom classes for common properties at the intersection of order theory and algebra.

Typeclasses

Group norms

  • AddGroupSeminormClass: Homs are nonnegative, subadditive, even and preserve zero.
  • GroupSeminormClass: Homs are nonnegative, respect f (a * b) ≤ f a + f b, f a⁻¹ = f a and preserve zero.
  • AddGroupNormClass: Homs are seminorms such that f x = 0 → x = 0 for all x.
  • GroupNormClass: Homs are seminorms such that f x = 0 → x = 1 for all x.

Implementation notes

Typeclasses for seminorms are defined here while types of seminorms are defined in Analysis.Normed.Group.Seminorm and Analysis.Normed.Ring.Seminorm because absolute values are multiplicative ring norms but outside of this use we only consider real-valued seminorms.

TODO

Finitary versions of the current lemmas.

Group (semi)norms

class AddGroupSeminormClass E1 #

(F : Type u_4) →
  (α : outParam (Type u_5)) →
    (β : outParam (Type u_6)) → [AddGroup α] → [AddCommMonoid β] → [PartialOrder β] → [FunLike F α β] → Prop

AddGroupSeminormClass F α states that F is a type of β-valued seminorms on the additive group α.

You should extend this class when you extend AddGroupSeminorm.

ctor AddGroupSeminormClass.mk E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} [inst : AddGroup α] [inst_1 : AddCommMonoid β]
  [inst_2 : PartialOrder β] [inst_3 : FunLike F α β] [toSubadditiveHomClass : SubadditiveHomClass F α β],
  (∀ (f : F), f 0 = 0) → (∀ (f : F) (a : α), f (-a) = f a) → AddGroupSeminormClass F α β

instance AddGroupSeminormClass.toSubadditiveHomClass E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} {inst : AddGroup α} {inst_1 : AddCommMonoid β}
  {inst_2 : PartialOrder β} {inst_3 : FunLike F α β} [self : AddGroupSeminormClass F α β], SubadditiveHomClass F α β

theorem AddGroupSeminormClass.map_zero E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} {inst : AddGroup α} {inst_1 : AddCommMonoid β}
  {inst_2 : PartialOrder β} {inst_3 : FunLike F α β} [self : AddGroupSeminormClass F α β] (f : F), f 0 = 0

The image of zero is zero.

theorem AddGroupSeminormClass.map_neg_eq_map E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} {inst : AddGroup α} {inst_1 : AddCommMonoid β}
  {inst_2 : PartialOrder β} {inst_3 : FunLike F α β} [self : AddGroupSeminormClass F α β] (f : F) (a : α), f (-a) = f a

The map is invariant under negation of its argument.

class GroupSeminormClass E1 #

(F : Type u_4) →
  (α : outParam (Type u_5)) →
    (β : outParam (Type u_6)) → [Group α] → [AddCommMonoid β] → [PartialOrder β] → [FunLike F α β] → Prop

GroupSeminormClass F α states that F is a type of β-valued seminorms on the group α.

You should extend this class when you extend GroupSeminorm.

instance GroupSeminormClass.toMulLEAddHomClass E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} {inst : Group α} {inst_1 : AddCommMonoid β}
  {inst_2 : PartialOrder β} {inst_3 : FunLike F α β} [self : GroupSeminormClass F α β], MulLEAddHomClass F α β

ctor GroupSeminormClass.mk E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} [inst : Group α] [inst_1 : AddCommMonoid β]
  [inst_2 : PartialOrder β] [inst_3 : FunLike F α β] [toMulLEAddHomClass : MulLEAddHomClass F α β],
  (∀ (f : F), f 1 = 0) → (∀ (f : F) (a : α), f a⁻¹ = f a) → GroupSeminormClass F α β

theorem GroupSeminormClass.map_one_eq_zero E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} {inst : Group α} {inst_1 : AddCommMonoid β}
  {inst_2 : PartialOrder β} {inst_3 : FunLike F α β} [self : GroupSeminormClass F α β] (f : F), f 1 = 0

The image of one is zero.

theorem GroupSeminormClass.map_inv_eq_map E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} {inst : Group α} {inst_1 : AddCommMonoid β}
  {inst_2 : PartialOrder β} {inst_3 : FunLike F α β} [self : GroupSeminormClass F α β] (f : F) (a : α), f a⁻¹ = f a

The map is invariant under inversion of its argument.

class AddGroupNormClass E1 #

(F : Type u_4) →
  (α : outParam (Type u_5)) →
    (β : outParam (Type u_6)) → [AddGroup α] → [AddCommMonoid β] → [PartialOrder β] → [FunLike F α β] → Prop

AddGroupNormClass F α states that F is a type of β-valued norms on the additive group α.

You should extend this class when you extend AddGroupNorm.

instance AddGroupNormClass.toAddGroupSeminormClass E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} {inst : AddGroup α} {inst_1 : AddCommMonoid β}
  {inst_2 : PartialOrder β} {inst_3 : FunLike F α β} [self : AddGroupNormClass F α β], AddGroupSeminormClass F α β

ctor AddGroupNormClass.mk E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} [inst : AddGroup α] [inst_1 : AddCommMonoid β]
  [inst_2 : PartialOrder β] [inst_3 : FunLike F α β] [toAddGroupSeminormClass : AddGroupSeminormClass F α β],
  (∀ (f : F) {a : α}, f a = 0 → a = 0) → AddGroupNormClass F α β

class GroupNormClass E1 #

(F : Type u_4) →
  (α : outParam (Type u_5)) →
    (β : outParam (Type u_6)) → [Group α] → [AddCommMonoid β] → [PartialOrder β] → [FunLike F α β] → Prop

GroupNormClass F α states that F is a type of β-valued norms on the group α.

You should extend this class when you extend GroupNorm.

instance GroupNormClass.toGroupSeminormClass E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} {inst : Group α} {inst_1 : AddCommMonoid β}
  {inst_2 : PartialOrder β} {inst_3 : FunLike F α β} [self : GroupNormClass F α β], GroupSeminormClass F α β

ctor GroupNormClass.mk E0 #

∀ {F : Type u_4} {α : outParam (Type u_5)} {β : outParam (Type u_6)} [inst : Group α] [inst_1 : AddCommMonoid β]
  [inst_2 : PartialOrder β] [inst_3 : FunLike F α β] [toGroupSeminormClass : GroupSeminormClass F α β],
  (∀ (f : F) {a : α}, f a = 0 → a = 1) → GroupNormClass F α β

instance AddGroupSeminormClass.toZeroHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [AddGroupSeminormClass F α β], ZeroHomClass F α β

theorem map_div_le_add E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : Group α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [GroupSeminormClass F α β] (f : F) (x y : α), f (x / y) ≤ f x + f y

theorem map_sub_le_add E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [AddGroupSeminormClass F α β] (f : F) (x y : α), f (x - y) ≤ f x + f y

theorem map_sub_rev E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [AddGroupSeminormClass F α β] (f : F) (x y : α), f (x - y) = f (y - x)

theorem map_div_rev E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : Group α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [GroupSeminormClass F α β] (f : F) (x y : α), f (x / y) = f (y / x)

theorem map_inv_mul E0 #

∀ {F : Type u_1} {β : Type u_3} [inst : AddCommMonoid β] [inst_1 : PartialOrder β] (f : F) {α : Type u_4}
  [inst_2 : FunLike F α β] [inst_3 : CommGroup α] [GroupSeminormClass F α β] (x y : α), f (x⁻¹ * y) = f (x * y⁻¹)

theorem map_neg_add E0 #

∀ {F : Type u_1} {β : Type u_3} [inst : AddCommMonoid β] [inst_1 : PartialOrder β] (f : F) {α : Type u_4}
  [inst_2 : FunLike F α β] [inst_3 : AddCommGroup α] [AddGroupSeminormClass F α β] (x y : α), f (-x + y) = f (x + -y)

theorem le_map_add_map_div' E1 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : Group α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [GroupSeminormClass F α β] (f : F) (x y : α), f x ≤ f y + f (y / x)

theorem le_map_add_map_sub' E1 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [AddGroupSeminormClass F α β] (f : F) (x y : α), f x ≤ f y + f (y - x)

theorem abs_sub_map_le_div E1 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : Group α] [inst_2 : AddCommGroup β]
  [inst_3 : LinearOrder β] [IsOrderedAddMonoid β] [GroupSeminormClass F α β] (f : F) (x y : α), |f x - f y| ≤ f (x / y)

theorem abs_sub_map_le_sub E1 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommGroup β]
  [inst_3 : LinearOrder β] [IsOrderedAddMonoid β] [AddGroupSeminormClass F α β] (f : F) (x y : α),
  |f x - f y| ≤ f (x - y)

instance AddGroupSeminormClass.toNonnegHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommMonoid β]
  [inst_3 : LinearOrder β] [IsOrderedAddMonoid β] [AddGroupSeminormClass F α β], NonnegHomClass F α β

instance GroupSeminormClass.toNonnegHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : Group α] [inst_2 : AddCommMonoid β]
  [inst_3 : LinearOrder β] [IsOrderedAddMonoid β] [GroupSeminormClass F α β], NonnegHomClass F α β

theorem map_eq_zero_iff_eq_one E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : Group α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [GroupNormClass F α β] (f : F) {x : α}, f x = 0 ↔ x = 1

theorem map_eq_zero_iff_eq_zero E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [AddGroupNormClass F α β] (f : F) {x : α}, f x = 0 ↔ x = 0

theorem map_ne_zero_iff_ne_one E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : Group α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [GroupNormClass F α β] (f : F) {x : α}, f x ≠ 0 ↔ x ≠ 1

theorem map_ne_zero_iff_ne_zero E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommMonoid β]
  [inst_3 : PartialOrder β] [AddGroupNormClass F α β] (f : F) {x : α}, f x ≠ 0 ↔ x ≠ 0

theorem map_abs_eq_self E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommGroup β]
  [inst_3 : LinearOrder β] [IsOrderedAddMonoid β] [AddGroupSeminormClass F α β] (f : F) (x : α), |f x| = f x

theorem map_pos_of_ne_zero E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : AddGroup α] [inst_2 : AddCommMonoid β]
  [inst_3 : LinearOrder β] [IsOrderedAddMonoid β] [AddGroupNormClass F α β] (f : F) {x : α}, x ≠ 0 → 0 < f x

theorem map_pos_of_ne_one E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : Group α] [inst_2 : AddCommMonoid β]
  [inst_3 : LinearOrder β] [IsOrderedAddMonoid β] [GroupNormClass F α β] (f : F) {x : α}, x ≠ 1 → 0 < f x