Module

ConstantReindex.lean

Nyll.AlgebraicCurves.Divisors.ConstantExtension.ConstantReindex
12 declarations indexed from sourceView source ↗

Divisor and Picard reindexing after changing the constant field

The actual equivalence of places preserves principal divisors and scales arithmetic degree by the degree of the constant extension. The existing FunctionField declaration names are retained for downstream compatibility.

Declarations

FunctionField.divisorConstantEquiv

Reindex the existing divisors along the actual equivalence of places.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
def divisorConstantEquiv : Divisor k K ≃+ Divisor C K
FunctionField.divisorConstantEquiv_apply
Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
theorem divisorConstantEquiv_apply (D : Divisor k K) (w : Place C K) :
    divisorConstantEquiv k C K D w = D (w.forgetConstants (K := k))
FunctionField.divisorConstantEquiv_single

Reindexing sends a single place to its extension of constants.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
theorem divisorConstantEquiv_single (v : Place k K) (n : ℤ) :
    divisorConstantEquiv k C K (Finsupp.single v n) =
      Finsupp.single (v.extendConstants C) n
FunctionField.isPrincipal_divisorConstantEquiv_iff

The reindexing preserves each principal divisor, with the same defining function.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
theorem isPrincipal_divisorConstantEquiv_iff (D : Divisor k K) :
    Divisor.IsPrincipal (divisorConstantEquiv k C K D) ↔ Divisor.IsPrincipal D
FunctionField.degree_divisorConstantEquiv

Divisor degrees scale by the degree of the finite extension of constants.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
theorem degree_divisorConstantEquiv (D : Divisor k K) :
    Divisor.degree D = (Module.finrank k C : ℤ) *
      Divisor.degree (divisorConstantEquiv k C K D)
FunctionField.hasPrincipalDivisors_of_extendedConstants

Principal divisors descend when algebraically extended constants are forgotten.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
theorem hasPrincipalDivisors_of_extendedConstants [HasPrincipalDivisors C K] :
    HasPrincipalDivisors k K
FunctionField.hasPrincipalDivisors_extendedConstants

Principal divisors remain of degree zero after a finite change of constants.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
theorem hasPrincipalDivisors_extendedConstants [FiniteDimensional k C]
    [HasPrincipalDivisors k K] : HasPrincipalDivisors C K
FunctionField.picConstantEquiv

Changing algebraic constants inside the same field preserves the full Picard group.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
def picConstantEquiv : Pic k K ≃+ Pic C K
FunctionField.picConstantEquiv_mk

The full Picard reindexing is computed on actual divisor representatives.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
theorem picConstantEquiv_mk (D : Divisor k K) :
    picConstantEquiv k C K (H1Gm.mk D) = H1Gm.mk (divisorConstantEquiv k C K D)
FunctionField.degree_picConstantEquiv

The degree scales by the actual extension degree of constants.

Source context 6 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
theorem degree_picConstantEquiv [HasPrincipalDivisors k K] [HasPrincipalDivisors C K]
    (x : Pic k K) :
    H1Gm.degree k K x = (Module.finrank k C : ℤ) *
      H1Gm.degree C K (picConstantEquiv k C K x)
FunctionField.degreeZeroConstantEquiv

Reindexing along constant extension identifies the actual degree-zero divisor subgroups.

Source context 7 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
variable [Module.Finite k C]
def degreeZeroConstantEquiv : Divisor.degZero (K := k) (F := K) ≃+
    Divisor.degZero (K := C) (F := K) where
  toFun D := ⟨divisorConstantEquiv k C K D, by
    apply Divisor.mem_degZero.mpr
    have hd : (Module.finrank k C : ℤ) ≠ 0 := by
      exact_mod_cast (Module.finrank_pos (R := k) (M := C)).ne'
    have hprod : (Module.finrank k C : ℤ) *
        Divisor.degree (divisorConstantEquiv k C K D) = 0 :=
      (degree_divisorConstantEquiv k C K D).symm.trans (Divisor.mem_degZero.mp D.2)
    exact (mul_eq_zero.mp hprod).resolve_left hd⟩
  invFun D := ⟨(divisorConstantEquiv k C K).symm D, by
    apply Divisor.mem_degZero.mpr
    rw [degree_divisorConstantEquiv k C K, AddEquiv.apply_symm_apply,
      Divisor.mem_degZero.mp D.2, mul_zero]⟩
  left_inv D := Subtype.ext ((divisorConstantEquiv k C K).symm_apply_apply D)
  right_inv D := Subtype.ext ((divisorConstantEquiv k C K).apply_symm_apply D)
  map_add' D E := Subtype.ext ((divisorConstantEquiv k C K).map_add D E)
FunctionField.pic0ConstantEquiv

Constant extension within the same function field preserves the degree-zero Picard group.

Source context 7 commands

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

@[expose] public section
noncomputable section
namespace FunctionField
open AlgebraicCurve
section ConstantExtension
variable (k C K : Type*) [Field k] [Field C] [Field K]
    [Algebra k C] [Algebra k K] [Algebra C K] [IsScalarTower k C K]
    [Algebra.IsIntegral k C]
variable [Module.Finite k C]
def pic0ConstantEquiv : Pic0 k K ≃+ Pic0 C K