AFTD Auto-Formalizing Theoretical Domains

rat_row_kernel

def

For integer rows w_1,...,w_k ∈ ℤ^n, the ℚ-subspace of ℚ^n consisting of rational vectors orthogonal to all rows, i.e. the kernel of the linear map y ↦ (⟨w_i, y⟩)_i.

Statement

noncomputable def rat_row_kernel {k n : ℕ} (w : Fin k → Fin n → ℤ) : Submodule ℚ (Fin n → ℚ)
Source
step towards view_obstruction_unresolved_node_infinite_witnesses
Verified
08 Nov 2026
Axioms
none listed

Lean source view module on GitHub

/-- The rational row-kernel of a finite family of integer rows. -/
noncomputable def rat_row_kernel {k n : ℕ} (w : Fin k → Fin n → ℤ) : Submodule ℚ (Fin n → ℚ) := LinearMap.ker (LinearMap.pi (fun i : Fin k =>
      ∑ j : Fin n, (w i j : ℚ) • (LinearMap.proj j)))
See it in the graphDiscuss this resultChallenge it