AFTD Auto-Formalizing Theoretical Domains

biplane_weighing_signing_sq_eq_one

theoremverified

Every value of a weighing signing of a biplane squares to one.

Statement

theorem biplane_weighing_signing_sq_eq_one {P L : Type*} [Fintype P] [Fintype L]
    (B : Biplane P L) (σ : BiplaneFlag B → ℤ) (h : biplane_weighing_signing B σ)
    (f : BiplaneFlag B) : σ f ^ 2 = 1
Source
Sanity check of biplane_weighing_signing; arXiv:2611.17855 (On configurations that are nearly generalised polygons), Section 2.2.
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • biplane_weighing_signingA weighing signing of a biplane B (points P, lines L, block size B.k) is a function σ from the flags (incident point-line pairs) to the…
  • BiplaneA biplane is a symmetric 2-(v, k, 2) design: a finite incidence structure of points and lines where each line contains k points, each…
  • BiplaneFlagThe type of flags of a biplane, defined as pairs of an incident point and line.

The proof, explained

By definition, a weighing signing $\sigma$ takes only the values $1$ and $-1$. Squaring either value yields $(\pm 1)^2 = 1$.

  1. $\sigma(f)^2 = 1$

    By the definition of a weighing signing, the value $\sigma(f)$ is either $1$ or $-1$. Splitting into these two cases, substituting $\sigma(f) = 1$ leaves $1^2 = 1$, and substituting $\sigma(f) = -1$ leaves $(-1)^2 = 1$. Both equalities evaluate immediately by basic integer arithmetic.

    line 4

      rcases h.1 f with h1 | h1 <;> rw [h1] <;> norm_num

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem biplane_weighing_signing_sq_eq_one {P L : Type*} [Fintype P] [Fintype L]    (B : Biplane P L) (σ : BiplaneFlag B → ℤ) (h : biplane_weighing_signing B σ)    (f : BiplaneFlag B) : σ f ^ 2 = 1 := by  rcases h.1 f with h1 | h1 <;> rw [h1] <;> norm_num
See it in the graphDiscuss this resultChallenge it