Relations, relative lengths and Fitting ideals for Selmer group estimates
Lib.General.Algebra.FittingIdealsAndLengths.lean
Reading
Upstream documentation written by Claude
This file gives linear algebra for the Selmer group estimates. Conditions on a function
c : Γ → Bⁿare written as relations: finitely supported matrix-valuedfonΓacting byc ↦ ∑ γ, f γ • c γ(New.relEval). Sizes are lengths of modules inℕ∞, andaddValis the valuation of a discrete valuation ring, normalised to be 1 at a uniformiser. The zeroth Fitting ideal of a quotient is controlled as relations are added.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.obeying R B: the functions with values inBⁿkilled by all relations inR. ForNew.cocycleRelations ρthese are the cocycles (New.mem_obeying_cocycleRelations).New.relLength S T: the length ofS / (S ⊓ T), with its monotonicity and additivity rules.New.length_obeying_relationsOn_le: the relationsNew.relationsOn Zof a finitely generatedZcut out a module of length at mostrank Z * length B.New.length_ker_le_addVal_det,New.exists_matrix_addVal_det_le_length: lengths compared with valuations of determinants.New.Lift.relLength_le_of_relations: ifp ^ t L ≤ L'and anym + 1elements ofLkilled bypmoduloL'have a combination inL'with some coefficient1, the length ofLmoduloL'is at mostt m.New.Selmer.fittingIdeal.exists_addVal_le_relLength: ifp ≠ 0,Ris Noetherian andΦ (p • v) ∈ Nfor allv, then for a conditionVon the linear forms modulop, somecof valuation at most the length moduloVof the forms that vanish onΦ⁻¹ Nmultiplies the Fitting ideal of an enlargementKofNinto that ofN; hereKcontainsΦ vfor everyvkilled by all the forms that satisfyV.
Relation to the literature
Three standard properties of Fitting ideals are proved in the cases that are used, for fixed generators: base change (Stacks Project, Tag 07ZA), the product rule for an exact sequence, and the bound by a length.
Declarations
lemma fittingIdeal.exists_addVal_le_relLength [Fintype n] (hp : p ≠ 0) (hN : ∀ v : n → O, Φ (p • v) ∈ N) [IsNoetherianRing R] [Fintype ι] [DecidableEq ι] (V : Submodule O (G → Unit → QuotSpan p)) : ∃ (c : O) (K : Submodule R (ι → R)), N ≤ K ∧ -- (a) addVal O c ≤ relLength (formsMod Φ z N p) V ∧ -- (b) (∀ ⦃v : n → O⦄, (∀ Ψ : (n → O) →ₗ[O] Unit → QuotSpan p, Ψ ∘ z ∈ V → Ψ v = 0) → Φ v ∈ K) ∧ -- (c) ∀ d ∈ fittingIdeal K, c • d ∈ fittingIdeal N
Import route to Main
Lib.General.Algebra.FittingIdealsAndLengths → New.Reduction.Lattices.Colength (pinned import) → New.Reduction.Lattices.TwistedLattice (pinned import) → New.Reduction.IntegralTargetForms (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)