Testing lattice integrality through a family of twists
New.Reduction.Lattices.TwistedLattice.lean
Reading
Upstream documentation written by Claude
A twisted lattice on a complex vector space
Vis a family of linear mapsΘ_ξfromVto inner product spaces, one for each twistξ, with a module of integral vectors at everyι ∣ lin each of these spaces, and coordinates on the space for the trivial twist in which the inner product has a rational matrix. A twist is a member of an index typeT, the trivial twist is1, and for each primelsome twists are called allowed atl(IsAllowed). A vector ofVis integral atι ∣ lif its images for all twists allowed atlare (integralVectors), while the covolume refers to the trivial twist alone. An inner product onVand its finite dimension are assumed only from the definition of the numberZ(ξ)on.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.TwistedLattice.IndexLe,New.TwistedLattice.CovolumeLe,New.TwistedLattice.volume: index and covolume of a family inV, and the numberZ(ξ) = det (Θ_ξ* Θ_ξ).New.TwistedLattice.CovolumeLe.norm_map_det_gram_le,New.TwistedLattice.CovolumeLe.sumElim,New.TwistedLattice.norm_det_mul_det_gram_le_one: conjugates of Gram determinants, adjoining vectors, and valuations of Gram determinants.New.TwistedLattice.covolume_add_index_nonneg: given an allowed twistξ_ιfor eachι, a lower bound for the covolume of a family in terms of its index, the height ofZ(1) / Z(ξ_ι), and the sizes and denominators of vectors that complete the family to a basis.
Notions from other files:
New.PrimePadicIso: pairsιof a primel = ι.primeand an isomorphismι.iso : ℂ ≃ ℚ̄_l, writtenι ∣ l. A numberxis integral atιif‖ι.iso x‖ ≤ 1.New.HeightLe c y: the familyy, with one complex number for eachι, has height at mostc: for someH ≠ 0, bounds for alllog |σ H|and forlog ‖ι (H y_ι)‖at each prime add up to at mostc.New.formGram G v: the matrix of the productsv_i* G v_k.
Relation to the literature
Size-versus-divisibility bounds for a determinant are known in the literature. Related work: Bost, Algebraic leaves of algebraic foliations over number fields, 2001; Laurent, Linear forms in two logarithms and interpolation determinants, 1994.
Declarations
theorem covolume_add_index_nonneg {n n' : ℕ} {y : Fin n → V} {z : Fin n' → V} (h_inj : ∀ ξ : T, Function.Injective (L.lift ξ)) (h_indep : LinearIndependent ℂ (Sum.elim y z)) (h_card : finrank ℂ V = n + n') {θ : PrimePadicIso → T} (hθ : ∀ ι : PrimePadicIso, L.IsAllowed ι.prime (θ ι)) {c δ b_volume b_short b_denom : ℝ} (hc : L.CovolumeLe y c) (hδ : L.IndexLe y δ) {γ : T → ℂ} (hγ_ne : ∀ ξ : T, γ ξ ≠ 0) (hz_int : ∀ (i : Fin n') (ι : PrimePadicIso) (ξ : T), L.IsAllowed ι.prime ξ → γ ξ • L.lift ξ (z i) ∈ L.lattice ξ ι) (hz_short : ∀ (i : Fin n') (σ : ℂ ≃+* ℂ), L.normSqAt (z i) σ ≤ exp b_short) (hγ : HeightLe b_denom fun ι : PrimePadicIso ↦ ((‖γ (θ ι)‖ : ℂ) ^ 2)⁻¹) (hZ : HeightLe b_volume fun ι : PrimePadicIso ↦ L.volume 1 / L.volume (θ ι)) : 0 ≤ c + 2 * δ + n' * (b_short + b_denom) + b_volume
Import route to Main
New.Reduction.Lattices.TwistedLattice → 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)