Polynomials that lift #
Given semirings R and S with a morphism f : R →+* S, we define a subsemiring lifts of
S[X] by the image of RingHom.of (map f).
Then, we prove that a polynomial that lifts can always be lifted to a polynomial of the same degree
and that a monic polynomial that lifts can be lifted to a monic polynomial (of the same degree).
Main definition #
lifts (f : R →+* S): the subsemiring of polynomials that lift.
Main results #
lifts_and_degree_eq: A polynomial lifts if and only if it can be lifted to a polynomial of the same degree.lifts_and_degree_eq_and_monic: A monic polynomial lifts if and only if it can be lifted to a monic polynomial of the same degree.lifts_iff_alg: ifRis commutative, a polynomial lifts if and only if it is in the image ofmapAlg, wheremapAlg : R[X] →ₐ[R] S[X]is the onlyR-algebra map that sendsXtoX.
Implementation details #
In general R and S are semiring, so lifts is a semiring. In the case of rings, see
lifts_iff_lifts_ring.
Since we do not assume R to be commutative, we cannot say in general that the set of polynomials
that lift is a subalgebra. (By lift_iff this is true if R is commutative.)
We define the subsemiring of polynomials that lifts as the image of RingHom.of (map f).
Equations
- Polynomial.lifts f = (Polynomial.mapRingHom f).rangeS
Instances For
If (r : R), then C (f r) lifts.
The polynomial X lifts.
If p lifts and (r : R) then r * p lifts.
If (s : S) is in the image of f, then monomial n s lifts.
If p lifts then p.erase n lifts.
A polynomial lifts if and only if it can be lifted to a polynomial of the same degree.
A monic polynomial lifts if and only if it can be lifted to a monic polynomial of the same degree.
The subring of polynomials that lift.
Equations
- Polynomial.liftsRing f = (Polynomial.mapRingHom f).range
Instances For
If R and S are rings, p is in the subring of polynomials that lift if and only if it is in
the subsemiring of polynomials that lift.
The map R[X] → S[X] as an algebra homomorphism.
Equations
- Polynomial.mapAlg R S = Polynomial.aeval Polynomial.X
Instances For
mapAlg is the morphism induced by R → S.
A polynomial p lifts if and only if it is in the image of mapAlg.
If p lifts and (r : R) then r • p lifts.