Module

ResidueTheoremRatFuncPerfectField.lean

Nyll.AlgebraicCurves.Differentials.Residues.ResidueTheoremRatFuncPerfectField
59 declarations indexed from sourceView source ↗

The residue theorem over a perfect rational-function field

Partial fractions reduce the residue sum to polynomial monomials and principal parts. The local residue computations and differential orders come from the shared rational core.

Declarations

AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.exists_smul_eq_of_ne_zero
Source context 16 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
omit [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)] [Nontrivial
  Ω[F⁄K]] in
theorem exists_smul_eq_of_ne_zero (v : Place K F) {ω ω₀ : Ω[F⁄K]}
    (hω : ω ≠ 0) (hω₀ : ω₀ ≠ 0) : ∃ g : F, g ≠ 0 ∧ ω = g • ω₀
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.principalAdele

The diagonal embedding into the adele space as a linear map over the constant field.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
variable (K F) in
def principalAdele : F →ₗ[K] adeleSpace K F where
  toFun f := ⟨diagonalHom K F f, diagonal_mem_adeleSpace f⟩
  map_add' f g := Subtype.ext ((diagonalHom K F).map_add f g)
  map_smul' c f := Subtype.ext ((diagonalHom K F).map_smul c f)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1PolynomialGenerators

The nonnegative powers of the rational coordinate.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field 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 P1PolynomialGenerators : Set (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1PrincipalPartGenerators

Principal parts with monic irreducible denominators and smaller-degree numerators.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field 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 P1PrincipalPartGenerators : Set (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1PartialFractionGenerators

Polynomial monomials and the principal parts used in partial-fraction decomposition.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field 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 P1PartialFractionGenerators : Set (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.algebraMap_polynomial_mem_span_P1PolynomialGenerators
Source context 13 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
theorem algebraMap_polynomial_mem_span_P1PolynomialGenerators (q : K[X]) :
    algebraMap K[X] (RatFunc K) q ∈ Submodule.span K (P1PolynomialGenerators K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.pow_X_mem_of_ne_placeInfty
Source context 15 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
theorem pow_X_mem_of_ne_placeInfty
    {v : Place K (RatFunc K)} (hv : v ≠ placeInfty K) (n : ℕ) :
    (RatFunc.X : RatFunc K) ^ n ∈ v.toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.pow_X_mul_mem_of_ne_placeInfty
Source context 15 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
variable (K)
variable [DecidableEq (RatFunc K)]
theorem pow_X_mul_mem_of_ne_placeInfty
    {v : Place K (RatFunc K)} (hv : v ≠ placeInfty K) (n : ℕ)
    {g : RatFunc K} (hg : g ∈ v.toValuationSubring) :
    (RatFunc.X : RatFunc K) ^ n * g ∈ v.toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1DifferentialCoeffRegularFinite

The coefficient of the given differential is integral at every finite place.

Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
def P1DifferentialCoeffRegularFinite {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.exists_monic_irreducible_factorization
Source context 13 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
theorem exists_monic_irreducible_factorization {d : K[X]} (hd : d.Monic) :
    ∃ (s : Finset K[X]) (n : K[X] → ℕ),
      (∀ p ∈ s, p.Monic) ∧ (∀ p ∈ s, Irreducible p) ∧
      (Set.Pairwise (s : Set K[X]) fun i j => IsCoprime i j) ∧
      d = ∏ p ∈ s, p ^ n p := by
  classical
  refine ⟨(normalizedFactors d).toFinset,
    fun p => (normalizedFactors d).count p, ?_, ?_, ?_, ?_⟩
  · intro p hp
    exact ((Polynomial.mem_normalizedFactors_iff hd.ne_zero).mp
      (Multiset.mem_toFinset.mp hp)).2.1
  · intro p hp
    exact irreducible_of_normalized_factor p (Multiset.mem_toFinset.mp hp)
  · intro p hp q hq hne
    have hp' := Multiset.mem_toFinset.mp hp
    have hq' := Multiset.mem_toFinset.mp hq
    rw [(irreducible_of_normalized_factor p hp').coprime_iff_not_dvd]
    exact fun hdvd => hne (normalizedFactors_eq_of_dvd d p hp' q hq' hdvd)
  · calc d = (normalizedFactors d).prod := by
            rw [prod_normalizedFactors_eq hd.ne_zero, hd.normalize_eq_self]
      _ = ∏ p ∈ (normalizedFactors d).toFinset, p ^ (normalizedFactors d).count p :=
            Finset.prod_multiset_count _
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.algebraMap_mem_span_P1PartialFractionGenerators
Source context 13 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
theorem algebraMap_mem_span_P1PartialFractionGenerators (q : K[X]) :
    algebraMap K[X] (RatFunc K) q ∈ Submodule.span K (P1PartialFractionGenerators K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.div_pow_mem_span_P1PartialFractionGenerators
Source context 13 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
theorem div_pow_mem_span_P1PartialFractionGenerators
    {p c : K[X]} (hpmon : p.Monic) (hpirr : Irreducible p)
    (hdeg : c.degree < p.degree) {m : ℕ} (hm : 1 ≤ m) :
    algebraMap K[X] (RatFunc K) c / (algebraMap K[X] (RatFunc K) p) ^ m
      ∈ Submodule.span K (P1PartialFractionGenerators K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.ratFunc_mem_span_P1PartialFractionGenerators
Source context 13 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
theorem ratFunc_mem_span_P1PartialFractionGenerators (f : RatFunc K) :
    f ∈ Submodule.span K (P1PartialFractionGenerators K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1PartialFractionSpan_eq_top
Source context 13 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
theorem p1PartialFractionSpan_eq_top :
    Submodule.span K (P1PartialFractionGenerators K) = ⊤
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.ord_ofHeightOneSpectrum_irreducible_eq_zero_of_ne
Source context 15 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
omit [DecidableEq (RatFunc K)] in
theorem ord_ofHeightOneSpectrum_irreducible_eq_zero_of_ne
    (w : HeightOneSpectrum K[X]) {p : K[X]} (hp : Irreducible p)
    (hne : w ≠ heightOneSpectrumOfIrreducible K hp) :
    (Place.ofHeightOneSpectrum (K := K) (F := RatFunc K) w).ord
      (algebraMap K[X] (RatFunc K) p) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.ord_algebraMap_irreducible_eq_zero_of_ne
Source context 14 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
theorem ord_algebraMap_irreducible_eq_zero_of_ne
    {p : K[X]} (hp : Irreducible p) {v : Place K (RatFunc K)}
    (hvp : v ≠ finitePlace K hp) (hvinf : v ≠ placeInfty K) :
    v.ord (algebraMap K[X] (RatFunc K) p) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.inv_algebraMap_pow_mem_of_ne_finitePlace
Source context 14 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
theorem inv_algebraMap_pow_mem_of_ne_finitePlace
    {p : K[X]} (hp : Irreducible p) {v : Place K (RatFunc K)}
    (hvp : v ≠ finitePlace K hp) (hvinf : v ≠ placeInfty K) (m : ℕ) :
    ((algebraMap K[X] (RatFunc K) p) ^ m)⁻¹ ∈ v.toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1PrincipalPartAtom_mem_of_ne_finitePlace
Source context 14 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K] [DecidableEq (RatFunc K)]
variable (K)
theorem p1PrincipalPartAtom_mem_of_ne_finitePlace
    {p : K[X]} (hp : Irreducible p) (c : K[X]) (m : ℕ) {v : Place K (RatFunc K)}
    (hvp : v ≠ finitePlace K hp) (hvinf : v ≠ placeInfty K) :
    p1PrincipalPartAtom K p c m ∈ v.toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.two_le_ord_placeInfty_p1PrincipalPartAtom
Source context 14 commands

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

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

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
variable {K}
omit [HasCanonicalLocalResidueKStar K (RatFunc K)] [HasCanonicalDivisor (K := K) (F := RatFunc K)]
  [Nontrivial Ω[(RatFunc K)⁄K]] [HasPrincipalDivisors K (RatFunc K)] in
theorem p1DifferentialCoeffRegularFinite_of_unitFinite
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hunit : P1DifferentialCoeffUnitFinite K hω₀) :
    P1DifferentialCoeffRegularFinite K hω₀
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.kaehlerResidueTerm_smul_left
Source context 16 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
omit [HasCanonicalDivisor (K := K) (F := F)] in
theorem kaehlerResidueTerm_smul_left (g : F) (ω : Ω[F⁄K]) (α : Place K F → F)
    (v : Place K F) :
    kaehlerResidueTerm (g • ω) α v = kaehlerResidueTerm ω (mulAdele K g α) v
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.weilSmul_weilOfKaehler
Source context 15 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
theorem weilSmul_weilOfKaehler [HasPrincipalDivisors K F] {g : F} {ω : Ω[F⁄K]}
    (hω : ω ≠ 0) (hgω : g • ω ≠ 0) :
    weilSmul K F g (weilOfKaehler K F hω) = weilOfKaehler K F hgω
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.weilOfKaehler_smul_diagonal
Source context 15 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
theorem weilOfKaehler_smul_diagonal [HasPrincipalDivisors K F] {g : F} {ω : Ω[F⁄K]}
    (hω : ω ≠ 0) (hgω : g • ω ≠ 0) (f : F) :
    weilOfKaehler K F hgω ⟨diagonalHom K F f, diagonal_mem_adeleSpace f⟩
      = weilOfKaehler K F hω ⟨diagonalHom K F (g * f), diagonal_mem_adeleSpace (g * f)⟩
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.residueTheorem_iff_of_ne_zero
Source context 15 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
theorem residueTheorem_iff_of_ne_zero (v : Place K F) {ω₀ : Ω[F⁄K]} (hω₀ : ω₀ ≠ 0) :
    (∀ [HasPrincipalDivisors K F], ResidueTheorem K F) ↔
      ∀ [HasPrincipalDivisors K F], ∀ f : F,
        weilOfKaehler K F hω₀ ⟨diagonalHom K F f, diagonal_mem_adeleSpace f⟩ = 0
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.kaehlerResidueFunctional

The Weil functional of a nonzero differential evaluated on principal adeles.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
variable (K F) in
def kaehlerResidueFunctional {ω : Ω[F⁄K]} (hω : ω ≠ 0) : F →ₗ[K] K
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.kaehlerResidueKernel

The linear subspace of rational functions with vanishing total residue.

Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
variable (K F) in
variable (K F) in
def kaehlerResidueKernel {ω : Ω[F⁄K]} (hω : ω ≠ 0) : Submodule K F
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.mem_kaehlerResidueKernel
Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
variable (K F) in
variable (K F) in
theorem mem_kaehlerResidueKernel {ω : Ω[F⁄K]} (hω : ω ≠ 0) {f : F} :
    f ∈ kaehlerResidueKernel K F hω
      ↔ weilOfKaehler K F hω ⟨diagonalHom K F f, diagonal_mem_adeleSpace f⟩ = 0
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.residueTheorem_iff_kaehlerResidueKernel_eq_top
Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
variable (K F) in
variable (K F) in
theorem residueTheorem_iff_kaehlerResidueKernel_eq_top (v : Place K F)
    {ω₀ : Ω[F⁄K]} (hω₀ : ω₀ ≠ 0) :
    ResidueTheorem K F ↔ kaehlerResidueKernel K F hω₀ = ⊤
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.residueTheorem_of_span_le_kernel
Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
variable (K F) in
variable (K F) in
theorem residueTheorem_of_span_le_kernel (v : Place K F)
    {ω₀ : Ω[F⁄K]} (hω₀ : ω₀ ≠ 0) {S : Set F}
    (hspan : Submodule.span K S = ⊤) (hS : S ⊆ kaehlerResidueKernel K F hω₀) :
    ResidueTheorem K F
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.residueTheorem_of_union_span_le_kernel
Source context 19 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
variable (K F) in
variable (K F) in
omit [HasPrincipalDivisors K F] in
theorem residueTheorem_of_union_span_le_kernel (v : Place K F)
    {ω₀ : Ω[F⁄K]} (hω₀ : ω₀ ≠ 0) {S₁ S₂ : Set F} :
    ∀ [HasPrincipalDivisors K F],
      Submodule.span K (S₁ ∪ S₂) = ⊤ →
      S₁ ⊆ kaehlerResidueKernel K F hω₀ →
      S₂ ⊆ kaehlerResidueKernel K F hω₀ →
      ResidueTheorem K F
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1PartialFractionSpan

Polynomial monomials and irreducible principal parts span the rational function field.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field 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 P1PartialFractionSpan : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1ResiduePolynomialPart

Every polynomial monomial lies in the total-residue kernel.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field 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 P1ResiduePolynomialPart {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1ResiduePrincipalPart

Every irreducible principal part lies in the total-residue kernel.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field 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 P1ResiduePrincipalPart {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.residueTheorem_ratFunc_of_partialFractions
Source context 19 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field 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)]
variable {K}
omit [HasPrincipalDivisors K (RatFunc K)] in
theorem residueTheorem_ratFunc_of_partialFractions (v : Place K (RatFunc K))
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0) :
    ∀ [HasPrincipalDivisors K (RatFunc K)],
      P1PartialFractionSpan K →
      P1ResiduePolynomialPart K hω₀ →
      P1ResiduePrincipalPart K hω₀ →
      ResidueTheorem K (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.residueTheorem_ratFunc_of_generators_residue
Source context 13 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field K]
theorem residueTheorem_ratFunc_of_generators_residue
    [HasCanonicalLocalResidueKStar K (RatFunc K)] [HasCanonicalDivisor (K := K) (F := RatFunc K)]
    [∀ v : Place K (RatFunc K), v.DCoordGenerates] [Nontrivial Ω[(RatFunc K)⁄K]]
    (v : Place K (RatFunc K)) {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0) :
    ∀ [HasPrincipalDivisors K (RatFunc K)],
      P1ResiduePolynomialPart K hω₀ → P1ResiduePrincipalPart K hω₀ →
      ResidueTheorem K (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.mem_kaehlerResidueKernel_iff_finsum
Source context 16 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
theorem mem_kaehlerResidueKernel_iff_finsum {ω : Ω[F⁄K]} (hω : ω ≠ 0) {f : F} :
    f ∈ kaehlerResidueKernel K F hω
      ↔ ∑ᶠ v, kaehlerResidueTerm ω (diagonalHom K F f) v = 0
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.mem_kaehlerResidueKernel_of_term_zero_compl
Source context 16 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
theorem mem_kaehlerResidueKernel_of_term_zero_compl {ω : Ω[F⁄K]} (hω : ω ≠ 0) {f : F}
    {T : Finset (Place K F)}
    (hcompl : ∀ v ∉ T, kaehlerResidueTerm ω (diagonalHom K F f) v = 0)
    (hsum : ∑ v ∈ T, kaehlerResidueTerm ω (diagonalHom K F f) v = 0) :
    f ∈ kaehlerResidueKernel K F hω
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.mem_kaehlerResidueKernel_of_singleton
Source context 16 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
theorem mem_kaehlerResidueKernel_of_singleton {ω : Ω[F⁄K]} (hω : ω ≠ 0) {f : F}
    {v₀ : Place K F}
    (hcompl : ∀ v, v ≠ v₀ → kaehlerResidueTerm ω (diagonalHom K F f) v = 0)
    (hv₀ : kaehlerResidueTerm ω (diagonalHom K F f) v₀ = 0) :
    f ∈ kaehlerResidueKernel K F hω
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.mem_kaehlerResidueKernel_of_pair
Source context 16 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalDivisor (K := K) (F := F)]
variable [∀ v : Place K F, v.DCoordGenerates] [Nontrivial Ω[F⁄K]]
variable [HasPrincipalDivisors K F]
theorem mem_kaehlerResidueKernel_of_pair {ω : Ω[F⁄K]} (hω : ω ≠ 0) {f : F}
    {v₀ v₁ : Place K F} (hne : v₀ ≠ v₁)
    (hcompl : ∀ v, v ≠ v₀ → v ≠ v₁ → kaehlerResidueTerm ω (diagonalHom K F f) v = 0)
    (hsum : kaehlerResidueTerm ω (diagonalHom K F f) v₀
      + kaehlerResidueTerm ω (diagonalHom K F f) v₁ = 0) :
    f ∈ kaehlerResidueKernel K F hω
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1PolynomialResidueAtInfinity

Each polynomial monomial times the given differential has residue zero at infinity.

Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
def P1PolynomialResidueAtInfinity {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1ResiduePolynomialPart_of_subrows
Source context 19 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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}
theorem p1ResiduePolynomialPart_of_subrows {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hreg : P1DifferentialCoeffRegularFinite K hω₀)
    (hinf : P1PolynomialResidueAtInfinity K hω₀) :
    P1ResiduePolynomialPart K hω₀
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1PrincipalPartTermZeroOffSupport

A principal part contributes no residue away from its finite pole and infinity.

Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
def P1PrincipalPartTermZeroOffSupport {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1PrincipalPartTwoPlaceCancel

The residue terms at the finite pole and at infinity cancel for every principal part.

Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
def P1PrincipalPartTwoPlaceCancel {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1ResiduePrincipalPart_of_subrows
Source context 19 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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}
theorem p1ResiduePrincipalPart_of_subrows {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hoff : P1PrincipalPartTermZeroOffSupport K hω₀)
    (hcancel : P1PrincipalPartTwoPlaceCancel K hω₀) :
    P1ResiduePrincipalPart K hω₀
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.residueTheorem_ratFunc_of_four_subrows
Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable {K : Type*} [Field 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)]
omit [HasPrincipalDivisors K (RatFunc K)] in
theorem residueTheorem_ratFunc_of_four_subrows
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hreg : P1DifferentialCoeffRegularFinite K hω₀)
    (hinf : P1PolynomialResidueAtInfinity K hω₀)
    (hoff : P1PrincipalPartTermZeroOffSupport K hω₀)
    (hcancel : P1PrincipalPartTwoPlaceCancel K hω₀) :
    ∀ [HasPrincipalDivisors K (RatFunc K)], ResidueTheorem K (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1PrincipalPartTermZeroOffSupport_of_differentialCoeffRegularFinite
Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
omit [HasCanonicalDivisor (K := K) (F := RatFunc K)] [∀ v : Place K (RatFunc K), v.DCoordGenerates]
  [Nontrivial Ω[(RatFunc K)⁄K]] [HasPrincipalDivisors K (RatFunc K)] in
theorem p1PrincipalPartTermZeroOffSupport_of_differentialCoeffRegularFinite
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hreg : P1DifferentialCoeffRegularFinite K hω₀) :
    P1PrincipalPartTermZeroOffSupport K hω₀
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.residueTheorem_ratFunc_of_three_subrows
Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
omit [HasPrincipalDivisors K (RatFunc K)] in
theorem residueTheorem_ratFunc_of_three_subrows
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hreg : P1DifferentialCoeffRegularFinite K hω₀)
    (hinf : P1PolynomialResidueAtInfinity K hω₀)
    (hcancel : P1PrincipalPartTwoPlaceCancel K hω₀) :
    ∀ [HasPrincipalDivisors K (RatFunc K)], ResidueTheorem K (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1OrdDifferentialPlaceInftyEqNegTwo

The given differential has order minus two at infinity.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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 P1OrdDifferentialPlaceInftyEqNegTwo {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1PrincipalPartTwoPlaceCancelMOne

The residue terms at the finite pole and infinity cancel for a simple principal part.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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 P1PrincipalPartTwoPlaceCancelMOne {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.kaehlerResidueTerm_placeInfty_eq_zero_of_two_le_m
Source context 18 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
omit [HasCanonicalDivisor (K := K) (F := RatFunc K)] [Nontrivial Ω[(RatFunc K)⁄K]]
  [HasPrincipalDivisors K (RatFunc K)] in
theorem kaehlerResidueTerm_placeInfty_eq_zero_of_two_le_m
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hInfty : P1OrdDifferentialPlaceInftyEqNegTwo K hω₀)
    {p : K[X]} (hp : Irreducible p) (c : K[X]) {m : ℕ}
    (hdeg : c.degree < p.degree) (hm : 2 ≤ m) :
    kaehlerResidueTerm ω₀ (diagonalHom K (RatFunc K) (p1PrincipalPartAtom K p c m))
      (placeInfty K) = 0
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.P1FinitePlaceTermZeroMGeTwo

Principal parts with denominator exponent at least two have zero finite-place residue.

Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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 P1FinitePlaceTermZeroMGeTwo {ω₀ : Ω[(RatFunc K)⁄K]} (_hω₀ : ω₀ ≠ 0) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1PrincipalPartTwoPlaceCancel_of_mOne
Source context 19 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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)]
variable {K}
omit [HasCanonicalDivisor (K := K) (F := RatFunc K)] [Nontrivial Ω[(RatFunc K)⁄K]]
  [HasPrincipalDivisors K (RatFunc K)] in
theorem p1PrincipalPartTwoPlaceCancel_of_mOne
    {ω₀ : Ω[(RatFunc K)⁄K]} (hω₀ : ω₀ ≠ 0)
    (hMOne : P1PrincipalPartTwoPlaceCancelMOne K hω₀)
    (hMGeTwo : P1FinitePlaceTermZeroMGeTwo K hω₀)
    (hInfty : P1OrdDifferentialPlaceInftyEqNegTwo K hω₀) :
    P1PrincipalPartTwoPlaceCancel K hω₀
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.D_ratFuncX_ne_zero
Source context 15 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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_ne_zero (hwd : OrdDifferentialWellDefined K (RatFunc K)) :
    KaehlerDifferential.D K (RatFunc K) (RatFunc.X : RatFunc K) ≠ 0
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1OrdDifferentialPlaceInftyEqNegTwo_D_X
Source context 14 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
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 p1OrdDifferentialPlaceInftyEqNegTwo_D_X
    [HasCanonicalLocalResidueKStar K (RatFunc K)] [HasCanonicalDivisor (K := K) (F := RatFunc K)]
    [HasPrincipalDivisors K (RatFunc K)]
    (hwd : OrdDifferentialWellDefined K (RatFunc K)) :
    P1OrdDifferentialPlaceInftyEqNegTwo K (D_ratFuncX_ne_zero K hwd)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1PrincipalPartTwoPlaceCancel_dX_of_mOne_mGeTwo
Source context 17 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [CharZero K] [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)]
omit [CharZero K] in
theorem p1PrincipalPartTwoPlaceCancel_dX_of_mOne_mGeTwo
    (hwd : OrdDifferentialWellDefined K (RatFunc K))
    (hMOne : P1PrincipalPartTwoPlaceCancelMOne K (dX_ne_zero K))
    (hMGeTwo : P1FinitePlaceTermZeroMGeTwo K (dX_ne_zero K)) :
    P1PrincipalPartTwoPlaceCancel K (dX_ne_zero K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1DifferentialCoeffRegularFinite_dX_of_perfectField
Source context 15 commands

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

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

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [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]]
theorem residueTheorem_ratFunc_of_two_subrows_of_perfectField
    : ∀ [HasPrincipalDivisors K (RatFunc K)],
      P1PolynomialResidueAtInfinity K (dX_ne_zero K) →
      P1PrincipalPartTwoPlaceCancel K (dX_ne_zero K) →
      ResidueTheorem K (RatFunc K)
AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue.AlgebraicCurve.p1PrincipalPartTwoPlaceCancel_dX_of_mOne_mGeTwo_of_perfectField
Source context 15 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
namespace AlgebraicCurve
noncomputable section
variable (K : Type*) [Field K] [PerfectField K] [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]]
theorem p1PrincipalPartTwoPlaceCancel_dX_of_mOne_mGeTwo_of_perfectField
    : ∀ [HasPrincipalDivisors K (RatFunc K)],
      P1PrincipalPartTwoPlaceCancelMOne K (dX_ne_zero K) →
      P1FinitePlaceTermZeroMGeTwo K (dX_ne_zero K) →
      P1PrincipalPartTwoPlaceCancel K (dX_ne_zero K)
AlgebraicCurve.residueTheorem_ratFunc_of_perfectField
Source context 16 commands

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

@[expose] public section
namespace AlgebraicCurves.Differentials.Residues.Proofs.RatFuncResidue
open _root_.IsDedekindDomain _root_.WithZero _root_.Module _root_.IsLocalRing
open _root_.Module.IsLocalRing _root_.KaehlerDifferential _root_.Polynomial
open _root_.AlgebraicCurve _root_.AlgebraicCurve.RationalFunctionField
open _root_.AlgebraicCurves.Differentials.Residues.Proofs
open RationalSimplePoles.AlgebraicCurve RationalSimplePoles.AlgebraicCurve.RationalFunctionField
open RatFuncResidue.AlgebraicCurve
open _root_.UniqueFactorizationMonoid
open scoped Polynomial
noncomputable section
open _root_.AlgebraicCurves.Differentials.Residues.Proofs in
open _root_.AlgebraicCurve in
open _root_.AlgebraicCurve.RationalFunctionField in
open RatFuncResidue.AlgebraicCurve in
open _root_.Polynomial in
theorem _root_.AlgebraicCurve.residueTheorem_ratFunc_of_perfectField
    (K : Type*) [Field K] [PerfectField K]
    [AlgebraicCurve.IsCurveOver K (RatFunc K)]
    [AlgebraicCurve.HasCanonicalDivisor (K := K) (F := RatFunc K)]
    [∀ v : AlgebraicCurve.Place K (RatFunc K), v.DCoordGenerates]
    [Nontrivial Ω[(RatFunc K)⁄K]] :
    AlgebraicCurve.ResidueTheorem K (RatFunc K)