AFTD Auto-Formalizing Theoretical Domains

is_totally_isotropic

def

A subspace $W \subset (\mathbb{Z}/p\mathbb{Z})^d$ is totally isotropic with respect to the standard quadratic form $Q_d$ if $Q_d(w) = 0$ for all $w \in W$.

Statement

def is_totally_isotropic (d : ℕ) {p : ℕ} (W : Submodule (ZMod p) (Fin d → ZMod p)) : Prop
Defined in
arXiv:2610.34758 Section 2.1
Verified
28 Oct 2026
Axioms
none listed
Built on 1
  • standard_quadThe standard quadratic form $Q_d$ on $(\mathbb{Z}/p\mathbb{Z})^d$, defined by $Q_d(x) = \sum_{i} x_i^2$.
Used by 4
  • cylinder_distance_setFor any natural numbers $d$ and $p$, any submodule $W \le (\mathbb{Z}/p\mathbb{Z})^d$ that is totally isotropic with respect to $Q_d$, any…
  • cylinder_construction_distance_setLet $p$ be an odd prime (with $p$ prime and $p$ odd) and let $m \ge 0$ be a natural number. There exist an $m$-dimensional submodule…
  • cylinder_quad_expansionFor any natural numbers $d$ and $p$, any submodule $W \le (\mathbb{Z}/p\mathbb{Z})^d$ that is totally isotropic with respect to $Q_d$, and…
  • cylinder_construction_stepLet $p$ be prime. Given an $m$-dimensional totally isotropic subspace $W \le (\mathbb{Z}/p\mathbb{Z})^d$ and a vector $e \notin W$…

Read back from the Lean

For a given natural number d, an implicit modulus p : ℕ, and a submodule W of the module of functions Fin d → ZMod p over the ring ZMod p, is_totally_isotropic d W asserts that for every element w ∈ W, standard_quad d w = 0.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- A subspace is totally isotropic if the standard quadratic form vanishes on it. -/
def is_totally_isotropic (d : ℕ) {p : ℕ} (W : Submodule (ZMod p) (Fin d → ZMod p)) : Prop := ∀ w ∈ W, standard_quad d w = 0
See it in the graphDiscuss this resultChallenge it