Transfer algebraic structures across Equiv
s #
In this file we prove theorems of the following form: if β
has a
group structure and α ≃ β
then α
has a group structure, and
similarly for monoids, semigroups, rings, integral domains, fields and
so on.
Note that most of these constructions can also be obtained using the transport
tactic.
Implementation details #
When adding new definitions that transfer type-classes across an equivalence, please use
abbrev
. See note [reducible non-instances].
Tags #
equiv, group, ring, field, module, algebra
Equations
- Equiv.instOneShrink = (equivShrink α).symm.one
Equations
- Equiv.instZeroShrink = (equivShrink α).symm.zero
Equations
- Equiv.instMulShrink = (equivShrink α).symm.mul
Equations
- Equiv.instAddShrink = (equivShrink α).symm.add
Equations
- Equiv.instDivShrink = (equivShrink α).symm.div
Equations
- Equiv.instSubShrink = (equivShrink α).symm.sub
Equations
- Equiv.instInvShrink = (equivShrink α).symm.Inv
Equations
- Equiv.instNegShrink = (equivShrink α).symm.Neg
Equations
- Equiv.instSMulShrink R = (equivShrink α).symm.smul R
Equations
- Equiv.instPowShrink N = (equivShrink α).symm.pow N
An equivalence e : α ≃ β
gives a multiplicative equivalence α ≃* β
where
the multiplicative structure on α
is the one obtained by transporting a multiplicative structure
on β
back along e
.
Equations
- e.mulEquiv = { toEquiv := e, map_mul' := ⋯ }
Instances For
An equivalence e : α ≃ β
gives an additive equivalence α ≃+ β
where
the additive structure on α
is the one obtained by transporting an additive structure
on β
back along e
.
Equations
- e.addEquiv = { toEquiv := e, map_add' := ⋯ }
Instances For
Shrink α
to a smaller universe preserves multiplication.
Equations
- Shrink.mulEquiv = (equivShrink α).symm.mulEquiv
Instances For
Shrink α
to a smaller universe preserves addition.
Equations
- Shrink.addEquiv = (equivShrink α).symm.addEquiv
Instances For
An equivalence e : α ≃ β
gives a ring equivalence α ≃+* β
where the ring structure on α
is
the one obtained by transporting a ring structure on β
back along e
.
Equations
- e.ringEquiv = { toEquiv := e, map_mul' := ⋯, map_add' := ⋯ }
Instances For
Shrink α
to a smaller universe preserves ring structure.
Equations
- Shrink.ringEquiv α = (equivShrink α).symm.ringEquiv
Instances For
Transfer add_semigroup
across an Equiv
Equations
- e.addSemigroup = Function.Injective.addSemigroup ⇑e ⋯ ⋯
Instances For
Equations
- Equiv.instSemigroupShrink = (equivShrink α).symm.semigroup
Equations
- Equiv.instAddSemigroupShrink = (equivShrink α).symm.addSemigroup
Transfer SemigroupWithZero
across an Equiv
Equations
- e.semigroupWithZero = Function.Injective.semigroupWithZero ⇑e ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instSemigroupWithZeroShrink = (equivShrink α).symm.semigroupWithZero
Equations
- Equiv.instAddSemigroupWithZeroShrink = (equivShrink α).symm.semigroupWithZero
Transfer CommSemigroup
across an Equiv
Equations
- e.commSemigroup = Function.Injective.commSemigroup ⇑e ⋯ ⋯
Instances For
Transfer AddCommSemigroup
across an Equiv
Equations
- e.addCommSemigroup = Function.Injective.addCommSemigroup ⇑e ⋯ ⋯
Instances For
Equations
- Equiv.instCommSemigroupShrink = (equivShrink α).symm.commSemigroup
Equations
- Equiv.instAddCommSemigroupShrink = (equivShrink α).symm.addCommSemigroup
Transfer MulZeroClass
across an Equiv
Equations
- e.mulZeroClass = Function.Injective.mulZeroClass ⇑e ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instMulZeroClassShrink = (equivShrink α).symm.mulZeroClass
Transfer MulOneClass
across an Equiv
Equations
- e.mulOneClass = Function.Injective.mulOneClass ⇑e ⋯ ⋯ ⋯
Instances For
Transfer AddZeroClass
across an Equiv
Equations
- e.addZeroClass = Function.Injective.addZeroClass ⇑e ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instMulOneClassShrink = (equivShrink α).symm.mulOneClass
Equations
- Equiv.instAddZeroClassShrink = (equivShrink α).symm.addZeroClass
Transfer MulZeroOneClass
across an Equiv
Equations
- e.mulZeroOneClass = Function.Injective.mulZeroOneClass ⇑e ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instMulZeroOneClassShrink = (equivShrink α).symm.mulZeroOneClass
Equations
- Equiv.instMonoidShrink = (equivShrink α).symm.monoid
Equations
- Equiv.instAddMonoidShrink = (equivShrink α).symm.addMonoid
Transfer CommMonoid
across an Equiv
Equations
- e.commMonoid = Function.Injective.commMonoid ⇑e ⋯ ⋯ ⋯ ⋯
Instances For
Transfer AddCommMonoid
across an Equiv
Equations
- e.addCommMonoid = Function.Injective.addCommMonoid ⇑e ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instCommMonoidShrink = (equivShrink α).symm.commMonoid
Equations
- Equiv.instAddCommMonoidShrink = (equivShrink α).symm.addCommMonoid
Equations
- Equiv.instGroupShrink = (equivShrink α).symm.group
Equations
- Equiv.instAddGroupShrink = (equivShrink α).symm.addGroup
Transfer AddCommGroup
across an Equiv
Equations
- e.addCommGroup = Function.Injective.addCommGroup ⇑e ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instCommGroupShrink = (equivShrink α).symm.commGroup
Equations
- Equiv.instAddCommGroupShrink = (equivShrink α).symm.addCommGroup
Transfer NonUnitalNonAssocSemiring
across an Equiv
Equations
- e.nonUnitalNonAssocSemiring = Function.Injective.nonUnitalNonAssocSemiring ⇑e ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instNonUnitalNonAssocSemiringShrink = (equivShrink α).symm.nonUnitalNonAssocSemiring
Transfer NonUnitalSemiring
across an Equiv
Equations
- e.nonUnitalSemiring = Function.Injective.nonUnitalSemiring ⇑e ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instNonUnitalSemiringShrink = (equivShrink α).symm.nonUnitalSemiring
Transfer AddMonoidWithOne
across an Equiv
Equations
- e.addMonoidWithOne = AddMonoidWithOne.mk ⋯ ⋯
Instances For
Equations
- Equiv.instAddMonoidWithOneShrink = (equivShrink α).symm.addMonoidWithOne
Transfer AddGroupWithOne
across an Equiv
Equations
- e.addGroupWithOne = AddGroupWithOne.mk ⋯ SubNegMonoid.zsmul ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instAddGroupWithOneShrink = (equivShrink α).symm.addGroupWithOne
Transfer NonAssocSemiring
across an Equiv
Equations
- e.nonAssocSemiring = Function.Injective.nonAssocSemiring ⇑e ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instNonAssocSemiringShrink = (equivShrink α).symm.nonAssocSemiring
Equations
- Equiv.instSemiringShrink = (equivShrink α).symm.semiring
Transfer NonUnitalCommSemiring
across an Equiv
Equations
- e.nonUnitalCommSemiring = Function.Injective.nonUnitalCommSemiring ⇑e ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instNonUnitalCommSemiringShrink = (equivShrink α).symm.nonUnitalCommSemiring
Transfer CommSemiring
across an Equiv
Equations
- e.commSemiring = Function.Injective.commSemiring ⇑e ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instCommSemiringShrink = (equivShrink α).symm.commSemiring
Transfer NonUnitalNonAssocRing
across an Equiv
Equations
- e.nonUnitalNonAssocRing = Function.Injective.nonUnitalNonAssocRing ⇑e ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instNonUnitalNonAssocRingShrink = (equivShrink α).symm.nonUnitalNonAssocRing
Transfer NonUnitalRing
across an Equiv
Equations
- e.nonUnitalRing = Function.Injective.nonUnitalRing ⇑e ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instNonUnitalRingShrink = (equivShrink α).symm.nonUnitalRing
Transfer NonAssocRing
across an Equiv
Equations
- e.nonAssocRing = Function.Injective.nonAssocRing ⇑e ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instNonAssocRingShrink = (equivShrink α).symm.nonAssocRing
Equations
- Equiv.instRingShrink = (equivShrink α).symm.ring
Transfer NonUnitalCommRing
across an Equiv
Equations
- e.nonUnitalCommRing = Function.Injective.nonUnitalCommRing ⇑e ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instNonUnitalCommRingShrink = (equivShrink α).symm.nonUnitalCommRing
Equations
- Equiv.instCommRingShrink = (equivShrink α).symm.commRing
Transfer Nontrivial
across an Equiv
Equations
- Shrink.instNNRatCast = (equivShrink α).symm.nnratCast
Equations
- Shrink.instRatCast = (equivShrink α).symm.ratCast
Transfer DivisionRing
across an Equiv
Equations
- e.divisionRing = Function.Injective.divisionRing ⇑e ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Equations
- Equiv.instDivisionRingShrink = (equivShrink α).symm.divisionRing
Equations
- Equiv.instFieldShrink = (equivShrink α).symm.field
Transfer MulAction
across an Equiv
Equations
- Equiv.mulAction R e = MulAction.mk ⋯ ⋯
Instances For
Equations
- Equiv.instMulActionShrink R = Equiv.mulAction R (equivShrink α).symm
Transfer DistribMulAction
across an Equiv
Equations
Instances For
Equations
Transfer Module
across an Equiv
Equations
- @Equiv.module α β R inst✝¹ e inst✝ = fun [Module R β] => let __src := Equiv.distribMulAction R e; Module.mk ⋯ ⋯
Instances For
Equations
- Equiv.instModuleShrink R = Equiv.module R (equivShrink α).symm
An equivalence e : α ≃ β
gives a linear equivalence α ≃ₗ[R] β
where the R
-module structure on α
is
the one obtained by transporting an R
-module structure on β
back along e
.
Equations
- Equiv.linearEquiv R e = { toFun := e.addEquiv.toFun, map_add' := ⋯, map_smul' := ⋯, invFun := e.addEquiv.invFun, left_inv := ⋯, right_inv := ⋯ }
Instances For
Shrink α
to a smaller universe preserves module structure.
Equations
- Shrink.linearEquiv α R = Equiv.linearEquiv R (equivShrink α).symm
Instances For
Transfer Algebra
across an Equiv
Equations
- @Equiv.algebra α β R inst✝¹ e inst✝ = fun [Algebra R β] => Algebra.ofModule ⋯ ⋯
Instances For
Equations
- Equiv.instAlgebraShrink R = Equiv.algebra R (equivShrink α).symm
An equivalence e : α ≃ β
gives an algebra equivalence α ≃ₐ[R] β
where the R
-algebra structure on α
is
the one obtained by transporting an R
-algebra structure on β
back along e
.
Equations
- Equiv.algEquiv R e = { toEquiv := e.ringEquiv.toEquiv, map_mul' := ⋯, map_add' := ⋯, commutes' := ⋯ }
Instances For
Shrink α
to a smaller universe preserves algebra structure.
Equations
- Shrink.algEquiv α R = Equiv.algEquiv R (equivShrink α).symm
Instances For
Transport a module instance via an isomorphism of the underlying abelian groups.
This has better definitional properties than Equiv.module
since here
the abelian group structure remains unmodified.
Equations
- AddEquiv.module A e = Module.mk ⋯ ⋯
Instances For
The module instance from AddEquiv.module
is compatible with the R
-module structures,
if the AddEquiv
is induced by an R
-module isomorphism.