Lefebvre's variations, No. 158 — on a theme by Bose, Shrikhande and Parker: there is a pair of orthogonal Latin squares of order 18
ProvedLefebvreVariations.mols_exists_order_18There exist maps with first and second coordinates such that is injective, and for every row the maps and are injective, and for every column the maps and are injective.
That is, there is a pair of orthogonal Latin squares of order 18 (a Graeco-Latin square of order 18). The pair exists for every order (Bose–Shrikhande–Parker 1960); the platform problem MOLS.existence asks for this for all .
Formalization Note The conditions are the fields of the platform structure MOLS n with n = 18, written out without the structure: f : Fin 18 × Fin 18 → Fin 18 × Fin 18 injective (so all 324 symbol pairs occur exactly once), and the first and second symbol functions injective along each row and each column.
Why this is a variation. Variation on the open MOLS.existence (a pair of mutually orthogonal Latin squares exists exactly for n not 2 or 6). It is the single case n = 18, with the parent's structure fields written out; a finite explicit certificate (a 18x18 Graeco-Latin square) settles it.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib set_option autoImplicit false
namespace LefebvreVariations
/-- A pair of orthogonal Latin squares of order `18` exists, with the parent's `MOLS 18` fields written
out: a map `f` from cells to (symbol of square 1, symbol of square 2), injective (orthogonality), and
injective along every row and every column in each coordinate (Latin property). -/
theorem mols_exists_order_18 :
∃ f : Fin 18 × Fin 18 → Fin 18 × Fin 18,
Function.Injective f ∧
(∀ r, Function.Injective fun c => (f (r, c)).1) ∧
(∀ r, Function.Injective fun c => (f (r, c)).2) ∧
(∀ c, Function.Injective fun r => (f (r, c)).1) ∧
(∀ c, Function.Injective fun r => (f (r, c)).2) := by
sorry
end LefebvreVariations