The areas / V11. Fields and Galois theory
Mathlib.FieldTheory.RatFunc.Basic
145 declarations. Mathlib docs · Source
The field structure of rational functions
Main definitions
Working with rational functions as polynomials:
RatFunc.instFieldprovides a field structure
You can use IsFractionRing API to treat RatFunc as the field of fractions of polynomials:
algebraMap K[X] K⟮X⟯maps polynomials to rational functionsIsFractionRing.algEquivmaps other fields of fractions ofK[X]toK⟮X⟯.
In particular:
FractionRing.algEquiv K[X] K⟮X⟯maps the generic field of fraction construction toK⟮X⟯. Combine this withAlgEquiv.restrictScalarsto change theFractionRing K[X] ≃ₐ[K[X]] K⟮X⟯toFractionRing K[X] ≃ₐ[K] K⟮X⟯.
Working with rational functions as fractions:
RatFunc.numandRatFunc.denomgive the numerator and denominator. These values are chosen to be coprime and such thatRatFunc.denomis monic.
Lifting homomorphisms of polynomials to other types, by mapping and dividing, as long as the homomorphism retains the non-zero-divisor property:
RatFunc.liftMonoidWithZeroHomlifts aK[X] →*₀ G₀to aK⟮X⟯ →*₀ G₀, where[CommRing K] [CommGroupWithZero G₀]RatFunc.liftRingHomlifts aK[X] →+* Lto aK⟮X⟯ →+* L, where[CommRing K] [Field L]RatFunc.liftAlgHomlifts aK[X] →ₐ[S] Lto aK⟮X⟯ →ₐ[S] L, where[CommRing K] [Field L] [CommSemiring S] [Algebra S K[X]] [Algebra S L]
This is satisfied by injective homs.
We also have lifting homomorphisms of polynomials to other polynomials, with the same condition on retaining the non-zero-divisor property across the map:
RatFunc.mapliftsK[X] →* R[X]when[CommRing K] [CommRing R]RatFunc.mapRingHomliftsK[X] →+* R[X]when[CommRing K] [CommRing R]RatFunc.mapAlgHomliftsK[X] →ₐ[S] R[X]when[CommRing K] [IsDomain K] [CommRing R] [IsDomain R]
RatFunc as field of fractions of Polynomial
Numerator and denominator
theorem RatFunc.liftMonoidWithZeroHom.congr_simp E1 #
∀ {G₀ : Type u_1} {R : Type u_3} [inst : CommGroupWithZero G₀] [inst_1 : CommRing R] (φ φ_1 : Polynomial R →*₀ G₀)
(e_φ : φ = φ_1) (hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors G₀)),
RatFunc.liftMonoidWithZeroHom φ hφ = RatFunc.liftMonoidWithZeroHom φ_1 ⋯
theorem RatFunc.liftRingHom.congr_simp E1 #
∀ {L : Type u_2} {R : Type u_3} [inst : Field L] [inst_1 : CommRing R] (φ φ_1 : Polynomial R →+* L) (e_φ : φ = φ_1)
(hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors L)),
RatFunc.liftRingHom φ hφ = RatFunc.liftRingHom φ_1 ⋯
theorem RatFunc.mapRingHom.congr_simp E1 #
∀ {R : Type u_3} {S : Type u_4} {F : Type u_5} [inst : CommRing R] [inst_1 : CommRing S]
[inst_2 : FunLike F (Polynomial R) (Polynomial S)] [inst_3 : RingHomClass F (Polynomial R) (Polynomial S)] (φ φ_1 : F)
(e_φ : φ = φ_1) (hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial S))),
RatFunc.mapRingHom φ hφ = RatFunc.mapRingHom φ_1 ⋯
theorem RatFunc.map.congr_simp E1 #
∀ {R : Type u_3} {S : Type u_4} {F : Type u_5} [inst : CommRing R] [inst_1 : CommRing S]
[inst_2 : FunLike F (Polynomial R) (Polynomial S)] [inst_3 : MonoidHomClass F (Polynomial R) (Polynomial S)]
(φ φ_1 : F) (e_φ : φ = φ_1)
(hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial S))),
RatFunc.map φ hφ = RatFunc.map φ_1 ⋯
def RatFunc.zero E1 #
{K : Type u} → [inst : CommRing K] → RatFunc K
The zero rational function.
instance RatFunc.instZero E0 #
{K : Type u} → [inst : CommRing K] → Zero (RatFunc K)
theorem RatFunc.ofFractionRing_zero E1 #
∀ {K : Type u} [inst : CommRing K], { toFractionRing := 0 } = 0
def RatFunc.add E1 #
{K : Type u} → [inst : CommRing K] → RatFunc K → RatFunc K → RatFunc K
Addition of rational functions.
instance RatFunc.instAdd E0 #
{K : Type u} → [inst : CommRing K] → Add (RatFunc K)
theorem RatFunc.ofFractionRing_add E1 #
∀ {K : Type u} [inst : CommRing K] (p q : FractionRing (Polynomial K)),
{ toFractionRing := p + q } = { toFractionRing := p } + { toFractionRing := q }
def RatFunc.sub E1 #
{K : Type u} → [inst : CommRing K] → RatFunc K → RatFunc K → RatFunc K
Subtraction of rational functions.
instance RatFunc.instSub E0 #
{K : Type u} → [inst : CommRing K] → Sub (RatFunc K)
theorem RatFunc.ofFractionRing_sub E1 #
∀ {K : Type u} [inst : CommRing K] (p q : FractionRing (Polynomial K)),
{ toFractionRing := p - q } = { toFractionRing := p } - { toFractionRing := q }
def RatFunc.neg E1 #
{K : Type u} → [inst : CommRing K] → RatFunc K → RatFunc K
Additive inverse of a rational function.
instance RatFunc.instNeg E0 #
{K : Type u} → [inst : CommRing K] → Neg (RatFunc K)
theorem RatFunc.ofFractionRing_neg E1 #
∀ {K : Type u} [inst : CommRing K] (p : FractionRing (Polynomial K)),
{ toFractionRing := -p } = -{ toFractionRing := p }
def RatFunc.one E1 #
{K : Type u} → [inst : CommRing K] → RatFunc K
The multiplicative unit of rational functions.
instance RatFunc.instOne E0 #
{K : Type u} → [inst : CommRing K] → One (RatFunc K)
theorem RatFunc.ofFractionRing_one E1 #
∀ {K : Type u} [inst : CommRing K], { toFractionRing := 1 } = 1
def RatFunc.mul E1 #
{K : Type u} → [inst : CommRing K] → RatFunc K → RatFunc K → RatFunc K
Multiplication of rational functions.
instance RatFunc.instMul E0 #
{K : Type u} → [inst : CommRing K] → Mul (RatFunc K)
theorem RatFunc.ofFractionRing_mul E1 #
∀ {K : Type u} [inst : CommRing K] (p q : FractionRing (Polynomial K)),
{ toFractionRing := p * q } = { toFractionRing := p } * { toFractionRing := q }
def RatFunc.div E1 #
{K : Type u} → [inst : CommRing K] → [IsDomain K] → RatFunc K → RatFunc K → RatFunc K
Division of rational functions.
instance RatFunc.instDiv E0 #
{K : Type u} → [inst : CommRing K] → [IsDomain K] → Div (RatFunc K)
theorem RatFunc.ofFractionRing_div E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] (p q : FractionRing (Polynomial K)),
{ toFractionRing := p / q } = { toFractionRing := p } / { toFractionRing := q }
def RatFunc.inv E1 #
{K : Type u} → [inst : CommRing K] → [IsDomain K] → RatFunc K → RatFunc K
Multiplicative inverse of a rational function.
instance RatFunc.instInv E0 #
{K : Type u} → [inst : CommRing K] → [IsDomain K] → Inv (RatFunc K)
theorem RatFunc.ofFractionRing_inv E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] (p : FractionRing (Polynomial K)),
{ toFractionRing := p⁻¹ } = { toFractionRing := p }⁻¹
theorem RatFunc.mul_inv_cancel E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {p : RatFunc K}, p ≠ 0 → p * p⁻¹ = 1
def RatFunc.smul E1 #
{K : Type u} → [inst : CommRing K] → {R : Type u_1} → [SMul R (FractionRing (Polynomial K))] → R → RatFunc K → RatFunc K
Scalar multiplication of rational functions.
instance RatFunc.instSMulOfFractionRingPolynomial E0 #
{K : Type u} → [inst : CommRing K] → {R : Type u_1} → [SMul R (FractionRing (Polynomial K))] → SMul R (RatFunc K)
theorem RatFunc.ofFractionRing_smul E1 #
∀ {K : Type u} [inst : CommRing K] {R : Type u_1} [inst_1 : SMul R (FractionRing (Polynomial K))] (c : R)
(p : FractionRing (Polynomial K)), { toFractionRing := c • p } = c • { toFractionRing := p }
theorem RatFunc.toFractionRing_smul E1 #
∀ {K : Type u} [inst : CommRing K] {R : Type u_1} [inst_1 : SMul R (FractionRing (Polynomial K))] (c : R)
(p : RatFunc K), (c • p).toFractionRing = c • p.toFractionRing
theorem RatFunc.smul_eq_C_smul E1 #
∀ {K : Type u} [inst : CommRing K] (x : RatFunc K) (r : K), r • x = Polynomial.C r • x
theorem RatFunc.mk_smul E1 #
∀ {K : Type u} [inst : CommRing K] {R : Type u_1} [inst_1 : IsDomain K] [inst_2 : Monoid R]
[inst_3 : DistribMulAction R (Polynomial K)] [inst_4 : IsScalarTower R (Polynomial K) (Polynomial K)] (c : R)
(p q : Polynomial K), RatFunc.mk (c • p) q = c • RatFunc.mk p q
instance RatFunc.instIsScalarTowerPolynomial E0 #
∀ {K : Type u} [inst : CommRing K] {R : Type u_1} [IsDomain K] [inst_2 : Monoid R]
[inst_3 : DistribMulAction R (Polynomial K)] [inst_4 : IsScalarTower R (Polynomial K) (Polynomial K)],
IsScalarTower R (Polynomial K) (RatFunc K)
instance RatFunc.instSubsingleton E0 #
∀ (K : Type u) [inst : CommRing K] [Subsingleton K], Subsingleton (RatFunc K)
instance RatFunc.instInhabited E0 #
(K : Type u) → [inst : CommRing K] → Inhabited (RatFunc K)
instance RatFunc.instNontrivial E0 #
∀ (K : Type u) [inst : CommRing K] [Nontrivial K], Nontrivial (RatFunc K)
def RatFunc.toFractionRingRingEquiv E1 #
(K : Type u) → [inst : CommRing K] → RatFunc K ≃+* FractionRing (Polynomial K)
K⟮X⟯ is isomorphic to the field of fractions of K[X], as rings.
This is an auxiliary definition; simp-normal form is IsLocalization.algEquiv.
theorem RatFunc.toFractionRingRingEquiv_apply E0 #
∀ (K : Type u) [inst : CommRing K] (self : RatFunc K), (RatFunc.toFractionRingRingEquiv K) self = self.toFractionRing
def RatFunc.instCommMonoid E1 #
(K : Type u) → [inst : CommRing K] → CommMonoid (RatFunc K)
K⟮X⟯ is a commutative monoid.
This is an intermediate step on the way to the full instance RatFunc.instCommRing.
def RatFunc.instAddCommGroup E1 #
(K : Type u) → [inst : CommRing K] → AddCommGroup (RatFunc K)
K⟮X⟯ is an additive commutative group.
This is an intermediate step on the way to the full instance RatFunc.instCommRing.
instance RatFunc.instCommRing E0 #
(K : Type u) → [inst : CommRing K] → CommRing (RatFunc K)
def RatFunc.map E3 #
{R : Type u_3} →
{S : Type u_4} →
{F : Type u_5} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : FunLike F (Polynomial R) (Polynomial S)] →
[inst_3 : MonoidHomClass F (Polynomial R) (Polynomial S)] →
(φ : F) →
nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial S)) →
RatFunc R →* RatFunc S
Lift a monoid homomorphism that maps polynomials φ : R[X] →* S[X]
to a R⟮X⟯ →* S⟮X⟯,
on the condition that φ maps non-zero-divisors to non-zero-divisors,
by mapping both the numerator and denominator and quotienting them.
theorem RatFunc.map_apply_ofFractionRing_mk E0 #
∀ {R : Type u_3} {S : Type u_4} {F : Type u_5} [inst : CommRing R] [inst_1 : CommRing S]
[inst_2 : FunLike F (Polynomial R) (Polynomial S)] [inst_3 : MonoidHomClass F (Polynomial R) (Polynomial S)] (φ : F)
(hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial S))) (n : Polynomial R)
(d : ↥(nonZeroDivisors (Polynomial R))),
(RatFunc.map φ hφ) { toFractionRing := Localization.mk n d } = { toFractionRing := Localization.mk (φ n) ⟨φ ↑d, ⋯⟩ }
theorem RatFunc.map_injective E0 #
∀ {R : Type u_3} {S : Type u_4} {F : Type u_5} [inst : CommRing R] [inst_1 : CommRing S]
[inst_2 : FunLike F (Polynomial R) (Polynomial S)] [inst_3 : MonoidHomClass F (Polynomial R) (Polynomial S)] (φ : F)
(hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial S))),
Function.Injective ⇑φ → Function.Injective ⇑(RatFunc.map φ hφ)
def RatFunc.mapRingHom E3 #
{R : Type u_3} →
{S : Type u_4} →
{F : Type u_5} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : FunLike F (Polynomial R) (Polynomial S)] →
[inst_3 : RingHomClass F (Polynomial R) (Polynomial S)] →
(φ : F) →
nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial S)) →
RatFunc R →+* RatFunc S
Lift a ring homomorphism that maps polynomials φ : R[X] →+* S[X]
to a R⟮X⟯ →+* S⟮X⟯,
on the condition that φ maps non-zero-divisors to non-zero-divisors,
by mapping both the numerator and denominator and quotienting them.
theorem RatFunc.coe_mapRingHom_eq_coe_map E0 #
∀ {R : Type u_3} {S : Type u_4} {F : Type u_5} [inst : CommRing R] [inst_1 : CommRing S]
[inst_2 : FunLike F (Polynomial R) (Polynomial S)] [inst_3 : RingHomClass F (Polynomial R) (Polynomial S)] (φ : F)
(hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial S))),
⇑(RatFunc.mapRingHom φ hφ) = ⇑(RatFunc.map φ hφ)
def RatFunc.liftMonoidWithZeroHom E3 #
{G₀ : Type u_1} →
{R : Type u_3} →
[inst : CommGroupWithZero G₀] →
[inst_1 : CommRing R] →
(φ : Polynomial R →*₀ G₀) →
nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors G₀) → RatFunc R →*₀ G₀
Lift a monoid with zero homomorphism R[X] →*₀ G₀ to a R⟮X⟯ →*₀ G₀
on the condition that φ maps non-zero-divisors to non-zero-divisors,
by mapping both the numerator and denominator and quotienting them.
theorem RatFunc.liftMonoidWithZeroHom_apply_ofFractionRing_mk E0 #
∀ {G₀ : Type u_1} {R : Type u_3} [inst : CommGroupWithZero G₀] [inst_1 : CommRing R] (φ : Polynomial R →*₀ G₀)
(hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors G₀)) (n : Polynomial R)
(d : ↥(nonZeroDivisors (Polynomial R))),
(RatFunc.liftMonoidWithZeroHom φ hφ) { toFractionRing := Localization.mk n d } = φ n / φ ↑d
theorem RatFunc.liftMonoidWithZeroHom_injective E1 #
∀ {G₀ : Type u_1} {R : Type u_3} [inst : CommGroupWithZero G₀] [inst_1 : CommRing R] [Nontrivial R]
(φ : Polynomial R →*₀ G₀) (hφ : Function.Injective ⇑φ)
(hφ' : optParam (nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors G₀)) ⋯),
Function.Injective ⇑(RatFunc.liftMonoidWithZeroHom φ hφ')
def RatFunc.liftRingHom E3 #
{L : Type u_2} →
{R : Type u_3} →
[inst : Field L] →
[inst_1 : CommRing R] →
(φ : Polynomial R →+* L) →
nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors L) → RatFunc R →+* L
Lift an injective ring homomorphism R[X] →+* L to a R⟮X⟯ →+* L
by mapping both the numerator and denominator and quotienting them.
theorem RatFunc.liftRingHom_apply_ofFractionRing_mk E0 #
∀ {L : Type u_2} {R : Type u_3} [inst : Field L] [inst_1 : CommRing R] (φ : Polynomial R →+* L)
(hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors L)) (n : Polynomial R)
(d : ↥(nonZeroDivisors (Polynomial R))),
(RatFunc.liftRingHom φ hφ) { toFractionRing := Localization.mk n d } = φ n / φ ↑d
theorem RatFunc.liftRingHom_ofFractionRing_algebraMap E0 #
∀ {L : Type u_2} {R : Type u_3} [inst : Field L] [inst_1 : CommRing R] (φ : Polynomial R →+* L)
(hφ : nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors L)) (x : Polynomial R),
(RatFunc.liftRingHom φ hφ) { toFractionRing := (algebraMap (Polynomial R) (FractionRing (Polynomial R))) x } = φ x
theorem RatFunc.liftRingHom_injective E1 #
∀ {L : Type u_2} {R : Type u_3} [inst : Field L] [inst_1 : CommRing R] [Nontrivial R] (φ : Polynomial R →+* L)
(hφ : Function.Injective ⇑φ)
(hφ' : optParam (nonZeroDivisors (Polynomial R) ≤ Submonoid.comap φ (nonZeroDivisors L)) ⋯),
Function.Injective ⇑(RatFunc.liftRingHom φ hφ')
instance RatFunc.instField E3 #
(K : Type u) → [inst : CommRing K] → [IsDomain K] → Field (RatFunc K)
instance RatFunc.instAlgebraOfPolynomial E0 #
(K : Type u) →
[inst : CommRing K] →
[inst_1 : IsDomain K] →
(R : Type u_1) → [inst_2 : CommSemiring R] → [Algebra R (Polynomial K)] → Algebra R (RatFunc K)
def RatFunc.coePolynomial E1 #
{K : Type u} → [inst : CommRing K] → [IsDomain K] → Polynomial K → RatFunc K
The coercion from polynomials to rational functions, implemented as the algebra map from a domain to its field of fractions
instance RatFunc.instCoePolynomial E0 #
{K : Type u} → [inst : CommRing K] → [IsDomain K] → Coe (Polynomial K) (RatFunc K)
theorem RatFunc.mk_one E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] (x : Polynomial K),
RatFunc.mk x 1 = (algebraMap (Polynomial K) (RatFunc K)) x
theorem RatFunc.ofFractionRing_algebraMap E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] (x : Polynomial K),
{ toFractionRing := (algebraMap (Polynomial K) (FractionRing (Polynomial K))) x } =
(algebraMap (Polynomial K) (RatFunc K)) x
def RatFunc.toFractionRingAlgEquiv E1 #
(K : Type u) →
[inst : CommRing K] →
[IsDomain K] →
(R : Type u_1) →
[inst_2 : CommSemiring R] → [inst_3 : Algebra R (Polynomial K)] → RatFunc K ≃ₐ[R] FractionRing (Polynomial K)
The equivalence between K⟮X⟯ and the field of fractions of K[X]
theorem RatFunc.toFractionRingAlgEquiv_apply E0 #
∀ (K : Type u) [inst : CommRing K] [inst_1 : IsDomain K] (R : Type u_1) [inst_2 : CommSemiring R]
[inst_3 : Algebra R (Polynomial K)] (self : RatFunc K),
(RatFunc.toFractionRingAlgEquiv K R) self = self.toFractionRing
theorem RatFunc.mk_eq_div E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] (p q : Polynomial K),
RatFunc.mk p q = (algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q
theorem RatFunc.div_smul E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {R : Type u_1} [inst_2 : Monoid R]
[inst_3 : DistribMulAction R (Polynomial K)] [inst_4 : IsScalarTower R (Polynomial K) (Polynomial K)] (c : R)
(p q : Polynomial K),
(algebraMap (Polynomial K) (RatFunc K)) (c • p) / (algebraMap (Polynomial K) (RatFunc K)) q =
c • ((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q)
theorem RatFunc.algebraMap_apply E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {R : Type u_1} [inst_2 : CommSemiring R]
[inst_3 : Algebra R (Polynomial K)] (x : R),
(algebraMap R (RatFunc K)) x =
(algebraMap (Polynomial K) (RatFunc K)) ((algebraMap R (Polynomial K)) x) /
(algebraMap (Polynomial K) (RatFunc K)) 1
theorem RatFunc.map_apply_div_ne_zero E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {R : Type u_1} {F : Type u_2} [inst_2 : CommRing R]
[inst_3 : IsDomain R] [inst_4 : FunLike F (Polynomial K) (Polynomial R)]
[inst_5 : MonoidHomClass F (Polynomial K) (Polynomial R)] (φ : F)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial R))) (p q : Polynomial K),
q ≠ 0 →
(RatFunc.map φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q) =
(algebraMap (Polynomial R) (RatFunc R)) (φ p) / (algebraMap (Polynomial R) (RatFunc R)) (φ q)
theorem RatFunc.map_apply_div E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {R : Type u_1} {F : Type u_2} [inst_2 : CommRing R]
[inst_3 : IsDomain R] [inst_4 : FunLike F (Polynomial K) (Polynomial R)]
[inst_5 : MonoidWithZeroHomClass F (Polynomial K) (Polynomial R)] (φ : F)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial R))) (p q : Polynomial K),
(RatFunc.map φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q) =
(algebraMap (Polynomial R) (RatFunc R)) (φ p) / (algebraMap (Polynomial R) (RatFunc R)) (φ q)
theorem RatFunc.liftMonoidWithZeroHom_apply_div E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} [inst_2 : CommGroupWithZero L]
(φ : Polynomial K →*₀ L) (hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L))
(p q : Polynomial K),
(RatFunc.liftMonoidWithZeroHom φ hφ)
((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q) =
φ p / φ q
theorem RatFunc.liftMonoidWithZeroHom_apply_div' E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} [inst_2 : CommGroupWithZero L]
(φ : Polynomial K →*₀ L) (hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L))
(p q : Polynomial K),
(RatFunc.liftMonoidWithZeroHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) p) /
(RatFunc.liftMonoidWithZeroHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) q) =
φ p / φ q
theorem RatFunc.liftRingHom_apply_div E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} [inst_2 : Field L] (φ : Polynomial K →+* L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (p q : Polynomial K),
(RatFunc.liftRingHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q) =
φ p / φ q
theorem RatFunc.liftRingHom_apply_div' E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} [inst_2 : Field L] (φ : Polynomial K →+* L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (p q : Polynomial K),
(RatFunc.liftRingHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) p) /
(RatFunc.liftRingHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) q) =
φ p / φ q
theorem RatFunc.liftRingHom_algebraMap E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} [inst_2 : Field L] (φ : Polynomial K →+* L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (x : Polynomial K),
(RatFunc.liftRingHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) x) = φ x
theorem RatFunc.liftRingHom_comp_algebraMap E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} [inst_2 : Field L] (φ : Polynomial K →+* L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)),
(RatFunc.liftRingHom φ hφ).comp (algebraMap (Polynomial K) (RatFunc K)) = φ
theorem RatFunc.ofFractionRing_comp_algebraMap E1 #
∀ (K : Type u) [inst : CommRing K] [inst_1 : IsDomain K],
RatFunc.ofFractionRing ∘ ⇑(algebraMap (Polynomial K) (FractionRing (Polynomial K))) =
⇑(algebraMap (Polynomial K) (RatFunc K))
theorem RatFunc.algebraMap_injective E1 #
∀ (K : Type u) [inst : CommRing K] [inst_1 : IsDomain K], Function.Injective ⇑(algebraMap (Polynomial K) (RatFunc K))
def RatFunc.mapAlgHom E3 #
{K : Type u} →
[inst : CommRing K] →
[inst_1 : IsDomain K] →
{R : Type u_2} →
{S : Type u_3} →
[inst_2 : CommRing R] →
[inst_3 : IsDomain R] →
[inst_4 : CommSemiring S] →
[inst_5 : Algebra S (Polynomial K)] →
[inst_6 : Algebra S (Polynomial R)] →
(φ : Polynomial K →ₐ[S] Polynomial R) →
nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial R)) →
RatFunc K →ₐ[S] RatFunc R
Lift an algebra homomorphism that maps polynomials φ : K[X] →ₐ[S] R[X]
to a K⟮X⟯ →ₐ[S] R⟮X⟯,
on the condition that φ maps non-zero-divisors to non-zero-divisors,
by mapping both the numerator and denominator and quotienting them.
theorem RatFunc.coe_mapAlgHom_eq_coe_map E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {R : Type u_2} {S : Type u_3} [inst_2 : CommRing R]
[inst_3 : IsDomain R] [inst_4 : CommSemiring S] [inst_5 : Algebra S (Polynomial K)]
[inst_6 : Algebra S (Polynomial R)] (φ : Polynomial K →ₐ[S] Polynomial R)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial R))),
⇑(RatFunc.mapAlgHom φ hφ) = ⇑(RatFunc.map φ hφ)
def RatFunc.liftAlgHom E3 #
{K : Type u} →
[inst : CommRing K] →
[inst_1 : IsDomain K] →
{L : Type u_1} →
{S : Type u_3} →
[inst_2 : Field L] →
[inst_3 : CommSemiring S] →
[inst_4 : Algebra S (Polynomial K)] →
[inst_5 : Algebra S L] →
(φ : Polynomial K →ₐ[S] L) →
nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L) → RatFunc K →ₐ[S] L
Lift an injective algebra homomorphism K[X] →ₐ[S] L to a K⟮X⟯ →ₐ[S] L
by mapping both the numerator and denominator and quotienting them.
theorem RatFunc.liftAlgHom_apply_ofFractionRing_mk E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} {S : Type u_3} [inst_2 : Field L]
[inst_3 : CommSemiring S] [inst_4 : Algebra S (Polynomial K)] [inst_5 : Algebra S L] (φ : Polynomial K →ₐ[S] L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (n : Polynomial K)
(d : ↥(nonZeroDivisors (Polynomial K))),
(RatFunc.liftAlgHom φ hφ) { toFractionRing := Localization.mk n d } = φ n / φ ↑d
theorem RatFunc.liftAlgHom_injective E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} {S : Type u_3} [inst_2 : Field L]
[inst_3 : CommSemiring S] [inst_4 : Algebra S (Polynomial K)] [inst_5 : Algebra S L] (φ : Polynomial K →ₐ[S] L)
(hφ : Function.Injective ⇑φ)
(hφ' : optParam (nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) ⋯),
Function.Injective ⇑(RatFunc.liftAlgHom φ hφ')
theorem RatFunc.liftAlgHom_apply_div' E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} {S : Type u_3} [inst_2 : Field L]
[inst_3 : CommSemiring S] [inst_4 : Algebra S (Polynomial K)] [inst_5 : Algebra S L] (φ : Polynomial K →ₐ[S] L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (p q : Polynomial K),
(RatFunc.liftAlgHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) p) /
(RatFunc.liftAlgHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) q) =
φ p / φ q
theorem RatFunc.liftAlgHom_apply_div E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {L : Type u_1} {S : Type u_3} [inst_2 : Field L]
[inst_3 : CommSemiring S] [inst_4 : Algebra S (Polynomial K)] [inst_5 : Algebra S L] (φ : Polynomial K →ₐ[S] L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (p q : Polynomial K),
(RatFunc.liftAlgHom φ hφ) ((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q) =
φ p / φ q
instance RatFunc.instIsFractionRingPolynomial E0 #
∀ (K : Type u) [inst : CommRing K] [inst_1 : IsDomain K], IsFractionRing (Polynomial K) (RatFunc K)
K⟮X⟯ is the field of fractions of the polynomials over K.
theorem RatFunc.algebraMap_ne_zero E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {x : Polynomial K},
x ≠ 0 → (algebraMap (Polynomial K) (RatFunc K)) x ≠ 0
theorem RatFunc.liftOn_div E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {P : Sort v} (p q : Polynomial K)
(f : Polynomial K → Polynomial K → P),
(∀ (p : Polynomial K), f p 0 = f 0 1) →
∀ (H' : ∀ {p q p' q' : Polynomial K}, q ≠ 0 → q' ≠ 0 → q' * p = q * p' → f p q = f p' q')
(H :
optParam
(∀ {p q p' q' : Polynomial K},
q ∈ nonZeroDivisors (Polynomial K) →
q' ∈ nonZeroDivisors (Polynomial K) → q' * p = q * p' → f p q = f p' q')
⋯),
((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q).liftOn f H = f p q
theorem RatFunc.liftOn'_div E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {P : Sort v} (p q : Polynomial K)
(f : Polynomial K → Polynomial K → P),
(∀ (p : Polynomial K), f p 0 = f 0 1) →
∀ (H : ∀ {p q a : Polynomial K}, q ≠ 0 → a ≠ 0 → f (a * p) (a * q) = f p q),
((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q).liftOn' f H = f p q
theorem RatFunc.induction_on E3 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] {P : RatFunc K → Prop} (x : RatFunc K),
(∀ (p q : Polynomial K),
q ≠ 0 → P ((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q)) →
P x
Induction principle for K⟮X⟯: if f p q : P (p / q) for all p q : K[X],
then P holds on all elements of K⟮X⟯.
See also induction_on', which is a recursion principle defined in terms of RatFunc.mk.
theorem RatFunc.ofFractionRing_mk' E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] (x : Polynomial K) (y : ↥(nonZeroDivisors (Polynomial K))),
{ toFractionRing := IsLocalization.mk' (FractionRing (Polynomial K)) x y } = IsLocalization.mk' (RatFunc K) x y
theorem RatFunc.mk_eq_mk' E1 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K] (f : Polynomial K) {g : Polynomial K} (hg : g ≠ 0),
RatFunc.mk f g = IsLocalization.mk' (RatFunc K) f ⟨g, ⋯⟩
theorem RatFunc.ofFractionRing_eq E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K],
RatFunc.ofFractionRing =
⇑(IsLocalization.algEquiv (nonZeroDivisors (Polynomial K)) (FractionRing (Polynomial K)) (RatFunc K))
theorem RatFunc.toFractionRing_eq E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K],
RatFunc.toFractionRing =
⇑(IsLocalization.algEquiv (nonZeroDivisors (Polynomial K)) (RatFunc K) (FractionRing (Polynomial K)))
theorem RatFunc.toFractionRingRingEquiv_symm_eq E0 #
∀ {K : Type u} [inst : CommRing K] [inst_1 : IsDomain K],
(RatFunc.toFractionRingRingEquiv K).symm =
(IsLocalization.algEquiv (nonZeroDivisors (Polynomial K)) (FractionRing (Polynomial K)) (RatFunc K)).toRingEquiv
def RatFunc.liftAlgebra E1 #
(R : Type u_1) →
(L : Type u_2) →
[inst : CommRing R] →
[inst_1 : Field L] →
[inst_2 : IsDomain R] →
[inst_3 : Algebra (Polynomial R) L] → [FaithfulSMul (Polynomial R) L] → Algebra (RatFunc R) L
FractionRing.liftAlgebra specialized to R⟮X⟯.
This is a scoped instance because it creates a diamond when L = R⟮X⟯.
instance RatFunc.isScalarTower_liftAlgebra E0 #
∀ (R : Type u_1) (L : Type u_2) [inst : CommRing R] [inst_1 : Field L] [inst_2 : IsDomain R]
[inst_3 : Algebra (Polynomial R) L] [inst_4 : FaithfulSMul (Polynomial R) L],
IsScalarTower (Polynomial R) (RatFunc R) L
FractionRing.isScalarTower_liftAlgebra specialized to R⟮X⟯.
instance RatFunc.faithfulSMul E0 #
∀ (K : Type u_3) (E : Type u_4) [inst : Field K] [inst_1 : Field E] [inst_2 : Algebra K E] [FaithfulSMul K E],
FaithfulSMul (Polynomial K) (RatFunc E)
FractionRing.instFaithfulSMul specialized to R⟮X⟯.
theorem RatFunc.rank_ratFunc_ratFunc E1 #
∀ (k : Type u_3) (K : Type u_4) [inst : Field k] [inst_1 : Field K] [inst_2 : Algebra k K] [Algebra.IsAlgebraic k K],
Module.rank (RatFunc k) (RatFunc K) = Module.rank k K
theorem RatFunc.finrank_ratFunc_ratFunc E1 #
∀ (k : Type u_3) (K : Type u_4) [inst : Field k] [inst_1 : Field K] [inst_2 : Algebra k K] [Algebra.IsAlgebraic k K],
Module.finrank (RatFunc k) (RatFunc K) = Module.finrank k K
instance RatFunc.instIsScalarTowerOfIsDomainOfPolynomial E0 #
∀ (R₀ : Type u_1) (R : Type u_2) (A : Type u_3) [inst : CommSemiring R₀] [inst_1 : CommSemiring R] [inst_2 : CommRing A]
[IsDomain A] [inst_4 : Algebra R₀ (Polynomial A)] [inst_5 : SMul R₀ R] [inst_6 : Algebra R (Polynomial A)]
[IsScalarTower R₀ R (Polynomial A)], IsScalarTower R₀ R (RatFunc A)
Let A⟮X⟯ / A[X] / R / R₀ be a tower. If A[X] / R / R₀ is a scalar tower
then so is A⟮X⟯ / R / R₀.
instance RatFunc.instIsScalarTowerOfPolynomial E0 #
∀ (R : Type u_1) (A : Type u_2) (K : Type u_3) [inst : CommRing A] [inst_1 : IsDomain A] [inst_2 : Field K]
[inst_3 : Algebra (Polynomial A) K] [inst_4 : FaithfulSMul (Polynomial A) K] [inst_5 : CommSemiring R]
[inst_6 : Algebra R (Polynomial A)] [inst_7 : SMul R K] [IsScalarTower R (Polynomial A) K],
IsScalarTower R (RatFunc A) K
Let K / A⟮X⟯ / A[X] / R be a tower. If K / A[X] / R is a scalar tower
then so is K / A⟮X⟯ / R.
instance RatFunc.instIsScalarTowerOfPolynomial_1 E0 #
∀ (A : Type u_1) (k : Type u_2) (K : Type u_3) [inst : CommRing A] [inst_1 : IsDomain A] [inst_2 : Field k]
[inst_3 : Field K] [inst_4 : Algebra (Polynomial A) k] [inst_5 : Algebra (Polynomial A) K] [inst_6 : SMul k K]
[inst_7 : FaithfulSMul (Polynomial A) k] [inst_8 : FaithfulSMul (Polynomial A) K] [IsScalarTower (Polynomial A) k K],
IsScalarTower (RatFunc A) k K
Let K / k / A⟮X⟯ / A[X] be a tower. If K / k / A[X] is a scalar tower
then so is K / k / A⟮X⟯.
def RatFunc.numDenom E1 #
{K : Type u} → [inst : Field K] → RatFunc K → Polynomial K × Polynomial K
RatFunc.numDenom are numerator and denominator of a rational function over a field,
normalized such that the denominator is monic.
theorem RatFunc.numDenom_div E0 #
∀ {K : Type u} [inst : Field K] (p : Polynomial K) {q : Polynomial K},
q ≠ 0 →
((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q).numDenom =
(Polynomial.C (q / gcd p q).leadingCoeff⁻¹ * (p / gcd p q),
Polynomial.C (q / gcd p q).leadingCoeff⁻¹ * (q / gcd p q))
def RatFunc.num E3 #
{K : Type u} → [inst : Field K] → RatFunc K → Polynomial K
RatFunc.num is the numerator of a rational function,
normalized such that the denominator is monic.
theorem RatFunc.num_zero E0 #
∀ {K : Type u} [inst : Field K], RatFunc.num 0 = 0
theorem RatFunc.num_div E0 #
∀ {K : Type u} [inst : Field K] (p q : Polynomial K),
((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q).num =
Polynomial.C (q / gcd p q).leadingCoeff⁻¹ * (p / gcd p q)
theorem RatFunc.num_one E0 #
∀ {K : Type u} [inst : Field K], RatFunc.num 1 = 1
theorem RatFunc.num_algebraMap E0 #
∀ {K : Type u} [inst : Field K] (p : Polynomial K), ((algebraMap (Polynomial K) (RatFunc K)) p).num = p
theorem RatFunc.num_div_dvd E1 #
∀ {K : Type u} [inst : Field K] (p : Polynomial K) {q : Polynomial K},
q ≠ 0 → ((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q).num ∣ p
theorem RatFunc.num_div_dvd' E0 #
∀ {K : Type u} [inst : Field K] (p : Polynomial K) {q : Polynomial K},
q ≠ 0 → Polynomial.C (q / gcd p q).leadingCoeff⁻¹ * (p / gcd p q) ∣ p
A version of num_div_dvd with the LHS in simp normal form
def RatFunc.denom E3 #
{K : Type u} → [inst : Field K] → RatFunc K → Polynomial K
RatFunc.denom is the denominator of a rational function,
normalized such that it is monic.
theorem RatFunc.denom_div E0 #
∀ {K : Type u} [inst : Field K] (p : Polynomial K) {q : Polynomial K},
q ≠ 0 →
((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q).denom =
Polynomial.C (q / gcd p q).leadingCoeff⁻¹ * (q / gcd p q)
theorem RatFunc.monic_denom E1 #
∀ {K : Type u} [inst : Field K] (x : RatFunc K), x.denom.Monic
theorem RatFunc.denom_ne_zero E1 #
∀ {K : Type u} [inst : Field K] (x : RatFunc K), x.denom ≠ 0
theorem RatFunc.denom_zero E0 #
∀ {K : Type u} [inst : Field K], RatFunc.denom 0 = 1
theorem RatFunc.denom_one E0 #
∀ {K : Type u} [inst : Field K], RatFunc.denom 1 = 1
theorem RatFunc.denom_algebraMap E0 #
∀ {K : Type u} [inst : Field K] (p : Polynomial K), ((algebraMap (Polynomial K) (RatFunc K)) p).denom = 1
theorem RatFunc.denom_div_dvd E0 #
∀ {K : Type u} [inst : Field K] (p q : Polynomial K),
((algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q).denom ∣ q
theorem RatFunc.num_div_denom E0 #
∀ {K : Type u} [inst : Field K] (x : RatFunc K),
(algebraMap (Polynomial K) (RatFunc K)) x.num / (algebraMap (Polynomial K) (RatFunc K)) x.denom = x
theorem RatFunc.isCoprime_num_denom E1 #
∀ {K : Type u} [inst : Field K] (x : RatFunc K), IsCoprime x.num x.denom
theorem RatFunc.num_eq_zero_iff E0 #
∀ {K : Type u} [inst : Field K] {x : RatFunc K}, x.num = 0 ↔ x = 0
theorem RatFunc.num_ne_zero E1 #
∀ {K : Type u} [inst : Field K] {x : RatFunc K}, x ≠ 0 → x.num ≠ 0
theorem RatFunc.num_mul_eq_mul_denom_iff E0 #
∀ {K : Type u} [inst : Field K] {x : RatFunc K} {p q : Polynomial K},
q ≠ 0 →
(x.num * q = p * x.denom ↔
x = (algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q)
theorem RatFunc.num_denom_add E1 #
∀ {K : Type u} [inst : Field K] (x y : RatFunc K),
(x + y).num * (x.denom * y.denom) = (x.num * y.denom + x.denom * y.num) * (x + y).denom
theorem RatFunc.num_denom_neg E1 #
∀ {K : Type u} [inst : Field K] (x : RatFunc K), (-x).num * x.denom = -x.num * (-x).denom
theorem RatFunc.num_denom_mul E1 #
∀ {K : Type u} [inst : Field K] (x y : RatFunc K), (x * y).num * (x.denom * y.denom) = x.num * y.num * (x * y).denom
theorem RatFunc.num_dvd E1 #
∀ {K : Type u} [inst : Field K] {x : RatFunc K} {p : Polynomial K},
p ≠ 0 →
(x.num ∣ p ↔ ∃ q, q ≠ 0 ∧ x = (algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q)
theorem RatFunc.denom_dvd E1 #
∀ {K : Type u} [inst : Field K] {x : RatFunc K} {q : Polynomial K},
q ≠ 0 → (x.denom ∣ q ↔ ∃ p, x = (algebraMap (Polynomial K) (RatFunc K)) p / (algebraMap (Polynomial K) (RatFunc K)) q)
theorem RatFunc.num_mul_dvd E1 #
∀ {K : Type u} [inst : Field K] (x y : RatFunc K), (x * y).num ∣ x.num * y.num
theorem RatFunc.denom_mul_dvd E1 #
∀ {K : Type u} [inst : Field K] (x y : RatFunc K), (x * y).denom ∣ x.denom * y.denom
theorem RatFunc.denom_add_dvd E1 #
∀ {K : Type u} [inst : Field K] (x y : RatFunc K), (x + y).denom ∣ x.denom * y.denom
theorem RatFunc.num_inv_dvd E1 #
∀ {K : Type u} [inst : Field K] {x : RatFunc K}, x ≠ 0 → x⁻¹.num ∣ x.denom
theorem RatFunc.denom_inv_dvd E1 #
∀ {K : Type u} [inst : Field K] (x : RatFunc K), x⁻¹.denom ∣ x.num
theorem RatFunc.associated_num_inv E1 #
∀ {K : Type u} [inst : Field K] {x : RatFunc K}, x ≠ 0 → Associated x⁻¹.num x.denom
theorem RatFunc.associated_denom_inv E1 #
∀ {K : Type u} [inst : Field K] {x : RatFunc K}, x ≠ 0 → Associated x⁻¹.denom x.num
theorem RatFunc.map_denom_ne_zero E0 #
∀ {K : Type u} [inst : Field K] {L : Type u_1} {F : Type u_2} [inst_1 : Zero L] [inst_2 : FunLike F (Polynomial K) L]
[ZeroHomClass F (Polynomial K) L] (φ : F), Function.Injective ⇑φ → ∀ (f : RatFunc K), φ f.denom ≠ 0
theorem RatFunc.map_apply E0 #
∀ {K : Type u} [inst : Field K] {R : Type u_1} {F : Type u_2} [inst_1 : CommRing R] [inst_2 : IsDomain R]
[inst_3 : FunLike F (Polynomial K) (Polynomial R)] [inst_4 : MonoidHomClass F (Polynomial K) (Polynomial R)] (φ : F)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors (Polynomial R))) (f : RatFunc K),
(RatFunc.map φ hφ) f =
(algebraMap (Polynomial R) (RatFunc R)) (φ f.num) / (algebraMap (Polynomial R) (RatFunc R)) (φ f.denom)
theorem RatFunc.liftMonoidWithZeroHom_apply E0 #
∀ {K : Type u} [inst : Field K] {L : Type u_1} [inst_1 : CommGroupWithZero L] (φ : Polynomial K →*₀ L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (f : RatFunc K),
(RatFunc.liftMonoidWithZeroHom φ hφ) f = φ f.num / φ f.denom
theorem RatFunc.liftRingHom_apply E0 #
∀ {K : Type u} [inst : Field K] {L : Type u_1} [inst_1 : Field L] (φ : Polynomial K →+* L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (f : RatFunc K),
(RatFunc.liftRingHom φ hφ) f = φ f.num / φ f.denom
theorem RatFunc.liftAlgHom_apply E0 #
∀ {K : Type u} [inst : Field K] {L : Type u_1} {S : Type u_2} [inst_1 : Field L] [inst_2 : CommSemiring S]
[inst_3 : Algebra S (Polynomial K)] [inst_4 : Algebra S L] (φ : Polynomial K →ₐ[S] L)
(hφ : nonZeroDivisors (Polynomial K) ≤ Submonoid.comap φ (nonZeroDivisors L)) (f : RatFunc K),
(RatFunc.liftAlgHom φ hφ) f = φ f.num / φ f.denom
theorem RatFunc.num_mul_denom_add_denom_mul_num_ne_zero E1 #
∀ {K : Type u} [inst : Field K] {x y : RatFunc K}, x + y ≠ 0 → x.num * y.denom + x.denom * y.num ≠ 0
instance RatFunc.instCharP E0 #
∀ {K : Type u} [inst : Field K] {p : ℕ} [CharP K p], CharP (RatFunc K) p
instance RatFunc.instExpChar E0 #
∀ {K : Type u} [inst : Field K] {p : ℕ} [ExpChar K p], ExpChar (RatFunc K) p
instance RatFunc.instCharZero E0 #
∀ {K : Type u} [inst : Field K] [CharZero K], CharZero (RatFunc K)