Documentation

TauCeti.AlgebraicGeometry.WeilDivisor.Order

The order on Weil divisors and the positive/negative part decomposition #

This file continues the Jacobian roadmap's Layer A formal Weil divisor API (TauCeti.AlgebraicGeometry.WeilDivisor.Basic) by recording the lattice-ordered-group structure of formal divisors and the canonical decomposition of a divisor into its effective positive and negative parts.

The point set X →₀ ℤ already carries the coefficientwise partial order, the lattice operations ⊔/⊓, and (because ℤ is an ordered group) the lattice-ordered-group positive and negative parts D⁺ and D⁻ from Mathlib. The contribution here is to connect that order with the divisor vocabulary already in place: effectivity is nonnegativity, D ≤ E is effectivity of E - D, the pointwise maximum and minimum of effective divisors are effective, and every divisor decomposes as D = D⁺ - D⁻ with D⁺, D⁻ effective of disjoint support. We read off the consequences for the unweighted and weighted degree maps and compute the decomposition of the basic degree-zero divisors [x] - [y].

This reuses Mathlib's lattice-ordered-group posPart/negPart API (Mathlib.Algebra.Order.Group.PosPart) and the coefficientwise order and lattice on finitely supported functions (Mathlib.Order.Preorder.Finsupp, Mathlib.Data.Finsupp.Order); no external mathematics is vendored.

This advances the Tau Ceti Jacobian roadmap, Layer A, "Divisors on a curve: Weil divisors ⊕_x ℤ", "principal divisors", and "Degree".

The coefficientwise order #

theorem TauCeti.AlgebraicGeometry.WeilDivisor.le_iff {X : Type u_1} {D E : WeilDivisor X} :
D ≤ E ↔ ∀ (x : X), D.coeff x ≤ E.coeff x

One Weil divisor is ≤ another exactly when it is so coefficientwise.

theorem TauCeti.AlgebraicGeometry.WeilDivisor.coeff_le_coeff {X : Type u_1} {D E : WeilDivisor X} (h : D ≤ E) (x : X) :
D.coeff x ≤ E.coeff x

The coefficientwise order projects to coefficients: D ≤ E gives coeff D x ≤ coeff E x.

theorem TauCeti.AlgebraicGeometry.WeilDivisor.zsmul_ofPoint_lt_zero {X : Type u_1} (x : X) {n : ℤ} (hn : n < 0) :
n • ofPoint x < 0

A negative integer multiple of a point divisor is strictly negative.

Effectivity is exactly nonnegativity in the coefficientwise order.

Adding a point to a divisor gives a larger divisor.

Membership in the effective submonoid is nonnegativity in the coefficientwise order.

D ≤ E exactly when the difference E - D is effective.

Lattice operations #

@[simp]
theorem TauCeti.AlgebraicGeometry.WeilDivisor.coeff_sup {X : Type u_1} (D E : WeilDivisor X) (x : X) :
(D ⊔ E).coeff x = max (D.coeff x) (E.coeff x)

The coefficient of a pointwise maximum is the maximum of the coefficients.

@[simp]
theorem TauCeti.AlgebraicGeometry.WeilDivisor.coeff_inf {X : Type u_1} (D E : WeilDivisor X) (x : X) :
(D ⊓ E).coeff x = min (D.coeff x) (E.coeff x)

The coefficient of a pointwise minimum is the minimum of the coefficients.

The pointwise maximum of an effective divisor with any divisor is effective.

The pointwise minimum of two effective divisors is effective.

@[simp]

A pointwise minimum is effective exactly when both divisors are effective.

theorem TauCeti.AlgebraicGeometry.WeilDivisor.sub_inf_inf_sub_inf_eq_zero {X : Type u_1} (D E : WeilDivisor X) :
(D - D ⊓ E) ⊓ (E - D ⊓ E) = 0

Removing the infimum from each of two Weil divisors leaves disjoint residual divisors.

Positive and negative parts #

@[simp]

The coefficient of the positive part is the positive part of the coefficient.

@[simp]

The coefficient of the negative part is the negative part of the coefficient.

@[simp]

The positive part of a Weil divisor is effective.

@[simp]

The negative part of a Weil divisor is effective.

The positive and negative parts of a Weil divisor have disjoint supports: no point carries both a positive and a negative coefficient.

A divisor is effective exactly when its negative part vanishes.

A divisor is effective exactly when it equals its own positive part.

Degree of the decomposition #

The weighted degree splits over the positive/negative part decomposition.

The unweighted degree splits over the positive/negative part decomposition.

The decomposition of a point difference #

For distinct points the positive part of [x] - [y] is the point divisor [x].

For distinct points the negative part of [x] - [y] is the point divisor [y].