\documentclass[11pt,letterpaper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm,microtype} \usepackage[margin=1in]{geometry} \usepackage[hidelinks]{hyperref} \newtheorem{theorem}{Theorem} \title{The minimum size of a maximal partial arrangement of Euler's 36 officers} \author{Aafi Khan Malek\\ \small Independent researcher\\ \small\href{mailto:aafimalek2032@gmail.com}{\texttt{aafimalek2032@gmail.com}}} \date{27 November 2026; revised 30 November and 1 December 2026} \begin{document} \maketitle \begin{abstract} The smallest maximal partial arrangement of Euler's 36 officers has 18 officers. The upper construction was already known. We prove the lower bound by a finite case split and independently replayed SAT certificates. In particular, the size-17 exclusion uses 56 normalized instances. The certificate generators and case reductions accompany the paper. The whole theorem, lower bound included, is also checked by the Lean~4 kernel in a single environment, with every SAT certificate replayed inside the kernel. \end{abstract} \section{Problem and result} Each officer has one of six ranks and one of six regiments, with each rank--regiment pair available once. A partial arrangement in a $6\times6$ grid repeats neither a rank nor a regiment within any row or column. It is \emph{maximal} if no further officer can be added without breaking a rule. This is a different question from the classical problem of placing all 36. Equivalently, we seek the least number of filled cells in a maximal pair of orthogonal partial Latin squares of order six \cite{dgy25}. \begin{theorem} Every maximal partial arrangement contains at least 18 officers, and one contains exactly 18. \end{theorem} Section~\ref{sec:lean} describes a complete Lean formalization of this theorem, which does not depend on the SAT encoder described below. \paragraph{The known upper bound.} For $c=0,1$ and $a,b\in\mathbf F_3$, use the words \[ (3c+a,\,3c+b,\,3c+(a+b\bmod 3),\,3c+(a+2b\bmod 3)). \] These words encode row, column, rank, and regiment. In either block any two of the four linear forms are independent, so every pair of labels in different coordinates of that block occurs exactly once. An additional word would contain two labels in the same block, so it repeats a pair. This is the $3+3$ upper construction recorded by Donovan, Grannell and Yaz\i c\i{} \cite[Table~1]{dgy25}. Their reported minimality checks were for orders four and five. The later general exact results start at order 21 \cite{dgy26,dgy26b}. Our contribution is the order-six lower bound. \section{The lower bound} We view placements as words in $\{0,\ldots,5\}^4$. A used pair is a pair of labels in distinct coordinate groups that occurs in a selected word. A valid design uses each pair at most once. It is maximal exactly when every candidate word contains a used pair. Each coordinate group has six labels and the degrees of its labels sum to the number of selected words. The \href{https://github.com/Aafimalek/novel-discoveries/tree/research/euler-order16/euler-36-officers-disconnected}{companion repository} gives the size-14 and size-15 exclusions and the size-16 audit. Section~\ref{sec:lean} gives an independent Lean proof of these sizes. We treat the remaining size~17 below. \paragraph{Unused labels.} Suppose one group contains a degree-zero label. On the other three groups, join labels whose pair is unused. The resulting tripartite graph is triangle-free by maximality. A vertex of placement degree $d$ has the same missing degree $e=6-d$ to either other group. Along any missing edge $uv$, their neighbor sets in the third group are disjoint, so $e(u)+e(v)\le6$. There are $M=36-17=19$ missing edges between any two groups. Summing over these edges gives a combined squared-degree sum at most $6M$. The two sums of degrees are both $M$, so Cauchy--Schwarz gives a combined squared-degree sum at least $2M^2/6$, forcing $M\le18$. This rules out degree zero. This argument is formalized in Lean (Section~\ref{sec:lean}). \paragraph{Degree one.} With minimum degree one, choose a degree-one label and normalize its unique word. If the other three labels in the word all have degree one, it is an isolated component, impossible by the disconnected lower bound. Otherwise classify by the three partner degrees, increasing. In the companion audit, the four cases with maximum partner degree at least three, the cases of types $112$ and $122$, and the normalized type $222$ cases yield respectively $4$, $14$, $2$, and $7$ formulas. All $27$ formulas were refuted. \paragraph{Degree two.} The remaining minimum is two, and every group contains a degree-two label because its degree sum is 17. Call such a label low. For an unused low-low pair, compare the two sets of used neighbors in each remaining group. The following cases are exhaustive, in the given order: \begin{enumerate} \item All low-low pairs are used. There is one low in each group and the four lows share a word. Their four other words give $17$ normalized diagrams. \item Some unused low-low pair has two common neighbors in one group. The candidate rectangle bounds force no overlap in the other group, and there is one normalized formula. \item Some unused low-low pair has a common neighbor in both remaining groups. There are three overlap diagrams. For profiles with at least four degree-at-least-three labels in each group these give three formulas. Otherwise a group has at least three lows; normalizing that group either to an anchor group or to a remaining group gives six further formulas. \item Some unused low-low pair has just one common neighbor. This gives one formula. \item Unused low-low pairs exist but none shares a neighbor in another group. This also gives one formula. \end{enumerate} These cases contribute $29$ refutations. The mathematical normalizations, each specified instance, and their exact coverage appear in the audit. For the nine formulas of case~3 and the formula of case~4, the refutations used here are those of the corrected formulas described in the correction paragraph below. A larger minimum degree would force at least 18 words directly from one group's degree sum. \section{Independent verification}\label{sec:verify} The CNF encoding selects exactly 17 words, defines pair use from those words, enforces pair uniqueness, and prohibits any candidate with all six pairs unused. The case constraints fix labels or enforce necessary degree and rectangle conditions justified in the documentation. The \href{https://github.com/Aafimalek/novel-discoveries/tree/research/euler-order16/euler-36-officers-disconnected/verification/order17-exact}{size-17 audit} includes a manifest with the exact DIMACS and proof hashes, reproduction commands, and an independent verifier. All $56$ size-17 refutations passed DRAT-trim after generation with Kissat. The certificate binaries are generated on demand, not bundled. The upper witness was also checked in Lean 4.36.0 in \texttt{EulerOfficers.exists\_maximal\_eighteen}. The lower bound is formalized separately (Section~\ref{sec:lean}). This note has not been peer reviewed. \paragraph{Correction (30 November 2026).} The shared encoder adds four degree-order clauses that force the two group-1 labels of the two words through the anchor label~$x$ to satisfy $\deg(1,0)\le\deg(1,1)$. This is justified only while the two words through~$x$ may still be interchanged. In the normalizations of case~4 and of all nine formulas of case~3, that interchange is already used to place the common neighbor, so these four clauses are not implied by the written argument. We rebuilt each of the ten formulas exactly (every archived SHA-256 reproduces), removed exactly these four clauses, and solved the corrected formulas again with Kissat. All ten are unsatisfiable. Each proof was verified by DRAT-trim, and the resulting LRAT was verified independently by \texttt{lrat-check}. The size-17 exclusion, and hence the theorem, is unchanged. The corrected formulas, their hashes, the proof hashes and the replay commands are in the \href{https://github.com/Aafimalek/novel-discoveries/tree/main/euler-36-officers-disconnected/verification/order17-exact/anchor-order-check}{correction audit}. The issue surfaced while formally linking these cases to the geometry in Lean. The Lean proof of Section~\ref{sec:lean} proves every clause it uses, so it does not rely on this correction. \section{Lean formalization}\label{sec:lean} Added 1 December 2026. The theorem is checked by the kernel of Lean~4.36.0 with Mathlib in one environment of about 2{,}300 project modules: \begin{verbatim} theorem euler_officers_minimum : IsLeast {n : Nat | exists D : Design 6, Linear D /\ Saturated D /\ D.card = n} 18 \end{verbatim} A \texttt{Word 6} is a map from the four coordinates (row, column, rank, regiment) to $\{0,\ldots,5\}$, and a \texttt{Design 6} is a finite set of words. \texttt{Linear} says that two words agreeing in two distinct coordinates are equal. \texttt{Saturated} says that every word in $\{0,\ldots,5\}^4$ contains a used pair. These are the notions of Section~2, so the formal statement is the theorem above. The only axioms reported by \texttt{\#print axioms} are \texttt{propext}, \texttt{Classical.choice} and \texttt{Quot.sound}. There is no \texttt{sorry}, no added axiom and no call to native code. The witness is the construction above. The lower bound \texttt{eighteen\_le} combines three parts. \begin{itemize} \item Sizes at most $13$ are excluded by a structural degree argument. \item Sizes $14$--$16$ use a normalization and case split developed for the formalization. It is not the companion audit's formula set. \item Size $17$ follows the case split of Section~2. Degree zero uses the Cauchy--Schwarz argument. Degree one and each of cases~1--5 prove that a design would yield a model of an explicit CNF. \end{itemize} Each clause of these CNFs is proved valid for designs in Lean, so no encoder output is trusted. Each CNF is then refuted by replaying a pure-RUP LRAT certificate, from CaDiCaL or Kissat, inside the kernel. For cases~3--5 the formulas are first strengthened by additional degree clauses, also proved valid in Lean. These say that a label's degree equals its number of used neighbours in every other coordinate. They reduce the certificates for the eleven formulas of these cases from about $1.08$ billion hints in total to $7.5$ million. The solvers only propose certificates, and the kernel checks them, so no external solver or checker is trusted. The final audit module, \texttt{EulerMinimumAudit}, builds in under four minutes with about 11\,GB of memory. The sources, build logs and SHA-256 receipts are in the \href{https://github.com/Aafimalek/novel-discoveries/tree/main/euler-36-officers-disconnected/verification/order17-lean-strengthen}{Lean audit}. \paragraph{Contributions and AI disclosure.} Aafi Khan Malek selected and directed the research project and requested the verification and publication workflow. ChatGPT assisted with this extension's case analysis, computational proof, manuscript, and local verification. Codex was not used for this extension. Claude (Anthropic) assisted with the 30 November correction and with the Lean formalization of Section~\ref{sec:lean}. The companion repository retains the attribution of earlier work. \begin{thebibliography}{9} \bibitem{dgy25} D. M. Donovan, M. J. Grannell and E. \c{S}. Yaz\i c\i, On maximal orthogonal partial Latin squares and minimal codes with specified length, minimum distance and covering radius, \emph{Des. Codes Cryptogr.} (2025). \href{https://doi.org/10.1007/s10623-025-01704-x}{DOI: 10.1007/s10623-025-01704-x}. \bibitem{dgy26} D. M. Donovan, M. J. Grannell and E. \c{S}. Yaz\i c\i, On the minimum number of entries in a pair of maximal orthogonal partial Latin squares, \href{https://arxiv.org/abs/2602.09908}{arXiv:2602.09908} (2026). \bibitem{dgy26b} D. M. Donovan, M. J. Grannell and E. \c{S}. Yaz\i c\i, On the minimum number of entries in a set of maximal mutually orthogonal partial Latin squares, \href{https://arxiv.org/abs/2611.13961}{arXiv:2611.13961} (2026). \end{thebibliography} \end{document}