Commit 2026-11-19 22:27 2cca941a
View on Github →refactor(Algebra/Algebra): add map_smul' field to AlgHom (#46255)
This PR adds a map_smul' field to AlgHom, for compatibility with NonUnitalAlgHom and (once we have #45954) AlgEquiv. map_smul' has a default value given in terms of commute' and map_mul'.
Most changes are where the anonymous constructor syntax for AlgHom is used: this does not support optional arguments. (Neither does writing AlgHom.mk!) The where and { } syntax does support optional arguments, so I generally moved from anonymous constructors to { } constructors.