Module

Taylor.lean

Nyll.AlgebraicCurves.Places.Taylor.Taylor
35 declarations indexed from sourceView source ↗

Taylor

Place taylor Rem eq mul inv pow of forall taylor Coeff eq zero

Place taylor Rem mem to Valuation Subring

Place taylor Rem succ eq taylor Rem taylor Rem one

Place forall lt taylor Coeff eq zero iff le ord

Place taylor Coeff eq eval At mul inv pow of forall taylor Coeff eq zero

Place taylor Coeff succ eq taylor Coeff taylor Rem one

Place taylor Rem add

Place taylor Rem smul

Place taylor Coeff add

Place taylor Coeff algebra Map

Place taylor Coeff ord ne zero

Place taylor Coeff smul

Place taylor Coeff mul

Declarations

AlgebraicCurve.Place.taylorRem

The iterated Taylor remainder obtained by subtracting the value at the place and dividing by t.

Source context 6 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
def taylorRem (v : Place K F) (t f : F) : ℕ → F
  | 0 => f
  | r + 1 => (taylorRem v t f r - algebraMap K F (v.evalAt (taylorRem v t f r))) * t⁻¹
AlgebraicCurve.Place.taylorCoeff

The coefficient of order r, obtained by evaluating the iterated Taylor remainder.

Source context 6 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
def taylorCoeff (v : Place K F) (t : F) (r : ℕ) (f : F) : K
AlgebraicCurve.Place.taylorRem_zero
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorRem_zero : taylorRem v t f 0 = f
AlgebraicCurve.Place.taylorRem_succ
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorRem_succ (r : ℕ) :
    taylorRem v t f (r + 1)
      = (taylorRem v t f r - algebraMap K F (v.evalAt (taylorRem v t f r))) * t⁻¹
AlgebraicCurve.Place.taylorCoeff_zero
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorCoeff_zero : taylorCoeff v t 0 f = v.evalAt f
AlgebraicCurve.Place.taylorCoeff_eq
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorCoeff_eq (r : ℕ) : taylorCoeff v t r f = v.evalAt (taylorRem v t f r)
AlgebraicCurve.Place.taylorRem_succ'
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorRem_succ' (r : ℕ) :
    taylorRem v t f (r + 1)
      = (taylorRem v t f r - algebraMap K F (taylorCoeff v t r f)) * t⁻¹
AlgebraicCurve.Place.taylorRem_zero_fun
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorRem_zero_fun (v : Place K F) (t : F) (r : ℕ) : taylorRem v t 0 r = 0
AlgebraicCurve.Place.taylorCoeff_zero_fun
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorCoeff_zero_fun (v : Place K F) (t : F) (r : ℕ) : taylorCoeff v t r 0 = 0
AlgebraicCurve.Place.taylorRem_algebraMap_one
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorRem_algebraMap_one (v : Place K F) (t : F) (c : K) :
    taylorRem v t (algebraMap K F c) 1 = 0
AlgebraicCurve.Place.taylorRem_eq_add_mul_succ
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem taylorRem_eq_add_mul_succ {t : F} (ht : t ≠ 0) (f : F) (r : ℕ) :
    taylorRem v t f r
      = algebraMap K F (taylorCoeff v t r f) + t * taylorRem v t f (r + 1)
AlgebraicCurve.Place.eq_sum_taylorCoeff_mul_pow_add_pow_mul_taylorRem
Source context 7 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
variable (v : Place K F) (t f : F)
theorem eq_sum_taylorCoeff_mul_pow_add_pow_mul_taylorRem {t : F} (ht : t ≠ 0) (f : F) (n : ℕ) :
    f = (∑ q ∈ Finset.range n, algebraMap K F (taylorCoeff v t q f) * t ^ q)
        + t ^ n * taylorRem v t f n
AlgebraicCurve.jetMatrix

The matrix of the prescribed Taylor coefficients of the functions at the given places.

Source context 5 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def jetMatrix {M : ℕ} (P : Fin M → Place K F) (t : Fin M → F) (e : Fin M → ℕ)
    (f : Fin M → F) : Matrix (Fin M) (Fin M) K
AlgebraicCurve.jetMatrix_apply
Source context 5 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem jetMatrix_apply {M : ℕ} (P : Fin M → Place K F) (t : Fin M → F) (e : Fin M → ℕ)
    (f : Fin M → F) (i j : Fin M) :
    jetMatrix P t e f i j = (P i).taylorCoeff (t i) (e i) (f j)
AlgebraicCurve.jetMatrix_order_zero
Source context 5 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem jetMatrix_order_zero {M : ℕ} (P : Fin M → Place K F) (t : Fin M → F)
    (f : Fin M → F) :
    jetMatrix P t (fun _ => 0) f = Matrix.of fun i j => (P i).evalAt (f j) := rfl
AlgebraicCurve.jetMult

The number of indices at which the given list of places equals v.

Source context 6 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
open Classical in
def jetMult {M : ℕ} (P : Fin M → Place K F) (v : Place K F) : ℕ
AlgebraicCurve.jetDivisor

The effective divisor counting the occurrences of the given places.

Source context 5 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def jetDivisor {M : ℕ} (P : Fin M → Place K F) : Divisor K F
AlgebraicCurve.jetDivisor_apply
Source context 5 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem jetDivisor_apply {M : ℕ} (P : Fin M → Place K F) (v : Place K F) :
    jetDivisor P v = (jetMult P v : ℤ)
AlgebraicCurve.IsConfluentPattern

A pattern with a common parameter at equal places and distinct orders below their multiplicity.

Source context 5 commands

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

@[expose] public section
section
noncomputable section
namespace AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def IsConfluentPattern {M : ℕ} (P : Fin M → Place K F) (t : Fin M → F) (e : Fin M → ℕ) :
    Prop
AlgebraicCurve.Place.taylorRem_eq_mul_inv_pow_of_forall_taylorCoeff_eq_zero
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorRem_eq_mul_inv_pow_of_forall_taylorCoeff_eq_zero
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorRem_eq_mul_inv_pow_of_forall_taylorCoeff_eq_zero
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (t f : F) {e : ℕ} (h : ∀ q, q < e → taylorCoeff v t q f = 0) :
    taylorRem v t f e = f * t⁻¹ ^ e
AlgebraicCurves.Places.Proofs.Place_taylorRem_mem_toValuationSubring.ProofAuxJetT1.sub_evalAt_mul_inv_mem'
Source context 7 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorRem_mem_toValuationSubring
open AlgebraicCurve AlgebraicCurve.Place
namespace ProofAuxJetT1
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem sub_evalAt_mul_inv_mem' (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1)
    {g : F} (hg : g ∈ v.toValuationSubring) :
    (g - algebraMap K F (v.evalAt g)) * t⁻¹ ∈ v.toValuationSubring
AlgebraicCurve.Place.taylorRem_mem_toValuationSubring
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorRem_mem_toValuationSubring
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorRem_mem_toValuationSubring
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1) {f : F}
    (hf : f ∈ v.toValuationSubring) (r : ℕ) :
    taylorRem v t f r ∈ v.toValuationSubring
AlgebraicCurve.Place.taylorRem_succ_eq_taylorRem_taylorRem_one
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorRem_succ_eq_taylorRem_taylorRem_one
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorRem_succ_eq_taylorRem_taylorRem_one
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (t f : F) (r : ℕ) :
    taylorRem v t f (r + 1) = taylorRem v t (taylorRem v t f 1) r
AlgebraicCurves.Places.Proofs.Place_forall_lt_taylorCoeff_eq_zero_iff_le_ord.ProofAuxJetT2.ord_mul_inv_pow
Source context 8 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_forall_lt_taylorCoeff_eq_zero_iff_le_ord
open AlgebraicCurve AlgebraicCurve.Place
namespace ProofAuxJetT2
open AlgebraicCurve AlgebraicCurve.Place IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem ord_mul_inv_pow (v : Place K F) {t f : F} (ht0 : t ≠ 0) (hf0 : f ≠ 0) (ht : v.ord t = 1)
    (q : ℕ) : v.ord (f * t⁻¹ ^ q) = v.ord f - q
AlgebraicCurve.Place.forall_lt_taylorCoeff_eq_zero_iff_le_ord
Source context 6 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_forall_lt_taylorCoeff_eq_zero_iff_le_ord
open AlgebraicCurve AlgebraicCurve.Place
open ProofAuxJetT2 in
theorem _root_.AlgebraicCurve.Place.forall_lt_taylorCoeff_eq_zero_iff_le_ord
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1) {f : F}
    (hf : f ∈ v.toValuationSubring) (hf0 : f ≠ 0) (e : ℕ) :
    (∀ q, q < e → taylorCoeff v t q f = 0) ↔ (e : ℤ) ≤ v.ord f
AlgebraicCurve.Place.taylorCoeff_eq_evalAt_mul_inv_pow_of_forall_taylorCoeff_eq_zero
Source context 6 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_taylorCoeff_eq_evalAt_mul_inv_pow_of_forall_taylorCoeff_eq_zero
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorCoeff_eq_evalAt_mul_inv_pow_of_forall_taylorCoeff_eq_zero
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (t f : F) {e : ℕ} (h : ∀ q, q < e → taylorCoeff v t q f = 0) :
    taylorCoeff v t e f = v.evalAt (f * t⁻¹ ^ e)
AlgebraicCurve.Place.taylorCoeff_succ_eq_taylorCoeff_taylorRem_one
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorCoeff_succ_eq_taylorCoeff_taylorRem_one
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorCoeff_succ_eq_taylorCoeff_taylorRem_one
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (t f : F) (r : ℕ) :
    taylorCoeff v t (r + 1) f = taylorCoeff v t r (taylorRem v t f 1)
AlgebraicCurve.Place.taylorRem_add
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorRem_add
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorRem_add
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1) {f g : F}
    (hf : f ∈ v.toValuationSubring) (hg : g ∈ v.toValuationSubring) (r : ℕ) :
    taylorRem v t (f + g) r = taylorRem v t f r + taylorRem v t g r
AlgebraicCurve.Place.taylorRem_smul
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorRem_smul
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorRem_smul
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1) {f : F}
    (hf : f ∈ v.toValuationSubring) (c : K) (r : ℕ) :
    taylorRem v t (c • f) r = c • taylorRem v t f r
AlgebraicCurve.Place.taylorCoeff_add
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorCoeff_add
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorCoeff_add
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1) {f g : F}
    (hf : f ∈ v.toValuationSubring) (hg : g ∈ v.toValuationSubring) (r : ℕ) :
    taylorCoeff v t r (f + g) = taylorCoeff v t r f + taylorCoeff v t r g
AlgebraicCurve.Place.taylorCoeff_algebraMap
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorCoeff_algebraMap
open AlgebraicCurve AlgebraicCurve.Place Polynomial
theorem _root_.AlgebraicCurve.Place.taylorCoeff_algebraMap
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (t : F) (c : K) (n : ℕ) :
    taylorCoeff v t n (algebraMap K F c) = if n = 0 then c else 0 := by
  rcases n with _ | n
  · rw [ite_eq_left rfl, taylorCoeff_zero, v.evalAt_algebraMap]
  · rw [ite_eq_right (Nat.succ_ne_zero n), taylorCoeff_succ_eq_taylorCoeff_taylorRem_one,
      taylorRem_algebraMap_one, taylorCoeff_zero_fun]
AlgebraicCurve.Place.taylorCoeff_ord_ne_zero
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorCoeff_ord_ne_zero
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorCoeff_ord_ne_zero
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1) {f : F}
    (hf : f ∈ v.toValuationSubring) (hf0 : f ≠ 0) :
    taylorCoeff v t (v.ord f).toNat f ≠ 0
AlgebraicCurve.Place.taylorCoeff_smul
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorCoeff_smul
open AlgebraicCurve AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.taylorCoeff_smul
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1) {f : F}
    (hf : f ∈ v.toValuationSubring) (c : K) (r : ℕ) :
    taylorCoeff v t r (c • f) = c * taylorCoeff v t r f
AlgebraicCurves.Places.Proofs.Place_taylorCoeff_mul.ProofAuxJetT6.taylorRem_one
Source context 8 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorCoeff_mul
open AlgebraicCurve AlgebraicCurve.Place
namespace ProofAuxJetT6
open AlgebraicCurve AlgebraicCurve.Place
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem taylorRem_one (v : Place K F) (t f : F) :
    taylorRem v t f 1 = (f - algebraMap K F (v.evalAt f)) * t⁻¹
AlgebraicCurve.Place.taylorCoeff_mul
Source context 6 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_taylorCoeff_mul
open AlgebraicCurve AlgebraicCurve.Place
open ProofAuxJetT6 in
theorem _root_.AlgebraicCurve.Place.taylorCoeff_mul
    {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : Place K F) (hv : v.IsRational) {t : F} (ht : v.ord t = 1) {f g : F}
    (hf : f ∈ v.toValuationSubring) (hg : g ∈ v.toValuationSubring) (r : ℕ) :
    taylorCoeff v t r (f * g)
      = ∑ x ∈ Finset.HasAntidiagonal.antidiagonal r, taylorCoeff v t x.1 f * taylorCoeff v t x.2 g