Module

Logarithmic.lean

Nyll.AlgebraicCurves.Differentials.Logarithmic.Logarithmic
8 declarations indexed from sourceView source ↗

Logarithmic

Declarations

AlgebraicCurve.dlog

The logarithmic differential df / f.

Source context 5 commands

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

@[expose] public section
open KaehlerDifferential
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def dlog (K : Type*) [Field K] {F : Type*} [Field F] [Algebra K F] (f : F) :
    Ω[F⁄K]
AlgebraicCurve.dlog_zero
Source context 5 commands

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

@[expose] public section
open KaehlerDifferential
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem dlog_zero : dlog K (0 : F) = 0
AlgebraicCurve.dlog_one
Source context 5 commands

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

@[expose] public section
open KaehlerDifferential
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem dlog_one : dlog K (1 : F) = 0
AlgebraicCurve.dlog_mul
Source context 5 commands

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

@[expose] public section
open KaehlerDifferential
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem dlog_mul {f g : F} (hf : f ≠ 0) (hg : g ≠ 0) :
    dlog K (f * g) = dlog K f + dlog K g
AlgebraicCurve.dlog_pow
Source context 5 commands

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

@[expose] public section
open KaehlerDifferential
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem dlog_pow (n : ℕ) {f : F} (hf : f ≠ 0) :
    dlog K (f ^ n) = n • dlog K f
AlgebraicCurve.dlog_pow_char
Source context 5 commands

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

@[expose] public section
open KaehlerDifferential
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem dlog_pow_char (ℓ : ℕ) [CharP F ℓ] {f : F} (hf : f ≠ 0) :
    dlog K (f ^ ℓ) = 0
AlgebraicCurve.regularDifferentialsOfNonnegativeOrder

Differentials regular at every place.

Source context 7 commands

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

@[expose] public section
open KaehlerDifferential
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
section Regular
variable [∀ w : Place K F, w.DCoordGenerates] [Nontrivial Ω[F⁄K]]
def regularDifferentialsOfNonnegativeOrder (K F : Type*) [Field K] [Field F] [Algebra K F]
    [∀ w : Place K F, w.DCoordGenerates] [Nontrivial Ω[F⁄K]] : Submodule K Ω[F⁄K] where
  carrier := {ω | ∀ v : Place K F, 0 ≤ v.ordDifferential ω}
  zero_mem' := by
    intro v
    rw [Place.ordDifferential, v.differentialCoeff_zero, v.ord_zero]
  add_mem' := by
    intro ω ω' hω hω' v
    rw [Place.ordDifferential, Place.differentialCoeff_add]
    have h₁ : v.differentialCoeff ω ∈ v.toValuationSubring :=
      Place.mem_toValuationSubring_of_ord_nonneg v (hω v)
    have h₂ : v.differentialCoeff ω' ∈ v.toValuationSubring :=
      Place.mem_toValuationSubring_of_ord_nonneg v (hω' v)
    exact v.ord_nonneg_of_mem (add_mem h₁ h₂)
  smul_mem' := by
    intro a ω hω v
    rcases eq_or_ne a 0 with rfl | ha
    · rw [zero_smul, Place.ordDifferential, v.differentialCoeff_zero, v.ord_zero]
    have hsmul : a • ω = (algebraMap K F a) • ω := (algebraMap_smul F a ω).symm
    rw [Place.ordDifferential, hsmul, v.differentialCoeff_smul]
    rcases eq_or_ne (v.differentialCoeff ω) 0 with hc | hc
    · rw [hc, mul_zero, v.ord_zero]
    have hmap : algebraMap K F a ≠ 0 :=
      (map_ne_zero_iff _ (algebraMap K F).injective).mpr ha
    rw [v.ord_mul hmap hc, v.ord_algebraMap a, zero_add]
    exact hω v
AlgebraicCurve.mem_regularDifferentialsOfNonnegativeOrder_iff
Source context 7 commands

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

@[expose] public section
open KaehlerDifferential
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
section Regular
variable [∀ w : Place K F, w.DCoordGenerates] [Nontrivial Ω[F⁄K]]
theorem mem_regularDifferentialsOfNonnegativeOrder_iff {ω : Ω[F⁄K]} :
    ω ∈ regularDifferentialsOfNonnegativeOrder K F
      ↔ ∀ v : Place K F, 0 ≤ v.ordDifferential ω