AFTD Auto-Formalizing Theoretical Domains

admissible_plane_set

def

Let p be a prime. A subset S of (ZMod p)^3 is an admissible plane set if its cardinality is p^2 and for every nonzero linear functional f on (ZMod p)^3 and scalar c in ZMod p, the cardinality of S ∩ affine_plane f c is divisible by p.

Statement

def admissible_plane_set (p : ℕ) [Fact p.Prime] (S : Set (Fin 3 → ZMod p)) : Prop
Defined in
arXiv:2611.12153 Section 1
Verified
10 Nov 2026
Axioms
none listed
Built on 1
  • affine_planeFor a natural number p, the affine plane defined by a linear functional f on (ZMod p)^3 and scalar c in ZMod p is the fiber {x | f x = c}.
Used by 1
  • admissible_plane_transverse_cardLet p be a prime, S an admissible plane set in (ZMod p)^3, and suppose S contains the affine line through P in direction v ≠ 0. Then every…

Read back from the Lean

Given a natural number $p$ with the assumption that $p$ is prime ([Fact p.Prime]), and a subset $S \subseteq (\mathbb{Z}/p\mathbb{Z})^3$ (represented as Set (Fin 3 → ZMod p)), admissible_plane_set p S asserts that: 1. The cardinality (Set.ncard) of $S$ is equal to $p^2$; and 2. For every non-zero $\mathbb{Z}/p\mathbb{Z}$-linear map $f : (\mathbb{Z}/p\mathbb{Z})^3 \to \mathbb{Z}/p\mathbb{Z}$ and every scalar $c \in \mathbb{Z}/p\mathbb{Z}$, $p$ divides the cardinality of the intersection of $S$ with the affine plane $\{x \mid f(x) = c\}$.

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 set S in (ZMod p)^3 is an admissible plane set if it has p^2 points and every affine plane meets S in a multiple of p points. -/
def admissible_plane_set (p : ℕ) [Fact p.Prime] (S : Set (Fin 3 → ZMod p)) : Prop := S.ncard = p ^ 2 ∧
  ∀ (f : (Fin 3 → ZMod p) →ₗ[ZMod p] ZMod p) (_ : f ≠ 0) (c : ZMod p),
    p ∣ (S ∩ affine_plane f c).ncard
See it in the graphDiscuss this resultChallenge it