Module

Evaluation.lean

Nyll.AlgebraicCurves.Divisors.Evaluation
5 declarations indexed from sourceView source ↗

Evaluation

Evaluation of a divisor on a sum.

Evaluation of a divisor on a product.

Evaluate integer powers against divisors.

Evaluation of integer multiples of divisors.

Evaluate the difference of two single-point divisors.

Declarations

AlgebraicCurve.Divisor.evalFun_add
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_evalFun_add
open AlgebraicCurve
theorem _root_.AlgebraicCurve.Divisor.evalFun_add {K F : Type*} [Field K] [Field F] [Algebra K
    F] (f : F) {D E : Divisor K F} (hD : ∀ v ∈ D.support, Place.evalAt v f ≠ 0) (hE : ∀ v ∈
      E.support, Place.evalAt v f ≠ 0) : Divisor.evalFun f (D + E) = Divisor.evalFun f D *
        Divisor.evalFun f E
AlgebraicCurve.Divisor.evalFun_mul
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_evalFun_mul
open AlgebraicCurve
theorem _root_.AlgebraicCurve.Divisor.evalFun_mul {K F : Type*} [Field K] [Field F] [Algebra K
    F] {f g : F} {D : Divisor K F} (hrat : ∀ v ∈ D.support, Place.IsRational v) (hf : ∀ v ∈
      D.support, f ∈ v.toValuationSubring) (hg : ∀ v ∈ D.support, g ∈ v.toValuationSubring) :
        Divisor.evalFun (f * g) D = Divisor.evalFun f D * Divisor.evalFun g D
AlgebraicCurve.Divisor.evalFun_zpow_left
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_evalFun_zpow_left
open AlgebraicCurve AlgebraicCurve.Divisor
theorem _root_.AlgebraicCurve.Divisor.evalFun_zpow_left {K F : Type*} [Field K] [Field F]
    [Algebra K F] {f : F} (hf : f ≠ 0) {D : Divisor K F} (n : ℤ) (hrat : ∀ v ∈ D.support,
      Place.IsRational v) (hord : ∀ v ∈ D.support, Place.ord v f = 0) : Divisor.evalFun (f ^ n)
        D = Divisor.evalFun f D ^ n
AlgebraicCurve.Divisor.evalFun_zsmul
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_evalFun_zsmul
open AlgebraicCurve AlgebraicCurve.Divisor
theorem _root_.AlgebraicCurve.Divisor.evalFun_zsmul {K F : Type*} [Field K] [Field F] [Algebra K
    F] (f : F) (D : Divisor K F) (n : ℤ) : Divisor.evalFun f (n • D) = Divisor.evalFun f D ^ n
AlgebraicCurve.Divisor.evalFun_single_sub_single
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_evalFun_single_sub_single
open AlgebraicCurve AlgebraicCurve.Divisor
theorem _root_.AlgebraicCurve.Divisor.evalFun_single_sub_single {K F : Type*} [Field K] [Field
    F] [Algebra K F] (f : F) {v₁ v₂ : Place K F} (h₁ : v₁.evalAt f ≠ 0) (h₂ : v₂.evalAt f ≠ 0) :
      Divisor.evalFun f (Finsupp.single v₁ 1 + Finsupp.single v₂ (-1)) = v₁.evalAt f / v₂.evalAt
        f