grh-compacta Lean artifact read back into mathematics

Lean source

Lib.General.Algebra.BlockFittingBound

Lib/General/Algebra/BlockFittingBound.lean · 30 lines · 1 declaration · read in Unit 57 · Fitting ideal bounds and multivariate Hensel lifting

Its 1 declaration
Lib/General/Algebra/BlockFittingBound.lean · all 30 lines
import Lib.General.Algebra.GeneralisedIndeximport Lib.General.Algebra.FittingDualityimport Lib.CM.LocalHeight.IsogenyIntegrality/-! General lemmas of commutative and general algebra (textbook or folklore).This file: Fitting ideal bounded by a length over a DVR, through a matrix algebra quotient. -/open IsDiscreteValuationRing Matrix Module Submodule Fintype Ideal LinearMap/-- Let ψ: A → M_d(O) be onto, N ⊆ A^ι an A-submodule, p ≠ 0, b < v(p). If the w in ((O/p)^d)^ιkilled by N through ψ lie in a submodule of length ≤ b, some square matrix B with rows in Nhas v(det ψ(B)) ≤ b. -/lemma exists_rows_addVal_det_le {O ι A d : Type} [CommRing O] [DVR O] [Fintype ι] [Ring A]  [Algebra O A] [Fintype d] (ψ : A →ₐ[O] Matrix d d O) (hψ : (⇑ψ).Surjective)  (N : Submodule A _) {p} (hp : p ≠ 0) {b} (hb : b < addVal O p) {Z : Submodule O (ι → d →  QuotSpan p)} (hZ : length O Z ≤ b) (h : ∀ w, (∀ t ∈ N, ∑ j, ψ (t j) • w j = 0) → w ∈ Z) : ∃ B :  Matrix .., (∀ i, B i ∈ N) ∧ addVal O ((comp ..) (B.map ψ)).det ≤ b := by  choose E hE using hψ  choose M S m s k using    exists_matrix_addVal_det_le_length (range (p • .id) ⊔ (N.restrictScalars O).map (.pi    fun (j, l) ↦ ∑ c, entryLinearMap O O c l ∘ₗ ψ.toLinearMap ∘ₗ proj j)) hp (mem_sup_left ⟨·, rfl⟩)  choose u t _ ht' using by simpa [mem_sup] using m  grw [length_le_of_le_map (LinearEquiv.curry ..).symm.1 Z fun w m ↦ ⟨_, h _ fun t h ↦ by    ext i; simpa [*, sum_prod_type] using (s _).1 (mem_sup_right ⟨_, N.smul_mem    (E (diagonal (ψ 1 i))) h, rfl⟩) w m, rfl⟩, hZ] at k  use of (∑ c, E (updateRow 0 c 1) • t · c), fun k ↦ sum_mem (by bound)  rwa [(addVal O).map_eq_of_lt_sub]  simp [↓k.trans_lt, hb.trans_le, addVal_le_iff_dvd, ← Quotient.eq_zero_iff_dvd, det_apply, ← ht',    *, mul_apply, Matrix.sum_apply, updateRow_apply]