Module

TwoMulGenusSubTwoEqDegreeCanonical.lean

Nyll.AlgebraicCurves.Cohomology.RiemannRoch.Duality.TwoMulGenusSubTwoEqDegreeCanonical
1 declaration indexed from sourceView source ↗

Two mul genus sub two eq of degree canonical

Declarations

AlgebraicCurve.two_mul_genus_sub_two_eq_of_degree_canonical
Source context 3 commands

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

@[expose] public section
open AlgebraicCurves.Differentials.Proofs in
open _root_.AlgebraicCurve in
theorem _root_.AlgebraicCurve.two_mul_genus_sub_two_eq_of_degree_canonical {K : Type*} {F : Type*}
  {F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [Algebra.IsIntegral F F']
    [IsCurveOver K F] [∀ v : Place K F, v.DCoordGenerates] [IsCurveOver K F'] [∀ w : Place K F',
      w.DCoordGenerates]
    [HasCanonicalDivisor (K := K) (F := F)] [HasCanonicalDivisor (K := K) (F := F')]
    [FiniteDimensional F F'] [Algebra.IsSeparable F F']
    (hreg : ∀ (w : Place K F') (u : F'), u ≠ 0 → w.ord u = 0 →
      w.differentialCoeff (KaehlerDifferential.D K F' u) = 0
        ∨ 0 ≤ w.ord (w.differentialCoeff (KaehlerDifferential.D K F' u)))
    (htame : ∀ w : Place K F', ((w.ramificationIndex F : ℕ) : F') ≠ 0)
    {ω₀ : Ω[F⁄K]} (hω₀ : ω₀ ≠ 0) (hω₀' : KaehlerDifferential.map K K F F' ω₀ ≠ 0)
    (hK : Divisor.degree (canonicalDivisorOf (K := K) hω₀) = 2 * (genus K F : ℤ) - 2)
    (hK' : Divisor.degree (canonicalDivisorOf (K := K) hω₀') = 2 * (genus K F' : ℤ) - 2) :
    2 * (genus K F' : ℤ) - 2
      = (Module.finrank F F' : ℤ) * (2 * (genus K F : ℤ) - 2)
        + ∑ᶠ w : Place K F', ((w.ramificationIndex F : ℤ) - 1) * (w.deg : ℤ)