The R-algebra structure on families of R-algebras #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
The R-algebra structure on Π i : I, A i when each A i is an R-algebra.
Main defintions #
Equations
- pi.algebra I f = {to_has_smul := pi.has_smul (λ (i : I), smul_zero_class.to_has_smul), to_ring_hom := {to_fun := (pi.ring_hom (λ (i : I), algebra_map R (f i))).to_fun, map_one' := _, map_mul' := _, map_zero' := _, map_add' := _}, commutes' := _, smul_def' := _}
function.eval as an alg_hom. The name matches pi.eval_ring_hom, pi.eval_monoid_hom,
etc.
function.const as an alg_hom. The name matches pi.const_ring_hom, pi.const_monoid_hom,
etc.
Equations
- pi.const_alg_hom R A B = {to_fun := function.const A, map_one' := _, map_mul' := _, map_zero' := _, map_add' := _, commutes' := _}
When R is commutative and permits an algebra_map, pi.const_ring_hom is equal to that
map.
A special case of pi.algebra for non-dependent types. Lean struggles to elaborate
definitions elsewhere in the library without this,
Equations
- function.algebra I A = pi.algebra I (λ (ᾰ : I), A)
R-algebra homomorphism between the function spaces I → A and I → B, induced by an
R-algebra homomorphism f between A and B.
A family of algebra equivalences Π j, (A₁ j ≃ₐ A₂ j) generates a
multiplicative equivalence between Π j, A₁ j and Π j, A₂ j.
This is the alg_equiv version of equiv.Pi_congr_right, and the dependent version of
alg_equiv.arrow_congr.