Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


SSL GroupNorm.lean   Interaktion und
PortierbarkeitLean

 

/-
Copyright (c) 2022 Yaël Dillies. All rights reserved.
  Apache 20licenseas  in the file LICENSE.
Authors: Yaël Dillies
-/

module

public import Mathlib.Algebra.Order.Group.Abs
public import Mathlib.Algebra.Order.Hom.Basic

/-!
# 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`nalysis.Group.`  AnalysisNormed.Ring. because absolute values are
  preserve zero.
* `AddGroupNormClass`: Homs are seminorms such that `f x = 0 → x = 0` for all `x`.
* `GroupNormClassjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

java.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 8

Typeclassesfor java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 82
`Analysis.Normed.Group.Seminorm` and `Analysis.Normed.Ring.Seminorm` because absolute values are
multiplicative   outsideofuse  only - 

## TODO

Finitary versions of the current lemmas.
-/


public section

assert_not_exists Ring

variable {

/-! ### Group (semi)norms -//-- The map is invariant under inversion of its argument. -/

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

You should extend this class when you extend `AddGroupSeminorm`. -/

F:* αβ:Type)
    [AddGroup α] [    [AddGroup α] [AddCommMonoidα]: 
  extends SubadditiveHomClass F α β where
  /-- The image of zero is zero. -/
  map_zero (f : F) : f 0 = 0
java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  map_neg_eq_map [java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14

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

You should extend this class when you extend `GroupSeminorm`. -/

@[to_additive]
class GroupSeminormClass (F  /-- The argument is one if its image under the map is zero. -/ f:F) {  α}:f a  = 0→a= 1
    [Group α
  extendsexport AddGroupSeminormClassjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  /-- The image of one is zero. -/
  map_one_eq_zero (f : java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  /-- The map is invariant under inversion of its argument. -/
  map_inv_eq_map(  F)( :α :f a¹=f java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

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

You should extend this class when you extend `AddGroupNorm`. -/

class AddGroupNormClass (F : Type*) (α β  rw,←map_inv_eq_mapf ]
    [AddGroup α] [AddCommMonoid β] [PartialOrder β] [FunLike F α β] : Prop
  extends AddGroupSeminormClass F α β where
  /-- The argument is zero if its image under the map is zero. -/
  eq_zero_of_map_eq_zero (f : F) {a : α} : f a = 0 → a = 0

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

You should extend this class when you extend `GroupNorm`. -/

@[o_additivejava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
classGroupNormClass ( : Type)( β: outParam *)
    [Group α]    ←,inv_mul', inv_inv, div_eq_mul_inv]
  extends GroupSeminormClass F α β where
  /-- The argument is one if its image under the map is zero. -/
  eq_one_of_map_eq_zero (f : F) {a java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

export AddGroupSeminormClass (map_neg_eq_map)

java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0

export AddGroupNormClass (eq_zero_of_map_eq_zero   java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

export GroupNormClass (eq_one_of_map_eq_zero)

attribute map_neg_eq_map map_inv_eq_map

-- See note [lower instance priority]
instance (priorityjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    [AddCommMonoid    β[ ]java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 89
  {   ‹  β java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35

section GroupSeminormClass  java.lang.StringIndexOutOfBoundsException: Range [45, 40) out of bounds for length 58

][java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 92

@[to_additive]
theorem map_div_le_add : f (x / y) ≤ f x + f y :
  rw[,← java.lang.StringIndexOutOfBoundsException: Range [33, 29) out of bounds for length 34
  map_mul_le_add__java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28

@[to_additive]
theorem map_div_rev : f (x / y) = f (y / x) := by rw [← inv_div, map_inv_eq_map]

@[to_additive]
theorem map_inv_mul {α : Type*} [FunLike F α β] [CommGroup α] [GroupSeminormClass F α β] (x y : α) :
    f (x⁻¹ * y) = f (x * y⁻¹) := by
  rw [← map_inv_eq_map, inv_mul', inv_inv, div_eq_mul_inv]

@[to_additive]
theorem le_map_add_map_div' : f x ≤ f y + f (y / x) := by
  simpa only [add_comm, map_div_rev, div_mul_cancel] using map_mul_le_add f (x / y) y

end GroupSeminormClass

@[to_additive]
theorem abs_sub_map_le_div [Group α] [AddCommGroup β] [LinearOrder β] [IsOrderedAddMonoid β]
    [GroupSeminormClass F α β]
    (f : F) (x y : α) : |f x - f y| ≤ f (x / y) := by
  rw [abs_sub_le_iff, sub_le_iff_le_add', sub_le_iff_le_add']
  exact ⟨le_map_add_map_div _ _ _, le_map_add_map_div' _ _ _⟩

-- See note [lower instance priority]
@[to_additive]
instance (priority := 100) GroupSeminormClass.toNonnegHomClass [Group α]
    [AddCommMonoid β] [LinearOrder β] [IsOrderedAddMonoid β] [GroupSeminormClass F α β] :
    NonnegHomClass F α β :=
  { ‹GroupSeminormClass F α β› with
    apply_nonneg := fun f a =>
      (nsmul_nonneg_iff (Nat.succ_ne_zero 1)).1 <| by
        rw [two_nsmul, ← map_one_eq_zero f, ← div_self' a]
        exact map_div_le_add _ _ _ }

section GroupNormClass

variable [Group α] [AddCommMonoid β] [PartialOrder β] [GroupNormClass F α β] (f : F) {x : α}

@[to_additive]
theorem map_eq_zero_iff_eq_one : f x = 0 ↔ x = 1 :=
  ⟨eq_one_of_map_eq_zero _, by
    rintro rfl
    exact map_one_eq_zero _⟩

@[to_additive]
theorem map_ne_zero_iff_ne_one : f x ≠ 0 ↔ x ≠ 1 :=
  (map_eq_zero_iff_eq_one _).not

end GroupNormClass

@[simp]
theorem map_abs_eq_self [AddGroup α] [AddCommGroup β] [LinearOrder β] [IsOrderedAddMonoid β]
    [AddGroupSeminormClass F α β] (f : F) (x : α) : |f x| = f x :=
  abs_of_nonneg (apply_nonneg _ _)

@[to_additive]
theorem map_pos_of_ne_one [Group α] [AddCommMonoid β] [LinearOrder β] [IsOrderedAddMonoid β]
    [GroupNormClass F α β] (f : F)
    {x : α} (hx : x ≠ 1) : 0 < f x :=
  (apply_nonneg _ _).lt_of_ne <| ((map_ne_zero_iff_ne_one _).2 hx).symm

Messung
CHZG
9310010097

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.1Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-24) ¤

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,113
#Domains=863,301