Library

Algebraic curves

Algebraic curves

Algebraic curves, divisors, function fields, differentials and residues. Includes Riemann–Roch, duality and relative geometric constructions used by the Jacobian library.

Modules

All.lean0 declarations

Algebraic curves, divisors, function fields, differentials and residues. Includes Riemann–Roch, duality and relative geometric constructions used by the Jacobian library.

Adelic spaces, indices of specialty and Weil differentials. Valuation bounds and global functions define the quotients and genus conditions.

Repartitions and Riemann--Roch spaces defined by valuation bounds. Principal repartitions give the quotient used for the first cohomology space.

Divisor-bounded functions on two charts and their Cech cohomology. Chart extension maps the first Cech quotient to adelic cohomology.

Pullback and trace on divisor-section Cech cohomology along an integral field embedding.

A morphism to an affine base supplies the base-ring action on module sections. Restriction is linear for this action, and evaluation on two affine opens and their overlap gives the corresponding two-chart Cech section da…

Riemann--Roch supplies a nonzero section of every degree-one divisor. Its effective divisor is a single place. The same dimension calculation proves uniqueness: a function with at most one simple pole must be constant.

The boundary upstairs is the actual union of valuation fibers. Its weighted cardinality is obtained from the finite-extension degree formula. Thus the boundary correction cancels the ramification term for an extension th…

A positive-degree homogeneous form with more variables than its degree has a nonzero zero over a finite separable extension of K(x), where K is algebraically closed. The proof uses existing principal-divisor and Riemann-…

Function-field Riemann--Roch and Weil duality statements. The index formula, adelic duality and differential-space dimensions are compared.

Residue functionals of nonzero Kähler differentials, their canonical-divisor bounds, and the associated residue pairing.

Pullback, trace, and correspondence maps for Kähler differentials along base-field algebra homomorphisms.

Uniformizer differentials, their coefficients, and differential orders at places of a function field.

Canonical divisors, their divisor classes, and the genus obtained from the order of a nonzero differential.

Places, divisors and divisor class groups of a field extension. The valuation orders define principal divisors and the degree-zero Picard group.

Sending places to their actual valuation extensions transports divisor evaluation through the coefficient embedding. The comparison follows from residue evaluation, including the negative multiplicities in divisors.

Transport of field structures, places, divisors, and degree-zero Picard groups along base-field algebra homomorphisms.

Division divisors produce explicit roots by evaluation. The pointed formula retains the basepoint normalization, with no condition on the characteristic.

Divisors.Maps.lean71 declarations

Restriction of places and residue fields, ramification indices, and divisor pullback and pushforward over field extensions.

Divisors.PoleData.lean10 declarations

Pole-divisor bounds, coordinate towers, and independent bounded function families for function fields.

Semilinear automorphisms act compatibly on valuation rings, residue fields, and degree-zero divisor classes.

MulAction), names suffixed Finsupp 404-412, names suffixed Finsupp GroupWithZero/Action/Basic.lean:89-92 and :104-112, Ring/AddAut.lean:32), lemma names primed Mathlib/Algebra/GroupWithZero/Action/Basic.lean:104-112: the…

The fraction field of a scalar-extended affine coordinate ring is generated by the new constants and the image of the old function field. This lemma uses the tensor-product description of the coordinate ring, rather than…

A continuous finite-valued cocycle descends to an actual finite Galois intermediate field. Tsen supplies vanishing of its actual field-unit H² class. The existing Hilbert-90 and Kummer correction gives a continuous mod-p…

Function fields of curves over a base field. The curve condition records principal divisors, finite residues and rank-one differentials.

Tsen supplies the norm preimages in the existing actual group-cohomology calculation. This is the finite cyclic step, not a claim about all étale cohomology of a curve.

The Sylow fixed fields remain one-variable function fields. Their relative Galois groups are p-groups, so the previously proved vanishing applies. The finite-index trace detects vanishing in the original actual group-coh…

The actual algebra norm is represented by a homogeneous form of degree equal to the extension dimension. Tsen applied to N(Y) - a Z^d gives a nonzero point. Anisotropy of the field norm forces Z to be nonzero, so divisio…

A central prime-order subgroup supplies an actual intermediate field. Tsen kills the cyclic upper extension, induction kills the lower extension, and the existing unit H² inflation-restriction exactness kills the origina…

Extend the map (x,y) ↦ q(x/y) from D(y) to the affine plane. Pulling this extension back by (x,y) ↦ (xy,y) agrees with q(x) on D(y), hence everywhere by separatedness. Restriction to y = 0 proves constancy.

The actual torsion levels of the additive group of algebraic points identify with points of the multiplication kernel. For a proper smooth commutative group scheme over an algebraically closed field of characteristic zer…

The genus is defined by the actual function field of the base change to an algebraic closure. It needs neither a rational point nor a chosen affine cover. For a smooth proper geometrically integral curve it equals the di…

A finite extension embeds in an algebraic closure of the original field. Actual Cech cohomology and the function-field isomorphism of the two iterated pullbacks then compare the genera. The auxiliary rational point is on…

For a morphism from an integral proper smooth curve to an integral proper smooth scheme over an algebraically closed field of characteristic zero, bijectivity on rational points implies that the original morphism is an i…

Two affine charts cover the curve, with reciprocal coordinates on their intersection. The coordinate maps are finite, and their level sets have the specified common free rank. The associated affine cover and the generic…

The quotient of the actual finite locally free equivalence relation associated with a covering action supplies its descended scheme. Finite presentation is sufficient; no separability of the covering algebra is needed. I…

The descended universal element is retained explicitly. Consequently its classifying equivalence agrees with the fixed local representation, a fact needed to compare group laws rather than merely isomorphism classes of r…

Matching local elements form a subgroup. The actual matching equivalence transports its operations to relative points of the descended scheme.

This identifies points of a descended scheme with the compatible elements of the presheaf represented after base change. The presheaf is not assumed to be a sheaf.

Places of a function field of a curve have degree at least one. Principal-divisor shifts of Riemann--Roch spaces are implemented by multiplication and division.

Fibrewise section conditions for charts of the relative Picard functor. The conditions combine Riemann--Roch with point removals prescribed by sections.

This file defines invertible sheaves of modules and line bundles rigidified along a chosen section. Isomorphism classes of rigidified line bundles form a presheaf under base change, with the unit bundle as its distinguis…

This presheaf requires no section of the curve. Choosing a section gives a natural equivalence with the existing rigidified Picard presheaf by normalizing along it. No assertion of the sheaf property is included.

The geometric-fibre condition is invariant under tensoring with a base line bundle. It therefore defines an actual subfunctor of relative classes. At a chosen section, normalization identifies this subfunctor with the ex…

The canonical isomorphism between iterated pullbacks identifies relative classes over an extended base with restriction of the original presheaf. The comparison preserves the actual geometric-fibre condition and requires…

A closed point of a nonempty scheme locally of finite type has a finite residue field. Its actual residue-field morphism gives a section after base change. No separability or characteristic assumption enters the construc…

The tensor-product description of sections on a base-changed affine open proves that its function field is generated by the new constants and the image of the original function field. Compatibility with germs specifies t…

The kernel of a coproduct map gives a two-term truncation. When its cokernel is finite, a chosen free presentation and projective lift produce the Mumford truncation maps.

Scheme morphisms compatible with chosen structure morphisms form a subtype. This file constructs their identities, composition, and actions on points, and identifies them with morphisms in the over category. It also reco…

Morphisms commuting with their structure maps induce morphisms of the base-changed schemes. Their projections, identities, compositions, and induced module comparisons are compatible.

Presheaf exterior powers descend through sheafification to exterior-power functors on module sheaves; their objects define the determinant notation.

Tensor a module with the pullback of the dual of its restriction to a chosen section. Module isomorphisms induce isomorphisms of these rigidifications.

Local coefficients of a module section generate its zero-scheme ideal. This file supplies restriction and pullback operations, coefficient maps, and the associated closed subscheme.

Exterior-algebra multiplication by a vector induces natural maps on module presheaves and module sheaves through sheafification.

Models.Basic.lean9 declarations

Geometric models of function fields of curves. A model identifies closed points with places and stalks with their valuation subrings.

The value of a pulled-back rational function at the geometric generic point is its image in the geometric-point field. The proof compares actual scheme stalk maps and the existing place-evaluation map.

The structure morphism at the generic stalk is the spectrum of the actual base-field embedding. The pullback universal property then constructs the rational point over an extension of the function field.

If a geometric coefficient automorphism fixes the projection to the original curve, its actual semilinear function-field action fixes every function coming from that curve. The proof uses the action on germs and the actu…

The coefficient automorphism induces an isomorphism of the actual pullback curve. Transporting this morphism through the chosen curve-model isomorphism supplies its semilinear action on the function field, with the same…

The place at infinity of a rational function field extends to a function-field place whose local ring identifies the point outside the coordinate domain.

The source need not be proper. Its closed-point local ring supplies its actual place, and the actual stalk map is formally unramified. The local ramification theorem therefore applies to a root in its actual function fie…

The function-field homomorphism is induced by the scheme morphism. Unramifiedness at every place is proved from the actual étale morphism; there is no ramification or genus formula assumption.

The field is the scheme's actual function field. Smooth relative dimension one supplies its separating transcendence parameter via the existing geometric Kähler-differential calculation. Tsen and the already proved conti…

Models.Places.lean5 declarations

Open subsets of a curve determine sets of places through their closed-point local rings.

Places.Completion.lean37 declarations

Completions at places carry the induced maps of finite extensions, their integral valuation subrings, completed traces, and constant-field maps.

Places.Evaluation.lean14 declarations

Residues at rational places define evaluation of functions and products along divisors, together with the Weil reciprocity condition.

A warning-free compatibility proof for the finrank of a prime-power quotient. This is the filtration argument formerly bundled with the legacy NumberTheory.RamificationInertia.Basic module. It is kept in a project namesp…

This local-ring form of the existing curve-model argument applies equally to proper curves and open curves. The local rings are identified with the actual valuation rings, and the map is the actual local homomorphism.

Places.OverDVR.lean50 declarations

Places above a discrete valuation ring correspond to height-one primes of its integral closure, with finite fibres over a base place.

Polynomial primes and points define finite places of a rational function field, with residue-field comparisons and transport along field equivalences.

Places of a rational function field over an algebraically closed field are classified by finite points and the place at infinity.

The canonical associativity isomorphism identifies the actual divisor ideals, their finite flat projections, and their degrees. This is a change of the base of the curve, in addition to pullback of a divisor along a test…

+# Effective divisors in a linear pencil Flat base change preserves independence of the actual global sections of an invertible module. Thus every field-valued fibre of the pencil is nonzero. The actual zero scheme is fi…

The section (1-t)s₀ + ts₁ is formed on the actual product with the affine line. Its restrictions along the sections t = a are computed through the canonical composition and identity isomorphisms for pullback of modules.

The existing finite flat sum cover has exactly the same-divisor relation on every test scheme, including nonreduced schemes. This comparison uses the actual universal divisor, its classifying morphisms, and naturality of…

Adic completions of a Dedekind-domain fraction field retain the discrete valuation, integral subring, and residue field at the chosen height-one prime.

A valuation that excludes a nonintegral element admits a finitely generated integral model containing the inverse. A dominating discrete valuation ring preserves the inverse as a nonunit. This avoids separability restric…