Kernel of a Nonzero Linear Functional is a Proper Submodule
ProvedSubspaceTheorem.subspace_of_linear_constraintlinear-algebranumber-theorysubspace-theorem
Let and let be a nonzero vector. Then the hyperplane is a proper -submodule of , i.e. .
This is a basic result in linear algebra over fields: the kernel of any nonzero linear functional is a proper subspace. It is used in the Subspace Theorem to show that the solution set of each linear constraint on integer vectors lies inside a proper rational subspace, and that the intersection of finitely many such constraints yields a proper subspace containing all qualifying solutions.
Formalization Note The linear functional is built as a LinearMap with toFun := fun x => ∑ j, a j * x j and the ℚ-linearity conditions checked by simp and ring. The kernel LinearMap.ker f is a Submodule ℚ (Fin n → ℚ), and ≠ ⊤ asserts it is a proper subspace.
Preamble
import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib.RingTheory.Algebraic.Defs import Mathlib.LinearAlgebra.Finsupp.LinearCombination set_option autoImplicit false
Formal statement
namespace SubspaceTheorem
theorem subspace_of_linear_constraint
(n : ℕ) (hn : 1 ≤ n)
(a : Fin n → ℚ) (ha : a ≠ 0) :
let f : (Fin n → ℚ) →ₗ[ℚ] ℚ :=
{ toFun := fun x => ∑ j, a j * x j
map_add' := fun x y => by simp [Finset.sum_add_distrib, mul_add]
map_smul' := fun c x => by simp [Finset.mul_sum]; congr 1; ext j; ring }
LinearMap.ker f ≠ ⊤ := by sorry
end SubspaceTheoremSource
Standard linear algebra; used in the Subspace Theorem literature to identify solution hyperplanes, e.g. Schmidt, Diophantine Approximation, Springer 1980, Chapter VI.