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:castbundled as anAddMonoidHom.castRingHom:castbundled as aRingHom.
coe : ℤ → α as an AddMonoidHom.
Instances For
coe : ℤ → α as a RingHom.
Instances For
Two additive monoid homomorphisms f, g from ℤ to an additive monoid are equal
if f 1 = g 1.
Two additive monoid isomorphisms f, g from ℤ to an additive monoid are equal
if f 1 = g 1.
This version is primed so that the RingHomClass versions aren't.
If two MonoidHoms agree on -1 and the naturals then they are equal.
If two MonoidWithZeroHoms agree on -1 and the naturals then they are equal.
If two MonoidWithZeroHoms agree on -1 and the positive naturals then they are equal.
Additive homomorphisms from ℤ are defined by the image of 1.
Instances For
Monoid homomorphisms from Multiplicative ℤ are defined by the image
of Multiplicative.ofAdd 1.
Instances For
If α is commutative, zmultiplesHom is an additive equivalence.
Instances For
If α is commutative, zpowersHom is a multiplicative equivalence.