The Bruck–Ryser–Chowla theorem for projective planes #
If a finite projective plane of order n exists (Mathlib's Configuration.ProjectivePlane) and
n ≡ 1 or 2 (mod 4), then n is a sum of two squares; in particular there are no planes of order
6 or 14. With points and lines matched by a bijection, the incidence matrix scales the dot product
of zero-sum vectors by n (two points lie on n + 1 common lines if equal and on one otherwise).
Padding to dimension n² + n + 2 ≡ 0 (mod 4), Lagrange's four squares (Nat.sum_four_squares) and
Euler's 4×4 blocks give a rational M with M Mᵀ = n I. An isometry-extension lemma for the
standard form on ℚⁿ (a case of Witt's theorem, by reflections) then yields a vector of squared
length n constant on lines, i.e. n = d² + (n² + n + 1) c² with rational c, d; a descent modulo
primes q ≡ 3 (mod 4) and Nat.eq_sq_add_sq_iff turn this into two integer squares.
Main results #
BruckRyserChowla.exists_sq_add_sq: projective plane of order n = 1, 2 mod 4: n is a sum of two squaresBruckRyserChowla.exists_isometry: extension of isometries for the standard form on Q^n (a case of Witt)BruckRyserChowla.exists_orthogonal_vector: a rational vector of squared length n constant on the linesBruckRyserChowla.exists_sq_add_sq_of_rat: n z^2 = x^2 + y^2 over Q with z != 0 gives n a sum of two integer squares
References #
- R. H. Bruck and H. J. Ryser, The nonexistence of certain finite projective planes, Canad. J. Math. 1 (1949), 88–93.
- S. Chowla and H. J. Ryser, Combinatorial problems, Canad. J. Math. 2 (1950), 93–99.
- Witt's extension theorem in general (not used here) is in facebookresearch/atlas-lean,
v1/Atlas/Buildings/code/GeometricAlgebra/ExtendingIsometries.lean.
Part B: extension of finite families of isometries on ι → ℚ (Witt-style) #
Part C: Euler's four-square similarity on ι → ℚ when 4 ∣ card ι #
Algebraic core. Let u a and g a be families in ι → ℚ, with 4 ∣ card ι, such that
the Gram matrix of u is n times that of g, and let ε be a unit vector orthogonal to all
u a. Then some vector of squared norm n is orthogonal to all g a.
Part A: n = d² + v c² over ℚ with v ≡ 1 (mod q) forces even valuations #
Part D: the incidence structure of a finite projective plane #
Bruck–Ryser–Chowla (1949, 1950). If a finite projective plane of order n exists and
n ≡ 1 or 2 (mod 4), then n is a sum of two squares (so there is no plane of order 6 or 14).