Compound Matrices, Plücker Hyperplanes, and S-Integer Vectors
DefinitionSubspaceTheorem_compound_latticeShared definitions for exterior-power compound reductions and -adic lattices in Schlickewei's -adic Subspace Theorem.
-
-integer vectors (
IsSIntVec): For a finite set of primes and , a rational vector lies in if there exists a positive integer denominator , all of whose prime factors belong to , such that for every . -
Compound matrices and exterior vectors (
compoundMatrix,compoundMatrixFin,compoundVec,compoundVecFin): For an matrix , the -th compound matrix has -entry equal to the minor , indexed by strictly increasing embeddings and reindexed canonically to () viacompoundEquiv n r. Similarly,compoundVec v Jrecords the minors of the columns indexed by from an -tuple of vectors . -
Plücker hyperplane and compound weights (
compoundTopEmb,compoundHyperplaneFin,compoundWeightReal,compoundWeightRat): For and ,compoundTopEmbis the top index block ,compoundHyperplaneFinis the -span of inside , andcompoundWeightReal/compoundWeightRatsum weights over each -subset .
These definitions standardize the coordinate and exterior-power interface across compound-lattice, weight-shifting, and finiteness reductions.
Formalization Note Ordered -subsets of are represented as order embeddings Fin r ↪o Fin n and mapped to Fin (Fintype.card (Fin r ↪o Fin n)) via Fintype.equivFin.
import Mathlib.NumberTheory.Padics.PadicNumbers
import Mathlib.LinearAlgebra.Matrix.Determinant.Basic
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Mathlib.Data.Fintype.Card
import Mathlib.Order.Hom.Basic
set_option autoImplicit false
namespace SubspaceTheorem
open scoped BigOperators
/-- Membership in `ℤ[1/S]^m`: existence of a positive integer denominator whose prime factors
all lie in `S`. -/
def IsSIntVec {m : ℕ} (S : Finset ℕ) (y : Fin m → ℚ) : Prop :=
∃ d : ℕ, 0 < d ∧ (∀ q : ℕ, q.Prime → q ∣ d → q ∈ S) ∧
∀ r : Fin m, ∃ z : ℤ, (d : ℚ) * y r = z
/-- Canonical equivalence between order embeddings `Fin r ↪o Fin n` and `Fin N` where
`N = Fintype.card (Fin r ↪o Fin n)`. -/
noncomputable def compoundEquiv (n r : ℕ) :
(Fin r ↪o Fin n) ≃ Fin (Fintype.card (Fin r ↪o Fin n)) :=
Fintype.equivFin (Fin r ↪o Fin n)
/-- The `r`-th compound matrix of an `n × n` matrix, indexed by order embeddings `Fin r ↪o Fin n`. -/
def compoundMatrix {R : Type*} [CommRing R] {n r : ℕ} (M : Matrix (Fin n) (Fin n) R) :
Matrix (Fin r ↪o Fin n) (Fin r ↪o Fin n) R :=
Matrix.of (fun I J : Fin r ↪o Fin n => (M.submatrix I J).det)
/-- The `r`-th compound matrix reindexed to `Fin N × Fin N`. -/
noncomputable def compoundMatrixFin {R : Type*} [CommRing R] {n r : ℕ}
(M : Matrix (Fin n) (Fin n) R) :
Matrix (Fin (Fintype.card (Fin r ↪o Fin n))) (Fin (Fintype.card (Fin r ↪o Fin n))) R :=
(compoundMatrix M).reindex (compoundEquiv n r) (compoundEquiv n r)
/-- Exterior `r`-wedge vector of `r` columns `J` chosen from an `n`-tuple of vectors `v`. -/
def compoundVec {R : Type*} [CommRing R] {n r : ℕ}
(v : Fin n → Fin n → R) (J : Fin r ↪o Fin n) : (Fin r ↪o Fin n) → R :=
fun I => ((Matrix.of (fun i j : Fin n => v j i)).submatrix I J).det
/-- Exterior `r`-wedge vector reindexed to `Fin N`. -/
noncomputable def compoundVecFin {R : Type*} [CommRing R] {n r : ℕ}
(v : Fin n → Fin n → R) (J : Fin r ↪o Fin n) :
Fin (Fintype.card (Fin r ↪o Fin n)) → R :=
compoundVec v J ∘ (compoundEquiv n r).symm
/-- The top order embedding `J_max : Fin (n - k) ↪o Fin n` with image `{k, k + 1, ..., n - 1}`. -/
def compoundTopEmb (n k : ℕ) (hkn : k ≤ n) : Fin (n - k) ↪o Fin n where
toFun t := ⟨k + t.1, by omega⟩
inj' a b hab := Fin.ext (by
have h := congrArg Fin.val hab
dsimp at h
omega)
map_rel_iff' {a b} := by
change k + a.1 ≤ k + b.1 ↔ a.1 ≤ b.1
omega
/-- The compound hyperplane `H^(r) = span_ℚ { v_J | J ≠ J_max } ⊆ ℚ^N` associated to `v` and `k`. -/
noncomputable def compoundHyperplaneFin {n k : ℕ} (hkn : k < n)
(v : Fin n → Fin n → ℚ) :
Submodule ℚ (Fin (Fintype.card (Fin (n - k) ↪o Fin n)) → ℚ) :=
Submodule.span ℚ (compoundVecFin v '' {J : Fin (n - k) ↪o Fin n | J ≠ compoundTopEmb n k hkn.le})
/-- Real compound weight `E_I = ∑ t, w (I t)` over `Fin N`. -/
noncomputable def compoundWeightReal {n r : ℕ} (w : Fin n → ℝ) :
Fin (Fintype.card (Fin r ↪o Fin n)) → ℝ :=
fun i => ∑ t : Fin r, w ((compoundEquiv n r).symm i t)
/-- Rational compound weight `E_I = ∑ t, w (I t)` over `Fin N`. -/
noncomputable def compoundWeightRat {n r : ℕ} (w : Fin n → ℚ) :
Fin (Fintype.card (Fin r ↪o Fin n)) → ℚ :=
fun i => ∑ t : Fin r, w ((compoundEquiv n r).symm i t)
end SubspaceTheorem