Cast of integers (additional theorems) #
This file proves additional properties about the canonical homomorphism from
the integers into an additive group with a one (Int.cast
),
particularly results involving algebraic homomorphisms or the order structure on ℤ
which were not available in the import dependencies of Data.Int.Cast.Basic
.
Main declarations #
castAddHom
:cast
bundled as anAddMonoidHom
.castRingHom
:cast
bundled as aRingHom
.
coe : ℤ → α
as a RingHom
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If two MonoidHom
s agree on -1
and the naturals then they are equal.
If two MonoidWithZeroHom
s agree on -1
and the naturals then they are equal.
If two MonoidWithZeroHom
s agree on -1
and the positive naturals then they are equal.
Monoid homomorphisms from Multiplicative ℤ
are defined by the image
of Multiplicative.ofAdd 1
.
Equations
- zpowersHom α = Additive.ofMul.trans ((zmultiplesHom (Additive α)).trans AddMonoidHom.toMultiplicative'')
Instances For
If α
is commutative, zmultiplesHom
is an additive equivalence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If α
is commutative, zpowersHom
is a multiplicative equivalence.
Equations
- zpowersMulHom α = let src := zpowersHom α; { toEquiv := src, map_mul' := (_ : ∀ (a b : α), (zpowersHom α).toFun (a * b) = (zpowersHom α).toFun a * (zpowersHom α).toFun b) }
Instances For
Equations
- (_ : Subsingleton (ℤ →+* R)) = (_ : Subsingleton (ℤ →+* R))
Order dual #
Equations
- instAddGroupWithOneOrderDual = h
Equations
- instAddCommGroupWithOneOrderDual = h
Lexicographic order #
Equations
- instAddGroupWithOneLex = h
Equations
- instAddCommGroupWithOneLex = h