AFTD Auto-Formalizing Theoretical Domains

is_hyperplane_section

def

A finite set (Finset) K of submodules of the 6-dimensional vector space (Fin 6 → ZMod 2) over ZMod 2 is a hyperplane section if and only if K has cardinality 45, every subspace B ∈ K has finrank 3 over ZMod 2, for every 2-dimensional subspace L of (Fin 6 → ZMod 2), at most one subspace B ∈ K satisfies L ≤ B (that is, (K.filter (fun B => L ≤ B)).card ≤ 1), and for every 1-dimensional subspace P of (Fin 6 → ZMod 2), exactly 5 subspaces B ∈ K satisfy P ≤ B (that is, (K.filter (fun B => P ≤ B)).card = 5).

Statement

open Classical in
def is_hyperplane_section (K : Finset (Submodule (ZMod 2) (Fin 6 → ZMod 2))) : Prop
Defined in
arXiv:2611.30333 Section 3, lines 200-201
Verified
28 Nov 2026
Axioms
none listed
Used by 3
  • hyperplane_sectionsThe finset of all hyperplane sections K on the vector space (Fin 6 → ZMod 2) over ZMod 2, defined by filtering Finset.univ with the…
  • op_2281_fifteen_le_max_beta_flatsThe maximum number of beta-flats in a hyperplane section on the 6-dimensional vector space (Fin 6 → ZMod 2) over the field with two…
  • not_is_hyperplane_section_emptyThe empty finset of submodules is not a hyperplane section on (Fin 6 → ZMod 2).

Read back from the Lean

A finite set $K$ of $\mathbb{Z}/2\mathbb{Z}$-submodules of $(\mathrm{Fin}\ 6 \to \mathbb{Z}/2\mathbb{Z})$ satisfies is_hyperplane_section K if and only if all of the following hold: 1. $K$ contains exactly 45 submodules; 2. every submodule $B \in K$ has $\mathbb{Z}/2\mathbb{Z}$-dimension 3; 3. for every submodule $L$ of $(\mathrm{Fin}\ 6 \to \mathbb{Z}/2\mathbb{Z})$, if $L$ has $\mathbb{Z}/2\mathbb{Z}$-dimension 2, then at most 1 submodule $B \in K$ satisfies $L \le B$; and 4. for every submodule $P$ of $(\mathrm{Fin}\ 6 \to \mathbb{Z}/2\mathbb{Z})$, if $P$ has $\mathbb{Z}/2\mathbb{Z}$-dimension 1, then exactly 5 submodules $B \in K$ satisfy $P \le B$.

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

open Classical in
/-- Predicate defining a hyperplane section on a 6-dimensional binary vector space. -/
def is_hyperplane_section (K : Finset (Submodule (ZMod 2) (Fin 6 → ZMod 2))) : Prop :=
  K.card = 45 ∧
  (∀ B ∈ K, Module.finrank (ZMod 2) ↥B = 3) ∧
  (∀ L : Submodule (ZMod 2) (Fin 6 → ZMod 2),
    Module.finrank (ZMod 2) ↥L = 2 → (K.filter (fun B => L ≤ B)).card ≤ 1) ∧
  (∀ P : Submodule (ZMod 2) (Fin 6 → ZMod 2),
    Module.finrank (ZMod 2) ↥P = 1 → (K.filter (fun B => P ≤ B)).card = 5)
See it in the graphDiscuss this resultChallenge it