Documentation

TauCeti.FieldTheory.FunctionField.HolomorphyRing.Basic

Holomorphy rings of an algebraic function field #

A set S of places of an algebraic function field F / k cuts out the ring

๐’ช_S = โ‹‚_{P โˆˆ S} ๐’ช_P

of functions regular at every place of S โ€” its holomorphy ring. Two extreme cases are already known: ๐’ช_โˆ… = F, and ๐’ช_{โ„™_F} is the constant field algebraicClosure k F, which is Stichtenoth's Corollary 1.1.20. This file constructs ๐’ช_S in general and proves the two theorems that make the construction a dictionary: ๐’ช_S is integrally closed in F, and every k-subalgebra of F integrally closed in F arises this way, from the set of places at which its functions are regular. The two constructions are mutually inverse, since S is recovered from ๐’ช_S as the set of places at which every function of ๐’ช_S is regular.

Whenever some place lies outside S, the field F is the field of fractions of ๐’ช_S, so a holomorphy ring of a proper set of places is a k-subalgebra of F with the same function field โ€” the shape the affine models of TauCeti/FieldTheory/FunctionField/AffineModel/ are built on.

When S is finite, ๐’ช_S is moreover a principal ideal domain, and so a Dedekind domain: a nonzero ideal is generated by any of its functions of least order at every place of S at once, and weak approximation manufactures such a function out of the functions of least order at the separate places. A finite S that omits some place is therefore the finite chart of the affine model ๐’ช_S, whose height one primes are exactly the places of S; that identification is TauCeti.holomorphyRingHeightOneSpectrumEquiv, in TauCeti/FieldTheory/FunctionField/AffineModel/Prime.lean with the rest of the affine-model dictionary.

The mathematics is Stichtenoth, Algebraic Function Fields and Codes, 2nd ed., Section III.2. None of it needs an exactness hypothesis on the constant field.

Main definitions #

Main results #

Implementation notes #

๐’ช_S is a Subalgebra k F rather than a bare Subring F: the constants are regular at every place (TauCeti.Place.algebraMap_mem_integers), so the k-algebra structure is free, and it is what the affine-model API consumes. Mathlib's Set.integer, the S-integers of the fraction field of a Dedekind domain, is the same shape for the places of a fixed affine model and with the complementary indexing convention (integrality is imposed away from S); it is not general enough here, where the index is the whole place set of F / k and the place at infinity of a model is a citizen like any other.

Theorem 3.2.6 does not repeat Stichtenoth's Zorn argument. Mathlib's Subring.exists_le_valuationSubring_of_isIntegrallyClosedIn (Stacks 090P) already separates an element from a subring integrally closed in a field by a valuation subring; what is specific to function fields is that the valuation subring so produced is a place, and that is TauCeti.Place.ofValuationSubring.

References #

The holomorphy ring of a set of places #

def TauCeti.holomorphyRing {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] (S : Set (Place k F)) :

The holomorphy ring ๐’ช_S = โ‹‚_{P โˆˆ S} ๐’ช_P of a set S of places of F / k (Stichtenoth, Definition 3.2.2): the functions regular at every place of S.

Equations
Instances For
    @[simp]
    theorem TauCeti.mem_holomorphyRing_iff {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] {S : Set (Place k F)} {z : F} :
    z โˆˆ holomorphyRing S โ†” โˆ€ P โˆˆ S, z โˆˆ P.integers
    theorem TauCeti.mem_holomorphyRing_iff_forall_ord_nonneg {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] {S : Set (Place k F)} {z : F} :
    z โˆˆ holomorphyRing S โ†” โˆ€ P โˆˆ S, 0 โ‰ค P.ord z

    Membership in ๐’ช_S in additive form: z has no pole on S.

    theorem TauCeti.coe_holomorphyRing_subset_integers {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] {S : Set (Place k F)} {P : Place k F} (hP : P โˆˆ S) :
    โ†‘(holomorphyRing S) โІ โ†‘P.integers

    Every function of ๐’ช_S is regular at every place of S.

    Asking for regularity at more places gives a smaller ring.

    @[simp]

    The holomorphy ring of all the places is the constant field (Stichtenoth, Corollary 1.1.20): a function regular everywhere is algebraic over k.

    instance TauCeti.isIntegrallyClosedIn_holomorphyRing {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] (S : Set (Place k F)) :

    A holomorphy ring is integrally closed in F: a function integral over ๐’ช_S is integral over each ๐’ช_P with P โˆˆ S, and a valuation ring is integrally closed (TauCeti.Place.mem_integers_of_isIntegral).

    The field of fractions #

    theorem TauCeti.exists_ne_zero_mem_holomorphyRing_and_mul_mem {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] (hF : IsFunctionField k F) {S : Set (Place k F)} {Q : Place k F} (hQ : Q โˆ‰ S) (z : F) :

    Denominators regular on S: if some place Q lies outside S, every function of F is (y * z) / y for a nonzero y with y and y * z both regular on S. Riemann's theorem supplies y inside L(nยทQ - (z)_โˆž) for n large: such a y vanishes on the poles of z to at least their order, and its own only pole is Q, which lies outside S.

    theorem TauCeti.isFractionRing_holomorphyRing {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] (hF : IsFunctionField k F) {S : Set (Place k F)} (hS : Sแถœ.Nonempty) :

    F is the field of fractions of ๐’ช_S whenever some place lies outside S (Stichtenoth, Section III.2).

    Clearing poles by a power of a function #

    theorem TauCeti.exists_pow_mul_mem_holomorphyRing {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] (hF : IsFunctionField k F) {S : Set (Place k F)} {x : F} (hx : x โˆˆ holomorphyRing S) {z : F} (hz : โˆ€ P โˆˆ S, xโปยน โˆˆ P.integers โ†’ z โˆˆ P.integers) :
    โˆƒ (n : โ„•), x ^ n * z โˆˆ holomorphyRing S

    A function regular at every place of S at which xโปยน is regular is made regular on all of S by a sufficiently high power of x โˆˆ ๐’ช_S: its poles on S are among the finitely many zeros of x.

    Integrally closed subrings are holomorphy rings #

    theorem TauCeti.holomorphyRing_setOf_subset_integers {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] (hF : IsFunctionField k F) (R : Subalgebra k F) [IsIntegrallyClosedIn (โ†ฅR) F] :
    holomorphyRing {P : Place k F | โ†‘R โІ โ†‘P.integers} = R

    Stichtenoth, Theorem 3.2.6. A k-subalgebra of F that is integrally closed in F is the holomorphy ring of the set of places at which all of its functions are regular. No hypothesis on the constant field is needed.

    A function outside R is separated from R by a valuation subring of F (Subring.exists_le_valuationSubring_of_isIntegrallyClosedIn), which contains the constants and is proper, hence is the valuation ring of a place.

    theorem TauCeti.restrictScalars_integralClosure_eq_holomorphyRing {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] (hF : IsFunctionField k F) (R : Subalgebra k F) :
    Subalgebra.restrictScalars k (integralClosure (โ†ฅR) F) = holomorphyRing {P : Place k F | โ†‘R โІ โ†‘P.integers}

    Stichtenoth, Theorem 3.2.6, for an arbitrary k-subalgebra: the integral closure of R in F is the holomorphy ring of the set of places at which all the functions of R are regular.

    Recovering the set of places #

    @[simp]
    theorem TauCeti.coe_holomorphyRing_subset_integers_iff {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] (hF : IsFunctionField k F) {S : Set (Place k F)} {P : Place k F} :
    โ†‘(holomorphyRing S) โІ โ†‘P.integers โ†” P โˆˆ S

    Stichtenoth, Corollary 3.2.8. The functions of ๐’ช_S are all regular at a place P exactly when P belongs to S, so S is recovered from its holomorphy ring: together with TauCeti.holomorphyRing_setOf_subset_integers this makes sets of places and k-subalgebras of F integrally closed in F correspond antitonely.

    Finitely many places: a principal ideal domain #

    theorem TauCeti.ord_nonneg_of_mem_holomorphyRing {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] {S : Set (Place k F)} {P : Place k F} (hP : P โˆˆ S) (z : โ†ฅ(holomorphyRing S)) :
    0 โ‰ค P.ord โ†‘z

    The functions of ๐’ช_S have nonnegative order at every place of S.

    theorem TauCeti.dvd_holomorphyRing_iff_forall_ord_le {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] {S : Set (Place k F)} {t z : โ†ฅ(holomorphyRing S)} (ht : โ†‘t โ‰  0) (hz : โ†‘z โ‰  0) :
    t โˆฃ z โ†” โˆ€ P โˆˆ S, P.ord โ†‘t โ‰ค P.ord โ†‘z

    Divisibility in ๐’ช_S is a pointwise comparison of orders: a nonzero function of ๐’ช_S divides another exactly when it vanishes to no greater order at every place of S. The hypotheses exclude the junk value ord_P 0 = 0; 0 is of course divisible by everything.

    theorem TauCeti.isPrincipalIdealRing_holomorphyRing {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] {S : Set (Place k F)} (hS : S.Finite) :

    Stichtenoth, Proposition 3.2.10: the holomorphy ring of a finite set S of places of F / k is a principal ideal domain. Only the finiteness of S is used โ€” weak approximation at finitely many distinct places needs no hypothesis on k or on F / k โ€” so this does not ask F / k to be an algebraic function field. A nonzero ideal is generated by any of its functions of least order at every place of S at once, which weak approximation manufactures out of the functions of least order at the separate places, since ๐’ช_S is then divided by such a function (TauCeti.dvd_holomorphyRing_iff_forall_ord_le). In particular ๐’ช_S is a Dedekind domain, by IsPrincipalIdealRing.isDedekindDomain, and so โ€” with TauCeti.isFractionRing_holomorphyRing โ€” an affine model, whose height one primes are the places of S; that is holomorphyRingHeightOneSpectrumEquiv, downstream in TauCeti/FieldTheory/FunctionField/AffineModel/Prime.lean.

    Holomorphy rings as affine models #

    theorem TauCeti.forall_algebraMap_mem_integers_holomorphyRing_iff {k : Type u} {F : Type v} [Field k] [Field F] [Algebra k F] {S : Set (Place k F)} (hF : IsFunctionField k F) {P : Place k F} :
    (โˆ€ (r : โ†ฅ(holomorphyRing S)), (algebraMap (โ†ฅ(holomorphyRing S)) F) r โˆˆ P.integers) โ†” P โˆˆ S

    A place of F / k is finite on ๐’ช_S exactly when it belongs to S (TauCeti.coe_holomorphyRing_subset_integers_iff, in the form the affine-model dictionary consumes). It is deliberately not a simp lemma: simp unfolds both TauCeti.holomorphyRing membership and TauCeti.Place.integers membership into valuation inequalities, so this left-hand side is not in simp normal form.