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 mark them
@[reducible]
. See note [reducible non-instances].
Tags #
equiv, group, ring, field, module, algebra
Equations
- Equiv.instZeroShrink = Equiv.zero (equivShrink α).symm
Equations
- Equiv.instOneShrink = Equiv.one (equivShrink α).symm
Equations
- Equiv.instAddShrink = Equiv.add (equivShrink α).symm
Equations
- Equiv.instMulShrink = Equiv.mul (equivShrink α).symm
Equations
- Equiv.instSubShrink = Equiv.sub (equivShrink α).symm
Equations
- Equiv.instDivShrink = Equiv.div (equivShrink α).symm
Equations
- Equiv.instNegShrink = Equiv.Neg (equivShrink α).symm
Equations
- Equiv.instInvShrink = Equiv.Inv (equivShrink α).symm
Equations
- Equiv.instSMulShrink R = Equiv.smul (equivShrink α).symm R
Equations
- Equiv.instPowShrink N = Equiv.pow (equivShrink α).symm N
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
Instances For
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
Instances For
Shrink α
to a smaller universe preserves addition.
Equations
- Shrink.addEquiv = Equiv.addEquiv (equivShrink α).symm
Instances For
Shrink α
to a smaller universe preserves multiplication.
Equations
- Shrink.mulEquiv = Equiv.mulEquiv (equivShrink α).symm
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
- One or more equations did not get rendered due to their size.
Instances For
Shrink α
to a smaller universe preserves ring structure.
Equations
- Shrink.ringEquiv α = Equiv.ringEquiv (equivShrink α).symm
Instances For
Transfer add_semigroup
across an Equiv
Equations
- Equiv.addSemigroup e = let mul := Equiv.add e; Function.Injective.addSemigroup ⇑e (_ : Function.Injective ⇑e) (_ : ∀ (x y : α), e (e.symm (e x + e y)) = e x + e y)
Instances For
Transfer Semigroup
across an Equiv
Equations
- Equiv.semigroup e = let mul := Equiv.mul e; Function.Injective.semigroup ⇑e (_ : Function.Injective ⇑e) (_ : ∀ (x y : α), e (e.symm (e x * e y)) = e x * e y)
Instances For
Equations
- Equiv.instAddSemigroupShrink = Equiv.addSemigroup (equivShrink α).symm
Equations
- Equiv.instSemigroupShrink = Equiv.semigroup (equivShrink α).symm
Transfer SemigroupWithZero
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instAddSemigroupWithZeroShrink = Equiv.semigroupWithZero (equivShrink α).symm
Equations
- Equiv.instSemigroupWithZeroShrink = Equiv.semigroupWithZero (equivShrink α).symm
Transfer AddCommSemigroup
across an Equiv
Equations
- Equiv.addCommSemigroup e = let mul := Equiv.add e; Function.Injective.addCommSemigroup ⇑e (_ : Function.Injective ⇑e) (_ : ∀ (x y : α), e (e.symm (e x + e y)) = e x + e y)
Instances For
Transfer CommSemigroup
across an Equiv
Equations
- Equiv.commSemigroup e = let mul := Equiv.mul e; Function.Injective.commSemigroup ⇑e (_ : Function.Injective ⇑e) (_ : ∀ (x y : α), e (e.symm (e x * e y)) = e x * e y)
Instances For
Equations
- Equiv.instAddCommSemigroupShrink = Equiv.addCommSemigroup (equivShrink α).symm
Equations
- Equiv.instCommSemigroupShrink = Equiv.commSemigroup (equivShrink α).symm
Transfer MulZeroClass
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instAddZeroClassShrink = Equiv.mulZeroClass (equivShrink α).symm
Equations
- Equiv.instMulZeroClassShrink = Equiv.mulZeroClass (equivShrink α).symm
Transfer AddZeroClass
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Transfer MulOneClass
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instMulOneClassShrink = Equiv.mulOneClass (equivShrink α).symm
Transfer MulZeroOneClass
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instMulZeroOneClassShrink = Equiv.mulZeroOneClass (equivShrink α).symm
Equations
- Equiv.instAddMonoidShrink = Equiv.addMonoid (equivShrink α).symm
Equations
- Equiv.instMonoidShrink = Equiv.monoid (equivShrink α).symm
Transfer AddCommMonoid
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Transfer CommMonoid
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instAddCommMonoidShrink = Equiv.addCommMonoid (equivShrink α).symm
Equations
- Equiv.instCommMonoidShrink = Equiv.commMonoid (equivShrink α).symm
Equations
- Equiv.instAddGroupShrink = Equiv.addGroup (equivShrink α).symm
Equations
- Equiv.instGroupShrink = Equiv.group (equivShrink α).symm
Transfer AddCommGroup
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instAddCommGroupShrink = Equiv.addCommGroup (equivShrink α).symm
Equations
- Equiv.instCommGroupShrink = Equiv.commGroup (equivShrink α).symm
Transfer NonUnitalNonAssocSemiring
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instNonUnitalNonAssocSemiringShrink = Equiv.nonUnitalNonAssocSemiring (equivShrink α).symm
Transfer NonUnitalSemiring
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instNonUnitalSemiringShrink = Equiv.nonUnitalSemiring (equivShrink α).symm
Transfer AddMonoidWithOne
across an Equiv
Equations
- Equiv.addMonoidWithOne e = let src := Equiv.addMonoid e; let src_1 := Equiv.one e; AddMonoidWithOne.mk
Instances For
Equations
- Equiv.instAddMonoidWithOneShrink = Equiv.addMonoidWithOne (equivShrink α).symm
Transfer AddGroupWithOne
across an Equiv
Equations
- Equiv.addGroupWithOne e = let src := Equiv.addMonoidWithOne e; let src_1 := Equiv.addGroup e; AddGroupWithOne.mk SubNegMonoid.zsmul (_ : ∀ (a : α), -a + a = 0)
Instances For
Equations
- Equiv.instAddGroupWithOneShrink = Equiv.addGroupWithOne (equivShrink α).symm
Transfer NonAssocSemiring
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instNonAssocSemiringShrink = Equiv.nonAssocSemiring (equivShrink α).symm
Equations
- Equiv.instSemiringShrink = Equiv.semiring (equivShrink α).symm
Transfer NonUnitalCommSemiring
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instNonUnitalCommSemiringShrink = Equiv.nonUnitalCommSemiring (equivShrink α).symm
Transfer CommSemiring
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instCommSemiringShrink = Equiv.commSemiring (equivShrink α).symm
Transfer NonUnitalNonAssocRing
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instNonUnitalNonAssocRingShrink = Equiv.nonUnitalNonAssocRing (equivShrink α).symm
Transfer NonUnitalRing
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instNonUnitalRingShrink = Equiv.nonUnitalRing (equivShrink α).symm
Transfer NonAssocRing
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instNonAssocRingShrink = Equiv.nonAssocRing (equivShrink α).symm
Equations
- Equiv.instRingShrink = Equiv.ring (equivShrink α).symm
Transfer NonUnitalCommRing
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instNonUnitalCommRingShrink = Equiv.nonUnitalCommRing (equivShrink α).symm
Equations
- Equiv.instCommRingShrink = Equiv.commRing (equivShrink α).symm
Transfer Nontrivial
across an Equiv
Equations
- (_ : Nontrivial (Shrink.{v, u} α)) = (_ : Nontrivial (Shrink.{v, u} α))
Equations
- (_ : IsDomain (Shrink.{v, u} α)) = (_ : IsDomain (Shrink.{v, u} α))
Equations
- Equiv.instRatCastShrink = Equiv.RatCast (equivShrink α).symm
Transfer DivisionRing
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Equiv.instDivisionRingShrink = Equiv.divisionRing (equivShrink α).symm
Equations
- Equiv.instFieldShrink = Equiv.field (equivShrink α).symm
Equations
- Equiv.instMulActionShrink R = Equiv.mulAction R (equivShrink α).symm
Transfer DistribMulAction
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Transfer Module
across an Equiv
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
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
- One or more equations did not get rendered due to their size.
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
- One or more equations did not get rendered due to their size.
Instances For
Equations
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
- One or more equations did not get rendered due to their size.
Instances For
Shrink α
to a smaller universe preserves algebra structure.
Equations
- Shrink.algEquiv α R = Equiv.algEquiv R (equivShrink α).symm