The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Ring.InjSurj
49 declarations. Mathlib docs · Source
Pulling back rings along injective maps, and pushing them forward along surjective maps
Implementation notes
The nsmul and zsmul assumptions on any transfer definition for an algebraic structure involving
both addition and multiplication (e.g. AddMonoidWithOne) is ∀ n x, f (n • x) = n • f x, which is
what we would expect.
However, we cannot do the same for transfer definitions built using to_additive (e.g. AddMonoid)
as we want the multiplicative versions to be ∀ x n, f (x ^ n) = f x ^ n.
As a result, we must use Function.swap when using additivised transfer definitions in
non-additivised ones.
theorem Function.Injective.leftDistribClass E1 #
∀ {R : Type u_1} {S : Type u_2} (f : S → R),
Function.Injective f →
∀ [inst : Add S] [inst_1 : Mul S] [inst_2 : Mul R] [inst_3 : Add R] [LeftDistribClass R],
(∀ (x y : S), f (x + y) = f x + f y) → (∀ (x y : S), f (x * y) = f x * f y) → LeftDistribClass S
Pullback a LeftDistribClass instance along an injective function.
theorem Function.Injective.rightDistribClass E1 #
∀ {R : Type u_1} {S : Type u_2} (f : S → R),
Function.Injective f →
∀ [inst : Add S] [inst_1 : Mul S] [inst_2 : Mul R] [inst_3 : Add R] [RightDistribClass R],
(∀ (x y : S), f (x + y) = f x + f y) → (∀ (x y : S), f (x * y) = f x * f y) → RightDistribClass S
Pullback a RightDistribClass instance along an injective function.
abbrev Function.Injective.distrib E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Distrib R] →
(∀ (x y : S), f (x + y) = f x + f y) → (∀ (x y : S), f (x * y) = f x * f y) → Distrib S
Pullback a Distrib instance along an injective function.
abbrev Function.Injective.hasDistribNeg E1 #
{R : Type u_1} →
{S : Type u_2} →
[inst : Mul S] →
[inst_1 : Neg S] →
(f : S → R) →
Function.Injective f →
[inst_2 : Mul R] →
[inst_3 : HasDistribNeg R] →
(∀ (a : S), f (-a) = -f a) → (∀ (a b : S), f (a * b) = f a * f b) → HasDistribNeg S
A type endowed with - and * has distributive negation, if it admits an injective map that
preserves - and * to a type which has distributive negation.
abbrev Function.Injective.addMonoidWithOne E1 #
{R : Type u_1} →
{S : Type u_2} →
[inst : Add S] →
[inst_1 : Zero S] →
[inst_2 : One S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NatCast S] →
[inst_5 : AddMonoidWithOne R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) → (∀ (n : ℕ), f ↑n = ↑n) → AddMonoidWithOne S
A type endowed with 0, 1 and + is an additive monoid with one,
if it admits an injective map that preserves 0, 1 and + to an additive monoid with one.
See note [reducible non-instances].
abbrev Function.Injective.addCommMonoidWithOne E1 #
{R : Type u_1} →
{S : Type u_3} →
[inst : Zero S] →
[inst_1 : One S] →
[inst_2 : Add S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NatCast S] →
[inst_5 : AddCommMonoidWithOne R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) → (∀ (n : ℕ), f ↑n = ↑n) → AddCommMonoidWithOne S
A type endowed with 0, 1 and + is an additive commutative monoid with one, if it admits an
injective map that preserves 0, 1 and + to an additive commutative monoid with one.
See note [reducible non-instances].
abbrev Function.Injective.addGroupWithOne E1 #
{R : Type u_1} →
{S : Type u_3} →
[inst : Zero S] →
[inst_1 : One S] →
[inst_2 : Add S] →
[inst_3 : SMul ℕ S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NatCast S] →
[inst_8 : IntCast S] →
[inst_9 : AddGroupWithOne R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → AddGroupWithOne S
A type endowed with 0, 1 and + is an additive group with one, if it admits an injective
map that preserves 0, 1 and + to an additive group with one. See note
[reducible non-instances].
abbrev Function.Injective.addCommGroupWithOne E1 #
{R : Type u_1} →
{S : Type u_3} →
[inst : Zero S] →
[inst_1 : One S] →
[inst_2 : Add S] →
[inst_3 : SMul ℕ S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NatCast S] →
[inst_8 : IntCast S] →
[inst_9 : AddCommGroupWithOne R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → AddCommGroupWithOne S
A type endowed with 0, 1 and + is an additive commutative group with one, if it admits an
injective map that preserves 0, 1 and + to an additive commutative group with one.
See note [reducible non-instances].
abbrev Function.Injective.nonUnitalNonAssocSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NonUnitalNonAssocSemiring R] →
f 0 = 0 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) → NonUnitalNonAssocSemiring S
Pullback a NonUnitalNonAssocSemiring instance along an injective function.
abbrev Function.Injective.nonUnitalSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NonUnitalSemiring R] →
f 0 = 0 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) → NonUnitalSemiring S
Pullback a NonUnitalSemiring instance along an injective function.
abbrev Function.Injective.nonAssocSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : SMul ℕ S] →
[inst_5 : NatCast S] →
[inst_6 : NonAssocSemiring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) → (∀ (n : ℕ), f ↑n = ↑n) → NonAssocSemiring S
Pullback a NonAssocSemiring instance along an injective function.
abbrev Function.Injective.semiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : SMul ℕ S] →
[inst_5 : Pow S ℕ] →
[inst_6 : NatCast S] →
[inst_7 : Semiring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (x : S) (n : ℕ), f (x ^ n) = f x ^ n) → (∀ (n : ℕ), f ↑n = ↑n) → Semiring S
Pullback a Semiring instance along an injective function.
abbrev Function.Injective.nonUnitalNonAssocRing E1 #
{R : Type u_1} →
{S : Type u_2} →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NonUnitalNonAssocRing R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) → NonUnitalNonAssocRing S
Pullback a NonUnitalNonAssocRing instance along an injective function.
abbrev Function.Injective.nonUnitalRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NonUnitalRing R] →
f 0 = 0 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) → NonUnitalRing S
Pullback a NonUnitalRing instance along an injective function.
abbrev Function.Injective.nonAssocRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℕ S] →
[inst_7 : SMul ℤ S] →
[inst_8 : NatCast S] →
[inst_9 : IntCast S] →
[inst_10 : NonAssocRing R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → NonAssocRing S
Pullback a NonAssocRing instance along an injective function.
abbrev Function.Injective.ring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℕ S] →
[inst_7 : SMul ℤ S] →
[inst_8 : Pow S ℕ] →
[inst_9 : NatCast S] →
[inst_10 : IntCast S] →
[inst_11 : Ring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) →
(∀ (x : S) (n : ℕ), f (x ^ n) = f x ^ n) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → Ring S
Pullback a Ring instance along an injective function.
abbrev Function.Injective.nonUnitalNonAssocCommSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NonUnitalNonAssocCommSemiring R] →
f 0 = 0 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) → NonUnitalNonAssocCommSemiring S
Pullback a NonUnitalNonAssocCommSemiring instance along an injective function.
abbrev Function.Injective.nonUnitalCommSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NonUnitalCommSemiring R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) → NonUnitalCommSemiring S
Pullback a NonUnitalCommSemiring instance along an injective function.
abbrev Function.Injective.nonAssocCommSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : SMul ℕ S] →
[inst_5 : NatCast S] →
[inst_6 : NonAssocCommSemiring R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) → (∀ (n : ℕ), f ↑n = ↑n) → NonAssocCommSemiring S
Pullback a NonAssocCommSemiring instance along an injective function.
abbrev Function.Injective.commSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : SMul ℕ S] →
[inst_5 : Pow S ℕ] →
[inst_6 : NatCast S] →
[inst_7 : CommSemiring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (x : S) (n : ℕ), f (x ^ n) = f x ^ n) → (∀ (n : ℕ), f ↑n = ↑n) → CommSemiring S
Pullback a CommSemiring instance along an injective function.
abbrev Function.Injective.nonUnitalNonAssocCommRing E1 #
{R : Type u_1} →
{S : Type u_2} →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NonUnitalNonAssocCommRing R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) → NonUnitalNonAssocCommRing S
Pullback a NonUnitalNonAssocCommRing instance along an injective function.
abbrev Function.Injective.nonUnitalCommRing E1 #
{R : Type u_1} →
{S : Type u_2} →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NonUnitalCommRing R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) → NonUnitalCommRing S
Pullback a NonUnitalCommRing instance along an injective function.
abbrev Function.Injective.nonAssocCommRing E1 #
{R : Type u_1} →
{S : Type u_2} →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℕ S] →
[inst_7 : SMul ℤ S] →
[inst_8 : NatCast S] →
[inst_9 : IntCast S] →
[inst_10 : NonAssocCommRing R] →
(f : S → R) →
Function.Injective f →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → NonAssocCommRing S
Pullback a NonAssocCommRing instance along an injective function.
abbrev Function.Injective.commRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : S → R) →
Function.Injective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℕ S] →
[inst_7 : SMul ℤ S] →
[inst_8 : Pow S ℕ] →
[inst_9 : NatCast S] →
[inst_10 : IntCast S] →
[inst_11 : CommRing R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : S), f (x + y) = f x + f y) →
(∀ (x y : S), f (x * y) = f x * f y) →
(∀ (x : S), f (-x) = -f x) →
(∀ (x y : S), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : S), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : S), f (n • x) = n • f x) →
(∀ (x : S) (n : ℕ), f (x ^ n) = f x ^ n) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → CommRing S
Pullback a CommRing instance along an injective function.
theorem Function.Surjective.leftDistribClass E1 #
∀ {R : Type u_1} {S : Type u_2} (f : R → S),
Function.Surjective f →
∀ [inst : Add S] [inst_1 : Mul S] [inst_2 : Mul R] [inst_3 : Add R] [LeftDistribClass R],
(∀ (x y : R), f (x + y) = f x + f y) → (∀ (x y : R), f (x * y) = f x * f y) → LeftDistribClass S
Pushforward a LeftDistribClass instance along a surjective function.
theorem Function.Surjective.rightDistribClass E1 #
∀ {R : Type u_1} {S : Type u_2} (f : R → S),
Function.Surjective f →
∀ [inst : Add S] [inst_1 : Mul S] [inst_2 : Mul R] [inst_3 : Add R] [RightDistribClass R],
(∀ (x y : R), f (x + y) = f x + f y) → (∀ (x y : R), f (x * y) = f x * f y) → RightDistribClass S
Pushforward a RightDistribClass instance along a surjective function.
abbrev Function.Surjective.distrib E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Distrib R] →
(∀ (x y : R), f (x + y) = f x + f y) → (∀ (x y : R), f (x * y) = f x * f y) → Distrib S
Pushforward a Distrib instance along a surjective function.
abbrev Function.Surjective.hasDistribNeg E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Mul S] →
[inst_1 : Neg S] →
[inst_2 : Mul R] →
[inst_3 : HasDistribNeg R] →
(∀ (a : R), f (-a) = -f a) → (∀ (a b : R), f (a * b) = f a * f b) → HasDistribNeg S
A type endowed with - and * has distributive negation, if it admits a surjective map that
preserves - and * from a type which has distributive negation.
abbrev Function.Surjective.addMonoidWithOne E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Zero S] →
[inst_2 : One S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NatCast S] →
[inst_5 : AddMonoidWithOne R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) → (∀ (n : ℕ), f ↑n = ↑n) → AddMonoidWithOne S
A type endowed with 0, 1 and + is an additive monoid with one, if it admits a surjective
map that preserves 0, 1 and * from an additive monoid with one. See note
[reducible non-instances].
abbrev Function.Surjective.addCommMonoidWithOne E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Zero S] →
[inst_2 : One S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NatCast S] →
[inst_5 : AddCommMonoidWithOne R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) → (∀ (n : ℕ), f ↑n = ↑n) → AddCommMonoidWithOne S
A type endowed with 0, 1 and + is an additive monoid with one,
if it admits a surjective map that preserves 0, 1 and * from an additive monoid with one.
See note [reducible non-instances].
abbrev Function.Surjective.addGroupWithOne E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Zero S] →
[inst_2 : One S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NatCast S] →
[inst_8 : IntCast S] →
[inst_9 : AddGroupWithOne R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → AddGroupWithOne S
A type endowed with 0, 1, + is an additive group with one,
if it admits a surjective map that preserves 0, 1, and + to an additive group with one.
See note [reducible non-instances].
abbrev Function.Surjective.addCommGroupWithOne E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Zero S] →
[inst_2 : One S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NatCast S] →
[inst_8 : IntCast S] →
[inst_9 : AddCommGroupWithOne R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → AddCommGroupWithOne S
A type endowed with 0, 1, + is an additive commutative group with one, if it admits a
surjective map that preserves 0, 1, and + to an additive commutative group with one.
See note [reducible non-instances].
abbrev Function.Surjective.nonUnitalNonAssocSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NonUnitalNonAssocSemiring R] →
f 0 = 0 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) → NonUnitalNonAssocSemiring S
Pushforward a NonUnitalNonAssocSemiring instance along a surjective function.
See note [reducible non-instances].
abbrev Function.Surjective.nonUnitalSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NonUnitalSemiring R] →
f 0 = 0 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) → NonUnitalSemiring S
Pushforward a NonUnitalSemiring instance along a surjective function.
abbrev Function.Surjective.nonAssocSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : SMul ℕ S] →
[inst_5 : NatCast S] →
[inst_6 : NonAssocSemiring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) → (∀ (n : ℕ), f ↑n = ↑n) → NonAssocSemiring S
Pushforward a NonAssocSemiring instance along a surjective function.
abbrev Function.Surjective.semiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : SMul ℕ S] →
[inst_5 : Pow S ℕ] →
[inst_6 : NatCast S] →
[inst_7 : Semiring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (x : R) (n : ℕ), f (x ^ n) = f x ^ n) → (∀ (n : ℕ), f ↑n = ↑n) → Semiring S
Pushforward a Semiring instance along a surjective function.
abbrev Function.Surjective.nonUnitalNonAssocRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NonUnitalNonAssocRing R] →
f 0 = 0 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) → NonUnitalNonAssocRing S
Pushforward a NonUnitalNonAssocRing instance along a surjective function.
abbrev Function.Surjective.nonUnitalRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NonUnitalRing R] →
f 0 = 0 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) → NonUnitalRing S
Pushforward a NonUnitalRing instance along a surjective function.
abbrev Function.Surjective.nonAssocRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℕ S] →
[inst_7 : SMul ℤ S] →
[inst_8 : NatCast S] →
[inst_9 : IntCast S] →
[inst_10 : NonAssocRing R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → NonAssocRing S
Pushforward a NonAssocRing instance along a surjective function.
abbrev Function.Surjective.ring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℕ S] →
[inst_7 : SMul ℤ S] →
[inst_8 : Pow S ℕ] →
[inst_9 : NatCast S] →
[inst_10 : IntCast S] →
[inst_11 : Ring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) →
(∀ (x : R) (n : ℕ), f (x ^ n) = f x ^ n) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → Ring S
Pushforward a Ring instance along a surjective function.
abbrev Function.Surjective.nonUnitalNonAssocCommSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NonUnitalNonAssocCommSemiring R] →
f 0 = 0 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) → NonUnitalNonAssocCommSemiring S
Pushforward a NonUnitalNonAssocCommSemiring instance along a surjective function.
abbrev Function.Surjective.nonUnitalCommSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : SMul ℕ S] →
[inst_4 : NonUnitalCommSemiring R] →
f 0 = 0 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) → NonUnitalCommSemiring S
Pushforward a NonUnitalCommSemiring instance along a surjective function.
abbrev Function.Surjective.nonAssocCommSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : SMul ℕ S] →
[inst_5 : NatCast S] →
[inst_6 : NonAssocCommSemiring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) → (∀ (n : ℕ), f ↑n = ↑n) → NonAssocCommSemiring S
Pushforward a NonAssocCommSemiring instance along a surjective function.
abbrev Function.Surjective.commSemiring E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : SMul ℕ S] →
[inst_5 : Pow S ℕ] →
[inst_6 : NatCast S] →
[inst_7 : CommSemiring R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (x : R) (n : ℕ), f (x ^ n) = f x ^ n) → (∀ (n : ℕ), f ↑n = ↑n) → CommSemiring S
Pushforward a CommSemiring instance along a surjective function.
abbrev Function.Surjective.nonUnitalNonAssocCommRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NonUnitalNonAssocCommRing R] →
f 0 = 0 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) → NonUnitalNonAssocCommRing S
Pushforward a NonUnitalNonAssocCommRing instance along a surjective function.
abbrev Function.Surjective.nonUnitalCommRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : Neg S] →
[inst_4 : Sub S] →
[inst_5 : SMul ℕ S] →
[inst_6 : SMul ℤ S] →
[inst_7 : NonUnitalCommRing R] →
f 0 = 0 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) → NonUnitalCommRing S
Pushforward a NonUnitalCommRing instance along a surjective function.
abbrev Function.Surjective.nonAssocCommRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℕ S] →
[inst_7 : SMul ℤ S] →
[inst_8 : NatCast S] →
[inst_9 : IntCast S] →
[inst_10 : NonAssocCommRing R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → NonAssocCommRing S
Pushforward a NonAssocCommRing instance along a surjective function.
abbrev Function.Surjective.commRing E1 #
{R : Type u_1} →
{S : Type u_2} →
(f : R → S) →
Function.Surjective f →
[inst : Add S] →
[inst_1 : Mul S] →
[inst_2 : Zero S] →
[inst_3 : One S] →
[inst_4 : Neg S] →
[inst_5 : Sub S] →
[inst_6 : SMul ℕ S] →
[inst_7 : SMul ℤ S] →
[inst_8 : Pow S ℕ] →
[inst_9 : NatCast S] →
[inst_10 : IntCast S] →
[inst_11 : CommRing R] →
f 0 = 0 →
f 1 = 1 →
(∀ (x y : R), f (x + y) = f x + f y) →
(∀ (x y : R), f (x * y) = f x * f y) →
(∀ (x : R), f (-x) = -f x) →
(∀ (x y : R), f (x - y) = f x - f y) →
(∀ (n : ℕ) (x : R), f (n • x) = n • f x) →
(∀ (n : ℤ) (x : R), f (n • x) = n • f x) →
(∀ (x : R) (n : ℕ), f (x ^ n) = f x ^ n) →
(∀ (n : ℕ), f ↑n = ↑n) → (∀ (n : ℤ), f ↑n = ↑n) → CommRing S
Pushforward a CommRing instance along a surjective function.
instance AddOpposite.instHasDistribNeg E0 #
{R : Type u_1} → [inst : Mul R] → [HasDistribNeg R] → HasDistribNeg Rᵃᵒᵖ