Module

RationalSimplePoles.lean

Nyll.AlgebraicCurves.Differentials.Residues.RationalSimplePoles
97 declarations indexed from sourceView source ↗

Simple-pole residues on the rational function field

The finite-place Euler trace and the coefficient at infinity give cancellation for a simple principal part. Local residues, places, and differential integrality use the shared constructions.

Declarations

AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.FLT.EulerDualBasis.coeff_minpolyDiv_dim_sub_one
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace FLT.EulerDualBasis
noncomputable section
variable {K L : Type*} [Field K] [Field L] [Algebra K L] [FiniteDimensional K L]
  [Algebra.IsSeparable K L]
omit [FiniteDimensional K L] [Algebra.IsSeparable K L] in
theorem coeff_minpolyDiv_dim_sub_one (pb : PowerBasis K L) :
    (minpolyDiv K pb.gen).coeff (pb.dim - 1) = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.FLT.EulerDualBasis.traceDual_eq_one_div_of_val_eq
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace FLT.EulerDualBasis
noncomputable section
variable {K L : Type*} [Field K] [Field L] [Algebra K L] [FiniteDimensional K L]
  [Algebra.IsSeparable K L]
theorem traceDual_eq_one_div_of_val_eq (pb : PowerBasis K L) {j : Fin pb.dim}
    (hj : (j : ℕ) = pb.dim - 1) :
    pb.basis.traceDual j = 1 / aeval pb.gen (derivative (minpoly K pb.gen))
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.FLT.EulerDualBasis.trace_pow_div_aeval_derivative_minpoly_of_lt
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace FLT.EulerDualBasis
noncomputable section
variable {K L : Type*} [Field K] [Field L] [Algebra K L] [FiniteDimensional K L]
  [Algebra.IsSeparable K L]
theorem trace_pow_div_aeval_derivative_minpoly_of_lt (pb : PowerBasis K L) {k : ℕ}
    (hk : k < pb.dim - 1) :
    Algebra.trace K L
      (pb.gen ^ k / aeval pb.gen (derivative (minpoly K pb.gen))) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.FLT.EulerDualBasis.trace_pow_div_aeval_derivative_minpoly_self
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace FLT.EulerDualBasis
noncomputable section
variable {K L : Type*} [Field K] [Field L] [Algebra K L] [FiniteDimensional K L]
  [Algebra.IsSeparable K L]
theorem trace_pow_div_aeval_derivative_minpoly_self (pb : PowerBasis K L)
    (hd : 0 < pb.dim) :
    Algebra.trace K L
      (pb.gen ^ (pb.dim - 1) / aeval pb.gen (derivative (minpoly K pb.gen))) = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.OrdDifferentialWellDefined

Differentials of uniformizers at a place differ by a unit of order zero.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
variable {K F}
variable (K F)
def OrdDifferentialWellDefined : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1PrincipalPartAtom

The rational principal part with numerator c and denominator the m-th power of p.

Source context 15 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
variable [HasCanonicalLocalResidueKStar K (RatFunc K)] [HasCanonicalDivisor (K := K) (F :=
  RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
variable [HasPrincipalDivisors K (RatFunc K)]
abbrev p1PrincipalPartAtom (p c : K[X]) (m : ℕ) : RatFunc K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.finitePlace_ne_placeInfty
Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
variable [HasCanonicalLocalResidueKStar K (RatFunc K)] [HasCanonicalDivisor (K := K) (F :=
  RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
variable [HasPrincipalDivisors K (RatFunc K)]
variable {K}
omit [HasCanonicalLocalResidueKStar K (RatFunc K)] [HasCanonicalDivisor (K := K) (F := RatFunc K)]
  [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]] [HasPrincipalDivisors
  K (RatFunc K)] in
theorem finitePlace_ne_placeInfty {p : K[X]} (hp : Irreducible p) :
    finitePlace K hp ≠ placeInfty K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.RationalFunctionField.ord_finitePlace_self
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve.RationalFunctionField
noncomputable section
variable (K : Type*) [Field K]
theorem ord_finitePlace_self {p : K[X]} (hp : Irreducible p) :
    (finitePlace K hp).ord (algebraMap K[X] (RatFunc K) p) = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.localResidueData_uniformizer_inv
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem localResidueData_uniformizer_inv (v : Place K F) (R : v.LocalResidueData) :
    R.res v.uniformizer⁻¹ = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.D_ratFuncX_eq_neg_X_sq_smul_D_inv
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
omit [DecidableEq (RatFunc K)] in
theorem D_ratFuncX_eq_neg_X_sq_smul_D_inv :
    KaehlerDifferential.D K (RatFunc K) RatFunc.X
      = (-(RatFunc.X : RatFunc K) ^ 2) •
          KaehlerDifferential.D K (RatFunc K) (RatFunc.X : RatFunc K)⁻¹
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_placeInfty_X_inv
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
theorem ord_placeInfty_X_inv : (placeInfty K).ord (RatFunc.X : RatFunc K)⁻¹ = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_placeInfty_X_pow
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
theorem ord_placeInfty_X_pow (n : ℕ) :
    (placeInfty K).ord ((RatFunc.X : RatFunc K) ^ n) = -(n : ℤ)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.D_ratFuncX_inv_ne_zero
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [DecidableEq (RatFunc K)] in
theorem D_ratFuncX_inv_ne_zero (hwd : OrdDifferentialWellDefined K (RatFunc K)) :
    KaehlerDifferential.D K (RatFunc K) (RatFunc.X : RatFunc K)⁻¹ ≠ 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.differentialCoeff_placeInfty_D_X_eq
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem differentialCoeff_placeInfty_D_X_eq :
    (placeInfty K).differentialCoeff (KaehlerDifferential.D K (RatFunc K) RatFunc.X)
      = (-(RatFunc.X : RatFunc K) ^ 2) *
          (placeInfty K).differentialCoeff
            (KaehlerDifferential.D K (RatFunc K) (RatFunc.X : RatFunc K)⁻¹)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_differentialCoeff_placeInfty_D_X_inv_eq_zero
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem ord_differentialCoeff_placeInfty_D_X_inv_eq_zero
    (hwd : OrdDifferentialWellDefined K (RatFunc K)) :
    (placeInfty K).ord
        ((placeInfty K).differentialCoeff
          (KaehlerDifferential.D K (RatFunc K) (RatFunc.X : RatFunc K)⁻¹)) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ordDifferential_placeInfty_D_ratFuncX
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem ordDifferential_placeInfty_D_ratFuncX
    (hwd : OrdDifferentialWellDefined K (RatFunc K)) :
    (placeInfty K).ordDifferential
        (KaehlerDifferential.D K (RatFunc K) (RatFunc.X : RatFunc K)) = -2
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.canonicalLocalResidueDataK_uniformizer_inv
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem canonicalLocalResidueDataK_uniformizer_inv (v : Place K F)
    (R : v.CanonicalLocalResidueDataK) : R.res v.uniformizer⁻¹ = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.dX

The differential of the standard coordinate on the rational function field.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
abbrev dX : Ω[(RatFunc K)⁄K]
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.aeval_ratFuncX_eq_algebraMap
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
theorem aeval_ratFuncX_eq_algebraMap (q : K[X]) :
    aeval (RatFunc.X : RatFunc K) q = algebraMap K[X] (RatFunc K) q
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.D_algebraMap_polynomial
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
theorem D_algebraMap_polynomial (q : K[X]) :
    KaehlerDifferential.D K (RatFunc K) (algebraMap K[X] (RatFunc K) q)
      = algebraMap K[X] (RatFunc K) q.derivative • dX K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.denom_sq_smul_D_eq
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
theorem denom_sq_smul_D_eq (f : RatFunc K) :
    (algebraMap K[X] (RatFunc K) f.denom) ^ 2 • KaehlerDifferential.D K (RatFunc K) f
      = algebraMap K[X] (RatFunc K)
          (f.num.derivative * f.denom - f.num * f.denom.derivative) • dX K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.span_dX_eq_top
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
theorem span_dX_eq_top :
    Submodule.span (RatFunc K) {dX K} = ⊤
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.dX_ne_zero
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
theorem dX_ne_zero [Nontrivial Ω[(RatFunc K)⁄K]] : dX K ≠ 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.not_dvd_derivative_of_sq_not_dvd
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
theorem not_dvd_derivative_of_sq_not_dvd {p : K[X]} (hp : Irreducible p) (hsep : p.Separable)
    {q : K[X]} (hpq : p ∣ q) (hpq2 : ¬ p ^ 2 ∣ q) : ¬ p ∣ q.derivative
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.not_dvd_derivative_of_ord_eq_one
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
variable {K}
theorem not_dvd_derivative_of_ord_eq_one {w : HeightOneSpectrum K[X]} {p : K[X]}
    (hp : Irreducible p) (hwp : w.asIdeal = Ideal.span {p}) (hsep : p.Separable)
    {q : K[X]} (hq : q ≠ 0)
    (hord : (Place.ofHeightOneSpectrum (K := K) (F := RatFunc K) w).ord
      (algebraMap K[X] (RatFunc K) q) = 1) :
    ¬ p ∣ q.derivative
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_algebraMap_denom_uniformizer_eq_zero
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
variable {K}
variable {w : HeightOneSpectrum K[X]}
local notation "v" => Place.ofHeightOneSpectrum (K := K) (F := RatFunc K) w
theorem ord_algebraMap_denom_uniformizer_eq_zero {p : K[X]}
    (hp : Irreducible p) (hwp : w.asIdeal = Ideal.span {p}) :
    (v).ord (algebraMap K[X] (RatFunc K) (v).uniformizer.denom) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_algebraMap_num_uniformizer_eq_one
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
variable {K}
variable {w : HeightOneSpectrum K[X]}
local notation "v" => Place.ofHeightOneSpectrum (K := K) (F := RatFunc K) w
theorem ord_algebraMap_num_uniformizer_eq_one {p : K[X]}
    (hp : Irreducible p) (hwp : w.asIdeal = Ideal.span {p}) :
    (v).ord (algebraMap K[X] (RatFunc K) (v).uniformizer.num) = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.not_dvd_num'denom_sub_numdenom'
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
variable {K}
variable {w : HeightOneSpectrum K[X]}
local notation "v" => Place.ofHeightOneSpectrum (K := K) (F := RatFunc K) w
theorem not_dvd_num'denom_sub_numdenom' {p : K[X]}
    (hp : Irreducible p) (hwp : w.asIdeal = Ideal.span {p}) (hsep : p.Separable) :
    ¬ p ∣ ((v).uniformizer.num.derivative * (v).uniformizer.denom
            - (v).uniformizer.num * (v).uniformizer.denom.derivative)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_differentialCoeff_dX_ofHeightOneSpectrum
Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
variable {K}
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
variable {w : HeightOneSpectrum K[X]}
local notation "v" => Place.ofHeightOneSpectrum (K := K) (F := RatFunc K) w
theorem ord_differentialCoeff_dX_ofHeightOneSpectrum {p : K[X]}
    (hp : Irreducible p) (hwp : w.asIdeal = Ideal.span {p}) (hsep : p.Separable) :
    (v).ord ((v).differentialCoeff (dX K)) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_placeInfty_p1PrincipalPartAtom
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
theorem ord_placeInfty_p1PrincipalPartAtom
    {p : K[X]} (hp : p ≠ 0) {c : K[X]} (hc : c ≠ 0) (m : ℕ) :
    (placeInfty K).ord (p1PrincipalPartAtom K p c m)
      = (m : ℤ) * p.natDegree - c.natDegree
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.one_le_ord_placeInfty_p1PrincipalPartAtom
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
theorem one_le_ord_placeInfty_p1PrincipalPartAtom
    {p : K[X]} (hp : Irreducible p) {c : K[X]} (hc : c ≠ 0) {m : ℕ}
    (hdeg : c.degree < p.degree) (hm : 1 ≤ m) :
    1 ≤ (placeInfty K).ord (p1PrincipalPartAtom K p c m)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.not_dvd_of_degree_lt
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
omit [DecidableEq (RatFunc K)] in
theorem not_dvd_of_degree_lt {p c : K[X]} (hc : c ≠ 0)
    (hdeg : c.degree < p.degree) : ¬ p ∣ c
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_finitePlace_of_degree_lt
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
omit [DecidableEq (RatFunc K)] in
theorem ord_finitePlace_of_degree_lt {p : K[X]} (hp : Irreducible p) {c : K[X]} (hc : c ≠ 0)
    (hdeg : c.degree < p.degree) :
    (finitePlace K hp).ord (algebraMap K[X] (RatFunc K) c) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_finitePlace_p1PrincipalPartAtom
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
omit [DecidableEq (RatFunc K)] in
theorem ord_finitePlace_p1PrincipalPartAtom {p : K[X]} (hp : Irreducible p)
    {c : K[X]} (hc : c ≠ 0) (hdeg : c.degree < p.degree) (m : ℕ) :
    (finitePlace K hp).ord (p1PrincipalPartAtom K p c m) = -(m : ℤ)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.P1DifferentialCoeffUnitFinite

The coefficient of the given differential has order zero at every finite place.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
variable [HasCanonicalLocalResidueKStar K (RatFunc K)] [HasCanonicalDivisor (K := K) (F :=
  RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
variable [HasPrincipalDivisors K (RatFunc K)]
def P1DifferentialCoeffUnitFinite {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ordDifferentialWellDefined_ratFunc_of_perfectField
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
theorem ordDifferentialWellDefined_ratFunc_of_perfectField (K : Type*) [Field K]
    [PerfectField K] :
    OrdDifferentialWellDefined K (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_finitePlace_mOneAtom_mul_differentialCoeff
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates]
theorem ord_finitePlace_mOneAtom_mul_differentialCoeff
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hunit : ∀ v : Place K (RatFunc K), v ≠ placeInfty K → v.ord (v.differentialCoeff ω₀) = 0)
    {p : K[X]} (hp : Irreducible p) {c : K[X]} (hc : c ≠ 0)
    (hdeg : c.degree < p.degree) :
    (finitePlace K hp).ord
        (p1PrincipalPartAtom K p c 1 * (finitePlace K hp).differentialCoeff ω₀) = -1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_placeInfty_mOneAtom_mul_differentialCoeff_ge_neg_one
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates]
theorem ord_placeInfty_mOneAtom_mul_differentialCoeff_ge_neg_one
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hInfty : (placeInfty K).ordDifferential ω₀ = -2)
    {p : K[X]} (hp : Irreducible p) {c : K[X]} (hc : c ≠ 0)
    (hdeg : c.degree < p.degree) :
    -1 ≤ (placeInfty K).ord
        (p1PrincipalPartAtom K p c 1 * (placeInfty K).differentialCoeff ω₀)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1MOneAtom_mul_differentialCoeff_mem_simplePole_finitePlace
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates]
theorem p1MOneAtom_mul_differentialCoeff_mem_simplePole_finitePlace
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hunit : ∀ v : Place K (RatFunc K), v ≠ placeInfty K → v.ord (v.differentialCoeff ω₀) = 0)
    {p : K[X]} (hp : Irreducible p) (c : K[X]) (hdeg : c.degree < p.degree) :
    p1PrincipalPartAtom K p c 1 * (finitePlace K hp).differentialCoeff ω₀
      ∈ (finitePlace K hp).simplePoleSubmodule
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1MOneAtom_mul_differentialCoeff_mem_simplePole_placeInfty
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates]
theorem p1MOneAtom_mul_differentialCoeff_mem_simplePole_placeInfty
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hInfty : (placeInfty K).ordDifferential ω₀ = -2)
    {p : K[X]} (hp : Irreducible p) (c : K[X]) (hdeg : c.degree < p.degree) :
    p1PrincipalPartAtom K p c 1 * (placeInfty K).differentialCoeff ω₀
      ∈ (placeInfty K).simplePoleSubmodule
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.P1PrincipalPartMOneSimplePoleCancel

The traced simple-pole residues at the finite place and at infinity sum to zero.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
variable [HasLocalResidue K (RatFunc K)] [HasCanonicalLocalResidueKStar K (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates]
def P1PrincipalPartMOneSimplePoleCancel {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.finitePlaceResidueFieldAlgEquivAdjoinRoot

The quotient by an irreducible polynomial identifies with the corresponding residue field.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable {p : K[X]} (hpirr : Irreducible p)
def finitePlaceResidueFieldAlgEquivAdjoinRoot :
    AdjoinRoot p ≃ₐ[K] (finitePlace K hpirr).ResidueField
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.finitePlaceResidueFieldAlgEquivAdjoinRoot_mk
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable {p : K[X]} (hpirr : Irreducible p)
omit [DecidableEq (RatFunc K)] in
theorem finitePlaceResidueFieldAlgEquivAdjoinRoot_mk (q : K[X]) :
    finitePlaceResidueFieldAlgEquivAdjoinRoot K hpirr (AdjoinRoot.mk p q)
      = IsLocalRing.residue _ ⟨algebraMap K[X] (RatFunc K) q,
          algebraMap_mem_ofHeightOneSpectrum K _ q⟩
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_finitePlace_residueField_eq_trace_adjoinRoot
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable {p : K[X]} (hpirr : Irreducible p)
omit [DecidableEq (RatFunc K)] in
theorem trace_finitePlace_residueField_eq_trace_adjoinRoot
    (y : (finitePlace K hpirr).ResidueField) :
    Algebra.trace K (finitePlace K hpirr).ResidueField y
      = Algebra.trace K (AdjoinRoot p)
          ((finitePlaceResidueFieldAlgEquivAdjoinRoot K hpirr).symm y)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.P1FinitePlaceSimplePoleResidueAdjoinRootValue

The finite-place residue of c / p times dX is c(root) / p.derivative(root).

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [HasLocalResidue K (RatFunc K)] [HasCanonicalLocalResidueKStar K (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates]
def P1FinitePlaceSimplePoleResidueAdjoinRootValue : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.P1PlaceInftySimplePoleResidueEulerValue

The traced residue of c / p times dX at infinity is minus the coefficient in degree deg(p) - 1.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [HasLocalResidue K (RatFunc K)] [HasCanonicalLocalResidueKStar K (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates]
def P1PlaceInftySimplePoleResidueEulerValue : Prop
AlgebraicCurve.Place.simplePoleResidueAux_mul_of_mem
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve.Place
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F] [HasCanonicalLocalResidueKStar K F]
variable (v : Place K F)
omit [HasCanonicalLocalResidueKStar K F] in
theorem _root_.AlgebraicCurve.Place.simplePoleResidueAux_mul_of_mem {a : F} (ha :
  a ∈ v.toValuationSubring)
    {f : F} (hf : f ∈ v.simplePoleSubmodule)
    (haf : a * f ∈ v.simplePoleSubmodule) :
    v.simplePoleResidueAux ⟨a * f, haf⟩
      = IsLocalRing.residue _ ⟨a, ha⟩ * v.simplePoleResidueAux ⟨f, hf⟩
AlgebraicCurve.Place.mul_mem_simplePoleSubmodule_of_mem
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve.Place
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F] [HasCanonicalLocalResidueKStar K F]
variable (v : Place K F)
omit [HasCanonicalLocalResidueKStar K F] in
theorem _root_.AlgebraicCurve.Place.mul_mem_simplePoleSubmodule_of_mem {a : F} (ha :
  a ∈ v.toValuationSubring)
    {f : F} (hf : f ∈ v.simplePoleSubmodule) :
    a * f ∈ v.simplePoleSubmodule
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.differentialCoeff_D_algebraMap_polynomial
Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [DecidableEq (RatFunc K)] in
theorem differentialCoeff_D_algebraMap_polynomial (v : Place K (RatFunc K)) (q : K[X]) :
    v.differentialCoeff (D K (RatFunc K) (algebraMap K[X] (RatFunc K) q))
      = algebraMap K[X] (RatFunc K) q.derivative * v.differentialCoeff (dX K)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_placeInfty_mOneAtom_mul_differentialCoeff_dX
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem ord_placeInfty_mOneAtom_mul_differentialCoeff_dX
    (hInfty : (placeInfty K).ord ((placeInfty K).differentialCoeff (dX K)) = -2)
    {p c : K[X]} (hp : p ≠ 0) (hc : c ≠ 0) :
    (placeInfty K).ord
        (p1PrincipalPartAtom K p c 1 * (placeInfty K).differentialCoeff (dX K))
      = (p.natDegree : ℤ) - c.natDegree - 2
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1MOneAtom_mul_differentialCoeff_dX_mem_placeInfty
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem p1MOneAtom_mul_differentialCoeff_dX_mem_placeInfty
    (hInfty : (placeInfty K).ord ((placeInfty K).differentialCoeff (dX K)) = -2)
    {p c : K[X]} (hp : p ≠ 0) (hcdeg : c = 0 ∨ c.natDegree + 2 ≤ p.natDegree) :
    p1PrincipalPartAtom K p c 1 * (placeInfty K).differentialCoeff (dX K)
      ∈ (placeInfty K).toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_placeInfty_simplePoleResidue_mOne_of_lowDeg
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem trace_placeInfty_simplePoleResidue_mOne_of_lowDeg
    (hInfty : (placeInfty K).ord ((placeInfty K).differentialCoeff (dX K)) = -2)
    {p c : K[X]} (hpirr : Irreducible p)
    (hcdeg : c = 0 ∨ c.natDegree + 2 ≤ p.natDegree)
    (himem : p1PrincipalPartAtom K p c 1 * (placeInfty K).differentialCoeff (dX K)
        ∈ (placeInfty K).simplePoleSubmodule) :
    Algebra.trace K (placeInfty K).ResidueField
        ((placeInfty K).simplePoleResidueAux ⟨_, himem⟩)
      = -(c.coeff (p.natDegree - 1))
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.P1PlaceInftySimplePoleResidueEulerValueTopDeg

The residue formula at infinity when the numerator has degree exactly deg(p) - 1.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
def P1PlaceInftySimplePoleResidueEulerValueTopDeg : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.P1PlaceInftySimplePoleResidueEulerValueMonomial

The traced residue of X^(deg(p) - 1) / p times dX at infinity is minus one.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
def P1PlaceInftySimplePoleResidueEulerValueMonomial : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1PrincipalPartAtom_add_mul_differentialCoeff
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [DecidableEq (RatFunc K)] in
omit [∀ (v : Place K (RatFunc K)), v.DCoordGenerates] [Nontrivial Ω[RatFunc K⁄K]] in
theorem p1PrincipalPartAtom_add_mul_differentialCoeff (p c₁ c₂ : K[X]) (m : ℕ)
    (v : Place K (RatFunc K)) (ω : Ω[(RatFunc K)⁄K]) :
    p1PrincipalPartAtom K p (c₁ + c₂) m * v.differentialCoeff ω
      = p1PrincipalPartAtom K p c₁ m * v.differentialCoeff ω
        + p1PrincipalPartAtom K p c₂ m * v.differentialCoeff ω
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1PrincipalPartAtom_C_mul_mul_differentialCoeff
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [DecidableEq (RatFunc K)] in
omit [∀ (v : Place K (RatFunc K)), v.DCoordGenerates] [Nontrivial Ω[RatFunc K⁄K]] in
theorem p1PrincipalPartAtom_C_mul_mul_differentialCoeff (p c : K[X]) (a : K) (m : ℕ)
    (v : Place K (RatFunc K)) (ω : Ω[(RatFunc K)⁄K]) :
    p1PrincipalPartAtom K p (C a * c) m * v.differentialCoeff ω
      = a • (p1PrincipalPartAtom K p c m * v.differentialCoeff ω)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_placeInfty_simplePoleResidueAux_mOne_add
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [∀ (v : Place K (RatFunc K)), v.DCoordGenerates] [Nontrivial Ω[RatFunc K⁄K]] in
theorem trace_placeInfty_simplePoleResidueAux_mOne_add
    {p c₁ c₂ : K[X]} {ω : Ω[(RatFunc K)⁄K]}
    (h1 : p1PrincipalPartAtom K p c₁ 1 * (placeInfty K).differentialCoeff ω
        ∈ (placeInfty K).simplePoleSubmodule)
    (h2 : p1PrincipalPartAtom K p c₂ 1 * (placeInfty K).differentialCoeff ω
        ∈ (placeInfty K).simplePoleSubmodule)
    (h12 : p1PrincipalPartAtom K p (c₁ + c₂) 1 * (placeInfty K).differentialCoeff ω
        ∈ (placeInfty K).simplePoleSubmodule) :
    Algebra.trace K (placeInfty K).ResidueField
        ((placeInfty K).simplePoleResidueAux ⟨_, h12⟩)
      = Algebra.trace K (placeInfty K).ResidueField
          ((placeInfty K).simplePoleResidueAux ⟨_, h1⟩)
        + Algebra.trace K (placeInfty K).ResidueField
            ((placeInfty K).simplePoleResidueAux ⟨_, h2⟩)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_placeInfty_simplePoleResidueAux_mOne_C_mul
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [∀ (v : Place K (RatFunc K)), v.DCoordGenerates] [Nontrivial Ω[RatFunc K⁄K]] in
theorem trace_placeInfty_simplePoleResidueAux_mOne_C_mul
    {p c : K[X]} {a : K} {ω : Ω[(RatFunc K)⁄K]}
    (hc : p1PrincipalPartAtom K p c 1 * (placeInfty K).differentialCoeff ω
        ∈ (placeInfty K).simplePoleSubmodule)
    (hac : p1PrincipalPartAtom K p (C a * c) 1 * (placeInfty K).differentialCoeff ω
        ∈ (placeInfty K).simplePoleSubmodule) :
    Algebra.trace K (placeInfty K).ResidueField
        ((placeInfty K).simplePoleResidueAux ⟨_, hac⟩)
      = a * Algebra.trace K (placeInfty K).ResidueField
          ((placeInfty K).simplePoleResidueAux ⟨_, hc⟩)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1PlaceInftySimplePoleResidueEulerValue_of_topDeg
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem p1PlaceInftySimplePoleResidueEulerValue_of_topDeg
    (hInfty : (placeInfty K).ord ((placeInfty K).differentialCoeff (dX K)) = -2)
    (htop : P1PlaceInftySimplePoleResidueEulerValueTopDeg K) :
    P1PlaceInftySimplePoleResidueEulerValue K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1PlaceInftySimplePoleResidueEulerValueTopDeg_of_monomial
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem p1PlaceInftySimplePoleResidueEulerValueTopDeg_of_monomial
    (hInfty : (placeInfty K).ord ((placeInfty K).differentialCoeff (dX K)) = -2)
    (hmono : P1PlaceInftySimplePoleResidueEulerValueMonomial K) :
    P1PlaceInftySimplePoleResidueEulerValueTopDeg K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1PlaceInftySimplePoleResidueEulerValue_of_monomial
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem p1PlaceInftySimplePoleResidueEulerValue_of_monomial
    (hInfty : (placeInfty K).ord ((placeInfty K).differentialCoeff (dX K)) = -2)
    (hmono : P1PlaceInftySimplePoleResidueEulerValueMonomial K) :
    P1PlaceInftySimplePoleResidueEulerValue K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ord_placeInfty_X_pow_natDegree_div
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
theorem ord_placeInfty_X_pow_natDegree_div {p : K[X]} (hp : p ≠ 0) :
    (placeInfty K).ord
        (algebraMap K[X] (RatFunc K) (X ^ p.natDegree) / algebraMap K[X] (RatFunc K) p) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.X_pow_natDegree_div_mem_placeInfty
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
theorem X_pow_natDegree_div_mem_placeInfty {p : K[X]} (hp : p ≠ 0) :
    algebraMap K[X] (RatFunc K) (X ^ p.natDegree) / algebraMap K[X] (RatFunc K) p
      ∈ (placeInfty K).toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.degree_X_pow_natDegree_sub_lt_of_monic
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
omit [DecidableEq (RatFunc K)] in
theorem degree_X_pow_natDegree_sub_lt_of_monic {p : K[X]} (hpmon : p.Monic) :
    ((X : K[X]) ^ p.natDegree - p).degree < p.degree
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.residue_placeInfty_X_pow_natDegree_div_monic_eq_one
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
theorem residue_placeInfty_X_pow_natDegree_div_monic_eq_one {p : K[X]} (hpmon : p.Monic) :
    IsLocalRing.residue _ ⟨_, X_pow_natDegree_div_mem_placeInfty K hpmon.ne_zero⟩
      = (1 : (placeInfty K).ResidueField)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.P1PlaceInftySimplePoleResidueEulerValueX

The traced residue of dX / X at infinity is minus one.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
def P1PlaceInftySimplePoleResidueEulerValueX : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1MonomialAtom_eq_monicRatio_mul
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [HasCanonicalLocalResidueKStar K (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [HasCanonicalLocalResidueKStar K (RatFunc K)] [∀ (v : Place K (RatFunc K)),
  v.DCoordGenerates] [Nontrivial Ω[RatFunc K⁄K]] in
theorem p1MonomialAtom_eq_monicRatio_mul {p : K[X]} (hpdeg : 1 ≤ p.natDegree) :
    p1PrincipalPartAtom K p (X ^ (p.natDegree - 1)) 1 * (placeInfty K).differentialCoeff (dX K)
      = (algebraMap K[X] (RatFunc K) (X ^ p.natDegree) / algebraMap K[X] (RatFunc K) p)
        * (p1PrincipalPartAtom K (X : K[X]) 1 1
            * (placeInfty K).differentialCoeff (dX K))
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1XInvAtom_mul_differentialCoeff_dX_mem_simplePole_placeInfty
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [HasCanonicalLocalResidueKStar K (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [HasCanonicalLocalResidueKStar K (RatFunc K)] in
theorem p1XInvAtom_mul_differentialCoeff_dX_mem_simplePole_placeInfty
    (hInfty : (placeInfty K).ordDifferential (dX K) = -2) :
    p1PrincipalPartAtom K (X : K[X]) 1 1 * (placeInfty K).differentialCoeff (dX K)
      ∈ (placeInfty K).simplePoleSubmodule
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.simplePoleResidueAux_placeInfty_monomial_eq_X
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [HasCanonicalLocalResidueKStar K (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [HasCanonicalLocalResidueKStar K (RatFunc K)] in
theorem simplePoleResidueAux_placeInfty_monomial_eq_X
    (hInfty : (placeInfty K).ordDifferential (dX K) = -2)
    {p : K[X]} (hpmon : p.Monic) (hpirr : Irreducible p)
    (himem : p1PrincipalPartAtom K p (X ^ (p.natDegree - 1)) 1
          * (placeInfty K).differentialCoeff (dX K)
        ∈ (placeInfty K).simplePoleSubmodule) :
    (placeInfty K).simplePoleResidueAux ⟨_, himem⟩
      = (placeInfty K).simplePoleResidueAux
          ⟨_, p1XInvAtom_mul_differentialCoeff_dX_mem_simplePole_placeInfty K hInfty⟩
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1PlaceInftySimplePoleResidueEulerValueMonomial_of_X
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [DecidableEq (RatFunc K)]
variable [HasCanonicalLocalResidueKStar K (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [HasCanonicalLocalResidueKStar K (RatFunc K)] in
theorem p1PlaceInftySimplePoleResidueEulerValueMonomial_of_X
    (hInfty : (placeInfty K).ordDifferential (dX K) = -2)
    (hX : P1PlaceInftySimplePoleResidueEulerValueX K) :
    P1PlaceInftySimplePoleResidueEulerValueMonomial K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.CanonicalLocalResidueKSimplePoleCoordIndep

Every uniformizer has logarithmic differential of residue one.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F] [HasCanonicalLocalResidueKStar K F]
variable (K F)
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
def CanonicalLocalResidueKSimplePoleCoordIndep : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1XAtom_mul_differentialCoeff_dX_eq_neg
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K) [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem p1XAtom_mul_differentialCoeff_dX_eq_neg :
    p1PrincipalPartAtom K (X : K[X]) 1 1 * (placeInfty K).differentialCoeff (dX K)
      = -((placeInfty K).differentialCoeff
            (KaehlerDifferential.D K (RatFunc K) (RatFunc.X : RatFunc K)⁻¹)
          * ((RatFunc.X : RatFunc K)⁻¹)⁻¹)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_placeInfty_residueField_one
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K) [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
omit [∀ (v : Place K (RatFunc K)), v.DCoordGenerates] [Nontrivial Ω[RatFunc K⁄K]] in
theorem trace_placeInfty_residueField_one :
    Algebra.trace K (placeInfty K).ResidueField 1 = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.simplePoleResidueAux_placeInfty_p1XAtom_eq_neg_one
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K) [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem simplePoleResidueAux_placeInfty_p1XAtom_eq_neg_one
    (hsp : CanonicalLocalResidueKSimplePoleCoordIndep K (RatFunc K))
    (himem : p1PrincipalPartAtom K (X : K[X]) 1 1 * (placeInfty K).differentialCoeff (dX K)
        ∈ (placeInfty K).simplePoleSubmodule) :
    (placeInfty K).simplePoleResidueAux ⟨_, himem⟩ = -1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1PlaceInftySimplePoleResidueEulerValueX_of_simplePoleCoordIndep
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K) [DecidableEq (RatFunc K)]
variable [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
theorem p1PlaceInftySimplePoleResidueEulerValueX_of_simplePoleCoordIndep
    (hsp : CanonicalLocalResidueKSimplePoleCoordIndep K (RatFunc K)) :
    P1PlaceInftySimplePoleResidueEulerValueX K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.Place.CanonicalLocalResidueDataK.res_differentialCoeff_D_mul_inv_of_integral
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve.Place
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F] [HasCanonicalLocalResidueKStar K F]
variable (v : Place K F) [v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
omit [HasCanonicalLocalResidueKStar K F] in
open scoped _root_.AlgebraicCurve.Place.CanonicalLocalResidueDataK in
theorem CanonicalLocalResidueDataK.res_differentialCoeff_D_mul_inv_of_integral
    (hint : ∀ h : F, h ∈ v.toValuationSubring →
      v.differentialCoeff (KaehlerDifferential.D K F h) ∈ v.toValuationSubring)
    (R : v.CanonicalLocalResidueDataK) {π' : F} (hπ' : v.ord π' = 1) :
    R.res (v.differentialCoeff (KaehlerDifferential.D K F π') * (π')⁻¹) = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.p1DifferentialCoeffUnitFinite_dX_of_perfectField
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
variable [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
theorem p1DifferentialCoeffUnitFinite_dX_of_perfectField :
    P1DifferentialCoeffUnitFinite K (dX_ne_zero K)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.ordDifferential_dX_placeInfty_of_perfectField
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K]
variable [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
theorem ordDifferential_dX_placeInfty_of_perfectField :
    (placeInfty K).ordDifferential (dX K) = -2
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_root_pow_div_derivative_of_lt
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable {p : K[X]} [Fact (Irreducible p)]
omit [DecidableEq (RatFunc K)] in
theorem trace_root_pow_div_derivative_of_lt (hpmon : p.Monic)
    {k : ℕ} (hk : k < p.natDegree - 1) :
    Algebra.trace K (AdjoinRoot p)
      (AdjoinRoot.root p ^ k / aeval (AdjoinRoot.root p) (derivative p)) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_root_pow_div_derivative_self
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable {p : K[X]} [Fact (Irreducible p)]
omit [DecidableEq (RatFunc K)] in
theorem trace_root_pow_div_derivative_self (hpmon : p.Monic)
    (hd : 0 < p.natDegree) :
    Algebra.trace K (AdjoinRoot p)
      (AdjoinRoot.root p ^ (p.natDegree - 1) /
        aeval (AdjoinRoot.root p) (derivative p)) = 1
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.aeval_root_eq_sum_range
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable {p : K[X]} [Fact (Irreducible p)]
omit [PerfectField K] [DecidableEq (RatFunc K)] in
theorem aeval_root_eq_sum_range {c : K[X]} {d : ℕ} (hd : c.natDegree < d) :
    (aeval (AdjoinRoot.root p) c : AdjoinRoot p)
      = ∑ k ∈ Finset.range d, c.coeff k • AdjoinRoot.root p ^ k
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_adjoinRoot_mk_div_mk_derivative
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable {p : K[X]} [Fact (Irreducible p)]
omit [DecidableEq (RatFunc K)] in
theorem trace_adjoinRoot_mk_div_mk_derivative (hpmon : p.Monic)
    {c : K[X]} (hdeg : c.degree < p.degree) :
    Algebra.trace K (AdjoinRoot p)
        (AdjoinRoot.mk p c / AdjoinRoot.mk p (derivative p))
      = c.coeff (p.natDegree - 1)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.uniformizer_div_polynomial_mem_finitePlace
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [PerfectField K] [DecidableEq (RatFunc K)] in
omit [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates]
  [Nontrivial Ω[RatFunc K⁄K]] in
theorem uniformizer_div_polynomial_mem_finitePlace {p : K[X]} (hpirr : Irreducible p) :
    (finitePlace K hpirr).uniformizer / algebraMap K[X] (RatFunc K) p
      ∈ (finitePlace K hpirr).toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.uniformizer_div_polynomial_differential_remainder
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [PerfectField K] [DecidableEq (RatFunc K)] in
theorem uniformizer_div_polynomial_differential_remainder
    {p : K[X]} (hpirr : Irreducible p) :
    (1 : RatFunc K) - (finitePlace K hpirr).uniformizer / algebraMap K[X] (RatFunc K) p
        * (finitePlace K hpirr).differentialCoeff
            (D K (RatFunc K) (algebraMap K[X] (RatFunc K) p))
      = algebraMap K[X] (RatFunc K) p
          * (finitePlace K hpirr).differentialCoeff
              (D K (RatFunc K) ((finitePlace K hpirr).uniformizer
                / algebraMap K[X] (RatFunc K) p))
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.uniformizer_div_polynomial_mul_differentialCoeff_D_mem
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [DecidableEq (RatFunc K)] in
theorem uniformizer_div_polynomial_mul_differentialCoeff_D_mem
    {p : K[X]} (hpirr : Irreducible p) :
    (finitePlace K hpirr).uniformizer / algebraMap K[X] (RatFunc K) p
        * (finitePlace K hpirr).differentialCoeff
            (D K (RatFunc K) (algebraMap K[X] (RatFunc K) p))
      ∈ (finitePlace K hpirr).toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.residue_uniformizer_div_polynomial_mul_differentialCoeff_D
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [DecidableEq (RatFunc K)] in
theorem residue_uniformizer_div_polynomial_mul_differentialCoeff_D
    {p : K[X]} (hpirr : Irreducible p) :
    IsLocalRing.residue _
        ⟨_, uniformizer_div_polynomial_mul_differentialCoeff_D_mem K hpirr⟩
      = (1 : (finitePlace K hpirr).ResidueField)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.residue_polynomial_derivative_ne_zero
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [DecidableEq (RatFunc K)] in
omit [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates]
  [Nontrivial Ω[RatFunc K⁄K]] in
theorem residue_polynomial_derivative_ne_zero {p : K[X]} (hpirr : Irreducible p) :
    IsLocalRing.residue _ ⟨algebraMap K[X] (RatFunc K) p.derivative,
        algebraMap_mem_ofHeightOneSpectrum K _ p.derivative⟩
      ≠ (0 : (finitePlace K hpirr).ResidueField)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.simplePoleResidueAux_finitePlace_principalPart
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [DecidableEq (RatFunc K)] in
theorem simplePoleResidueAux_finitePlace_principalPart
    {p c : K[X]} (hpirr : Irreducible p)
    (hfmem : p1PrincipalPartAtom K p c 1 * (finitePlace K hpirr).differentialCoeff (dX K)
        ∈ (finitePlace K hpirr).simplePoleSubmodule) :
    (finitePlace K hpirr).simplePoleResidueAux ⟨_, hfmem⟩
      = IsLocalRing.residue _ ⟨algebraMap K[X] (RatFunc K) c,
            algebraMap_mem_ofHeightOneSpectrum K _ c⟩
        / IsLocalRing.residue _ ⟨algebraMap K[X] (RatFunc K) p.derivative,
            algebraMap_mem_ofHeightOneSpectrum K _ p.derivative⟩
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.finitePlace_simplePole_residue_adjoinRoot
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [DecidableEq (RatFunc K)] in
theorem finitePlace_simplePole_residue_adjoinRoot :
    P1FinitePlaceSimplePoleResidueAdjoinRootValue K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.trace_finitePlace_simplePoleResidue
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [DecidableEq (RatFunc K)] in
theorem trace_finitePlace_simplePoleResidue
    {p c : K[X]} (hpmon : p.Monic) (hpirr : Irreducible p) (hdeg : c.degree < p.degree)
    (hfmem : p1PrincipalPartAtom K p c 1 * (finitePlace K hpirr).differentialCoeff (dX K)
        ∈ (finitePlace K hpirr).simplePoleSubmodule) :
    Algebra.trace K (finitePlace K hpirr).ResidueField
        ((finitePlace K hpirr).simplePoleResidueAux ⟨_, hfmem⟩)
      = c.coeff (p.natDegree - 1)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.simplePole_residues_cancel_of_infty_coefficient
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
theorem simplePole_residues_cancel_of_infty_coefficient
    (hinf : P1PlaceInftySimplePoleResidueEulerValue K) :
    P1PrincipalPartMOneSimplePoleCancel K (dX_ne_zero K)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.simplePole_coordinate_independence_ratFunc
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
theorem simplePole_coordinate_independence_ratFunc :
    CanonicalLocalResidueKSimplePoleCoordIndep K (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.placeInfty_simplePoleResidue_X
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
theorem placeInfty_simplePoleResidue_X :
    P1PlaceInftySimplePoleResidueEulerValueX K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.placeInfty_simplePoleResidue_monomial
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
theorem placeInfty_simplePoleResidue_monomial :
    P1PlaceInftySimplePoleResidueEulerValueMonomial K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.placeInfty_simplePoleResidue_coefficient
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
theorem placeInfty_simplePoleResidue_coefficient :
    P1PlaceInftySimplePoleResidueEulerValue K
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.kaehlerResidueTermKFam_eq_of_mem_simplePoleSubmodule
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F] [HasCanonicalLocalResidueKStar K F]
omit [HasCanonicalLocalResidueKStar K F] in
theorem kaehlerResidueTermKFam_eq_of_mem_simplePoleSubmodule
    (Rfam : ∀ v : Place K F, v.CanonicalLocalResidueDataK)
    {ω : Ω[F⁄K]} {f : F} {v : Place K F}
    (hmem : f * v.differentialCoeff ω ∈ v.simplePoleSubmodule) :
    kaehlerResidueTermKFam Rfam ω (diagonalHom K F f) v
      = Algebra.trace K v.ResidueField
          (v.simplePoleResidueAux ⟨f * v.differentialCoeff ω, hmem⟩)
AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles.AlgebraicCurve.kaehlerResidueTermKFam_simplePole_pair_sum
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RationalSimplePoles
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial _root_.Algebra
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open AlgebraicCurve AlgebraicCurve.RationalFunctionField
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [PerfectField K] [DecidableEq (RatFunc K)]
variable [HasPrincipalDivisors K (RatFunc K)]
variable [∀ v : _root_.AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc
  K)⁄K]]
omit [HasPrincipalDivisors K (RatFunc K)] in
theorem kaehlerResidueTermKFam_simplePole_pair_sum
    (Rfam : ∀ v : Place K (RatFunc K), v.CanonicalLocalResidueDataK)
    (hwd : OrdDifferentialWellDefined K (RatFunc K))
    {p c : K[X]} (hpmon : p.Monic) (hpirr : Irreducible p) (hdeg : c.degree < p.degree) :
    kaehlerResidueTermKFam Rfam (dX K)
        (diagonalHom K (RatFunc K) (p1PrincipalPartAtom K p c 1)) (finitePlace K hpirr)
      + kaehlerResidueTermKFam Rfam (dX K)
          (diagonalHom K (RatFunc K) (p1PrincipalPartAtom K p c 1)) (placeInfty K) = 0