AFTD Auto-Formalizing Theoretical Domains

is_beta_flat

def

A 5-dimensional subspace F of (Fin 6 → ZMod 2) is a beta-flat with respect to a set K of planes if F contains exactly 5 planes of K and there exists a point (1-dimensional subspace) P contained in all 5 of these planes.

Statement

open Classical in
def is_beta_flat (K : Finset (Submodule (ZMod 2) (Fin 6 → ZMod 2)))
    (F : Submodule (ZMod 2) (Fin 6 → ZMod 2)) : Prop
Defined in
arXiv:2611.30333 Section 1, line 146
Verified
28 Nov 2026
Axioms
none listed
Used by 3
  • beta_flatsThe set of all 5-dimensional subspaces of (Fin 6 → ZMod 2) that are beta-flats with respect to K.
  • not_is_beta_flat_emptyNo 5-dimensional subspace is a beta-flat with respect to the empty set of planes in (Fin 6 → ZMod 2).
  • 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…

Read back from the Lean

Given a finite set K of subspaces (submodules) of the vector space (Fin 6 → ZMod 2) over ZMod 2, and a subspace F of (Fin 6 → ZMod 2) over ZMod 2, is_beta_flat K F asserts that: 1. The dimension (Module.finrank) of F over ZMod 2 is equal to 5; 2. The number of elements B ∈ K such that B ≤ F is equal to 5; and 3. There exists a subspace P of (Fin 6 → ZMod 2) over ZMod 2 of dimension 1 such that for every B ∈ K, if B ≤ F, then P ≤ 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 beta-flat 5-subspace with respect to a set of planes K. -/
def is_beta_flat (K : Finset (Submodule (ZMod 2) (Fin 6 → ZMod 2)))
    (F : Submodule (ZMod 2) (Fin 6 → ZMod 2)) : Prop :=
  Module.finrank (ZMod 2) ↥F = 5 ∧
  (K.filter (fun B => B ≤ F)).card = 5 ∧
  ∃ P : Submodule (ZMod 2) (Fin 6 → ZMod 2),
    Module.finrank (ZMod 2) ↥P = 1 ∧ ∀ B ∈ K, B ≤ F → P ≤ B
See it in the graphDiscuss this resultChallenge it