/-
Copyright (c) 2022 Kim Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kim Morrison
-/
module
public import Mathlib.Algebra.Category.ModuleCat.Basic
public import Mathlib.LinearAlgebra.Span.Basic
/-!
# Tannaka duality for rings
A ring `R` is equivalent to
the endomorphisms of the additive forgetful functor `Module R ⥤ AddCommGroup`.
-/
@[expose] public section
universe u
open CategoryTheory
set_option backward.isDefEq.respectTransparency false in
attribute [local simp] add_smul mul_smul in
attribute [local ext] End.ext in
/-- An ingredient of Tannaka duality for rings:
A ring `R` is equivalent to
the endomorphisms of the additive forgetful functor `Module R ⥤ AddCommGroup`.
-/
def ringEquivEndForget₂ (R : Type u) [Ring R] :
R ≃+* End (AdditiveFunctor.of (forget₂ (ModuleCat.{u} R) AddCommGrpCat.{u})) where
toFun r :=
.of (ObjectProperty.homMk
{ app M := @AddCommGrpCat.ofHom M.carrier M.carrier _ _
(DistribSMul.toAddMonoidHom M r) })
invFun φ := φ.asHom.hom.app ↧R (1 : R)
left_inv _ := by simp
right_inv φ := by
ext M (x : M)
have w := CategoryTheory.congr_fun
(φ.asHom.hom.naturality (ModuleCat.ofHom (LinearMap.toSpanSingleton R M x))) (1 : R)
exact w.symm.trans congr(φ.asHom.hom.app M $(one_smul R x))
map_add' := by cat_disch
map_mul' := by cat_disch
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.30Angebot
¤
*Eine klare Vorstellung vom Zielzustand