Homomorphisms of R
-algebras #
This file defines bundled homomorphisms of R
-algebras.
Main definitions #
AlgHom R A B
: the type ofR
-algebra morphisms fromA
toB
.Algebra.ofId R A : R →ₐ[R] A
: the canonical map fromR
toA
, as anAlgHom
.
Notations #
A →ₐ[R] B
:R
-algebra homomorphism fromA
toB
.
Defining the homomorphism in the category R-Alg.
- toFun : A → B
- map_one' : self.toFun 1 = 1
- map_zero' : self.toFun 0 = 0
- commutes' : ∀ (r : R), self.toFun ((algebraMap R A) r) = (algebraMap R B) r
Instances For
Defining the homomorphism in the category R-Alg.
Equations
- «term_→ₐ_» = Lean.ParserDescr.trailingNode `term_→ₐ_ 25 26 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " →ₐ ") (Lean.ParserDescr.cat `term 25))
Instances For
Defining the homomorphism in the category R-Alg.
Equations
- One or more equations did not get rendered due to their size.
Instances For
AlgHomClass F R A B
asserts F
is a type of bundled algebra homomorphisms
from A
to B
.
- map_one : ∀ (f : F), f 1 = 1
- map_zero : ∀ (f : F), f 0 = 0
- commutes : ∀ (f : F) (r : R), f ((algebraMap R A) r) = (algebraMap R B) r
Instances
Equations
- ⋯ = ⋯
Turn an element of a type F
satisfying AlgHomClass F α β
into an actual
AlgHom
. This is declared as the default coercion from F
to α →+* β
.
Equations
- ↑f = let __spread.0 := ↑f; { toRingHom := { toMonoidHom := { toOneHom := { toFun := ⇑f, map_one' := ⋯ }, map_mul' := ⋯ }, map_zero' := ⋯, map_add' := ⋯ }, commutes' := ⋯ }
Instances For
Equations
- ⋯ = ⋯
See Note [custom simps projection]
Equations
- AlgHom.Simps.apply f = ⇑f
Instances For
If a RingHom
is R
-linear, then it is an AlgHom
.
Equations
- AlgHom.mk' f h = { toRingHom := { toMonoidHom := { toOneHom := { toFun := ⇑f, map_one' := ⋯ }, map_mul' := ⋯ }, map_zero' := ⋯, map_add' := ⋯ }, commutes' := ⋯ }
Instances For
Composition of algebra homeomorphisms.
Equations
- AlgHom.comp φ₁ φ₂ = let __src := RingHom.comp φ₁.toRingHom ↑φ₂; { toRingHom := __src, commutes' := ⋯ }
Instances For
Promote a LinearMap
to an AlgHom
by supplying proofs about the behavior on 1
and *
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reinterpret a RingHom
as an ℕ
-algebra homomorphism.
Equations
- RingHom.toNatAlgHom f = { toRingHom := { toMonoidHom := { toOneHom := { toFun := ⇑f, map_one' := ⋯ }, map_mul' := ⋯ }, map_zero' := ⋯, map_add' := ⋯ }, commutes' := ⋯ }
Instances For
Reinterpret a RingHom
as a ℚ
-algebra homomorphism. This actually yields an equivalence,
see RingHom.equivRatAlgHom
.
Equations
- RingHom.toRatAlgHom f = { toRingHom := f, commutes' := ⋯ }
Instances For
The equivalence between RingHom
and ℚ
-algebra homomorphisms.
Equations
- RingHom.equivRatAlgHom = { toFun := RingHom.toRatAlgHom, invFun := AlgHom.toRingHom, left_inv := ⋯, right_inv := ⋯ }
Instances For
AlgebraMap
as an AlgHom
.
Equations
- Algebra.ofId R A = let __src := algebraMap R A; { toRingHom := __src, commutes' := ⋯ }
Instances For
This is a special case of a more general instance that we define in a later file.
Equations
- ⋯ = ⋯
Each element of the monoid defines an algebra homomorphism.
This is a stronger version of MulSemiringAction.toRingHom
and
DistribMulAction.toLinearMap
.
Equations
- One or more equations did not get rendered due to their size.