Module

Basic.lean

Nyll.SchemeTheory.FunctionFields.PrimeDivisors.Basic
36 declarations indexed from sourceView source ↗

Prime divisors of function fields

This file introduces the model-independent form of a prime divisor used in Fried--Jarden, Chapter 6. The underlying discrete K-valuation of F is represented by a valuation subring of F which

  • is a discrete valuation ring, and
  • contains the image of the constant field K.

The discrete-valuation-ring condition forces the valuation subring to be proper, so nontriviality is derived rather than stored as redundant data. An FJ prime divisor additionally has residue field finite over K; this condition is part of FunctionFieldPrimeDivisor, so its degree is a genuine positive finite extension degree.

For a K-subalgebra A of F, being finite at the prime divisor means that every element of A belongs to the valuation subring. In that case the center on A is the contraction of the valuation ring's maximal ideal. This center is prime; no maximality assertion is made without additional finiteness or integrality hypotheses on the model.

Declarations

FieldArithmetic.Chapter06.DiscreteKValuation

A model-independent discrete K-valuation of F.

The valuation subring property says that its fraction field is the ambient field F. Discreteness is recorded by the DVR instance, while algebraMap_mem says that the valuation is trivial on the constant field in the valuation-ring sense.

Source context 6 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
structure DiscreteKValuation where
  /-- The valuation subring of the ambient function field. -/
  valuationSubring : ValuationSubring F
  /-- The valuation subring is a discrete valuation ring. -/
  isDiscreteValuationRing :
    IsDiscreteValuationRing valuationSubring
  /-- Every constant lies in the valuation subring. -/
  algebraMap_mem : ∀ x : K, algebraMap K F x ∈ valuationSubring
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace DiscreteKValuation
variable {K F}
instance (v : DiscreteKValuation K F) :
    IsDiscreteValuationRing v.valuationSubring
FieldArithmetic.Chapter06.DiscreteKValuation.constantRingHom

The constant-field embedding into the valuation ring.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace DiscreteKValuation
variable {K F}
def constantRingHom (v : DiscreteKValuation K F) :
    K →+* v.valuationSubring where
  toFun x := ⟨algebraMap K F x, v.algebraMap_mem x⟩
  map_zero' := Subtype.ext (map_zero (algebraMap K F))
  map_one' := Subtype.ext (map_one (algebraMap K F))
  map_add' x y := Subtype.ext (map_add (algebraMap K F) x y)
  map_mul' x y := Subtype.ext (map_mul (algebraMap K F) x y)
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace DiscreteKValuation
variable {K F}
instance (v : DiscreteKValuation K F) :
    Algebra K v.valuationSubring
FieldArithmetic.Chapter06.DiscreteKValuation.coe_algebraMap
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace DiscreteKValuation
variable {K F}
theorem coe_algebraMap
    (v : DiscreteKValuation K F) (x : K) :
    ((algebraMap K v.valuationSubring x : v.valuationSubring) : F) =
      algebraMap K F x
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace DiscreteKValuation
variable {K F}
instance (v : DiscreteKValuation K F) :
    IsScalarTower K v.valuationSubring F
FieldArithmetic.Chapter06.DiscreteKValuation.valuationSubring_ne_top

The valuation subring of a prime divisor is proper. This follows from its DVR structure and is therefore not an extra field of FunctionFieldPrimeDivisor.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace DiscreteKValuation
variable {K F}
theorem valuationSubring_ne_top
    (v : DiscreteKValuation K F) :
    v.valuationSubring ≠ ⊤
FieldArithmetic.Chapter06.DiscreteKValuation.ResidueField

The residue field of a prime divisor.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace DiscreteKValuation
variable {K F}
abbrev ResidueField (v : DiscreteKValuation K F)
FieldArithmetic.Chapter06.DiscreteKValuation.residueField_algebraMap_injective

The constants embed into the residue field of a discrete K-valuation.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace DiscreteKValuation
variable {K F}
theorem residueField_algebraMap_injective
    (v : DiscreteKValuation K F) :
    Function.Injective (algebraMap K v.ResidueField)
FieldArithmetic.Chapter06.HasFiniteResidueDegree

The residue-finiteness condition which distinguishes FJ prime divisors from arbitrary discrete K-valuations.

Source context 6 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
def HasFiniteResidueDegree (v : DiscreteKValuation K F) : Prop
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor

A prime divisor of F / K in the sense of Fried--Jarden: a nontrivial discrete K-valuation whose residue field is finite over K.

Source context 6 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
structure FunctionFieldPrimeDivisor extends DiscreteKValuation K F where
  /-- The residue field of the underlying discrete valuation is finite over K. -/
  residueFinite : HasFiniteResidueDegree K F toDiscreteKValuation
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.ResidueField

The residue field of a prime divisor.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
abbrev ResidueField (v : FunctionFieldPrimeDivisor K F)

The residue field is finite-dimensional over the constant field.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
instance (v : FunctionFieldPrimeDivisor K F) :
    FiniteDimensional K v.ResidueField
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.degree

The degree of a prime divisor is the finite vector-space dimension of its residue field over the constant field.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def degree (v : FunctionFieldPrimeDivisor K F) : ℕ
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.one_le_degree

The residue degree of a prime divisor is positive.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem one_le_degree (v : FunctionFieldPrimeDivisor K F) :
    1 ≤ v.degree
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.residueField_algebraMap_injective

The constants embed into the residue field of a prime divisor.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem residueField_algebraMap_injective
    (v : FunctionFieldPrimeDivisor K F) :
    Function.Injective (algebraMap K v.ResidueField)
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.valuationSubring_ne_top

The valuation subring of a prime divisor is proper.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem valuationSubring_ne_top
    (v : FunctionFieldPrimeDivisor K F) :
    v.valuationSubring ≠ ⊤
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.FiniteAlong

The prime divisor is finite along a model map ι : A →ₐ[K] F when the image of every element of A belongs to its valuation ring.

No injectivity condition is needed: this formulation applies directly to coordinate-ring maps into a function field.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def FiniteAlong
    {A : Type w} [CommRing A] [Algebra K A]
    (v : FunctionFieldPrimeDivisor K F) (ι : A →ₐ[K] F) : Prop
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.finiteAlongRingHom

A model map factored through the valuation ring at a finite prime divisor.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def finiteAlongRingHom
    {A : Type w} [CommRing A] [Algebra K A]
    (v : FunctionFieldPrimeDivisor K F) (ι : A →ₐ[K] F)
    (h : v.FiniteAlong ι) :
    A →+* v.valuationSubring where
  toFun a := ⟨ι a, h a⟩
  map_zero' := Subtype.ext (by simp)
  map_one' := Subtype.ext (by simp)
  map_add' x y := Subtype.ext (by simp)
  map_mul' x y := Subtype.ext (by simp)
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.finiteAlongAlgHom

The finite-along factorization respects the K-algebra structures.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def finiteAlongAlgHom
    {A : Type w} [CommRing A] [Algebra K A]
    (v : FunctionFieldPrimeDivisor K F) (ι : A →ₐ[K] F)
    (h : v.FiniteAlong ι) :
    A →ₐ[K] v.valuationSubring
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.centerAlong

The center along a model map is the contraction of the valuation ring's maximal ideal.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def centerAlong
    {A : Type w} [CommRing A] [Algebra K A]
    (v : FunctionFieldPrimeDivisor K F) (ι : A →ₐ[K] F)
    (h : v.FiniteAlong ι) : Ideal A
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.mem_centerAlong_iff
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem mem_centerAlong_iff
    {A : Type w} [CommRing A] [Algebra K A]
    (v : FunctionFieldPrimeDivisor K F) (ι : A →ₐ[K] F)
    (h : v.FiniteAlong ι) (a : A) :
    a ∈ v.centerAlong ι h ↔
      v.finiteAlongRingHom ι h a ∈ maximalIdeal v.valuationSubring
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.mem_centerAlong_iff_mem_nonunits

Ambient-field characterization of membership in a center along a map.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem mem_centerAlong_iff_mem_nonunits
    {A : Type w} [CommRing A] [Algebra K A]
    (v : FunctionFieldPrimeDivisor K F) (ι : A →ₐ[K] F)
    (h : v.FiniteAlong ι) (a : A) :
    a ∈ v.centerAlong ι h ↔ ι a ∈ v.valuationSubring.nonunits
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.mem_centerAlong_iff_residue_eq_zero

A model element is in the center along ι exactly when its residue is zero.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem mem_centerAlong_iff_residue_eq_zero
    {A : Type w} [CommRing A] [Algebra K A]
    (v : FunctionFieldPrimeDivisor K F) (ι : A →ₐ[K] F)
    (h : v.FiniteAlong ι) (a : A) :
    a ∈ v.centerAlong ι h ↔
      residue v.valuationSubring (v.finiteAlongRingHom ι h a) = 0
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.centerAlong_isPrime

The center along any finite model map is a prime ideal.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem centerAlong_isPrime
    {A : Type w} [CommRing A] [Algebra K A]
    (v : FunctionFieldPrimeDivisor K F) (ι : A →ₐ[K] F)
    (h : v.FiniteAlong ι) :
    (v.centerAlong ι h).IsPrime
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.FiniteOn

The prime divisor is finite on a K-model A when every function in A is contained in its valuation ring. This is FiniteAlong for the inclusion A.val : A →ₐ[K] F.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def FiniteOn
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F) : Prop
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.finiteOn_iff_finiteAlong_val
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem finiteOn_iff_finiteAlong_val
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F) :
    v.FiniteOn A ↔ v.FiniteAlong A.val
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.finiteOn_iff_toSubring_le
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem finiteOn_iff_toSubring_le
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F) :
    v.FiniteOn A ↔ A.toSubring ≤ v.valuationSubring.toSubring
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.finiteOnRingHom

Inclusion of a model into the valuation ring at a finite prime divisor.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def finiteOnRingHom
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F)
    (h : v.FiniteOn A) :
    A →+* v.valuationSubring
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.finiteOnAlgHom

The finite-on inclusion respects the K-algebra structures.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def finiteOnAlgHom
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F)
    (h : v.FiniteOn A) :
  A →ₐ[K] v.valuationSubring
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.finiteOnRingHom_injective
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem finiteOnRingHom_injective
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F)
    (h : v.FiniteOn A) :
    Function.Injective (v.finiteOnRingHom A h)
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.center

The center of a prime divisor on a model is the contraction of the maximal ideal of its valuation ring.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
def center
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F)
    (h : v.FiniteOn A) : Ideal A
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.mem_center_iff
Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem mem_center_iff
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F)
    (h : v.FiniteOn A) (x : A) :
    x ∈ v.center A h ↔
      v.finiteOnRingHom A h x ∈ maximalIdeal v.valuationSubring
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.mem_center_iff_mem_nonunits

Ambient-field characterization of the center: a model element is centered at v exactly when it is a nonunit of the valuation ring.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem mem_center_iff_mem_nonunits
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F)
    (h : v.FiniteOn A) (x : A) :
    x ∈ v.center A h ↔ (x : F) ∈ v.valuationSubring.nonunits
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.mem_center_iff_residue_eq_zero

A model element is in the center exactly when its residue is zero.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem mem_center_iff_residue_eq_zero
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F)
    (h : v.FiniteOn A) (x : A) :
    x ∈ v.center A h ↔
      residue v.valuationSubring (v.finiteOnRingHom A h x) = 0
FieldArithmetic.Chapter06.FunctionFieldPrimeDivisor.center_isPrime

The center of a finite prime divisor on a model is a prime ideal.

Source context 8 commands

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

noncomputable section
namespace FieldArithmetic
namespace Chapter06
open IsLocalRing
universe u v w
variable (K : Type u) (F : Type v) [Field K] [Field F] [Algebra K F]
namespace FunctionFieldPrimeDivisor
variable {K F}
theorem center_isPrime
    (v : FunctionFieldPrimeDivisor K F) (A : Subalgebra K F)
    (h : v.FiniteOn A) :
    (v.center A h).IsPrime