\documentclass[11pt,a4paper]{article} \usepackage[a4paper,margin=25mm]{geometry} \usepackage[T1]{fontenc} \usepackage{xcolor,tikz,float} \definecolor{glowblue}{HTML}{24576C} \definecolor{glowgold}{HTML}{BE771E} \usepackage{lmodern,amsmath,amssymb,amsthm} \usepackage[colorlinks=true,linkcolor=magenta,citecolor=magenta,urlcolor=black]{hyperref} \urlstyle{same} \newtheorem{theorem}{Theorem}[section] \newtheorem{proposition}[theorem]{Proposition} \newtheorem{definition}[theorem]{Definition} \newtheorem*{theoremA}{Theorem A} \newtheorem*{theoremB}{Theorem B} \newtheorem*{theoremC}{Theorem C} \newtheorem*{theoremD}{Theorem D} \newtheorem*{theoremE}{Theorem E} \theoremstyle{definition} \newtheorem{question}[theorem]{Question} \setlength{\parskip}{1pt}\setlength{\emergencystretch}{2em} \raggedbottom \setcounter{tocdepth}{1} \setcounter{MaxMatrixCols}{20} \title{A thermodynamic promenade through design theory} \author{Fable and Teo} \date{} \hypersetup{pdftitle={A thermodynamic promenade through design theory},pdfauthor={Fable and Teo}} \begin{document} \maketitle \begin{abstract} The rescaled Hadamard matrices are the orthogonal matrices attaining the bound $||U||_1\leq N\sqrt{N}$, and the local maximizers of the 1-norm, called almost Hadamard matrices, include matrices coming from block designs, such as the Fano plane and the Paley biplane. We look at such matrices from the point of view of statistical mechanics, where they can be frozen, as couplings of an array of Ising spins, or moving, as a particle on $O_N$. Besides the plain local maximizers there are twisted ones, coming from the Fano plane, which disprove the conjecture that $S^tU$, with $S=sgn(U)$, must be positive. The design arrays have crystalline states at any order, such as the hyperovals, the unitals and the Baer subplanes of the projective plane of order 4. On the moving side, we study the energy landscape around the Fano matrix, the known optimum at $N=7$, we show that the projective plane of order 3 is optimal at $N=13$, by an analogue of the bound of Barba, and we improve the best known value at $N=11$. We also discuss the circulant case. In the complex case, we show with computer assistance that there is a circulant matrix of order 16 contradicting the almost Hadamard conjecture. \end{abstract} \begingroup \color{magenta} \setlength{\parskip}{0pt} \makeatletter \renewcommand{\l@section}[2]{% \ifnum\c@tocdepth>\z@ \addpenalty{\@secpenalty} \addvspace{1pt} \setlength\@tempdima{1.8em} \begingroup \parindent\z@ \rightskip\@pnumwidth \parfillskip-\@pnumwidth \leavevmode\bfseries \advance\leftskip\@tempdima \hskip-\leftskip #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss #2}\par \endgroup \fi} \makeatother \tableofcontents \endgroup \section*{Introduction} \phantomsection\addcontentsline{toc}{section}{Introduction} A Hadamard matrix is a square matrix $H\in M_N(\pm1)$ whose rows are pairwise orthogonal. The matrix $U=H/\sqrt{N}$ is then orthogonal, and as observed in \cite{bcs}, the Cauchy-Schwarz inequality shows that such matrices are precisely the orthogonal matrices attaining the following bound: $$||U||_1=\sum_{ij}|U_{ij}|\leq N\sqrt{N}$$ Since such matrices can only exist at $N=1,2$ and $N\in4\mathbb N$, this suggests looking at the maximizers of the 1-norm on $O_N$, and at its local maximizers. The corresponding matrices $H=\sqrt{N}U$ are called almost Hadamard, and their theory was developed in \cite{bn1}, \cite{bnz}, with the main examples coming from the block designs, such as the Fano plane and the Paley biplane, and from the circulant matrices. See also Mohan \cite{mo1}, \cite{mo2} for more, including the $p$-norm versions. \medskip The starting point of this paper is the observation that all this is statistical mechanics in disguise. Indeed, consider the pairing between $U\in O_N$ and the sign matrices $S\in M_N(\pm1)$: $$\Phi(U,S)=Tr(S^tU)=\sum_{ij}U_{ij}S_{ij}$$ There are then 3 models around, each with its own heating and cooling: \medskip (1) The matrix $U$ can be frozen, with moving signs $S_{ij}=a_ib_j$. This is an Ising model with $2N$ spins and couplings $U_{ij}$, studied in \cite{obo} in the Hadamard case, and in \cite{cot} for planar rotators, as a deterministic model of a glass, in the spirit of Marinari, Parisi and Ritort \cite{mp1}, \cite{mp2}. \medskip (2) The matrix $U$ can move, with the signs following it, $S=sgn(U)$. This is a particle on $O_N$, with energy $-||U||_1$, the hard matrix model of Dong, Elser, Gyawali, Jee, Kent-Dobias, Mandaiya, Renz and Su \cite{del}, studied for $N\in4\mathbb N$, where the crystals are the Hadamard matrices, as a model for the glass transition. See also Cugliandolo, Kurchan, Parisi and Ritort \cite{ckp}. \medskip (3) Finally, the signs can move freely, with the matrix being their polar part, $U=Pol(S)$. This is an Ising model with $N^2$ spins and with energy $-Tr|S|$, where $|S|=\sqrt{S^tS}$. \medskip Our purpose here is a promenade through these 3 models, with the matrices coming from block designs as a guide. The paper is a sequel to \cite{cot}, \cite{obo}, written in the same spirit, and Section \ref{sec:wires} contains a brief account of them. Before heating or cooling anything, we must understand the local maximizers. With $S=sgn(U)$, the local maximizers studied in \cite{bcs}, \cite{bns}, \cite{bnz} are those where $X=S^tU$ is positive definite, the general criterion being from \cite{bn2}. We have: \begin{theoremA} Let $U\in O_N$ have nonzero entries, set $S=sgn(U)$, and assume that $X=S^tU$ is symmetric, with eigenvalues $\lambda_1\leq\ldots\leq\lambda_N$. \begin{enumerate} \item $U$ is a local maximizer of the $1$-norm on $O_N$ precisely when $\lambda_1+\lambda_2\geq0$, and is a strict local maximizer precisely when $\lambda_1+\lambda_2>0$. \item Besides the plain case $\lambda_1>0$, where $U=Pol(S)$, there are neutral maximizers, with $\lambda_1=0$, for instance at $N=5$, and twisted ones, with $\lambda_1<0$, for instance at $N=7$. \end{enumerate} \end{theoremA} Here (1) is from \cite{bn2}, where $X\geq0$ was conjectured for the local maximizers, and (2) shows that this is not the case, a reflection not being an infinitesimal move on $O_N$. The twisted maximizers are obtained from the polar part of $S$ by a reflection, and live on the other component of $O_N$. \medskip The simplest twisted maximizers come from designs. Let $M\in M_v(0,1)$ be the incidence matrix of a symmetric $(v,k,\lambda)$ design, set $n=k-\lambda$, and denote by $\mathbb I$ the all-one matrix. By \cite{bnz} there are orthogonal matrices $U=aM+b\mathbb I$, one of them almost Hadamard. We have: \begin{theoremB} Consider a symmetric $(v,k,\lambda)$ design with $\lambda\geq1$ and $v>2k$, and set $$U_\pm=\frac{1}{\sqrt{n}}\left(M-\frac{k\pm\sqrt{n}}{v}\,\mathbb I\right)$$ \begin{enumerate} \item $U_\pm$ are orthogonal, with sign matrix $S=2M-\mathbb I$, and with $||U_\pm||_1=2(v-1)\sqrt{n}\pm(v-2k)$. \item $U_+$ is the polar part of $S$, and is a plain local maximizer of the $1$-norm. \item $U_-$ is a strict local maximizer precisely when $v=4n-1$, that is, for the Hadamard designs. In this case $U_-$ is twisted, with $\lambda_1=-1$. \end{enumerate} \end{theoremB} As an illustration, the Fano plane produces 2 local maximizers of the 1-norm on $O_7$, of norms $12\sqrt{2}\pm1$, and the Paley biplane produces 2 local maximizers on $O_{11}$, of norms $20\sqrt{3}\pm1$. The projective plane of order 3 produces only one. \medskip Let us go now for our promenade. We first freeze the matrix $U$, and we consider the corresponding Ising array, with energy $-\Omega$, where $\Omega=$, with $a,b\in\{\pm1\}^N$. The law of $\Omega$ with respect to the uniform measure is the glow of $U$, in the terminology of \cite{obo}, and the states with $\Omega=N$ are called crystalline. We have here: \begin{theoremC} Let $U\in O_N$, and consider the variable $\Omega=$, with $a,b\in\{\pm1\}^N$. \begin{enumerate} \item The moments of order $2$ and $4$ of $\Omega$ are $N$ and $3N^2-6N+4||U||_4^4$. \item We have $\Omega\leq N$, with equality precisely when $Ub=a$. \item For the design matrix $U_+$ the states $a=-b=\pm\xi$, with $\xi$ being the all-one vector, are crystalline, and these are the only crystalline states when $n$ is not a square. \end{enumerate} \end{theoremC} Thus on the hot side the first invariant which distinguishes the arrays is the 4-norm, which is minimal precisely for the Hadamard matrices, and on the cold side the design arrays have a crystal at any order, with no arithmetic condition needed. When $n$ is a square there are more crystalline states, which correspond to remarkable configurations of points: for the projective plane of order 4 we find the hyperovals, the unitals and the Baer subplanes, and for the projective space over $\mathbb F_2$ we find the ovoids, the lines and the pairs of skew lines. In physical terms, a design array has 2 kinds of junctions, ferromagnetic on the blocks and antiferromagnetic outside, and the 2 matrices of the Fano plane give 2 frustrated magnets, an antiferromagnet and a ferromagnet. We also show that for the Hadamard designs the free energy at high temperature is the universal one from \cite{obo}, which is that of the random orthogonal model \cite{mp2}, and we compute the exact specific heat for the designs with $v\leq23$, which has sharp maxima, well predicted by the crystallization temperature from \cite{obo}. \medskip Next, we let the matrix move. The cooling of the hard matrix model, at the orders where there is no Hadamard matrix, leads to the question of finding the optimal almost Hadamard matrices, and here the dual model is the efficient one: \begin{theoremD} The following hold, with $(2)$ coming from exhaustive computer searches. \begin{enumerate} \item The maximum of the $1$-norm on $O_N$ equals the maximum of $Tr|S|$ over the sign matrices $S\in M_N(\pm1)$, with the maximizers corresponding to each other, $U$ being a polar part of $S$, and $S$ being the sign matrix of $U$. \item This maximum is $11$ at $N=5$, then $8+2\sqrt{10}$ at $N=6$, and $1+12\sqrt{2}$ at $N=7$, where the maximizers are the matrices of the Fano plane. \item For $N$ odd this maximum is at most $(N-1)\sqrt{N-1}+\sqrt{2N-1}$, and for $N=2(4)$ it is at most $(N-2)\sqrt{N-2}+2\sqrt{2N-2}$, with equality at $N=5,13,25,41,61$ and at $N=6,10,14,18,26$. At $N=13$ the maximizers are the matrices of the projective plane of order $3$. \item At $N=11$ this maximum is at least $35.7006$, which is more than the $1$-norm $1+20\sqrt{3}=35.6410$ of the matrix of the Paley biplane. \end{enumerate} \end{theoremD} Here (1) is a standard duality, and the values in (2) are known from the work of Holbrook, Johnston and Schoch \cite{hjs}, who computed them by using Schur norms and semidefinite programming. We recover them by an exhaustive search, which gives as well the numbers of maximizers, the second energy levels, and the whole density of states. The bounds in (3) are the analogues, for the trace norm, of the bounds of Barba and of Ehlich and Wojtas for the maximal determinant problem of Hadamard \cite{beh}, and have the same equality cases. They show that the best values known at $N=10,13,14,18$, from \cite{bnz}, \cite{hjs}, are optimal. In particular the matrix of the projective plane of order 3 is optimal at $N=13$, and is the unique crystal there, up to the symmetries of the model. We also discuss the circulant matrices, which correspond to spin chains: at $N=7,11,23$ the ground states are the Legendre sequences, but at $N=15,19$ the cyclic Hadamard designs are beaten. Finally, the matrix at $N=11$ was found by a simulated annealing of the model with energy $-Tr|S|$, and improves the value $35.6991$ from \cite{hjs}. \medskip Finally, all the above makes sense over the complex numbers, with the signs replaced by planar rotators, $S\in M_N(\mathbb T)$. The situation here is conjecturally very different: according to the almost Hadamard conjecture from \cite{bn2}, any local maximizer of the 1-norm on $U_N$ must be a rescaled complex Hadamard matrix. See \cite{cgt} for recent numerical evidence. In statistical mechanical terms, this conjecture says that the complex hard matrix model has no metastable states, and so no glass. We have here the following result: \begin{theoremE} Let $L(U)=||U||_1$ on $U_N$, and $M(S)=Tr|S|$ on the torus $M_N(\mathbb T)$. \begin{enumerate} \item If $U$ is a local maximizer of $L$ then its phase matrix $S$ is an invertible local maximizer of $M$, with $Pol(S)=U$. Conversely, if $S$ is an invertible local maximizer of $M$, whose polar part $U$ has nonzero entries, then $U$ is a local maximizer of $L$. \item At a critical point $U$ of $L$ with nonzero entries, such that $S^*U>0$, the Hessians of $L$ at $U$ and of $M$ at $S$ have the same inertia. \item At a given order $N$, all the local maximizers of $L$ are rescaled complex Hadamard matrices if and only if all the invertible local maximizers of $M$, whose polar parts have nonzero entries, are complex Hadamard matrices. \item The almost Hadamard conjecture can be shown, with computer assistance, to fail at $N=16,17,18$, due to the existence of circulant counterexamples. \end{enumerate} \end{theoremE} The interest in the dual formulation comes from the fact that the unitarity constraint is gone, the variables being now $N^2$ free angles, and the model being of the same type as the Kuramoto models, where the absence of spurious local maxima is known in a number of situations, see for instance \cite{crm}, \cite{mtg}. In the dual picture the difference between the real and the complex case is the difference between Ising spins and planar rotators: the walls where an entry of $U$ vanishes, called rubicons in \cite{del}, have codimension 1 in $O_N$, and codimension 2 in $U_N$. The design matrices $U_+$ are saddles on $U_N$, in agreement with \cite{bn2}. For the circulant matrices the situation is different: at $N=16$ there is a circulant matrix which is a local maximizer of the 1-norm on $U_N$, without being Hadamard, as we prove by a computation in interval arithmetic, and the same happens at $N=17,18$. These matrices are not explicit, but are located within $10^{-11}$ of numerical ones. \medskip The paper is organized as follows. Section \ref{sec:wires} is a survey of the models from \cite{cot}, \cite{obo}, Section \ref{sec:local} contains the general theory of the local maximizers, and Section \ref{sec:designs} deals with the matrices coming from designs. In Sections \ref{sec:arrays} and \ref{sec:crystals} we study the Ising arrays, at high and at low temperature, in Sections \ref{sec:moving} and \ref{sec:dual} the hard matrix model and its dual, in Section \ref{sec:bounds} the conference matrices and the upper bounds, in Section \ref{sec:chains} the circulant matrices, and in Section \ref{sec:complex} the complex case. The computations are done by the programs accompanying this paper, which are mentioned at the places where they are used, their outputs being in the corresponding log files, and the program \texttt{pictures.py} computes the data for all the figures. \section{Crossed wires, spins and rotators}\label{sec:wires} We first recall the 2 models which are behind the present paper, namely the planar rotators from \cite{cot} and the Ising spins from \cite{obo}, both with couplings given by a Hadamard matrix. This section is a survey, and can be skipped by the readers who are familiar with these 2 papers. For more on statistical mechanics, and on spin glasses, we refer to \cite{mpv}. \medskip \noindent\textbf{The switching game.} Everything starts with a game, invented independently and for fun by Gale and Berlekamp, see \cite{fsl}. A square board carries a lamp at each intersection of its rows and columns, and every row and every column has a switch, reversing all the lamps on it. Starting from some pattern of lit lamps, the player throws switches, and tries to light as many lamps as possible. With $H_{ij}=\pm1$ recording the lamps, and with $a_i,b_j=\pm1$ recording the switches, the number of lit lamps minus the number of dark ones is: $$\Omega=\sum_{ij}H_{ij}a_ib_j=$$ Our companion in this paper will be the Fano plane, shown in Figure \ref{fig:fanoplane}. This is the smallest projective plane, having 7 points and 7 lines, with each line having 3 points, each point being on 3 lines, any 2 points being on exactly one line, and any 2 lines meeting in exactly one point. With the points labeled $0,\ldots,6$, the lines are the sets $\{i+1,i+2,i+4\}$, modulo 7, and the incidence matrix $M$, having as entries $M_{ij}=1$ when the $j$-th point is on the $i$-th line, and $M_{ij}=0$ otherwise, is circulant. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \begin{scope}[x=10mm,y=10mm] \coordinate (p0) at (-1.9,-1.1); \coordinate (p1) at (1.9,-1.1); \coordinate (p2) at (0,2.19); \coordinate (p3) at (0,-1.1); \coordinate (p4) at (.95,.545); \coordinate (p6) at (-.95,.545); \coordinate (p5) at (0,0); \draw[glowblue,line width=1pt] (p0)--(p1)--(p2)--cycle (p0)--(p4) (p1)--(p6) (p2)--(p3); \draw[glowblue,line width=1pt] (p5) circle[radius=1.097]; \foreach \k/\pos in {0/below left,1/below right,2/above,3/below,4/right,6/left,5/{above right}}{ \filldraw[draw=glowblue,fill=white,line width=1pt] (p\k) circle[radius=.13]; \node[\pos=2pt] at (p\k) {$\k$};} \end{scope} \node at (7.2,.55) {$M=\begin{pmatrix}0&1&1&0&1&0&0\\ 0&0&1&1&0&1&0\\ 0&0&0&1&1&0&1\\ 1&0&0&0&1&1&0\\ 0&1&0&0&0&1&1\\ 1&0&1&0&0&0&1\\ 1&1&0&1&0&0&0\end{pmatrix}$}; \end{tikzpicture} \caption{The Fano plane, with its points $0,\ldots,6$ and its $7$ lines $\{i+1,i+2,i+4\}$, one of them being drawn as a circle, and its incidence matrix, whose rows correspond to the lines.}\label{fig:fanoplane} \end{figure} Figure \ref{fig:board} shows the board of the Fano plane, with a lamp for each of the 7 points and each of the 7 lines, lit when the point is on the line, that is, at the entries 1 of the above matrix. As computed by the program \texttt{pictures.py}, the best that one can do here is 33 lit lamps, out of 49. \begin{figure}[H] \centering \begin{tikzpicture}[x=6.2mm,y=6.2mm] \draw[black!30] (-0.60,0)--(6.60,0); \draw[black!30] (0.00,.6)--(0.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (-1.25,-0.12) rectangle (-0.75,0.12); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (-0.12,.75) rectangle (0.12,1.25); \draw[black!30] (-0.60,-1)--(6.60,-1); \draw[black!30] (1.00,.6)--(1.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (-1.25,-1.12) rectangle (-0.75,-0.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (0.88,.75) rectangle (1.12,1.25); \draw[black!30] (-0.60,-2)--(6.60,-2); \draw[black!30] (2.00,.6)--(2.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (-1.25,-2.12) rectangle (-0.75,-1.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (1.88,.75) rectangle (2.12,1.25); \draw[black!30] (-0.60,-3)--(6.60,-3); \draw[black!30] (3.00,.6)--(3.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (-1.25,-3.12) rectangle (-0.75,-2.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (2.88,.75) rectangle (3.12,1.25); \draw[black!30] (-0.60,-4)--(6.60,-4); \draw[black!30] (4.00,.6)--(4.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (-1.25,-4.12) rectangle (-0.75,-3.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (3.88,.75) rectangle (4.12,1.25); \draw[black!30] (-0.60,-5)--(6.60,-5); \draw[black!30] (5.00,.6)--(5.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (-1.25,-5.12) rectangle (-0.75,-4.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (4.88,.75) rectangle (5.12,1.25); \draw[black!30] (-0.60,-6)--(6.60,-6); \draw[black!30] (6.00,.6)--(6.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (-1.25,-6.12) rectangle (-0.75,-5.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (5.88,.75) rectangle (6.12,1.25); \draw[draw=black!60,fill=white] (0.00,0) circle[radius=.17]; \fill[glowgold!22] (1.00,0) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (1.00,0) circle[radius=.2]; \fill[glowgold!22] (2.00,0) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (2.00,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (3.00,0) circle[radius=.17]; \fill[glowgold!22] (4.00,0) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (4.00,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (5.00,0) circle[radius=.17]; \draw[draw=black!60,fill=white] (6.00,0) circle[radius=.17]; \draw[draw=black!60,fill=white] (0.00,-1) circle[radius=.17]; \draw[draw=black!60,fill=white] (1.00,-1) circle[radius=.17]; \fill[glowgold!22] (2.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (2.00,-1) circle[radius=.2]; \fill[glowgold!22] (3.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (3.00,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (4.00,-1) circle[radius=.17]; \fill[glowgold!22] (5.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (5.00,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (6.00,-1) circle[radius=.17]; \draw[draw=black!60,fill=white] (0.00,-2) circle[radius=.17]; \draw[draw=black!60,fill=white] (1.00,-2) circle[radius=.17]; \draw[draw=black!60,fill=white] (2.00,-2) circle[radius=.17]; \fill[glowgold!22] (3.00,-2) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (3.00,-2) circle[radius=.2]; \fill[glowgold!22] (4.00,-2) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (4.00,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (5.00,-2) circle[radius=.17]; \fill[glowgold!22] (6.00,-2) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (6.00,-2) circle[radius=.2]; \fill[glowgold!22] (0.00,-3) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (1.00,-3) circle[radius=.17]; \draw[draw=black!60,fill=white] (2.00,-3) circle[radius=.17]; \draw[draw=black!60,fill=white] (3.00,-3) circle[radius=.17]; \fill[glowgold!22] (4.00,-3) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (4.00,-3) circle[radius=.2]; \fill[glowgold!22] (5.00,-3) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (5.00,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (6.00,-3) circle[radius=.17]; \draw[draw=black!60,fill=white] (0.00,-4) circle[radius=.17]; \fill[glowgold!22] (1.00,-4) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (1.00,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (2.00,-4) circle[radius=.17]; \draw[draw=black!60,fill=white] (3.00,-4) circle[radius=.17]; \draw[draw=black!60,fill=white] (4.00,-4) circle[radius=.17]; \fill[glowgold!22] (5.00,-4) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (5.00,-4) circle[radius=.2]; \fill[glowgold!22] (6.00,-4) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (6.00,-4) circle[radius=.2]; \fill[glowgold!22] (0.00,-5) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (1.00,-5) circle[radius=.17]; \fill[glowgold!22] (2.00,-5) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (2.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (3.00,-5) circle[radius=.17]; \draw[draw=black!60,fill=white] (4.00,-5) circle[radius=.17]; \draw[draw=black!60,fill=white] (5.00,-5) circle[radius=.17]; \fill[glowgold!22] (6.00,-5) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (6.00,-5) circle[radius=.2]; \fill[glowgold!22] (0.00,-6) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,-6) circle[radius=.2]; \fill[glowgold!22] (1.00,-6) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (1.00,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (2.00,-6) circle[radius=.17]; \fill[glowgold!22] (3.00,-6) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (3.00,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (4.00,-6) circle[radius=.17]; \draw[draw=black!60,fill=white] (5.00,-6) circle[radius=.17]; \draw[draw=black!60,fill=white] (6.00,-6) circle[radius=.17]; \draw[black!30] (10.40,0)--(17.60,0); \draw[black!30] (11.00,.6)--(11.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (9.75,-0.12) rectangle (10.25,0.12); \draw[rounded corners=1pt,fill=glowgold,draw=black!60] (10.88,.75) rectangle (11.12,1.25); \draw[black!30] (10.40,-1)--(17.60,-1); \draw[black!30] (12.00,.6)--(12.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (9.75,-1.12) rectangle (10.25,-0.88); \draw[rounded corners=1pt,fill=glowgold,draw=black!60] (11.88,.75) rectangle (12.12,1.25); \draw[black!30] (10.40,-2)--(17.60,-2); \draw[black!30] (13.00,.6)--(13.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (9.75,-2.12) rectangle (10.25,-1.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (12.88,.75) rectangle (13.12,1.25); \draw[black!30] (10.40,-3)--(17.60,-3); \draw[black!30] (14.00,.6)--(14.00,-6.6); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (9.75,-3.12) rectangle (10.25,-2.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (13.88,.75) rectangle (14.12,1.25); \draw[black!30] (10.40,-4)--(17.60,-4); \draw[black!30] (15.00,.6)--(15.00,-6.6); \draw[rounded corners=1pt,fill=glowgold,draw=black!60] (9.75,-4.12) rectangle (10.25,-3.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (14.88,.75) rectangle (15.12,1.25); \draw[black!30] (10.40,-5)--(17.60,-5); \draw[black!30] (16.00,.6)--(16.00,-6.6); \draw[rounded corners=1pt,fill=glowgold,draw=black!60] (9.75,-5.12) rectangle (10.25,-4.88); \draw[rounded corners=1pt,fill=black!6,draw=black!60] (15.88,.75) rectangle (16.12,1.25); \draw[black!30] (10.40,-6)--(17.60,-6); \draw[black!30] (17.00,.6)--(17.00,-6.6); \draw[rounded corners=1pt,fill=glowgold,draw=black!60] (9.75,-6.12) rectangle (10.25,-5.88); \draw[rounded corners=1pt,fill=glowgold,draw=black!60] (16.88,.75) rectangle (17.12,1.25); \fill[glowgold!22] (11.00,0) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.00,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (12.00,0) circle[radius=.17]; \fill[glowgold!22] (13.00,0) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.00,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (14.00,0) circle[radius=.17]; \fill[glowgold!22] (15.00,0) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.00,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (16.00,0) circle[radius=.17]; \fill[glowgold!22] (17.00,0) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.00,0) circle[radius=.2]; \fill[glowgold!22] (11.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.00,-1) circle[radius=.2]; \fill[glowgold!22] (12.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.00,-1) circle[radius=.2]; \fill[glowgold!22] (13.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.00,-1) circle[radius=.2]; \fill[glowgold!22] (14.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.00,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (15.00,-1) circle[radius=.17]; \fill[glowgold!22] (16.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.00,-1) circle[radius=.2]; \fill[glowgold!22] (17.00,-1) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.00,-1) circle[radius=.2]; \fill[glowgold!22] (11.00,-2) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.00,-2) circle[radius=.2]; \fill[glowgold!22] (12.00,-2) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.00,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (13.00,-2) circle[radius=.17]; \fill[glowgold!22] (14.00,-2) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.00,-2) circle[radius=.2]; \fill[glowgold!22] (15.00,-2) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.00,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (16.00,-2) circle[radius=.17]; \draw[draw=black!60,fill=white] (17.00,-2) circle[radius=.17]; \draw[draw=black!60,fill=white] (11.00,-3) circle[radius=.17]; \fill[glowgold!22] (12.00,-3) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.00,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (13.00,-3) circle[radius=.17]; \draw[draw=black!60,fill=white] (14.00,-3) circle[radius=.17]; \fill[glowgold!22] (15.00,-3) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.00,-3) circle[radius=.2]; \fill[glowgold!22] (16.00,-3) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.00,-3) circle[radius=.2]; \fill[glowgold!22] (17.00,-3) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.00,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (11.00,-4) circle[radius=.17]; \fill[glowgold!22] (12.00,-4) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.00,-4) circle[radius=.2]; \fill[glowgold!22] (13.00,-4) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.00,-4) circle[radius=.2]; \fill[glowgold!22] (14.00,-4) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.00,-4) circle[radius=.2]; \fill[glowgold!22] (15.00,-4) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.00,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (16.00,-4) circle[radius=.17]; \fill[glowgold!22] (17.00,-4) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.00,-4) circle[radius=.2]; \fill[glowgold!22] (11.00,-5) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (12.00,-5) circle[radius=.17]; \draw[draw=black!60,fill=white] (13.00,-5) circle[radius=.17]; \fill[glowgold!22] (14.00,-5) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.00,-5) circle[radius=.2]; \fill[glowgold!22] (15.00,-5) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.00,-5) circle[radius=.2]; \fill[glowgold!22] (16.00,-5) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.00,-5) circle[radius=.2]; \fill[glowgold!22] (17.00,-5) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.00,-5) circle[radius=.2]; \fill[glowgold!22] (11.00,-6) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.00,-6) circle[radius=.2]; \fill[glowgold!22] (12.00,-6) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.00,-6) circle[radius=.2]; \fill[glowgold!22] (13.00,-6) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.00,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (14.00,-6) circle[radius=.17]; \fill[glowgold!22] (15.00,-6) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.00,-6) circle[radius=.2]; \fill[glowgold!22] (16.00,-6) circle[radius=.34]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.00,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (17.00,-6) circle[radius=.17]; \draw[->,line width=.85pt,glowblue] (7.3,-3)--(9.2,-3); \end{tikzpicture} \caption{The board of the Fano plane, with $21$ lit lamps, one for each point lying on a line, and one of the boards with $33$ lit lamps which can be obtained from it, by throwing the switches drawn in gold.}\label{fig:board} \end{figure} \medskip \noindent\textbf{The crossed wires.} The physics comes by reading $\Omega$ as an energy. Take 2 layers of $N$ parallel wires, the wires of one layer crossing those of the other one at right angles, put a spin $a_i$ on the $i$-th row wire and a spin $b_j$ on the $j$-th column wire, and couple the 2 spins at each crossing, with strength $H_{ij}/\sqrt{N}$. The energy of the system is then $E=-\Omega/\sqrt{N}$, the switching game is the search for the ground states, and the law of $\Omega$, with the switches being thrown at random, called glow of $H$, is the density of states. When $H$ is a Hadamard matrix, the coupling matrix $U=H/\sqrt{N}$ is orthogonal, and the coupling matrix of all the $2N$ spins is symmetric and orthogonal, with eigenvalues $\pm1$: $$J=\begin{pmatrix}0&U\\ U^t&0\end{pmatrix}$$ This is the situation of the random orthogonal model of Marinari, Parisi and Ritort \cite{mp2}, which was introduced as a disordered version of their deterministic models \cite{mp1}, and which has a glass transition, the mean field equations being those of Parisi and Potters \cite{ppo}. Thus, a Hadamard matrix is a deterministic, and very rigid, instance of a spin glass. \medskip \noindent\textbf{Planar rotators.} In the complex case, studied in \cite{cot}, the matrix $H\in M_N(\mathbb T)$ is a complex Hadamard matrix, the spins are numbers of modulus 1, called planar rotators, and the energy is $-Re(\Omega)/\sqrt{N}$, with $\Omega=$. This is the array of superconducting wires coupled by Josephson junctions proposed by Chandra, Ioffe and Sherrington \cite{cis}, as a model of a glass without disorder, with the phases of the entries $H_{ij}$ recording the magnetic field. The Fourier matrix corresponds to the uniform field, and a general complex Hadamard matrix corresponds to a flux pattern, the Hadamard equivalence being the gauge invariance. The main findings in \cite{cot} are that the moments of $|\Omega|^2$ are universal polynomials in $N$ up to the order 3, the first correction, at order 4, being a sum of Wilson loops of charge 2, that the free energy at high temperature is universal, and that the ground states are the bistochastic forms of $H$, which exist by the theorem of Idel and Wolf \cite{iwo}. \medskip \begin{figure}[H] \centering \begin{tikzpicture}[x=16mm,y=42mm,font=\small] \draw[black!15] (0,1)--(6,1); \draw[->,black!70] (0,0)--(6.3,0) node[right,text=black] {$\beta$}; \draw[->,black!70] (0,0)--(0,1.13) node[above,text=black] {$m(\beta)$}; \foreach \x in {0,1,2,3,4,5,6} \draw (\x,0)--++(0,-.02) node[below] {$\x$}; \foreach \y in {0.5,1} \draw (0,\y)--++(-.06,0) node[left] {$\y$}; \draw[glowblue,line width=1.2pt,domain=0:6,samples=80] plot (\x,{2*\x/(1+sqrt(1+4*\x*\x))}); \draw[glowgold,line width=1.2pt,domain=0:6,samples=80] plot (\x,{\x/(1+sqrt(1+\x*\x))}); \node[text=glowblue] at (2.2,.93) {Ising spins}; \node[text=glowgold!85!black] at (4.3,.68) {planar rotators}; \end{tikzpicture} \caption{The predicted mean energy of a large Hadamard array, divided by its lower bound, as a function of the inverse temperature: Ising spins in blue, and planar rotators in gold. The $2$ curves are the same, up to $\beta\to2\beta$.}\label{fig:curves} \end{figure} \medskip \noindent\textbf{Ising spins.} In the real case, studied in \cite{obo}, the matrix $H\in M_N(\pm1)$ is a usual Hadamard matrix, and the spins are signs. The moments of $\Omega$ are now universal polynomials up to the order 14, the first correction, at order 16, being given by the sums of products of 4 rows of $H$. The free energy at high temperature is universal too, and is that of the replica symmetric solution of the random orthogonal model \cite{mp2}. Figure \ref{fig:curves} shows the corresponding mean energy, divided by its lower bound, in both the real and the complex case. In the real case the predicted entropy per row wire is $2\log2-\frac{1}{2}\log\frac{1+\sqrt{1+4\beta^2}}{2}$, which vanishes at $\beta=\sqrt{240}$, so this solution, called paramagnetic, must break down at low temperatures, as in the random energy model of Derrida \cite{der}. What happens there depends on the matrix, and the main novelty is indeed at low temperatures, where the states with $\Omega=N\sqrt{N}$, called crystalline, may or may not exist. They exist precisely when $H$ is equivalent to a regular matrix, with all the row and column sums equal to $\sqrt{N}$, so $N$ must be a square, and their number controls the crystallization of the array, in the sense of the position of the specific heat maximum. Without crystalline states, as for 2 of the 5 Hadamard matrices of order 16, the array freezes smoothly, into frustrated ground states. \medskip \noindent\textbf{Beyond the Hadamard matrices.} The above picture makes sense for any orthogonal, or unitary, coupling matrix $U$, the only change being that the junctions are no longer of equal strength. The question is then which matrices to use, and a natural answer is: those which are as close as possible to the Hadamard matrices, in the sense that their 1-norm is maximal, or locally maximal. This leads us into the almost Hadamard matrices, and into a second kind of statistical mechanics, where the matrix itself is the moving object, and where the cooling is the search for such maximizers. Figure \ref{fig:models} shows the 3 models which appear in this way, from the pairing $\Phi(U,S)=Tr(S^tU)$ of the Introduction. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small, frozen/.style={draw=glowblue,line width=1.3pt,fill=glowblue!12,minimum width=11mm,minimum height=8mm,rounded corners=2pt}, moving/.style={draw=glowgold!85!black,line width=1.3pt,fill=glowgold!14,minimum width=11mm,minimum height=8mm,rounded corners=2pt}, follow/.style={draw=black!55,densely dashed,line width=.8pt,minimum width=11mm,minimum height=8mm,rounded corners=2pt}] \foreach \k/\title/\us/\ss/\map/\dir/\what in { 0/{(1) Ising array}/frozen/moving/{$S=ab^t$}/0/{$2N$ spins $a_i,b_j$}, 1/{(2) hard matrix model}/moving/follow/{$S=sgn(U)$}/1/{$N(N-1)/2$ angles}, 2/{(3) dual model}/follow/moving/{$U=Pol(S)$}/2/{$N^2$ spins $S_{ij}$}}{ \begin{scope}[shift={(5.2*\k,0)}] \node at (1.5,1.25) {\title}; \node[\us] (U) at (0,0) {$U$}; \node[\ss] (S) at (3,0) {$S$}; \ifnum\dir=1 \draw[->,black!70,line width=.8pt] (U)--(S); \fi \ifnum\dir=2 \draw[->,black!70,line width=.8pt] (S)--(U); \fi \ifnum\dir=0 \draw[black!30,line width=.8pt] (U)--(S); \fi \node[above] at (1.5,0) {\scriptsize \map}; \node at (1.5,-.95) {\what}; \end{scope}} \end{tikzpicture} \caption{The $3$ models coming from the pairing $\Phi(U,S)=Tr(S^tU)$, between orthogonal matrices and sign matrices. In blue the frozen variable, in gold the moving one, and dashed the one which follows. The energy is $-\Phi$, that is, $-$, $-||U||_1$ and $-Tr|S|$.}\label{fig:models} \end{figure} In the complex case the same 3 models exist, with the signs replaced by rotators, and the situation is summarized by the following table, the last column being the present paper: \begin{center} \begin{tabular}{|l|c|c|c|} \hline &\cite{cot}&\cite{obo}&here\\ \hline spins&planar rotators&Ising spins&Ising spins, and matrices\\ \hline couplings&complex Hadamard&real Hadamard&orthogonal, from designs\\ \hline picture&Josephson array&switching game&$2$ kinds of junctions\\ \hline hot side&Wilson loops&products of $4$ rows&$4$-norm\\ \hline cold side&bistochastic forms®ular matrices&aligned states, optima\\ \hline \end{tabular} \end{center} Let us record now the results from \cite{cot}, \cite{obo} that we will use in what follows. We agree to say that a convergence of functions of $\beta$ holds coefficientwise when it holds for each coefficient of the Taylor series at $\beta=0$. The result is as follows: \begin{theorem}\label{th11} Let $H$ be a Hadamard matrix of order $N$, real or complex, and let $\Omega=$, with $a,b$ being uniform and independent, signs in the real case, and numbers of modulus $1$ in the complex case. Consider the function $\Phi_0(x)=\sqrt{1+4x}-1-\log\frac{1+\sqrt{1+4x}}{2}$. \begin{enumerate} \item In the complex case, $\frac{1}{N}\log E\big(e^{\beta Re(\Omega)/\sqrt{N}}\big)\to\Phi_0(\beta^2/4)$, coefficientwise, uniformly in $H$. \item In the real case, $\frac{1}{N}\log E\big(e^{\beta\Omega/\sqrt{N}}\big)\to\frac{1}{2}\,\Phi_0(\beta^2)$, coefficientwise, uniformly in $H$. \item We have $|\Omega|\leq N\sqrt{N}$, with equality precisely at the bistochastic forms of $H$, which always exist in the complex case, and which exist in the real case precisely when $H$ is equivalent to a regular Hadamard matrix. \end{enumerate} \end{theorem} \begin{proof} The first 2 assertions are from \cite{cot}, \cite{obo}, the idea being that the cumulants of $\Omega$ are sums over connected graphs, that the Hadamard condition allows one to remove the vertices of degree 2, and that the graphs which reduce completely are counted by comparing with a Haar random matrix. As for (3), this follows from the Cauchy-Schwarz inequality, the existence result in the complex case being the theorem of Idel and Wolf \cite{iwo}. \end{proof} \section{Almost Hadamard matrices, local maxima}\label{sec:local} We are interested in the orthogonal matrices $U\in O_N$, and in their 1-norm, $||U||_1=\sum_{ij}|U_{ij}|$. The starting point is the following observation, from \cite{bcs}: \begin{proposition}\label{pr11} For $U\in O_N$ we have $||U||_1\leq N\sqrt{N}$, with equality precisely when the matrix $H=\sqrt{N}U$ is Hadamard. \end{proposition} \begin{proof} This follows from the Cauchy-Schwarz inequality, $||U||_1\leq N||U||_2=N\sqrt{N}$, with the equality case holding when the numbers $|U_{ij}|$ are all equal, so when $H\in M_N(\pm1)$. \end{proof} Since the Hadamard matrices are quite rare, it is natural to relax the maximality condition into a local one. We are led in this way to the following notion, from \cite{bnz}: \begin{definition}\label{df12} A matrix $H\in M_N(\mathbb R)$ is called almost Hadamard if $U=H/\sqrt{N}$ is orthogonal, and is a local maximizer of the $1$-norm on $O_N$. When $U$ is a global maximizer, we say that $H$ is optimal. \end{definition} It is known from \cite{bcs}, \cite{bnz} that a local maximizer cannot have zero entries, the proof being by rotating 2 rows, and by looking at the derivatives of the 1-norm at the left and at the right. Thus we can talk about the sign matrix $S=sgn(U)$, which belongs to $M_N(\pm1)$, and the 1-norm is given around $U$ by a linear formula, as follows: $$||V||_1=Tr(S^tV)$$ This formula holds for any matrix $V$ having the same sign matrix as $U$, so on a neighborhood of $U$. In order to study the local maximizers, the idea is to use the fact that this neighborhood consists of the matrices $Ue^A$, with $A$ antisymmetric and small. We have: \begin{proposition}\label{pr13} Let $U\in O_N$ have nonzero entries, and set $S=sgn(U)$, $X=S^tU$. \begin{enumerate} \item $U$ is a critical point of the $1$-norm on $O_N$ precisely when $X$ is symmetric. \item In this case, for any antisymmetric matrix $A$, the second derivative at $t=0$ of the function $||Ue^{tA}||_1$ is $-\sum_{k0$, and this allows the first eigenvalue to be zero, or even negative. So, let us formulate: \begin{definition}\label{df14} Let $U\in O_N$ have nonzero entries, with $X=S^tU$ symmetric, having eigenvalues $\lambda_1\leq\ldots\leq\lambda_N$ satisfying $\lambda_1+\lambda_2>0$. We say that $U$ is: \begin{enumerate} \item Plain, if $\lambda_1>0$. \item Neutral, if $\lambda_1=0$. \item Twisted, if $\lambda_1<0$. \end{enumerate} \end{definition} Figure \ref{fig:spectra} shows the spectrum of $X$ in each of these 3 cases, and in a case where the condition fails, for matrices that we will meet in what follows. In each case the matrix $X$ is symmetric, so $U$ is a critical point of the 1-norm, and what matters is the position of the 2 smallest eigenvalues with respect to 0. \begin{figure}[H] \centering \begin{tikzpicture}[x=11mm,y=8.5mm,font=\small] \draw[black!35] (0,-.6)--(0,3.6); \node[below,text=black!60] at (0,-.6) {$0$}; \foreach \y/\name/\mid in {3/{plain, Fano plane, $U_+$}/1.914,2/{neutral, $S_5$}/0.781,1/{twisted, Fano plane, $U_-$}/0.914,0/{saddle, plane of order 3, $U_-$}/-0.768}{ \draw[black!45] (-5.6,\y)--(4.3,\y); \node[right] at (4.5,\y) {\name}; \fill[glowgold] (\mid,\y-.13)--(\mid-.13,\y-.42)--(\mid+.13,\y-.42)--cycle; } \foreach \x/\y/\m in {1/3/1,2.828/3/6,0/2/1,1.562/2/1,2.562/2/1,2.828/2/2,-1/1/1,2.828/1/6,-5/0/1,3.464/0/12}{ \filldraw[draw=glowblue,fill=glowblue!70] (\x,\y) circle[radius=.1]; \node[above,text=glowblue] at (\x,\y+.05) {\scriptsize \m}; } \end{tikzpicture} \caption{The eigenvalues of $X=S^tU$, with their multiplicities, in $4$ situations. The triangle marks the mean of the $2$ smallest eigenvalues, and we have a local maximizer when it is on the right of $0$.}\label{fig:spectra} \end{figure} The plain case is the one studied in \cite{bcs}, \cite{bns}, \cite{bnz}, where $X>0$. Since we have $S=UX$, in this case $S$ is invertible, and $U$ is its polar part, $U=Pol(S)=S|S|^{-1}$. In general, the above matrices can be described in terms of $S$ alone. Consider indeed a sign matrix $S\in M_N(\pm1)$, with singular values $\sigma_1\geq\ldots\geq\sigma_N\geq0$, and assume that we have $\sigma_{N-1}>\sigma_N$. Starting from a singular value decomposition $S=WDV^t$, with $D=diag(\sigma_1,\ldots,\sigma_N)$, we can construct 2 orthogonal matrices, as follows: $$U_\pm=W\,diag(1,\ldots,1,\pm1)\,V^t$$ When $\sigma_N>0$ the matrix $U_+$ is the polar part of $S$, and $U_-=U_+(1-2\eta\eta^t)$ is obtained from it by a reflection, with $\eta$ being the last column of $V$, which is well-defined up to a sign. When $\sigma_N=0$ the pair $\{U_+,U_-\}$ is well-defined, and consists of the 2 orthogonal matrices which coincide with the partial isometry $S|S|^{-1}$ on the orthogonal complement of $\eta$. We have: \begin{proposition}\label{pr15} The matrices from Definition \ref{df14} having a given sign matrix $S$ are as follows: \begin{enumerate} \item In the plain case, the only candidate is $Pol(S)$, with $S$ being invertible. \item In the neutral case we must have $\sigma_{N-1}>\sigma_N=0$, and the candidates are $U_\pm$. \item In the twisted case we must have $\sigma_{N-1}>\sigma_N>0$, and the only candidate is $U_-$. \end{enumerate} In each case, a candidate is indeed such a matrix precisely when its sign matrix is $S$, and its $1$-norm is then $\sigma_1+\ldots+\sigma_{N-1}\pm\sigma_N$, with the sign being that of $\lambda_1$. \end{proposition} \begin{proof} Assume that $U$ is as in Definition \ref{df14}. From $S=UX$ we get $S^tS=X^2$, so the numbers $|\lambda_i|$ are the singular values of $S$. In the plain case we have $X>0$, so $X=|S|$ and $U=Pol(S)$. In the other cases $\lambda_1+\lambda_2>0$ gives $\lambda_2>|\lambda_1|$, so we have $\lambda_i=\sigma_{N+1-i}$ for $i\geq2$, then $\lambda_1=-\sigma_N$, and finally $\sigma_{N-1}>\sigma_N$. Thus $X=V\,diag(\sigma_1,\ldots,\sigma_{N-1},-\sigma_N)V^t$, and by using $S=UX$ we obtain that $U$ maps the columns of $V$ to those of $W$, up to a sign for the last one, which is $-1$ when $\sigma_N>0$. Thus $U=U_-$ in the twisted case, and $U=U_\pm$ in the neutral case. Conversely, if one of the candidates has $S$ as sign matrix, then $X=S^tU$ is symmetric, with eigenvalues $\sigma_1,\ldots,\sigma_{N-1},\pm\sigma_N$, and we are in the situation of Definition \ref{df14}. Finally, we have $||U||_1=Tr(S^tU)=Tr(X)$, which gives the last assertion. \end{proof} The situation is illustrated in Figure \ref{fig:components}. The orthogonal matrices having a given sign matrix $S$ form a region of $O_N$, which can meet both components, and on which the 1-norm is the linear function $Tr(S^tU)$. The matrices $U_+,U_-$ lie in different components, being exchanged by a reflection, and each of them is a critical point of this function, provided that it belongs to the region. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \foreach \sx/\name/\py/\lab in {0/{one component of $O_N$}/1.05/{$U_+$},7.4/{the other component}/.35/{$U_-$}}{ \begin{scope}[shift={(\sx,0)}] \draw[black!50,fill=black!4] (0,0) ellipse[x radius=2.9,y radius=1.75]; \draw[glowblue,fill=glowblue!12,line width=.9pt] (-1.5,-.9)--(1.2,-1.1)--(1.9,.2)--(.4,1.25)--(-1.3,.8)--cycle; \foreach \h in {-.5,0,.5} \draw[glowblue!45] (-1.25,\h-.1)--(1.5,\h+.12); \filldraw[draw=glowgold!75!black,fill=glowgold] (.25,\py) circle[radius=.1]; \node[below right] at (.3,\py) {\lab}; \node at (0,-2.05) {\name}; \end{scope}} \draw[<->,black!70,densely dashed,line width=.8pt] (.4,1.22) to[bend left=24] node[above] {reflection $1-2\eta\eta^t$} (7.55,.52); \end{tikzpicture} \caption{The orthogonal matrices having a given sign matrix $S$, in blue, in a case where they meet both components of $O_N$, and contain the matrices $U_\pm$, with the level sets of the $1$-norm, and with the $2$ critical points $U_\pm$, whose $1$-norms are $\sigma_1+\ldots+\sigma_{N-1}\pm\sigma_N$. The plain maximizer $U_+$ always wins, but $U_-$ can be a local maximizer too.}\label{fig:components} \end{figure} The above result makes it possible to search for the local maximizers by computer, by going through the sign matrices. The program \texttt{census.py} does this, exhaustively at $N=3,4,5,6$, with the first row and column of $S$ being normalized to be positive, and on random samples of $2^{22}$ sign matrices at $N=7,8,9$. The numbers of sign matrices which carry plain, neutral and twisted local maximizers are as follows: \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline $N$&sign matrices&plain&neutral&twisted\\ \hline 3&16&6&0&0\\ \hline 4&512&78&0&0\\ \hline 5&65536&7560&1800&0\\ \hline 6&33554432&3407760&415800&0\\ \hline 7&4194304&143157&14255&4913\\ \hline 8&4194304&50773&4023&1923\\ \hline 9&4194304&16939&741&491\\ \hline \end{tabular} \end{center} Thus, according to this census, which is exhaustive up to $N=6$, and which relies on floating point computations, with a tolerance of $10^{-9}$, the neutral case first appears at $N=5$, and the twisted case at $N=7$. As a first example, the following sign matrix has rank 4, and both the corresponding matrices $U_\pm\in O_5$ are neutral local maximizers, as verified by the program \texttt{optimal.py}: $$S_5=\left(\begin{array}{ccccc} +&+&+&+&+\\ +&-&+&-&+\\ +&+&-&+&-\\ +&+&+&-&-\\ +&-&-&-&- \end{array}\right)$$ The singular values of this matrix are $\sqrt{8},\sqrt{8},(\sqrt{17}\pm1)/2,0$, so the 1-norm of the matrices $U_\pm$ is $4\sqrt{2}+\sqrt{17}=9.7799$. This is to be compared with the maximum of the 1-norm on $O_5$, which is 11, as we will see in Section \ref{sec:dual}. We will see as well, in Section \ref{sec:designs}, that the simplest example of a twisted local maximizer comes from the Fano plane. As for the best twisted maximizers found by the above search, these have $||U||_1/N^{3/2}=0.8774,0.9085,0.9091$ at $N=7,8,9$, with the corresponding sign matrices being listed in the log file. At $N=7$ this is the matrix $U_-$ associated to the following sign matrix, whose smallest singular value is $0.2003$: $$T_7=\left(\begin{array}{ccccccc} -&+&-&+&+&-&-\\ -&-&-&-&+&+&+\\ -&+&+&-&-&-&+\\ +&+&-&-&-&+&-\\ -&-&-&-&-&+&-\\ -&+&-&+&+&+&+\\ +&-&+&+&-&+&- \end{array}\right)$$ Let us also mention that at $N=5,6$ the neutral matrices come in pairs, $U_+$ and $U_-$ having both $S$ as sign matrix, while from $N=7$ on this is not always the case. Summarizing, we have: \begin{theorem}\label{th16} The local maximizers of the $1$-norm on $O_N$ are as follows: \begin{enumerate} \item Any local maximizer $U$ has nonzero entries, and the matrix $X=S^tU$ is symmetric. \item Conversely, if $U$ has nonzero entries, with $X$ symmetric, then $U$ is a local maximizer precisely when $\lambda_1+\lambda_2\geq0$, and is a strict local maximizer precisely when $\lambda_1+\lambda_2>0$. \item The plain matrices, the neutral matrices and the twisted matrices are all strict local maximizers, and neutral and twisted matrices exist, at $N=5$ and $N=7$ respectively. \end{enumerate} \end{theorem} \begin{proof} (1) The first assertion is from \cite{bcs}, \cite{bnz}, and the second one follows from Proposition \ref{pr13}. (2) This is from \cite{bn2}, the idea being as follows. The orthogonal matrices which are close to $U$ are of the form $UR$ with $R\in SO_N$ close to 1, and they have $S$ as sign matrix, so $||UR||_1=Tr(XR)$. Now $R$ is a product of rotations of angles $\theta_j$ in mutually orthogonal planes, with orthonormal bases $(u_j,v_j)$, and since $X$ is symmetric we obtain: $$Tr(X)-Tr(XR)=\sum_j(1-\cos\theta_j)\left(+\right)$$ Each of the quantities on the right is at least $\lambda_1+\lambda_2$, with equality for the plane of the first 2 eigenvectors of $X$, and this gives the result. Indeed, when $\lambda_1+\lambda_2=0$ the 1-norm is constant on the rotations of $U$ in this latter plane, and when $\lambda_1+\lambda_2<0$ it increases. See also Bernal and Lawrence \cite{bel} for the matrices of maximal trace over the rotations. (3) The first assertion follows from (2). The neutral case at $N=5$ is illustrated by the above matrix $S_5$, and the twisted case at $N=7$ comes from the above table, or from Theorem \ref{th25} below. \end{proof} As a comment, the Hessian of the 1-norm at a critical point is the quadratic form $A\to Tr(XA^2)$ on the antisymmetric matrices, which can be negative definite without $X$ being positive, and conceptually, the reflection which exchanges the matrices $U_+$ and $U_-$ is not connected to the identity. Observe also that in the boundary case $\lambda_1+\lambda_2=0$ we have local maximizers which are not strict, and we will see in Section \ref{sec:designs} that this happens for the Menon designs. Finally, it was conjectured in \cite{bn2} that the conditions in (2) should imply $X\geq0$, and the twisted matrices show that this is not the case. \section{Block designs, plain and twisted}\label{sec:designs} We discuss now the orthogonal matrices coming from block designs, following \cite{bnz}, with some simplifications, and with a new feature, coming from Theorem \ref{th16}. Let us first recall the basic definitions from design theory. For more on all this, we refer to \cite{cdi}, \cite{sti}. \begin{definition}\label{df21} A symmetric $(v,k,\lambda)$ design is a collection of $v$ subsets of a set with $v$ elements, called blocks, each having $k$ elements, such that any $2$ distinct blocks have exactly $\lambda$ elements in common. The incidence matrix $M\in M_v(0,1)$ is given by $M_{ij}=1$ when the $j$-th element belongs to the $i$-th block, and the number $n=k-\lambda$ is called the order. \end{definition} It is well-known that any 2 distinct elements belong then to exactly $\lambda$ blocks, and that we have $\lambda(v-1)=k(k-1)$. In terms of the incidence matrix, and with $\mathbb I$ being the all-one matrix, the axioms and their consequences read: $$MM^t=M^tM=n+\lambda\mathbb I\quad,\quad M\mathbb I=\mathbb IM=k\mathbb I$$ The basic examples are the projective planes of order $q$, with parameters $(q^2+q+1,q+1,1)$, the first one being the Fano plane, with parameters $(7,3,1)$, and the Hadamard designs, with parameters $(4n-1,2n-1,n-1)$, which are in correspondence with the Hadamard matrices of order $4n$. The Fano plane is also a Hadamard design, and the next Hadamard design is the Paley biplane, with parameters $(11,5,2)$, the name coming from the fact that any 2 points lie on exactly 2 blocks. By replacing the blocks with their complements we obtain a design with parameters $(v,v-k,v-2k+\lambda)$, having the same order, so we can always assume $v>2k$. Finally, we have the trivial design, with parameters $(v,1,0)$ and with $M=1$. The correspondence with the Hadamard matrices is as follows: if $M$ is the incidence matrix of a Hadamard design, then by adding to the sign matrix $2M-\mathbb I$ a first row and a first column of 1 entries we obtain a Hadamard matrix of order $4n$, and conversely. For the Fano plane and for the Paley biplane this gives the following matrices, where $\pm$ stand for $\pm1$, the first one being equivalent to the Walsh matrix of order 8, and the second one being the Paley matrix of order 12: {\small\setlength{\arraycolsep}{3pt} $$H_8=\left(\begin{array}{cccccccc} +&+&+&+&+&+&+&+\\ +&-&+&+&-&+&-&-\\ +&-&-&+&+&-&+&-\\ +&-&-&-&+&+&-&+\\ +&+&-&-&-&+&+&-\\ +&-&+&-&-&-&+&+\\ +&+&-&+&-&-&-&+\\ +&+&+&-&+&-&-&- \end{array}\right)\qquad H_{12}=\left(\begin{array}{cccccccccccc} +&+&+&+&+&+&+&+&+&+&+&+\\ +&-&+&-&+&+&+&-&-&-&+&-\\ +&-&-&+&-&+&+&+&-&-&-&+\\ +&+&-&-&+&-&+&+&+&-&-&-\\ +&-&+&-&-&+&-&+&+&+&-&-\\ +&-&-&+&-&-&+&-&+&+&+&-\\ +&-&-&-&+&-&-&+&-&+&+&+\\ +&+&-&-&-&+&-&-&+&-&+&+\\ +&+&+&-&-&-&+&-&-&+&-&+\\ +&+&+&+&-&-&-&+&-&-&+&-\\ +&-&+&+&+&-&-&-&+&-&-&+\\ +&+&-&+&+&+&-&-&-&+&-&- \end{array}\right)$$ } Most of the designs that we will use are cyclic. This means that the points are the elements of $\mathbb Z_v$, and that the blocks are the translates $D+i$ of a set $D\subset\mathbb Z_v$ having $k$ elements, called difference set, such that any nonzero element of $\mathbb Z_v$ can be written in exactly $\lambda$ ways as a difference of 2 elements of $D$. For the Fano plane we can take $D=\{1,2,4\}$, as in Section \ref{sec:wires}, and for the Paley designs, where $v=3(4)$ is prime, $D$ is the set of the nonzero squares modulo $v$. Figure \ref{fig:diffsets} shows the 8 difference sets that we will use, listed in \texttt{designs.py}. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \draw[black!30] (0.000,0.000) circle[radius=0.85]; \filldraw[draw=glowblue,fill=glowblue!14,line width=.6pt] (0.665,0.530)--(0.829,-0.189)--(-0.369,-0.766)--cycle; \filldraw[draw=glowgold,fill=none,line width=.6pt] (0.829,-0.189)--(0.369,-0.766)--(-0.829,-0.189)--cycle; \fill[black!45] (0.000,0.850) circle[radius=0.030]; \fill[black!45] (0.665,0.530) circle[radius=0.030]; \fill[black!45] (0.829,-0.189) circle[radius=0.030]; \fill[black!45] (0.369,-0.766) circle[radius=0.030]; \fill[black!45] (-0.369,-0.766) circle[radius=0.030]; \fill[black!45] (-0.829,-0.189) circle[radius=0.030]; \fill[black!45] (-0.665,0.530) circle[radius=0.030]; \filldraw[draw=glowblue,fill=glowblue] (0.665,0.530) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (-0.369,-0.766) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (0.369,-0.766) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (-0.829,-0.189) circle[radius=0.060]; \filldraw[draw=black,fill=black] (0.829,-0.189) circle[radius=0.060]; \node at (0.000,-1.170) {\footnotesize $(7,3,1)$}; \draw[black!30] (1.980,0.000) circle[radius=0.85]; \filldraw[draw=glowblue,fill=glowblue!14,line width=.6pt] (2.440,0.715)--(2.821,-0.121)--(2.622,-0.557)--(2.219,-0.816)--(1.207,0.353)--cycle; \filldraw[draw=glowgold,fill=none,line width=.6pt] (2.753,0.353)--(2.622,-0.557)--(2.219,-0.816)--(1.741,-0.816)--(1.520,0.715)--cycle; \fill[black!45] (1.980,0.850) circle[radius=0.030]; \fill[black!45] (2.440,0.715) circle[radius=0.030]; \fill[black!45] (2.753,0.353) circle[radius=0.030]; \fill[black!45] (2.821,-0.121) circle[radius=0.030]; \fill[black!45] (2.622,-0.557) circle[radius=0.030]; \fill[black!45] (2.219,-0.816) circle[radius=0.030]; \fill[black!45] (1.741,-0.816) circle[radius=0.030]; \fill[black!45] (1.338,-0.557) circle[radius=0.030]; \fill[black!45] (1.139,-0.121) circle[radius=0.030]; \fill[black!45] (1.207,0.353) circle[radius=0.030]; \fill[black!45] (1.520,0.715) circle[radius=0.030]; \filldraw[draw=glowblue,fill=glowblue] (2.440,0.715) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (2.821,-0.121) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (1.207,0.353) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (2.753,0.353) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (1.741,-0.816) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (1.520,0.715) circle[radius=0.060]; \filldraw[draw=black,fill=black] (2.622,-0.557) circle[radius=0.060]; \filldraw[draw=black,fill=black] (2.219,-0.816) circle[radius=0.060]; \node at (1.980,-1.170) {\footnotesize $(11,5,2)$}; \draw[black!30] (3.960,0.000) circle[radius=0.85]; \filldraw[draw=glowblue,fill=glowblue!14,line width=.6pt] (3.960,0.850)--(4.355,0.753)--(4.804,0.102)--(3.165,-0.301)--cycle; \filldraw[draw=glowgold,fill=none,line width=.6pt] (4.355,0.753)--(4.660,0.483)--(4.755,-0.301)--(3.116,0.102)--cycle; \fill[black!45] (3.960,0.850) circle[radius=0.030]; \fill[black!45] (4.355,0.753) circle[radius=0.030]; \fill[black!45] (4.660,0.483) circle[radius=0.030]; \fill[black!45] (4.804,0.102) circle[radius=0.030]; \fill[black!45] (4.755,-0.301) circle[radius=0.030]; \fill[black!45] (4.524,-0.636) circle[radius=0.030]; \fill[black!45] (4.163,-0.825) circle[radius=0.030]; \fill[black!45] (3.757,-0.825) circle[radius=0.030]; \fill[black!45] (3.396,-0.636) circle[radius=0.030]; \fill[black!45] (3.165,-0.301) circle[radius=0.030]; \fill[black!45] (3.116,0.102) circle[radius=0.030]; \fill[black!45] (3.260,0.483) circle[radius=0.030]; \fill[black!45] (3.565,0.753) circle[radius=0.030]; \filldraw[draw=glowblue,fill=glowblue] (3.960,0.850) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (4.804,0.102) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (3.165,-0.301) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (4.660,0.483) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (4.755,-0.301) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (3.116,0.102) circle[radius=0.060]; \filldraw[draw=black,fill=black] (4.355,0.753) circle[radius=0.060]; \node at (3.960,-1.170) {\footnotesize $(13,4,1)$}; \draw[black!30] (5.940,0.000) circle[radius=0.85]; \filldraw[draw=glowblue,fill=glowblue!14,line width=.6pt] (5.940,0.850)--(6.286,0.777)--(6.572,0.569)--(6.785,-0.089)--(6.676,-0.425)--(5.763,-0.831)--(5.204,-0.425)--cycle; \filldraw[draw=glowgold,fill=none,line width=.6pt] (6.286,0.777)--(6.572,0.569)--(6.748,0.263)--(6.676,-0.425)--(6.440,-0.688)--(5.440,-0.688)--(5.095,-0.089)--cycle; \fill[black!45] (5.940,0.850) circle[radius=0.030]; \fill[black!45] (6.286,0.777) circle[radius=0.030]; \fill[black!45] (6.572,0.569) circle[radius=0.030]; \fill[black!45] (6.748,0.263) circle[radius=0.030]; \fill[black!45] (6.785,-0.089) circle[radius=0.030]; \fill[black!45] (6.676,-0.425) circle[radius=0.030]; \fill[black!45] (6.440,-0.688) circle[radius=0.030]; \fill[black!45] (6.117,-0.831) circle[radius=0.030]; \fill[black!45] (5.763,-0.831) circle[radius=0.030]; \fill[black!45] (5.440,-0.688) circle[radius=0.030]; \fill[black!45] (5.204,-0.425) circle[radius=0.030]; \fill[black!45] (5.095,-0.089) circle[radius=0.030]; \fill[black!45] (5.132,0.263) circle[radius=0.030]; \fill[black!45] (5.308,0.569) circle[radius=0.030]; \fill[black!45] (5.594,0.777) circle[radius=0.030]; \filldraw[draw=glowblue,fill=glowblue] (5.940,0.850) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (6.785,-0.089) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (5.763,-0.831) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (5.204,-0.425) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (6.748,0.263) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (6.440,-0.688) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (5.440,-0.688) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (5.095,-0.089) circle[radius=0.060]; \filldraw[draw=black,fill=black] (6.286,0.777) circle[radius=0.060]; \filldraw[draw=black,fill=black] (6.572,0.569) circle[radius=0.060]; \filldraw[draw=black,fill=black] (6.676,-0.425) circle[radius=0.060]; \node at (5.940,-1.170) {\footnotesize $(15,7,3)$}; \draw[black!30] (7.920,0.000) circle[radius=0.85]; \filldraw[draw=glowblue,fill=glowblue!14,line width=.6pt] (8.196,0.804)--(8.744,0.209)--(8.767,-0.070)--(8.698,-0.341)--(8.545,-0.576)--(8.060,-0.838)--(7.515,-0.748)--(7.208,0.465)--(7.398,0.671)--cycle; \filldraw[draw=glowgold,fill=none,line width=.6pt] (8.442,0.671)--(8.767,-0.070)--(8.698,-0.341)--(8.545,-0.576)--(8.325,-0.748)--(7.780,-0.838)--(7.295,-0.576)--(7.398,0.671)--(7.644,0.804)--cycle; \fill[black!45] (7.920,0.850) circle[radius=0.030]; \fill[black!45] (8.196,0.804) circle[radius=0.030]; \fill[black!45] (8.442,0.671) circle[radius=0.030]; \fill[black!45] (8.632,0.465) circle[radius=0.030]; \fill[black!45] (8.744,0.209) circle[radius=0.030]; \fill[black!45] (8.767,-0.070) circle[radius=0.030]; \fill[black!45] (8.698,-0.341) circle[radius=0.030]; \fill[black!45] (8.545,-0.576) circle[radius=0.030]; \fill[black!45] (8.325,-0.748) circle[radius=0.030]; \fill[black!45] (8.060,-0.838) circle[radius=0.030]; \fill[black!45] (7.780,-0.838) circle[radius=0.030]; \fill[black!45] (7.515,-0.748) circle[radius=0.030]; \fill[black!45] (7.295,-0.576) circle[radius=0.030]; \fill[black!45] (7.142,-0.341) circle[radius=0.030]; \fill[black!45] (7.073,-0.070) circle[radius=0.030]; \fill[black!45] (7.096,0.209) circle[radius=0.030]; \fill[black!45] (7.208,0.465) circle[radius=0.030]; \fill[black!45] (7.398,0.671) circle[radius=0.030]; \fill[black!45] (7.644,0.804) circle[radius=0.030]; \filldraw[draw=glowblue,fill=glowblue] (8.196,0.804) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (8.744,0.209) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (8.060,-0.838) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (7.515,-0.748) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (7.208,0.465) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (8.442,0.671) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (8.325,-0.748) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (7.780,-0.838) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (7.295,-0.576) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (7.644,0.804) circle[radius=0.060]; \filldraw[draw=black,fill=black] (8.767,-0.070) circle[radius=0.060]; \filldraw[draw=black,fill=black] (8.698,-0.341) circle[radius=0.060]; \filldraw[draw=black,fill=black] (8.545,-0.576) circle[radius=0.060]; \filldraw[draw=black,fill=black] (7.398,0.671) circle[radius=0.060]; \node at (7.920,-1.170) {\footnotesize $(19,9,4)$}; \draw[black!30] (9.900,0.000) circle[radius=0.85]; \filldraw[draw=glowblue,fill=glowblue!14,line width=.6pt] (10.565,0.530)--(10.729,-0.189)--(10.636,-0.425)--(9.531,-0.766)--(9.164,-0.425)--cycle; \filldraw[draw=glowgold,fill=none,line width=.6pt] (10.691,0.311)--(10.636,-0.425)--(10.478,-0.623)--(9.322,-0.623)--(9.071,-0.189)--cycle; \fill[black!45] (9.900,0.850) circle[radius=0.030]; \fill[black!45] (10.151,0.812) circle[radius=0.030]; \fill[black!45] (10.379,0.702) circle[radius=0.030]; \fill[black!45] (10.565,0.530) circle[radius=0.030]; \fill[black!45] (10.691,0.311) circle[radius=0.030]; \fill[black!45] (10.748,0.064) circle[radius=0.030]; \fill[black!45] (10.729,-0.189) circle[radius=0.030]; \fill[black!45] (10.636,-0.425) circle[radius=0.030]; \fill[black!45] (10.478,-0.623) circle[radius=0.030]; \fill[black!45] (10.269,-0.766) circle[radius=0.030]; \fill[black!45] (10.027,-0.841) circle[radius=0.030]; \fill[black!45] (9.773,-0.841) circle[radius=0.030]; \fill[black!45] (9.531,-0.766) circle[radius=0.030]; \fill[black!45] (9.322,-0.623) circle[radius=0.030]; \fill[black!45] (9.164,-0.425) circle[radius=0.030]; \fill[black!45] (9.071,-0.189) circle[radius=0.030]; \fill[black!45] (9.052,0.064) circle[radius=0.030]; \fill[black!45] (9.109,0.311) circle[radius=0.030]; \fill[black!45] (9.235,0.530) circle[radius=0.030]; \fill[black!45] (9.421,0.702) circle[radius=0.030]; \fill[black!45] (9.649,0.812) circle[radius=0.030]; \filldraw[draw=glowblue,fill=glowblue] (10.565,0.530) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (10.729,-0.189) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (9.531,-0.766) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (9.164,-0.425) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (10.691,0.311) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (10.478,-0.623) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (9.322,-0.623) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (9.071,-0.189) circle[radius=0.060]; \filldraw[draw=black,fill=black] (10.636,-0.425) circle[radius=0.060]; \node at (9.900,-1.170) {\footnotesize $(21,5,1)$}; \draw[black!30] (11.880,0.000) circle[radius=0.85]; \filldraw[draw=glowblue,fill=glowblue!14,line width=.6pt] (12.109,0.818)--(12.322,0.726)--(12.501,0.580)--(12.635,0.391)--(12.728,-0.058)--(12.574,-0.490)--(12.416,-0.659)--(11.764,-0.842)--(11.541,-0.780)--(11.079,-0.285)--(11.048,0.173)--cycle; \filldraw[draw=glowgold,fill=none,line width=.6pt] (12.322,0.726)--(12.501,0.580)--(12.635,0.391)--(12.712,0.173)--(12.681,-0.285)--(12.416,-0.659)--(12.219,-0.780)--(11.541,-0.780)--(11.344,-0.659)--(11.032,-0.058)--(11.125,0.391)--cycle; \fill[black!45] (11.880,0.850) circle[radius=0.030]; \fill[black!45] (12.109,0.818) circle[radius=0.030]; \fill[black!45] (12.322,0.726) circle[radius=0.030]; \fill[black!45] (12.501,0.580) circle[radius=0.030]; \fill[black!45] (12.635,0.391) circle[radius=0.030]; \fill[black!45] (12.712,0.173) circle[radius=0.030]; \fill[black!45] (12.728,-0.058) circle[radius=0.030]; \fill[black!45] (12.681,-0.285) circle[radius=0.030]; \fill[black!45] (12.574,-0.490) circle[radius=0.030]; \fill[black!45] (12.416,-0.659) circle[radius=0.030]; \fill[black!45] (12.219,-0.780) circle[radius=0.030]; \fill[black!45] (11.996,-0.842) circle[radius=0.030]; \fill[black!45] (11.764,-0.842) circle[radius=0.030]; \fill[black!45] (11.541,-0.780) circle[radius=0.030]; \fill[black!45] (11.344,-0.659) circle[radius=0.030]; \fill[black!45] (11.186,-0.490) circle[radius=0.030]; \fill[black!45] (11.079,-0.285) circle[radius=0.030]; \fill[black!45] (11.032,-0.058) circle[radius=0.030]; \fill[black!45] (11.048,0.173) circle[radius=0.030]; \fill[black!45] (11.125,0.391) circle[radius=0.030]; \fill[black!45] (11.259,0.580) circle[radius=0.030]; \fill[black!45] (11.438,0.726) circle[radius=0.030]; \fill[black!45] (11.651,0.818) circle[radius=0.030]; \filldraw[draw=glowblue,fill=glowblue] (12.109,0.818) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (12.728,-0.058) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (12.574,-0.490) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (11.764,-0.842) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (11.079,-0.285) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (11.048,0.173) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (12.712,0.173) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (12.681,-0.285) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (12.219,-0.780) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (11.344,-0.659) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (11.032,-0.058) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (11.125,0.391) circle[radius=0.060]; \filldraw[draw=black,fill=black] (12.322,0.726) circle[radius=0.060]; \filldraw[draw=black,fill=black] (12.501,0.580) circle[radius=0.060]; \filldraw[draw=black,fill=black] (12.635,0.391) circle[radius=0.060]; \filldraw[draw=black,fill=black] (12.416,-0.659) circle[radius=0.060]; \filldraw[draw=black,fill=black] (11.541,-0.780) circle[radius=0.060]; \node at (11.880,-1.170) {\footnotesize $(23,11,5)$}; \draw[black!30] (13.860,0.000) circle[radius=0.85]; \filldraw[draw=glowblue,fill=glowblue!14,line width=.6pt] (14.031,0.833)--(14.581,0.450)--(14.532,-0.520)--(13.020,0.129)--(13.063,0.295)--(13.244,0.586)--cycle; \filldraw[draw=glowgold,fill=none,line width=.6pt] (14.195,0.781)--(14.657,0.295)--(14.414,-0.645)--(13.063,0.295)--(13.139,0.450)--(13.374,0.698)--cycle; \fill[black!45] (13.860,0.850) circle[radius=0.030]; \fill[black!45] (14.031,0.833) circle[radius=0.030]; \fill[black!45] (14.195,0.781) circle[radius=0.030]; \fill[black!45] (14.346,0.698) circle[radius=0.030]; \fill[black!45] (14.476,0.586) circle[radius=0.030]; \fill[black!45] (14.581,0.450) circle[radius=0.030]; \fill[black!45] (14.657,0.295) circle[radius=0.030]; \fill[black!45] (14.700,0.129) circle[radius=0.030]; \fill[black!45] (14.709,-0.043) circle[radius=0.030]; \fill[black!45] (14.683,-0.213) circle[radius=0.030]; \fill[black!45] (14.623,-0.374) circle[radius=0.030]; \fill[black!45] (14.532,-0.520) circle[radius=0.030]; \fill[black!45] (14.414,-0.645) circle[radius=0.030]; \fill[black!45] (14.273,-0.743) circle[radius=0.030]; \fill[black!45] (14.114,-0.811) circle[radius=0.030]; \fill[black!45] (13.946,-0.846) circle[radius=0.030]; \fill[black!45] (13.774,-0.846) circle[radius=0.030]; \fill[black!45] (13.606,-0.811) circle[radius=0.030]; \fill[black!45] (13.447,-0.743) circle[radius=0.030]; \fill[black!45] (13.306,-0.645) circle[radius=0.030]; \fill[black!45] (13.188,-0.520) circle[radius=0.030]; \fill[black!45] (13.097,-0.374) circle[radius=0.030]; \fill[black!45] (13.037,-0.213) circle[radius=0.030]; \fill[black!45] (13.011,-0.043) circle[radius=0.030]; \fill[black!45] (13.020,0.129) circle[radius=0.030]; \fill[black!45] (13.063,0.295) circle[radius=0.030]; \fill[black!45] (13.139,0.450) circle[radius=0.030]; \fill[black!45] (13.244,0.586) circle[radius=0.030]; \fill[black!45] (13.374,0.698) circle[radius=0.030]; \fill[black!45] (13.525,0.781) circle[radius=0.030]; \fill[black!45] (13.689,0.833) circle[radius=0.030]; \filldraw[draw=glowblue,fill=glowblue] (14.031,0.833) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (14.581,0.450) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (14.532,-0.520) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (13.020,0.129) circle[radius=0.060]; \filldraw[draw=glowblue,fill=glowblue] (13.244,0.586) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (14.195,0.781) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (14.657,0.295) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (14.414,-0.645) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (13.139,0.450) circle[radius=0.060]; \filldraw[draw=glowgold!80!black,fill=glowgold] (13.374,0.698) circle[radius=0.060]; \filldraw[draw=black,fill=black] (13.063,0.295) circle[radius=0.060]; \node at (13.860,-1.170) {\footnotesize $(31,6,1)$}; \end{tikzpicture} \caption{The $8$ cyclic designs of this paper, with the points of $\mathbb Z_v$ on a circle, the block $D$ in blue, and the block $D+1$ in gold, the $\lambda$ common points being in black. From left: the Fano plane, the Paley biplane, the projective plane of order $3$, the projective space over $\mathbb F_2$, a Paley design, the projective plane of order $4$, a Paley design, and the projective plane of order $5$.}\label{fig:diffsets} \end{figure} The incidence matrices of the cyclic designs are circulant, each row being obtained from the previous one by a shift, and this makes the axioms easy to read: any 2 rows have exactly $\lambda$ common entries equal to 1. Figure \ref{fig:grids} shows 4 of these matrices. \begin{figure}[H] \centering \begin{tikzpicture}[x=2.1mm,y=2.1mm,font=\small] \fill[glowblue] (1,-1) rectangle ++(1,1); \fill[glowblue] (3,-1) rectangle ++(1,1); \fill[glowblue] (4,-1) rectangle ++(1,1); \fill[glowblue] (5,-1) rectangle ++(1,1); \fill[glowblue] (9,-1) rectangle ++(1,1); \fill[glowblue] (2,-2) rectangle ++(1,1); \fill[glowblue] (4,-2) rectangle ++(1,1); \fill[glowblue] (5,-2) rectangle ++(1,1); \fill[glowblue] (6,-2) rectangle ++(1,1); \fill[glowblue] (10,-2) rectangle ++(1,1); \fill[glowblue] (0,-3) rectangle ++(1,1); \fill[glowblue] (3,-3) rectangle ++(1,1); \fill[glowblue] (5,-3) rectangle ++(1,1); \fill[glowblue] (6,-3) rectangle ++(1,1); \fill[glowblue] (7,-3) rectangle ++(1,1); \fill[glowblue] (1,-4) rectangle ++(1,1); \fill[glowblue] (4,-4) rectangle ++(1,1); \fill[glowblue] (6,-4) rectangle ++(1,1); \fill[glowblue] (7,-4) rectangle ++(1,1); \fill[glowblue] (8,-4) rectangle ++(1,1); \fill[glowblue] (2,-5) rectangle ++(1,1); \fill[glowblue] (5,-5) rectangle ++(1,1); \fill[glowblue] (7,-5) rectangle ++(1,1); \fill[glowblue] (8,-5) rectangle ++(1,1); \fill[glowblue] (9,-5) rectangle ++(1,1); \fill[glowblue] (3,-6) rectangle ++(1,1); \fill[glowblue] (6,-6) rectangle ++(1,1); \fill[glowblue] (8,-6) rectangle ++(1,1); \fill[glowblue] (9,-6) rectangle ++(1,1); \fill[glowblue] (10,-6) rectangle ++(1,1); \fill[glowblue] (0,-7) rectangle ++(1,1); \fill[glowblue] (4,-7) rectangle ++(1,1); \fill[glowblue] (7,-7) rectangle ++(1,1); \fill[glowblue] (9,-7) rectangle ++(1,1); \fill[glowblue] (10,-7) rectangle ++(1,1); \fill[glowblue] (0,-8) rectangle ++(1,1); \fill[glowblue] (1,-8) rectangle ++(1,1); \fill[glowblue] (5,-8) rectangle ++(1,1); \fill[glowblue] (8,-8) rectangle ++(1,1); \fill[glowblue] (10,-8) rectangle ++(1,1); \fill[glowblue] (0,-9) rectangle ++(1,1); \fill[glowblue] (1,-9) rectangle ++(1,1); \fill[glowblue] (2,-9) rectangle ++(1,1); \fill[glowblue] (6,-9) rectangle ++(1,1); \fill[glowblue] (9,-9) rectangle ++(1,1); \fill[glowblue] (1,-10) rectangle ++(1,1); \fill[glowblue] (2,-10) rectangle ++(1,1); \fill[glowblue] (3,-10) rectangle ++(1,1); \fill[glowblue] (7,-10) rectangle ++(1,1); \fill[glowblue] (10,-10) rectangle ++(1,1); \fill[glowblue] (0,-11) rectangle ++(1,1); \fill[glowblue] (2,-11) rectangle ++(1,1); \fill[glowblue] (3,-11) rectangle ++(1,1); \fill[glowblue] (4,-11) rectangle ++(1,1); \fill[glowblue] (8,-11) rectangle ++(1,1); \draw[step=1,black!30,very thin,shift={(0,0)}] (0,-11) grid (11,0); \node[above] at (5.5,.2) {$(11,5,2)$}; \fill[glowblue] (14,-1) rectangle ++(1,1); \fill[glowblue] (15,-1) rectangle ++(1,1); \fill[glowblue] (17,-1) rectangle ++(1,1); \fill[glowblue] (23,-1) rectangle ++(1,1); \fill[glowblue] (15,-2) rectangle ++(1,1); \fill[glowblue] (16,-2) rectangle ++(1,1); \fill[glowblue] (18,-2) rectangle ++(1,1); \fill[glowblue] (24,-2) rectangle ++(1,1); \fill[glowblue] (16,-3) rectangle ++(1,1); \fill[glowblue] (17,-3) rectangle ++(1,1); \fill[glowblue] (19,-3) rectangle ++(1,1); \fill[glowblue] (25,-3) rectangle ++(1,1); \fill[glowblue] (17,-4) rectangle ++(1,1); \fill[glowblue] (18,-4) rectangle ++(1,1); \fill[glowblue] (20,-4) rectangle ++(1,1); \fill[glowblue] (26,-4) rectangle ++(1,1); \fill[glowblue] (14,-5) rectangle ++(1,1); \fill[glowblue] (18,-5) rectangle ++(1,1); \fill[glowblue] (19,-5) rectangle ++(1,1); \fill[glowblue] (21,-5) rectangle ++(1,1); \fill[glowblue] (15,-6) rectangle ++(1,1); \fill[glowblue] (19,-6) rectangle ++(1,1); \fill[glowblue] (20,-6) rectangle ++(1,1); \fill[glowblue] (22,-6) rectangle ++(1,1); \fill[glowblue] (16,-7) rectangle ++(1,1); \fill[glowblue] (20,-7) rectangle ++(1,1); \fill[glowblue] (21,-7) rectangle ++(1,1); \fill[glowblue] (23,-7) rectangle ++(1,1); \fill[glowblue] (17,-8) rectangle ++(1,1); \fill[glowblue] (21,-8) rectangle ++(1,1); \fill[glowblue] (22,-8) rectangle ++(1,1); \fill[glowblue] (24,-8) rectangle ++(1,1); \fill[glowblue] (18,-9) rectangle ++(1,1); \fill[glowblue] (22,-9) rectangle ++(1,1); \fill[glowblue] (23,-9) rectangle ++(1,1); \fill[glowblue] (25,-9) rectangle ++(1,1); \fill[glowblue] (19,-10) rectangle ++(1,1); \fill[glowblue] (23,-10) rectangle ++(1,1); \fill[glowblue] (24,-10) rectangle ++(1,1); \fill[glowblue] (26,-10) rectangle ++(1,1); \fill[glowblue] (14,-11) rectangle ++(1,1); \fill[glowblue] (20,-11) rectangle ++(1,1); \fill[glowblue] (24,-11) rectangle ++(1,1); \fill[glowblue] (25,-11) rectangle ++(1,1); \fill[glowblue] (15,-12) rectangle ++(1,1); \fill[glowblue] (21,-12) rectangle ++(1,1); \fill[glowblue] (25,-12) rectangle ++(1,1); \fill[glowblue] (26,-12) rectangle ++(1,1); \fill[glowblue] (14,-13) rectangle ++(1,1); \fill[glowblue] (16,-13) rectangle ++(1,1); \fill[glowblue] (22,-13) rectangle ++(1,1); \fill[glowblue] (26,-13) rectangle ++(1,1); \draw[step=1,black!30,very thin,shift={(14,0)}] (0,-13) grid (13,0); \node[above] at (20.5,.2) {$(13,4,1)$}; \fill[glowblue] (30,-1) rectangle ++(1,1); \fill[glowblue] (31,-1) rectangle ++(1,1); \fill[glowblue] (32,-1) rectangle ++(1,1); \fill[glowblue] (34,-1) rectangle ++(1,1); \fill[glowblue] (35,-1) rectangle ++(1,1); \fill[glowblue] (38,-1) rectangle ++(1,1); \fill[glowblue] (40,-1) rectangle ++(1,1); \fill[glowblue] (31,-2) rectangle ++(1,1); \fill[glowblue] (32,-2) rectangle ++(1,1); \fill[glowblue] (33,-2) rectangle ++(1,1); \fill[glowblue] (35,-2) rectangle ++(1,1); \fill[glowblue] (36,-2) rectangle ++(1,1); \fill[glowblue] (39,-2) rectangle ++(1,1); \fill[glowblue] (41,-2) rectangle ++(1,1); \fill[glowblue] (32,-3) rectangle ++(1,1); \fill[glowblue] (33,-3) rectangle ++(1,1); \fill[glowblue] (34,-3) rectangle ++(1,1); \fill[glowblue] (36,-3) rectangle ++(1,1); \fill[glowblue] (37,-3) rectangle ++(1,1); \fill[glowblue] (40,-3) rectangle ++(1,1); \fill[glowblue] (42,-3) rectangle ++(1,1); \fill[glowblue] (33,-4) rectangle ++(1,1); \fill[glowblue] (34,-4) rectangle ++(1,1); \fill[glowblue] (35,-4) rectangle ++(1,1); \fill[glowblue] (37,-4) rectangle ++(1,1); \fill[glowblue] (38,-4) rectangle ++(1,1); \fill[glowblue] (41,-4) rectangle ++(1,1); \fill[glowblue] (43,-4) rectangle ++(1,1); \fill[glowblue] (34,-5) rectangle ++(1,1); \fill[glowblue] (35,-5) rectangle ++(1,1); \fill[glowblue] (36,-5) rectangle ++(1,1); \fill[glowblue] (38,-5) rectangle ++(1,1); \fill[glowblue] (39,-5) rectangle ++(1,1); \fill[glowblue] (42,-5) rectangle ++(1,1); \fill[glowblue] (44,-5) rectangle ++(1,1); \fill[glowblue] (30,-6) rectangle ++(1,1); \fill[glowblue] (35,-6) rectangle ++(1,1); \fill[glowblue] (36,-6) rectangle ++(1,1); \fill[glowblue] (37,-6) rectangle ++(1,1); \fill[glowblue] (39,-6) rectangle ++(1,1); \fill[glowblue] (40,-6) rectangle ++(1,1); \fill[glowblue] (43,-6) rectangle ++(1,1); \fill[glowblue] (31,-7) rectangle ++(1,1); \fill[glowblue] (36,-7) rectangle ++(1,1); \fill[glowblue] (37,-7) rectangle ++(1,1); \fill[glowblue] (38,-7) rectangle ++(1,1); \fill[glowblue] (40,-7) rectangle ++(1,1); \fill[glowblue] (41,-7) rectangle ++(1,1); \fill[glowblue] (44,-7) rectangle ++(1,1); \fill[glowblue] (30,-8) rectangle ++(1,1); \fill[glowblue] (32,-8) rectangle ++(1,1); \fill[glowblue] (37,-8) rectangle ++(1,1); \fill[glowblue] (38,-8) rectangle ++(1,1); \fill[glowblue] (39,-8) rectangle ++(1,1); \fill[glowblue] (41,-8) rectangle ++(1,1); \fill[glowblue] (42,-8) rectangle ++(1,1); \fill[glowblue] (31,-9) rectangle ++(1,1); \fill[glowblue] (33,-9) rectangle ++(1,1); \fill[glowblue] (38,-9) rectangle ++(1,1); \fill[glowblue] (39,-9) rectangle ++(1,1); \fill[glowblue] (40,-9) rectangle ++(1,1); \fill[glowblue] (42,-9) rectangle ++(1,1); \fill[glowblue] (43,-9) rectangle ++(1,1); \fill[glowblue] (32,-10) rectangle ++(1,1); \fill[glowblue] (34,-10) rectangle ++(1,1); \fill[glowblue] (39,-10) rectangle ++(1,1); \fill[glowblue] (40,-10) rectangle ++(1,1); \fill[glowblue] (41,-10) rectangle ++(1,1); \fill[glowblue] (43,-10) rectangle ++(1,1); \fill[glowblue] (44,-10) rectangle ++(1,1); \fill[glowblue] (30,-11) rectangle ++(1,1); \fill[glowblue] (33,-11) rectangle ++(1,1); \fill[glowblue] (35,-11) rectangle ++(1,1); \fill[glowblue] (40,-11) rectangle ++(1,1); \fill[glowblue] (41,-11) rectangle ++(1,1); \fill[glowblue] (42,-11) rectangle ++(1,1); \fill[glowblue] (44,-11) rectangle ++(1,1); \fill[glowblue] (30,-12) rectangle ++(1,1); \fill[glowblue] (31,-12) rectangle ++(1,1); \fill[glowblue] (34,-12) rectangle ++(1,1); \fill[glowblue] (36,-12) rectangle ++(1,1); \fill[glowblue] (41,-12) rectangle ++(1,1); \fill[glowblue] (42,-12) rectangle ++(1,1); \fill[glowblue] (43,-12) rectangle ++(1,1); \fill[glowblue] (31,-13) rectangle ++(1,1); \fill[glowblue] (32,-13) rectangle ++(1,1); \fill[glowblue] (35,-13) rectangle ++(1,1); \fill[glowblue] (37,-13) rectangle ++(1,1); \fill[glowblue] (42,-13) rectangle ++(1,1); \fill[glowblue] (43,-13) rectangle ++(1,1); \fill[glowblue] (44,-13) rectangle ++(1,1); \fill[glowblue] (30,-14) rectangle ++(1,1); \fill[glowblue] (32,-14) rectangle ++(1,1); \fill[glowblue] (33,-14) rectangle ++(1,1); \fill[glowblue] (36,-14) rectangle ++(1,1); \fill[glowblue] (38,-14) rectangle ++(1,1); \fill[glowblue] (43,-14) rectangle ++(1,1); \fill[glowblue] (44,-14) rectangle ++(1,1); \fill[glowblue] (30,-15) rectangle ++(1,1); \fill[glowblue] (31,-15) rectangle ++(1,1); \fill[glowblue] (33,-15) rectangle ++(1,1); \fill[glowblue] (34,-15) rectangle ++(1,1); \fill[glowblue] (37,-15) rectangle ++(1,1); \fill[glowblue] (39,-15) rectangle ++(1,1); \fill[glowblue] (44,-15) rectangle ++(1,1); \draw[step=1,black!30,very thin,shift={(30,0)}] (0,-15) grid (15,0); \node[above] at (37.5,.2) {$(15,7,3)$}; \fill[glowblue] (51,-1) rectangle ++(1,1); \fill[glowblue] (54,-1) rectangle ++(1,1); \fill[glowblue] (55,-1) rectangle ++(1,1); \fill[glowblue] (60,-1) rectangle ++(1,1); \fill[glowblue] (62,-1) rectangle ++(1,1); \fill[glowblue] (52,-2) rectangle ++(1,1); \fill[glowblue] (55,-2) rectangle ++(1,1); \fill[glowblue] (56,-2) rectangle ++(1,1); \fill[glowblue] (61,-2) rectangle ++(1,1); \fill[glowblue] (63,-2) rectangle ++(1,1); \fill[glowblue] (53,-3) rectangle ++(1,1); \fill[glowblue] (56,-3) rectangle ++(1,1); \fill[glowblue] (57,-3) rectangle ++(1,1); \fill[glowblue] (62,-3) rectangle ++(1,1); \fill[glowblue] (64,-3) rectangle ++(1,1); \fill[glowblue] (54,-4) rectangle ++(1,1); \fill[glowblue] (57,-4) rectangle ++(1,1); \fill[glowblue] (58,-4) rectangle ++(1,1); \fill[glowblue] (63,-4) rectangle ++(1,1); \fill[glowblue] (65,-4) rectangle ++(1,1); \fill[glowblue] (55,-5) rectangle ++(1,1); \fill[glowblue] (58,-5) rectangle ++(1,1); \fill[glowblue] (59,-5) rectangle ++(1,1); \fill[glowblue] (64,-5) rectangle ++(1,1); \fill[glowblue] (66,-5) rectangle ++(1,1); \fill[glowblue] (56,-6) rectangle ++(1,1); \fill[glowblue] (59,-6) rectangle ++(1,1); \fill[glowblue] (60,-6) rectangle ++(1,1); \fill[glowblue] (65,-6) rectangle ++(1,1); \fill[glowblue] (67,-6) rectangle ++(1,1); \fill[glowblue] (57,-7) rectangle ++(1,1); \fill[glowblue] (60,-7) rectangle ++(1,1); \fill[glowblue] (61,-7) rectangle ++(1,1); \fill[glowblue] (66,-7) rectangle ++(1,1); \fill[glowblue] (68,-7) rectangle ++(1,1); \fill[glowblue] (48,-8) rectangle ++(1,1); \fill[glowblue] (58,-8) rectangle ++(1,1); \fill[glowblue] (61,-8) rectangle ++(1,1); \fill[glowblue] (62,-8) rectangle ++(1,1); \fill[glowblue] (67,-8) rectangle ++(1,1); \fill[glowblue] (49,-9) rectangle ++(1,1); \fill[glowblue] (59,-9) rectangle ++(1,1); \fill[glowblue] (62,-9) rectangle ++(1,1); \fill[glowblue] (63,-9) rectangle ++(1,1); \fill[glowblue] (68,-9) rectangle ++(1,1); \fill[glowblue] (48,-10) rectangle ++(1,1); \fill[glowblue] (50,-10) rectangle ++(1,1); \fill[glowblue] (60,-10) rectangle ++(1,1); \fill[glowblue] (63,-10) rectangle ++(1,1); \fill[glowblue] (64,-10) rectangle ++(1,1); \fill[glowblue] (49,-11) rectangle ++(1,1); \fill[glowblue] (51,-11) rectangle ++(1,1); \fill[glowblue] (61,-11) rectangle ++(1,1); \fill[glowblue] (64,-11) rectangle ++(1,1); \fill[glowblue] (65,-11) rectangle ++(1,1); \fill[glowblue] (50,-12) rectangle ++(1,1); \fill[glowblue] (52,-12) rectangle ++(1,1); \fill[glowblue] (62,-12) rectangle ++(1,1); \fill[glowblue] (65,-12) rectangle ++(1,1); \fill[glowblue] (66,-12) rectangle ++(1,1); \fill[glowblue] (51,-13) rectangle ++(1,1); \fill[glowblue] (53,-13) rectangle ++(1,1); \fill[glowblue] (63,-13) rectangle ++(1,1); \fill[glowblue] (66,-13) rectangle ++(1,1); \fill[glowblue] (67,-13) rectangle ++(1,1); \fill[glowblue] (52,-14) rectangle ++(1,1); \fill[glowblue] (54,-14) rectangle ++(1,1); \fill[glowblue] (64,-14) rectangle ++(1,1); \fill[glowblue] (67,-14) rectangle ++(1,1); \fill[glowblue] (68,-14) rectangle ++(1,1); \fill[glowblue] (48,-15) rectangle ++(1,1); \fill[glowblue] (53,-15) rectangle ++(1,1); \fill[glowblue] (55,-15) rectangle ++(1,1); \fill[glowblue] (65,-15) rectangle ++(1,1); \fill[glowblue] (68,-15) rectangle ++(1,1); \fill[glowblue] (48,-16) rectangle ++(1,1); \fill[glowblue] (49,-16) rectangle ++(1,1); \fill[glowblue] (54,-16) rectangle ++(1,1); \fill[glowblue] (56,-16) rectangle ++(1,1); \fill[glowblue] (66,-16) rectangle ++(1,1); \fill[glowblue] (49,-17) rectangle ++(1,1); \fill[glowblue] (50,-17) rectangle ++(1,1); \fill[glowblue] (55,-17) rectangle ++(1,1); \fill[glowblue] (57,-17) rectangle ++(1,1); \fill[glowblue] (67,-17) rectangle ++(1,1); \fill[glowblue] (50,-18) rectangle ++(1,1); \fill[glowblue] (51,-18) rectangle ++(1,1); \fill[glowblue] (56,-18) rectangle ++(1,1); \fill[glowblue] (58,-18) rectangle ++(1,1); \fill[glowblue] (68,-18) rectangle ++(1,1); \fill[glowblue] (48,-19) rectangle ++(1,1); \fill[glowblue] (51,-19) rectangle ++(1,1); \fill[glowblue] (52,-19) rectangle ++(1,1); \fill[glowblue] (57,-19) rectangle ++(1,1); \fill[glowblue] (59,-19) rectangle ++(1,1); \fill[glowblue] (49,-20) rectangle ++(1,1); \fill[glowblue] (52,-20) rectangle ++(1,1); \fill[glowblue] (53,-20) rectangle ++(1,1); \fill[glowblue] (58,-20) rectangle ++(1,1); \fill[glowblue] (60,-20) rectangle ++(1,1); \fill[glowblue] (50,-21) rectangle ++(1,1); \fill[glowblue] (53,-21) rectangle ++(1,1); \fill[glowblue] (54,-21) rectangle ++(1,1); \fill[glowblue] (59,-21) rectangle ++(1,1); \fill[glowblue] (61,-21) rectangle ++(1,1); \draw[step=1,black!30,very thin,shift={(48,0)}] (0,-21) grid (21,0); \node[above] at (58.5,.2) {$(21,5,1)$}; \end{tikzpicture} \caption{The incidence matrices of the Paley biplane, of the projective plane of order $3$, of the projective space over $\mathbb F_2$, and of the projective plane of order $4$, with the entries $1$ in blue. Each row is a block, and any $2$ rows have $\lambda=2,1,3,1$ common entries.}\label{fig:grids} \end{figure} Among these designs, 2 deserve a portrait of their own. The first one is the Paley biplane, shown in Figure \ref{fig:biplane}. The 11 blocks are the pentagons obtained by rotating the pentagon of the squares $\{1,3,4,5,9\}$, and the axioms can be read on the picture: the points 0 and 1 lie on exactly 2 blocks, and these 2 blocks have no other common point. This is where the name comes from: any 2 points lie on 2 blocks, instead of one, as in a projective plane. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \draw[black!28,line width=.4pt] (1.081,1.683)--(1.980,-0.285)--(1.511,-1.310)--(0.563,-1.919)--(-1.819,0.831)--cycle; \draw[black!28,line width=.4pt] (1.819,0.831)--(1.511,-1.310)--(0.563,-1.919)--(-0.563,-1.919)--(-1.081,1.683)--cycle; \draw[black!28,line width=.4pt] (0.000,2.000)--(1.980,-0.285)--(0.563,-1.919)--(-0.563,-1.919)--(-1.511,-1.310)--cycle; \draw[black!28,line width=.4pt] (1.081,1.683)--(1.511,-1.310)--(-0.563,-1.919)--(-1.511,-1.310)--(-1.980,-0.285)--cycle; \draw[black!28,line width=.4pt] (1.819,0.831)--(0.563,-1.919)--(-1.511,-1.310)--(-1.980,-0.285)--(-1.819,0.831)--cycle; \draw[black!28,line width=.4pt] (1.980,-0.285)--(-0.563,-1.919)--(-1.980,-0.285)--(-1.819,0.831)--(-1.081,1.683)--cycle; \draw[black!28,line width=.4pt] (0.000,2.000)--(1.511,-1.310)--(-1.511,-1.310)--(-1.819,0.831)--(-1.081,1.683)--cycle; \draw[black!28,line width=.4pt] (0.000,2.000)--(1.081,1.683)--(0.563,-1.919)--(-1.980,-0.285)--(-1.081,1.683)--cycle; \draw[black!28,line width=.4pt] (0.000,2.000)--(1.081,1.683)--(1.819,0.831)--(-0.563,-1.919)--(-1.819,0.831)--cycle; \draw[black!28,line width=.4pt] (1.081,1.683)--(1.819,0.831)--(1.980,-0.285)--(-1.511,-1.310)--(-1.081,1.683)--cycle; \draw[black!28,line width=.4pt] (0.000,2.000)--(1.819,0.831)--(1.980,-0.285)--(1.511,-1.310)--(-1.980,-0.285)--cycle; \filldraw[draw=glowblue,fill=glowblue!16,fill opacity=.8,line width=1pt] (0.000,2.000)--(1.081,1.683)--(0.563,-1.919)--(-1.980,-0.285)--(-1.081,1.683)--cycle; \filldraw[draw=glowgold,fill=glowgold!22,fill opacity=.6,line width=1pt] (0.000,2.000)--(1.081,1.683)--(1.819,0.831)--(-0.563,-1.919)--(-1.819,0.831)--cycle; \filldraw[draw=black!70,fill=black] (0.000,2.000) circle[radius=.085]; \node at (0.000,2.360) {$0$}; \filldraw[draw=black!70,fill=black] (1.081,1.683) circle[radius=.085]; \node at (1.276,1.985) {$1$}; \filldraw[draw=black!70,fill=white] (1.819,0.831) circle[radius=.085]; \node at (2.147,0.980) {$2$}; \filldraw[draw=black!70,fill=white] (1.980,-0.285) circle[radius=.085]; \node at (2.336,-0.336) {$3$}; \filldraw[draw=black!70,fill=white] (1.511,-1.310) circle[radius=.085]; \node at (1.784,-1.545) {$4$}; \filldraw[draw=black!70,fill=white] (0.563,-1.919) circle[radius=.085]; \node at (0.665,-2.264) {$5$}; \filldraw[draw=black!70,fill=white] (-0.563,-1.919) circle[radius=.085]; \node at (-0.665,-2.264) {$6$}; \filldraw[draw=black!70,fill=white] (-1.511,-1.310) circle[radius=.085]; \node at (-1.784,-1.545) {$7$}; \filldraw[draw=black!70,fill=white] (-1.980,-0.285) circle[radius=.085]; \node at (-2.336,-0.336) {$8$}; \filldraw[draw=black!70,fill=white] (-1.819,0.831) circle[radius=.085]; \node at (-2.147,0.980) {$9$}; \filldraw[draw=black!70,fill=white] (-1.081,1.683) circle[radius=.085]; \node at (-1.276,1.985) {$10$}; \node[right,text=glowblue] at (3.3,.9) {block $\{0,1,5,8,10\}$}; \node[right,text=glowgold!85!black] at (3.3,.2) {block $\{0,1,2,6,9\}$}; \node[right] at (3.3,-.5) {common points: $0$ and $1$}; \end{tikzpicture} \caption{The Paley biplane: the $11$ points are the elements of $\mathbb Z_{11}$, and the $11$ blocks are the pentagons obtained by rotating the pentagon of the squares $\{1,3,4,5,9\}$. The points $0$ and $1$ lie on exactly $2$ blocks, in blue and in gold, and these $2$ blocks have exactly $2$ common points.}\label{fig:biplane} \end{figure} While there are infinitely many projective planes, only finitely many biplanes are known, the biggest ones having 13 points on each block, and whether there are infinitely many of them is an old open question \cite{cdi}. The automorphism group of this design has order 660, as computed by the program \texttt{portraits.py}, which finds as well 168 automorphisms for the Fano plane, and 5616 automorphisms for the projective plane of order 3. The second one is the projective plane of order 3, which will play a special role in Section \ref{sec:bounds}, as the unique crystal of the hard matrix model at $N=13$. In its cyclic form this plane is not easy to see, and Figure \ref{fig:plane} shows its affine form: the 9 points of the plane over $\mathbb F_3$, the 12 lines, which come in 4 parallel classes, and 4 more points at infinity, one for each class, which form the last line. The program \texttt{portraits.py} checks that this is the same design as the cyclic one. \begin{figure}[H] \centering \begin{tikzpicture}[x=12mm,y=12mm,font=\small] \draw[glowblue,line width=1pt] (-.35,0)--(2.35,0); \draw[glowblue,line width=1pt] (-.35,1)--(2.35,1); \draw[glowblue,line width=1pt] (-.35,2)--(2.35,2); \draw[glowgold,line width=1pt] (0,-.35)--(0,2.35); \draw[glowgold,line width=1pt] (1,-.35)--(1,2.35); \draw[glowgold,line width=1pt] (2,-.35)--(2,2.35); \draw[black!55,line width=1pt] (-.3,-.3)--(2.3,2.3); \draw[black!55,line width=1pt] (0,1)--(1,2) .. controls (2.3,3.3) and (3.3,1.3) .. (2,0); \draw[black!55,line width=1pt] (1,0)--(2,1) .. controls (3.3,2.3) and (1.3,3.3) .. (0,2); \draw[magenta!75,line width=1pt] (2.3,-.3)--(-.3,2.3); \draw[magenta!75,line width=1pt] (2,1)--(1,2) .. controls (-.3,3.3) and (-1.3,1.3) .. (0,0); \draw[magenta!75,line width=1pt] (1,0)--(0,1) .. controls (-1.3,2.3) and (.7,3.3) .. (2,2); \filldraw[draw=black,fill=white,line width=.8pt] (0,0) circle[radius=.1]; \filldraw[draw=black,fill=white,line width=.8pt] (0,1) circle[radius=.1]; \filldraw[draw=black,fill=white,line width=.8pt] (0,2) circle[radius=.1]; \filldraw[draw=black,fill=white,line width=.8pt] (1,0) circle[radius=.1]; \filldraw[draw=black,fill=white,line width=.8pt] (1,1) circle[radius=.1]; \filldraw[draw=black,fill=white,line width=.8pt] (1,2) circle[radius=.1]; \filldraw[draw=black,fill=white,line width=.8pt] (2,0) circle[radius=.1]; \filldraw[draw=black,fill=white,line width=.8pt] (2,1) circle[radius=.1]; \filldraw[draw=black,fill=white,line width=.8pt] (2,2) circle[radius=.1]; \draw[black!45,line width=2pt] (4.6,-.3)--(4.6,2.7); \filldraw[draw=black,fill=glowblue,line width=.6pt] (4.6,2.40) circle[radius=.12]; \filldraw[draw=black,fill=glowgold,line width=.6pt] (4.6,1.60) circle[radius=.12]; \filldraw[draw=black,fill=black!55,line width=.6pt] (4.6,0.80) circle[radius=.12]; \filldraw[draw=black,fill=magenta!75,line width=.6pt] (4.6,-0.00) circle[radius=.12]; \node[right] at (4.85,1.2) {line at infinity}; \end{tikzpicture} \caption{The projective plane of order $3$: the $9$ points of the affine plane over $\mathbb F_3$, with its $12$ lines, which form $4$ parallel classes, drawn in $4$ colors, and $4$ points at infinity, one for each class, which form the last line. Each line has $4$ points: $3$ affine ones, and the point at infinity of its class.}\label{fig:plane} \end{figure} Let us go back now to the general theory. The parameters of a symmetric design are not arbitrary, and the inequality below, which compares $v$ with $4n$, will decide which of the matrices coming from the design are local maximizers of the 1-norm. We will need: \begin{proposition}\label{pr22} For a symmetric $(v,k,\lambda)$ design with $v>2k$ we have $$(v-2k)^2=v^2-4n(v-1)$$ and so $v\geq4n-1$. Moreover, the following hold: \begin{enumerate} \item $v-2k=1$ happens precisely when $v=4n-1$, that is, for the Hadamard designs. \item $v-2k<2\sqrt{n}$ happens precisely when $v=4n-1$ too. \item $v-2k=2\sqrt{n}$ happens precisely when $v=4n$. \end{enumerate} \end{proposition} \begin{proof} With $\lambda=k-n$ the formula $\lambda(v-1)=k(k-1)$ reads $k(v-k)=n(v-1)$, and this gives the formula in the statement. Now since $v-2k\geq1$ we obtain $(v-2n)^2\geq(2n-1)^2$, and so $v\geq4n-1$, because $v>2k\geq2n$, with equality precisely when $v-2k=1$. In this case we have $k=2n-1$ and $\lambda=n-1$, which proves (1). As for (2,3), these follow from the fact that $v-2k<2\sqrt{n}$ is equivalent to $v^2-4nv<0$, so to $v<4n$, and similarly for the equality. \end{proof} In relation now with the orthogonal matrices, the idea, from \cite{bnz}, is to look for such matrices in the linear span of $M$ and $\mathbb I$. This leads to a quadratic equation, which has 2 solutions, and up to a sign, we obtain in this way the following 2 matrices: $$U_\pm=\frac{1}{\sqrt{n}}\left(M-\frac{k\pm\sqrt{n}}{v}\,\mathbb I\right)$$ To be more precise, we have the following result, where $P=\mathbb I/v$ is the projection onto the all-one vector $\xi$, and where the last assertion makes the link with the notations from Section \ref{sec:local}: \begin{proposition}\label{pr23} For a symmetric $(v,k,\lambda)$ design with $\lambda\geq1$ and $v>2k$, the above matrices $U_\pm$ are orthogonal, with $U_\pm\xi=\mp\xi$, their entries are positive on the blocks, and negative outside the blocks, and with $S=2M-\mathbb I$ we have the formula $$S^tU_\pm=2\sqrt{n}\,(1-P)\pm(v-2k)P$$ so the singular values of $S$ are $2\sqrt{n}$, with multiplicity $v-1$, and $v-2k$. In particular $U_+$ is the polar part of $S$, and $U_-=U_+(1-2P)$ is its twisted version. \end{proposition} \begin{proof} With $c=(k\pm\sqrt{n})/v$ we have $c^2v-2ck+\lambda=0$, because $k^2-\lambda v=n$, and so: $$(M-c\mathbb I)(M-c\mathbb I)^t=n+(\lambda-2ck+c^2v)\mathbb I=n$$ Thus $U_\pm$ are orthogonal, and the formula $U_\pm\xi=\mp\xi$ is clear. The entries are $(1-c)/\sqrt{n}$ on the blocks, and $-c/\sqrt{n}$ outside, and we have $02k$. \begin{enumerate} \item $U_+$ is a plain local maximizer of the $1$-norm on $O_v$, and $||U_+||_1=2(v-1)\sqrt{n}+v-2k$. \item When $v=4n-1$ the matrix $U_-$ is a twisted local maximizer, with $\lambda_1=-1$, and with $||U_-||_1=4(2n-1)\sqrt{n}-1$. \item When $v=4n$ the matrix $\sqrt{v}\,U_+$ is Hadamard, and $U_-$ is a non-strict local maximizer. \item When $v>4n$ the matrix $U_-$ is not a local maximizer. \end{enumerate} \end{theorem} \begin{proof} We use Proposition \ref{pr23}, which gives the eigenvalues of $X=S^tU_\pm$, namely $2\sqrt{n}$ with multiplicity $v-1$, and $\pm(v-2k)$, and so the 1-norms, $||U_\pm||_1=Tr(X)$. (1) This is clear, because for $U_+$ we have $X>0$. This result is from \cite{bnz}. (2,4) For $U_-$ we have $\lambda_1=-(v-2k)$ and $\lambda_2=2\sqrt{n}$, and the results follow from Theorem \ref{th16} and from Proposition \ref{pr22}, which tells us that $\lambda_1+\lambda_2>0$ happens precisely when $v=4n-1$, with $v-2k=1$ in this case, and that $\lambda_1+\lambda_2<0$ happens when $v>4n$. (3) Here $n=m^2$ is a square, by Proposition \ref{pr22}, with $v-2k=2m$, so $k=2m^2-m$, and the entries of $U_+$ are $\pm1/(2m)$. These are the Menon designs, see \cite{cdi}. The simplest example is the design with parameters $(16,6,2)$ whose points are the 16 cells of a $4\times4$ board, the block associated to a cell being formed by the 6 other cells lying on the same row or on the same column. Any 2 such blocks have 2 common cells, and the corresponding Hadamard matrix $2M-\mathbb I$ is regular, with all the row and column sums equal to $-4$. As for $U_-$, here $\lambda_1+\lambda_2=2\sqrt{n}-(v-2k)=0$, and Theorem \ref{th16} applies. \end{proof} In other words, the case $v=4n$ is the one where our construction produces the crystals themselves, namely the regular Hadamard matrices, which were the main characters of \cite{obo}. The Menon design on the board, and its Hadamard matrix, are shown in Figure \ref{fig:menon}. \begin{figure}[H] \centering \begin{tikzpicture}[x=9mm,y=9mm,font=\small] \fill[glowblue!60] (1,0) rectangle ++(1,-1); \fill[glowgold!70] (3,0) rectangle ++(1,-1); \fill[glowblue!60] (0,-1) rectangle ++(1,-1); \fill[glowblue!60] (2,-1) rectangle ++(1,-1); \fill[glowblue!60] (3,-1)--(4,-1)--(3,-2)--cycle; \fill[glowgold!70] (4,-1)--(4,-2)--(3,-2)--cycle; \fill[glowgold!70] (0,-2) rectangle ++(1,-1); \fill[glowblue!60] (1,-2)--(2,-2)--(1,-3)--cycle; \fill[glowgold!70] (2,-2)--(2,-3)--(1,-3)--cycle; \fill[glowgold!70] (2,-2) rectangle ++(1,-1); \fill[glowblue!60] (1,-3) rectangle ++(1,-1); \fill[glowgold!70] (3,-3) rectangle ++(1,-1); \draw[step=1,black!60] (0,-4) grid (4,0); \node at (1.5,-1.5) {$x$}; \node at (3.5,-2.5) {$y$}; \begin{scope}[shift={(7,0.75)},x=3.1mm,y=3.1mm] \fill[glowgold!35] (0,-1) rectangle ++(1,1); \fill[glowblue] (1,-1) rectangle ++(1,1); \fill[glowblue] (2,-1) rectangle ++(1,1); \fill[glowblue] (3,-1) rectangle ++(1,1); \fill[glowblue] (4,-1) rectangle ++(1,1); \fill[glowgold!35] (5,-1) rectangle ++(1,1); \fill[glowgold!35] (6,-1) rectangle ++(1,1); \fill[glowgold!35] (7,-1) rectangle ++(1,1); \fill[glowblue] (8,-1) rectangle ++(1,1); \fill[glowgold!35] (9,-1) rectangle ++(1,1); \fill[glowgold!35] (10,-1) rectangle ++(1,1); \fill[glowgold!35] (11,-1) rectangle ++(1,1); \fill[glowblue] (12,-1) rectangle ++(1,1); \fill[glowgold!35] (13,-1) rectangle ++(1,1); \fill[glowgold!35] (14,-1) rectangle ++(1,1); \fill[glowgold!35] (15,-1) rectangle ++(1,1); \fill[glowblue] (0,-2) rectangle ++(1,1); \fill[glowgold!35] (1,-2) rectangle ++(1,1); \fill[glowblue] (2,-2) rectangle ++(1,1); \fill[glowblue] (3,-2) rectangle ++(1,1); \fill[glowgold!35] (4,-2) rectangle ++(1,1); \fill[glowblue] (5,-2) rectangle ++(1,1); \fill[glowgold!35] (6,-2) rectangle ++(1,1); \fill[glowgold!35] (7,-2) rectangle ++(1,1); \fill[glowgold!35] (8,-2) rectangle ++(1,1); \fill[glowblue] (9,-2) rectangle ++(1,1); \fill[glowgold!35] (10,-2) rectangle ++(1,1); \fill[glowgold!35] (11,-2) rectangle ++(1,1); \fill[glowgold!35] (12,-2) rectangle ++(1,1); \fill[glowblue] (13,-2) rectangle ++(1,1); \fill[glowgold!35] (14,-2) rectangle ++(1,1); \fill[glowgold!35] (15,-2) rectangle ++(1,1); \fill[glowblue] (0,-3) rectangle ++(1,1); \fill[glowblue] (1,-3) rectangle ++(1,1); \fill[glowgold!35] (2,-3) rectangle ++(1,1); \fill[glowblue] (3,-3) rectangle ++(1,1); \fill[glowgold!35] (4,-3) rectangle ++(1,1); \fill[glowgold!35] (5,-3) rectangle ++(1,1); \fill[glowblue] (6,-3) rectangle ++(1,1); \fill[glowgold!35] (7,-3) rectangle ++(1,1); \fill[glowgold!35] (8,-3) rectangle ++(1,1); \fill[glowgold!35] (9,-3) rectangle ++(1,1); \fill[glowblue] (10,-3) rectangle ++(1,1); \fill[glowgold!35] (11,-3) rectangle ++(1,1); \fill[glowgold!35] (12,-3) rectangle ++(1,1); \fill[glowgold!35] (13,-3) rectangle ++(1,1); \fill[glowblue] (14,-3) rectangle ++(1,1); \fill[glowgold!35] (15,-3) rectangle ++(1,1); \fill[glowblue] (0,-4) rectangle ++(1,1); \fill[glowblue] (1,-4) rectangle ++(1,1); \fill[glowblue] (2,-4) rectangle ++(1,1); \fill[glowgold!35] (3,-4) rectangle ++(1,1); \fill[glowgold!35] (4,-4) rectangle ++(1,1); \fill[glowgold!35] (5,-4) rectangle ++(1,1); \fill[glowgold!35] (6,-4) rectangle ++(1,1); \fill[glowblue] (7,-4) rectangle ++(1,1); \fill[glowgold!35] (8,-4) rectangle ++(1,1); \fill[glowgold!35] (9,-4) rectangle ++(1,1); \fill[glowgold!35] (10,-4) rectangle ++(1,1); \fill[glowblue] (11,-4) rectangle ++(1,1); \fill[glowgold!35] (12,-4) rectangle ++(1,1); \fill[glowgold!35] (13,-4) rectangle ++(1,1); \fill[glowgold!35] (14,-4) rectangle ++(1,1); \fill[glowblue] (15,-4) rectangle ++(1,1); \fill[glowblue] (0,-5) rectangle ++(1,1); \fill[glowgold!35] (1,-5) rectangle ++(1,1); \fill[glowgold!35] (2,-5) rectangle ++(1,1); \fill[glowgold!35] (3,-5) rectangle ++(1,1); \fill[glowgold!35] (4,-5) rectangle ++(1,1); \fill[glowblue] (5,-5) rectangle ++(1,1); \fill[glowblue] (6,-5) rectangle ++(1,1); \fill[glowblue] (7,-5) rectangle ++(1,1); \fill[glowblue] (8,-5) rectangle ++(1,1); \fill[glowgold!35] (9,-5) rectangle ++(1,1); \fill[glowgold!35] (10,-5) rectangle ++(1,1); \fill[glowgold!35] (11,-5) rectangle ++(1,1); \fill[glowblue] (12,-5) rectangle ++(1,1); \fill[glowgold!35] (13,-5) rectangle ++(1,1); \fill[glowgold!35] (14,-5) rectangle ++(1,1); \fill[glowgold!35] (15,-5) rectangle ++(1,1); \fill[glowgold!35] (0,-6) rectangle ++(1,1); \fill[glowblue] (1,-6) rectangle ++(1,1); \fill[glowgold!35] (2,-6) rectangle ++(1,1); \fill[glowgold!35] (3,-6) rectangle ++(1,1); \fill[glowblue] (4,-6) rectangle ++(1,1); \fill[glowgold!35] (5,-6) rectangle ++(1,1); \fill[glowblue] (6,-6) rectangle ++(1,1); \fill[glowblue] (7,-6) rectangle ++(1,1); \fill[glowgold!35] (8,-6) rectangle ++(1,1); \fill[glowblue] (9,-6) rectangle ++(1,1); \fill[glowgold!35] (10,-6) rectangle ++(1,1); \fill[glowgold!35] (11,-6) rectangle ++(1,1); \fill[glowgold!35] (12,-6) rectangle ++(1,1); \fill[glowblue] (13,-6) rectangle ++(1,1); \fill[glowgold!35] (14,-6) rectangle ++(1,1); \fill[glowgold!35] (15,-6) rectangle ++(1,1); \fill[glowgold!35] (0,-7) rectangle ++(1,1); \fill[glowgold!35] (1,-7) rectangle ++(1,1); \fill[glowblue] (2,-7) rectangle ++(1,1); \fill[glowgold!35] (3,-7) rectangle ++(1,1); \fill[glowblue] (4,-7) rectangle ++(1,1); \fill[glowblue] (5,-7) rectangle ++(1,1); \fill[glowgold!35] (6,-7) rectangle ++(1,1); \fill[glowblue] (7,-7) rectangle ++(1,1); \fill[glowgold!35] (8,-7) rectangle ++(1,1); \fill[glowgold!35] (9,-7) rectangle ++(1,1); \fill[glowblue] (10,-7) rectangle ++(1,1); \fill[glowgold!35] (11,-7) rectangle ++(1,1); \fill[glowgold!35] (12,-7) rectangle ++(1,1); \fill[glowgold!35] (13,-7) rectangle ++(1,1); \fill[glowblue] (14,-7) rectangle ++(1,1); \fill[glowgold!35] (15,-7) rectangle ++(1,1); \fill[glowgold!35] (0,-8) rectangle ++(1,1); \fill[glowgold!35] (1,-8) rectangle ++(1,1); \fill[glowgold!35] (2,-8) rectangle ++(1,1); \fill[glowblue] (3,-8) rectangle ++(1,1); \fill[glowblue] (4,-8) rectangle ++(1,1); \fill[glowblue] (5,-8) rectangle ++(1,1); \fill[glowblue] (6,-8) rectangle ++(1,1); \fill[glowgold!35] (7,-8) rectangle ++(1,1); \fill[glowgold!35] (8,-8) rectangle ++(1,1); \fill[glowgold!35] (9,-8) rectangle ++(1,1); \fill[glowgold!35] (10,-8) rectangle ++(1,1); \fill[glowblue] (11,-8) rectangle ++(1,1); \fill[glowgold!35] (12,-8) rectangle ++(1,1); \fill[glowgold!35] (13,-8) rectangle ++(1,1); \fill[glowgold!35] (14,-8) rectangle ++(1,1); \fill[glowblue] (15,-8) rectangle ++(1,1); \fill[glowblue] (0,-9) rectangle ++(1,1); \fill[glowgold!35] (1,-9) rectangle ++(1,1); \fill[glowgold!35] (2,-9) rectangle ++(1,1); \fill[glowgold!35] (3,-9) rectangle ++(1,1); \fill[glowblue] (4,-9) rectangle ++(1,1); \fill[glowgold!35] (5,-9) rectangle ++(1,1); \fill[glowgold!35] (6,-9) rectangle ++(1,1); \fill[glowgold!35] (7,-9) rectangle ++(1,1); \fill[glowgold!35] (8,-9) rectangle ++(1,1); \fill[glowblue] (9,-9) rectangle ++(1,1); \fill[glowblue] (10,-9) rectangle ++(1,1); \fill[glowblue] (11,-9) rectangle ++(1,1); \fill[glowblue] (12,-9) rectangle ++(1,1); \fill[glowgold!35] (13,-9) rectangle ++(1,1); \fill[glowgold!35] (14,-9) rectangle ++(1,1); \fill[glowgold!35] (15,-9) rectangle ++(1,1); \fill[glowgold!35] (0,-10) rectangle ++(1,1); \fill[glowblue] (1,-10) rectangle ++(1,1); \fill[glowgold!35] (2,-10) rectangle ++(1,1); \fill[glowgold!35] (3,-10) rectangle ++(1,1); \fill[glowgold!35] (4,-10) rectangle ++(1,1); \fill[glowblue] (5,-10) rectangle ++(1,1); \fill[glowgold!35] (6,-10) rectangle ++(1,1); \fill[glowgold!35] (7,-10) rectangle ++(1,1); \fill[glowblue] (8,-10) rectangle ++(1,1); \fill[glowgold!35] (9,-10) rectangle ++(1,1); \fill[glowblue] (10,-10) rectangle ++(1,1); \fill[glowblue] (11,-10) rectangle ++(1,1); \fill[glowgold!35] (12,-10) rectangle ++(1,1); \fill[glowblue] (13,-10) rectangle ++(1,1); \fill[glowgold!35] (14,-10) rectangle ++(1,1); \fill[glowgold!35] (15,-10) rectangle ++(1,1); \fill[glowgold!35] (0,-11) rectangle ++(1,1); \fill[glowgold!35] (1,-11) rectangle ++(1,1); \fill[glowblue] (2,-11) rectangle ++(1,1); \fill[glowgold!35] (3,-11) rectangle ++(1,1); \fill[glowgold!35] (4,-11) rectangle ++(1,1); \fill[glowgold!35] (5,-11) rectangle ++(1,1); \fill[glowblue] (6,-11) rectangle ++(1,1); \fill[glowgold!35] (7,-11) rectangle ++(1,1); \fill[glowblue] (8,-11) rectangle ++(1,1); \fill[glowblue] (9,-11) rectangle ++(1,1); \fill[glowgold!35] (10,-11) rectangle ++(1,1); \fill[glowblue] (11,-11) rectangle ++(1,1); \fill[glowgold!35] (12,-11) rectangle ++(1,1); \fill[glowgold!35] (13,-11) rectangle ++(1,1); \fill[glowblue] (14,-11) rectangle ++(1,1); \fill[glowgold!35] (15,-11) rectangle ++(1,1); \fill[glowgold!35] (0,-12) rectangle ++(1,1); \fill[glowgold!35] (1,-12) rectangle ++(1,1); \fill[glowgold!35] (2,-12) rectangle ++(1,1); \fill[glowblue] (3,-12) rectangle ++(1,1); \fill[glowgold!35] (4,-12) rectangle ++(1,1); \fill[glowgold!35] (5,-12) rectangle ++(1,1); \fill[glowgold!35] (6,-12) rectangle ++(1,1); \fill[glowblue] (7,-12) rectangle ++(1,1); \fill[glowblue] (8,-12) rectangle ++(1,1); \fill[glowblue] (9,-12) rectangle ++(1,1); \fill[glowblue] (10,-12) rectangle ++(1,1); \fill[glowgold!35] (11,-12) rectangle ++(1,1); \fill[glowgold!35] (12,-12) rectangle ++(1,1); \fill[glowgold!35] (13,-12) rectangle ++(1,1); \fill[glowgold!35] (14,-12) rectangle ++(1,1); \fill[glowblue] (15,-12) rectangle ++(1,1); \fill[glowblue] (0,-13) rectangle ++(1,1); \fill[glowgold!35] (1,-13) rectangle ++(1,1); \fill[glowgold!35] (2,-13) rectangle ++(1,1); \fill[glowgold!35] (3,-13) rectangle ++(1,1); \fill[glowblue] (4,-13) rectangle ++(1,1); \fill[glowgold!35] (5,-13) rectangle ++(1,1); \fill[glowgold!35] (6,-13) rectangle ++(1,1); \fill[glowgold!35] (7,-13) rectangle ++(1,1); \fill[glowblue] (8,-13) rectangle ++(1,1); \fill[glowgold!35] (9,-13) rectangle ++(1,1); \fill[glowgold!35] (10,-13) rectangle ++(1,1); \fill[glowgold!35] (11,-13) rectangle ++(1,1); \fill[glowgold!35] (12,-13) rectangle ++(1,1); \fill[glowblue] (13,-13) rectangle ++(1,1); \fill[glowblue] (14,-13) rectangle ++(1,1); \fill[glowblue] (15,-13) rectangle ++(1,1); \fill[glowgold!35] (0,-14) rectangle ++(1,1); \fill[glowblue] (1,-14) rectangle ++(1,1); \fill[glowgold!35] (2,-14) rectangle ++(1,1); \fill[glowgold!35] (3,-14) rectangle ++(1,1); \fill[glowgold!35] (4,-14) rectangle ++(1,1); \fill[glowblue] (5,-14) rectangle ++(1,1); \fill[glowgold!35] (6,-14) rectangle ++(1,1); \fill[glowgold!35] (7,-14) rectangle ++(1,1); \fill[glowgold!35] (8,-14) rectangle ++(1,1); \fill[glowblue] (9,-14) rectangle ++(1,1); \fill[glowgold!35] (10,-14) rectangle ++(1,1); \fill[glowgold!35] (11,-14) rectangle ++(1,1); \fill[glowblue] (12,-14) rectangle ++(1,1); \fill[glowgold!35] (13,-14) rectangle ++(1,1); \fill[glowblue] (14,-14) rectangle ++(1,1); \fill[glowblue] (15,-14) rectangle ++(1,1); \fill[glowgold!35] (0,-15) rectangle ++(1,1); \fill[glowgold!35] (1,-15) rectangle ++(1,1); \fill[glowblue] (2,-15) rectangle ++(1,1); \fill[glowgold!35] (3,-15) rectangle ++(1,1); \fill[glowgold!35] (4,-15) rectangle ++(1,1); \fill[glowgold!35] (5,-15) rectangle ++(1,1); \fill[glowblue] (6,-15) rectangle ++(1,1); \fill[glowgold!35] (7,-15) rectangle ++(1,1); \fill[glowgold!35] (8,-15) rectangle ++(1,1); \fill[glowgold!35] (9,-15) rectangle ++(1,1); \fill[glowblue] (10,-15) rectangle ++(1,1); \fill[glowgold!35] (11,-15) rectangle ++(1,1); \fill[glowblue] (12,-15) rectangle ++(1,1); \fill[glowblue] (13,-15) rectangle ++(1,1); \fill[glowgold!35] (14,-15) rectangle ++(1,1); \fill[glowblue] (15,-15) rectangle ++(1,1); \fill[glowgold!35] (0,-16) rectangle ++(1,1); \fill[glowgold!35] (1,-16) rectangle ++(1,1); \fill[glowgold!35] (2,-16) rectangle ++(1,1); \fill[glowblue] (3,-16) rectangle ++(1,1); \fill[glowgold!35] (4,-16) rectangle ++(1,1); \fill[glowgold!35] (5,-16) rectangle ++(1,1); \fill[glowgold!35] (6,-16) rectangle ++(1,1); \fill[glowblue] (7,-16) rectangle ++(1,1); \fill[glowgold!35] (8,-16) rectangle ++(1,1); \fill[glowgold!35] (9,-16) rectangle ++(1,1); \fill[glowgold!35] (10,-16) rectangle ++(1,1); \fill[glowblue] (11,-16) rectangle ++(1,1); \fill[glowblue] (12,-16) rectangle ++(1,1); \fill[glowblue] (13,-16) rectangle ++(1,1); \fill[glowblue] (14,-16) rectangle ++(1,1); \fill[glowgold!35] (15,-16) rectangle ++(1,1); \draw[step=1,black!30,very thin] (0,-16) grid (16,0); \end{scope} \end{tikzpicture} \caption{The Menon design on the $4\times4$ board, also known as the Kummer configuration: the blocks of the cells $x$ and $y$, in blue and in gold, have $2$ common cells. On the right, the corresponding Hadamard matrix of order $16$, with the entries $1$ in blue, and the entries $-1$ in light gold.}\label{fig:menon} \end{figure} The above design on the board is a famous object: this is the Kummer configuration, formed by the 16 nodes of a Kummer quartic surface and by the 16 planes which touch this surface along conics, each plane containing 6 nodes, and any 2 nodes lying on exactly 2 planes \cite{hud}. There is some physics here, because the wave surface of Fresnel, which describes the propagation of light in a biaxial crystal, is a Kummer surface. It has 4 real nodes, found by Hamilton, where the 2 sheets of the surface meet, and which are responsible for the conical refraction, and 12 complex ones, see \cite{dol}. Figure \ref{fig:kummer} shows a principal section of the wave surface, together with a second portrait of our design: in the Clebsch graph, which has 16 vertices, each of them having 5 neighbors, the blocks are the vertices taken with their neighbors, and \texttt{portraits.py} checks that the design obtained in this way is isomorphic to the one on the board. The Clebsch graph is an instance of a general construction, which is worth recording. Recall that a graph with $v$ vertices is called strongly regular, with parameters $(v,k,\lambda,\mu)$, when each vertex has $k$ neighbors, 2 adjacent vertices have $\lambda$ common neighbors, and 2 distinct non-adjacent vertices have $\mu$ common neighbors. Basic examples include the pentagon, the Petersen graph, the Clebsch graph, with parameters $(16,5,0,2)$, and the Paley graphs, with parameters $(q,(q-1)/2,(q-5)/4,(q-1)/4)$, that we will meet in Section \ref{sec:bounds}. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \draw[->,black!45] (-2.1,0)--(2.2,0); \draw[->,black!45] (0,-2.1)--(0,2.2); \draw[black!45,densely dashed] (-1.155,-1.489)--(1.155,1.489); \draw[black!45,densely dashed] (1.155,-1.489)--(-1.155,1.489); \draw[glowblue,line width=1.1pt] (0,0) circle[radius=1.30]; \draw[glowblue,line width=1.1pt] (0,0) ellipse[x radius=1.00,y radius=1.70]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.797,1.027) circle[radius=.09]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.797,-1.027) circle[radius=.09]; \filldraw[draw=glowgold!75!black,fill=glowgold] (-0.797,1.027) circle[radius=.09]; \filldraw[draw=glowgold!75!black,fill=glowgold] (-0.797,-1.027) circle[radius=.09]; \node at (0,-2.5) {wave surface, with its 4 real nodes}; \draw[glowblue!70,line width=.6pt] (7.000,-1.633)--(5.845,-1.155); \draw[glowblue!70,line width=.6pt] (7.000,-1.633)--(6.522,-0.478); \draw[glowblue!70,line width=.6pt] (7.000,-1.633)--(7.478,-0.478); \draw[glowblue!70,line width=.6pt] (7.000,-1.633)--(8.155,-1.155); \draw[glowgold,line width=.8pt] (7.000,-1.633)--(7.000,1.633); \draw[glowblue!70,line width=.6pt] (5.845,-1.155)--(5.367,0.000); \draw[glowblue!70,line width=.6pt] (5.845,-1.155)--(6.324,0.000); \draw[glowblue!70,line width=.6pt] (5.845,-1.155)--(7.000,-0.676); \draw[glowgold,line width=.8pt] (5.845,-1.155)--(8.155,1.155); \draw[glowblue!70,line width=.6pt] (6.522,-0.478)--(5.367,0.000); \draw[glowblue!70,line width=.6pt] (6.522,-0.478)--(7.000,0.676); \draw[glowblue!70,line width=.6pt] (6.522,-0.478)--(7.676,-0.000); \draw[glowgold,line width=.8pt] (6.522,-0.478)--(7.478,0.478); \draw[glowblue!70,line width=.6pt] (5.367,0.000)--(5.845,1.155); \draw[glowblue!70,line width=.6pt] (5.367,0.000)--(6.522,0.478); \draw[glowgold,line width=.8pt] (5.367,0.000)--(8.633,-0.000); \draw[glowblue!70,line width=.6pt] (7.478,-0.478)--(6.324,0.000); \draw[glowblue!70,line width=.6pt] (7.478,-0.478)--(7.000,0.676); \draw[glowgold,line width=.8pt] (7.478,-0.478)--(6.522,0.478); \draw[glowblue!70,line width=.6pt] (7.478,-0.478)--(8.633,-0.000); \draw[glowblue!70,line width=.6pt] (6.324,0.000)--(5.845,1.155); \draw[glowgold,line width=.8pt] (6.324,0.000)--(7.676,-0.000); \draw[glowblue!70,line width=.6pt] (6.324,0.000)--(7.478,0.478); \draw[glowblue!70,line width=.6pt] (7.000,0.676)--(5.845,1.155); \draw[glowgold,line width=.8pt] (7.000,0.676)--(7.000,-0.676); \draw[glowblue!70,line width=.6pt] (7.000,0.676)--(8.155,1.155); \draw[glowgold,line width=.8pt] (5.845,1.155)--(8.155,-1.155); \draw[glowblue!70,line width=.6pt] (5.845,1.155)--(7.000,1.633); \draw[glowblue!70,line width=.6pt] (8.155,-1.155)--(7.000,-0.676); \draw[glowblue!70,line width=.6pt] (8.155,-1.155)--(7.676,-0.000); \draw[glowblue!70,line width=.6pt] (8.155,-1.155)--(8.633,-0.000); \draw[glowblue!70,line width=.6pt] (7.000,-0.676)--(6.522,0.478); \draw[glowblue!70,line width=.6pt] (7.000,-0.676)--(7.478,0.478); \draw[glowblue!70,line width=.6pt] (7.676,-0.000)--(6.522,0.478); \draw[glowblue!70,line width=.6pt] (7.676,-0.000)--(8.155,1.155); \draw[glowblue!70,line width=.6pt] (6.522,0.478)--(7.000,1.633); \draw[glowblue!70,line width=.6pt] (8.633,-0.000)--(7.478,0.478); \draw[glowblue!70,line width=.6pt] (8.633,-0.000)--(8.155,1.155); \draw[glowblue!70,line width=.6pt] (7.478,0.478)--(7.000,1.633); \draw[glowblue!70,line width=.6pt] (8.155,1.155)--(7.000,1.633); \filldraw[draw=black,fill=black,line width=.6pt] (7.000,-1.633) circle[radius=.085]; \filldraw[draw=black,fill=glowgold,line width=.6pt] (5.845,-1.155) circle[radius=.085]; \filldraw[draw=black,fill=glowgold,line width=.6pt] (6.522,-0.478) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (5.367,0.000) circle[radius=.085]; \filldraw[draw=black,fill=glowgold,line width=.6pt] (7.478,-0.478) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (6.324,0.000) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (7.000,0.676) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (5.845,1.155) circle[radius=.085]; \filldraw[draw=black,fill=glowgold,line width=.6pt] (8.155,-1.155) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (7.000,-0.676) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (7.676,-0.000) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (6.522,0.478) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (8.633,-0.000) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (7.478,0.478) circle[radius=.085]; \filldraw[draw=black,fill=white,line width=.6pt] (8.155,1.155) circle[radius=.085]; \filldraw[draw=black,fill=glowgold,line width=.6pt] (7.000,1.633) circle[radius=.085]; \node at (7,-2.5) {Clebsch graph, with a block}; \end{tikzpicture} \caption{On the left, the section of the wave surface of Fresnel by a principal plane, which is the union of a circle and of an ellipse, meeting at $4$ of the $16$ nodes of the surface. On the right, the Clebsch graph, drawn on the $16$ vertices of a hypercube, with the edges of the hypercube in blue and its $8$ diagonals in gold: a vertex, in black, and its $5$ neighbors, in gold, form a block of the Kummer configuration.}\label{fig:kummer} \end{figure} In terms of the adjacency matrix $A$, the strong regularity condition reads $A^2=k+\lambda A+\mu(\mathbb I-1-A)$, and for certain values of $\lambda-\mu$ such graphs produce designs, as follows: \begin{proposition}\label{pr3s} Let $A$ be the adjacency matrix of a strongly regular graph, with parameters $(v,k,\lambda,\mu)$. \begin{enumerate} \item When $\lambda=\mu$, the neighborhoods of the vertices form a symmetric $(v,k,\lambda)$ design, with $M=A$. \item When $\lambda=\mu-2$, the vertices taken with their neighbors form a symmetric $(v,k+1,\mu)$ design, with incidence matrix $M=A+1$. \end{enumerate} In both cases $M$ is symmetric, and so are the corresponding matrices $U_\pm$. \end{proposition} \begin{proof} When $\lambda=\mu$ the above formula gives $A^2=k-\lambda+\lambda\mathbb I$, and when $\lambda=\mu-2$ this gives $(A+1)^2=k+1-\mu+\mu\mathbb I$, as desired. \end{proof} On 16 vertices we have the following examples, verified by \texttt{detours.py}. First we have the graph of the moves of a rook on the $4\times4$ board, with parameters $(16,6,2,2)$, whose design is by definition the one on the board. Then we have the Shrikhande graph, which has the same parameters. Finally, we have the Clebsch graph, with parameters $(16,5,0,2)$, to which (2) applies, and whose complement, with parameters $(16,10,6,6)$, produces the complementary design. The 3 designs with $k=6$ are isomorphic, and the symmetric matrix $2M-\mathbb I$ coming from the rook graph is a Hadamard matrix with $-1$ on the diagonal, equivalent to the Walsh matrix of order 16, its rows forming a group under the entrywise product, after normalization. As a first comment, for the Hadamard designs both the quantities $||U_\pm||_1/v^{3/2}$ converge to 1 with $n\to\infty$. For the projective planes we have $||U_+||_1=q^2-q-1+2q(q+1)\sqrt{q}$, as in \cite{bnz}, and so $||U_+||_1/v^{3/2}\simeq2/\sqrt{q}$, the best plane being the one of order 3. Observe also that the matrix $U_-$ of the Fano plane provides us with an explicit counterexample to the necessity of the condition $X>0$, which can be verified by hand: we have here $X=2\sqrt{2}(1-P)-P$, and for any antisymmetric matrix $A$ we have $Tr(XA^2)=-2\sqrt{2}\,||A||_2^2+(2\sqrt{2}+1)||A\xi||^2/7$, which is negative for $A\neq0$, because $||A||_2^2\geq2||A\xi||^2/7$. Figure \ref{fig:soft}, computed by \texttt{pictures.py}, shows what happens along the softest rotation, in the plane of the 2 eigenvectors of $X$ having the smallest eigenvalues, where the second derivative of the 1-norm is $-(\lambda_1+\lambda_2)$, by Proposition \ref{pr13}. For the matrices $U_-$ we have $\lambda_1=-(v-2k)$, with eigenvector $\xi$, and the other eigenvalues are all equal to $2\sqrt{n}$, so any rotation mixing $\xi$ with a vector orthogonal to it is a softest one, and $\lambda_1+\lambda_2=2\sqrt{n}-(v-2k)$ equals $2\sqrt{2}-1$, $2\sqrt{3}-1$ and $2\sqrt{3}-5$ for the 3 designs in the figure. \begin{figure}[H] \centering \begin{tikzpicture}[x=45mm,y=22mm,font=\small] \draw[->,black!70] (-1.1,0)--(1.2,0) node[right,text=black] {$t$}; \draw[->,black!70] (0,-1.4)--(0,1.05); \foreach \x/\l in {-1/-0.1,1/0.1} \draw (\x,0)--++(0,-.04) node[below] {$\l$}; \foreach \y/\l in {-1/-0.01,.5/0.005} \draw (0,\y)--++(-.02,0) node[left] {$\l$}; \draw[glowblue,line width=1.1pt] plot coordinates {(-1.0000,-0.9130) (-0.9000,-0.7400) (-0.8000,-0.5850) (-0.7000,-0.4480) (-0.6000,-0.3290) (-0.5000,-0.2290) (-0.4000,-0.1460) (-0.3000,-0.0820) (-0.2000,-0.0370) (-0.1000,-0.0090) (0.0000,0.0000) (0.1000,-0.0090) (0.2000,-0.0370) (0.3000,-0.0820) (0.4000,-0.1460) (0.5000,-0.2290) (0.6000,-0.3290) (0.7000,-0.4480) (0.8000,-0.5850) (0.9000,-0.7400) (1.0000,-0.9130)}; \draw[glowblue,line width=1.1pt,densely dashed] plot coordinates {(-1.0000,-1.2310) (-0.9000,-0.9970) (-0.8000,-0.7880) (-0.7000,-0.6030) (-0.6000,-0.4430) (-0.5000,-0.3080) (-0.4000,-0.1970) (-0.3000,-0.1110) (-0.2000,-0.0490) (-0.1000,-0.0120) (0.0000,0.0000) (0.1000,-0.0120) (0.2000,-0.0490) (0.3000,-0.1110) (0.4000,-0.1970) (0.5000,-0.3080) (0.6000,-0.4430) (0.7000,-0.6030) (0.8000,-0.7880) (0.9000,-0.9970) (1.0000,-1.2310)}; \draw[glowgold,line width=1.1pt] plot coordinates {(-1.0000,0.7670) (-0.9000,0.6220) (-0.8000,0.4910) (-0.7000,0.3760) (-0.6000,0.2760) (-0.5000,0.1920) (-0.4000,0.1230) (-0.3000,0.0690) (-0.2000,0.0310) (-0.1000,0.0080) (0.0000,0.0000) (0.1000,0.0080) (0.2000,0.0310) (0.3000,0.0690) (0.4000,0.1230) (0.5000,0.1920) (0.6000,0.2760) (0.7000,0.3760) (0.8000,0.4910) (0.9000,0.6220) (1.0000,0.7670)}; \node[text=glowblue] at (.62,-.2) {$(7,3,1)$}; \node[text=glowblue] at (.55,-.85) {$(11,5,2)$}; \node[text=glowgold!85!black] at (.6,.55) {$(13,4,1)$}; \end{tikzpicture} \caption{The variation of the $1$-norm of $U_-e^{tA}$, with $A$ being the generator of the softest rotation: the twisted matrices of the Fano plane and of the Paley biplane are local maximizers, while the one of the projective plane of order $3$ is a saddle.}\label{fig:soft} \end{figure} Observe also that, unlike the plain maximizers, the twisted ones are not stable under tensor products. For the plain ones the stability is known from \cite{bnz}, the matrix $X$ of a tensor product being the tensor product of the matrices $X$ of the factors. But for the matrix $U_-$ of the Fano plane, tensored with the rescaled Hadamard matrix of order 2, we obtain in this way $X=(2\sqrt{2}(1-P)-P)\otimes\sqrt{2}$, whose smallest eigenvalue $-\sqrt{2}$ has multiplicity 2. Thus this orthogonal matrix of order 14 is a critical point of the 1-norm, which is not a local maximizer, as verified by \texttt{detours.py}. \section{Frozen matrices, Ising spin arrays}\label{sec:arrays} We discuss now the first model from the Introduction, where the orthogonal matrix is frozen, and plays the role of a coupling matrix. The definition is as follows, in analogy with \cite{obo}, where the matrix was a rescaled Hadamard one: \begin{definition}\label{df31} The Ising array of a matrix $U\in O_N$ is the system having $2N$ spins, $a_1,\ldots,a_N$ and $b_1,\ldots,b_N$, each of them being $\pm1$, with energy $-\Omega$, where: $$\Omega(a,b)==\sum_{ij}U_{ij}a_ib_j$$ The law of $\Omega$, with $a,b$ being uniform and independent, is called the glow of $U$. \end{definition} In the picture of \cite{obo} the spins $a_i$ live on $N$ row wires and the spins $b_j$ on $N$ column wires, and they interact at the crossings, with couplings $U_{ij}$. In terms of the pairing from the Introduction we have $\Omega=\Phi(U,S)$, where $S=(a_ib_j)$ is a sign matrix of rank 1. \medskip When $U$ is not a rescaled Hadamard matrix, the junctions at the crossings are no longer of equal strength. For the design matrices $U_\pm$ there are 2 kinds of junctions: ferromagnetic ones, having positive couplings, at the crossings $ij$ with the $j$-th point lying on the $i$-th block, and antiferromagnetic ones, having negative couplings, at the other crossings. Figure \ref{fig:array} shows the Fano array. For $U_+$ there are 21 ferromagnetic junctions of strength $0.261$ and 28 antiferromagnetic junctions of strength $0.446$, so the array is mainly an antiferromagnet. For $U_-$ the strengths are $0.547$ and $0.160$, and the array is mainly a ferromagnet. Both magnets are frustrated: as we will see in Section \ref{sec:crystals}, in the ground states the 2 layers are aligned, against each other for $U_+$ and with each other for $U_-$, and this satisfies all the junctions of the dominant kind, and violates all the other ones. In the language of the Josephson arrays from \cite{cis}, \cite{cot}, such a system would be an array having both usual junctions and $\pi$-junctions. \begin{figure}[H] \centering \begin{tikzpicture}[x=8.5mm,y=8.5mm,font=\small] \foreach \k in {0,...,6}{ \draw[black!55,line width=2.2pt] (\k,-.6)--(\k,6.6); \node[below] at (\k,-.65) {$b_\k$};} \foreach \j in {0,...,6}{ \draw[white,line width=4pt] (-.6,6-\j)--(6.6,6-\j); \draw[black!55,line width=2.2pt] (-.6,6-\j)--(6.6,6-\j); \node[left] at (-.65,6-\j) {$a_\j$};} \filldraw[draw=black,fill=glowgold,line width=.4pt] (-0.17,5.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (0.83,5.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (1.83,5.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (2.83,5.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (3.83,5.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (4.83,5.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (5.83,5.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (-0.17,4.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (0.83,4.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (1.83,4.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (2.83,4.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (3.83,4.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (4.83,4.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (5.83,4.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (-0.17,3.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (0.83,3.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (1.83,3.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (2.83,3.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (3.83,3.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (4.83,3.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (5.83,3.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (-0.17,2.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (0.83,2.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (1.83,2.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (2.83,2.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (3.83,2.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (4.83,2.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (5.83,2.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (-0.17,1.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (0.83,1.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (1.83,1.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (2.83,1.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (3.83,1.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (4.83,1.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (5.83,1.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (-0.17,0.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (0.83,0.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (1.83,0.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (2.83,0.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (3.83,0.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (4.83,0.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (5.83,0.83) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (-0.17,-0.17) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (0.83,-0.17) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (1.83,-0.17) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue,line width=.4pt] (2.83,-0.17) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (3.83,-0.17) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (4.83,-0.17) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowgold,line width=.4pt] (5.83,-0.17) rectangle ++(.34,.34); \filldraw[draw=black,fill=glowblue] (8,4.3) rectangle ++(.3,.3); \node[right] at (8.45,4.45) {on a line: $0.261$ for $U_+$, and $0.547$ for $U_-$}; \filldraw[draw=black,fill=glowgold] (8,3.3) rectangle ++(.3,.3); \node[right] at (8.45,3.45) {off the lines: $-0.446$ for $U_+$, and $-0.160$ for $U_-$}; \node[right] at (7.9,2.2) {crystal of $U_+$: $a=-b=\pm\xi$}; \node[right] at (7.9,1.5) {crystal of $U_-$: $a=b=\pm\xi$}; \end{tikzpicture} \caption{The Fano array: $7$ row wires, one for each line, and $7$ column wires, one for each point, with a ferromagnetic junction when the point is on the line, in blue, and an antiferromagnetic one otherwise, in gold. The same wiring carries $2$ magnets, with the strengths of $U_+$ or of $U_-$.}\label{fig:array} \end{figure} The wiring of the ferromagnetic junctions of the Fano array is a famous graph too. This is the Heawood graph, which has 14 vertices, namely the 7 points and the 7 lines, and 21 edges, one for each point lying on a line, and which contains no cycle of length less than 6. Heawood found it while studying the coloring of maps \cite{hea}: the graph can be drawn on a torus, where it bounds 7 hexagonal countries, each of them touching the 6 other ones, so that 7 colors can be needed for coloring a map on a torus. Figure \ref{fig:heawood} shows both pictures, the checks being done by \texttt{portraits.py}. As for the antiferromagnetic junctions, these form the complementary wiring, each point being connected to the 4 lines which do not contain it. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \draw[glowblue,line width=.9pt] (0.000,1.900)--(0.824,1.712); \draw[glowblue,line width=.9pt] (0.824,1.712)--(1.485,1.185); \draw[glowblue,line width=.9pt] (1.485,1.185)--(1.852,0.423); \draw[glowblue,line width=.9pt] (1.852,0.423)--(1.852,-0.423); \draw[glowblue,line width=.9pt] (1.852,-0.423)--(1.485,-1.185); \draw[glowblue,line width=.9pt] (1.485,-1.185)--(0.824,-1.712); \draw[glowblue,line width=.9pt] (0.824,-1.712)--(0.000,-1.900); \draw[glowblue,line width=.9pt] (0.000,-1.900)--(-0.824,-1.712); \draw[glowblue,line width=.9pt] (-0.824,-1.712)--(-1.485,-1.185); \draw[glowblue,line width=.9pt] (-1.485,-1.185)--(-1.852,-0.423); \draw[glowblue,line width=.9pt] (-1.852,-0.423)--(-1.852,0.423); \draw[glowblue,line width=.9pt] (-1.852,0.423)--(-1.485,1.185); \draw[glowblue,line width=.9pt] (-1.485,1.185)--(-0.824,1.712); \draw[glowblue,line width=.9pt] (-0.824,1.712)--(0.000,1.900); \draw[glowblue,line width=.9pt] (0.000,1.900)--(-1.485,-1.185); \draw[glowblue,line width=.9pt] (1.485,1.185)--(-1.852,0.423); \draw[glowblue,line width=.9pt] (1.852,-0.423)--(-0.824,1.712); \draw[glowblue,line width=.9pt] (0.824,-1.712)--(0.824,1.712); \draw[glowblue,line width=.9pt] (-0.824,-1.712)--(1.852,0.423); \draw[glowblue,line width=.9pt] (-1.852,-0.423)--(1.485,-1.185); \draw[glowblue,line width=.9pt] (-1.485,1.185)--(0.000,-1.900); \filldraw[draw=glowblue,fill=white,line width=.9pt] (0.000,1.900) circle[radius=.1]; \node at (0.000,2.250) {$0$}; \filldraw[draw=glowblue,fill=glowblue,line width=.9pt] (0.824,1.712) circle[radius=.1]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (1.485,1.185) circle[radius=.1]; \node at (1.759,1.403) {$1$}; \filldraw[draw=glowblue,fill=glowblue,line width=.9pt] (1.852,0.423) circle[radius=.1]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (1.852,-0.423) circle[radius=.1]; \node at (2.194,-0.501) {$2$}; \filldraw[draw=glowblue,fill=glowblue,line width=.9pt] (1.485,-1.185) circle[radius=.1]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (0.824,-1.712) circle[radius=.1]; \node at (0.976,-2.027) {$3$}; \filldraw[draw=glowblue,fill=glowblue,line width=.9pt] (0.000,-1.900) circle[radius=.1]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (-0.824,-1.712) circle[radius=.1]; \node at (-0.976,-2.027) {$4$}; \filldraw[draw=glowblue,fill=glowblue,line width=.9pt] (-1.485,-1.185) circle[radius=.1]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (-1.852,-0.423) circle[radius=.1]; \node at (-2.194,-0.501) {$5$}; \filldraw[draw=glowblue,fill=glowblue,line width=.9pt] (-1.852,0.423) circle[radius=.1]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (-1.485,1.185) circle[radius=.1]; \node at (-1.759,1.403) {$6$}; \filldraw[draw=glowblue,fill=glowblue,line width=.9pt] (-0.824,1.712) circle[radius=.1]; \filldraw[draw=black!40,fill=glowgold!55,line width=.4pt] (5.901,0.250)--(5.468,0.500)--(5.035,0.250)--(5.035,-0.250)--(5.468,-0.500)--(5.901,-0.250)--cycle; \node at (5.468,0.000) {\footnotesize $5$}; \filldraw[draw=black!40,fill=glowblue!22,line width=.4pt] (6.334,1.000)--(5.901,1.250)--(5.468,1.000)--(5.468,0.500)--(5.901,0.250)--(6.334,0.500)--cycle; \node at (5.901,0.750) {\footnotesize $1$}; \filldraw[draw=black!40,fill=glowgold!25,line width=.4pt] (6.767,1.750)--(6.334,2.000)--(5.901,1.750)--(5.901,1.250)--(6.334,1.000)--(6.767,1.250)--cycle; \node at (6.334,1.500) {\footnotesize $4$}; \filldraw[draw=black!40,fill=glowblue!70,line width=.4pt] (6.334,-0.500)--(5.901,-0.250)--(5.468,-0.500)--(5.468,-1.000)--(5.901,-1.250)--(6.334,-1.000)--cycle; \node at (5.901,-0.750) {\footnotesize $3$}; \filldraw[draw=black!85,fill=glowgold!85,line width=.9pt] (6.767,0.250)--(6.334,0.500)--(5.901,0.250)--(5.901,-0.250)--(6.334,-0.500)--(6.767,-0.250)--cycle; \node at (6.334,0.000) {\footnotesize $6$}; \filldraw[draw=black!85,fill=glowblue!45,line width=.9pt] (7.200,1.000)--(6.767,1.250)--(6.334,1.000)--(6.334,0.500)--(6.767,0.250)--(7.200,0.500)--cycle; \node at (6.767,0.750) {\footnotesize $2$}; \filldraw[draw=black!40,fill=glowgold!55,line width=.4pt] (7.633,1.750)--(7.200,2.000)--(6.767,1.750)--(6.767,1.250)--(7.200,1.000)--(7.633,1.250)--cycle; \node at (7.200,1.500) {\footnotesize $5$}; \filldraw[draw=black!40,fill=glowblue!22,line width=.4pt] (6.767,-1.250)--(6.334,-1.000)--(5.901,-1.250)--(5.901,-1.750)--(6.334,-2.000)--(6.767,-1.750)--cycle; \node at (6.334,-1.500) {\footnotesize $1$}; \filldraw[draw=black!85,fill=glowgold!25,line width=.9pt] (7.200,-0.500)--(6.767,-0.250)--(6.334,-0.500)--(6.334,-1.000)--(6.767,-1.250)--(7.200,-1.000)--cycle; \node at (6.767,-0.750) {\footnotesize $4$}; \filldraw[draw=black!85,fill=white,line width=.9pt] (7.633,0.250)--(7.200,0.500)--(6.767,0.250)--(6.767,-0.250)--(7.200,-0.500)--(7.633,-0.250)--cycle; \node at (7.200,0.000) {\footnotesize $0$}; \filldraw[draw=black!85,fill=glowblue!70,line width=.9pt] (8.066,1.000)--(7.633,1.250)--(7.200,1.000)--(7.200,0.500)--(7.633,0.250)--(8.066,0.500)--cycle; \node at (7.633,0.750) {\footnotesize $3$}; \filldraw[draw=black!40,fill=glowgold!85,line width=.4pt] (8.499,1.750)--(8.066,2.000)--(7.633,1.750)--(7.633,1.250)--(8.066,1.000)--(8.499,1.250)--cycle; \node at (8.066,1.500) {\footnotesize $6$}; \filldraw[draw=black!40,fill=glowblue!45,line width=.4pt] (7.633,-1.250)--(7.200,-1.000)--(6.767,-1.250)--(6.767,-1.750)--(7.200,-2.000)--(7.633,-1.750)--cycle; \node at (7.200,-1.500) {\footnotesize $2$}; \filldraw[draw=black!85,fill=glowgold!55,line width=.9pt] (8.066,-0.500)--(7.633,-0.250)--(7.200,-0.500)--(7.200,-1.000)--(7.633,-1.250)--(8.066,-1.000)--cycle; \node at (7.633,-0.750) {\footnotesize $5$}; \filldraw[draw=black!85,fill=glowblue!22,line width=.9pt] (8.499,0.250)--(8.066,0.500)--(7.633,0.250)--(7.633,-0.250)--(8.066,-0.500)--(8.499,-0.250)--cycle; \node at (8.066,0.000) {\footnotesize $1$}; \filldraw[draw=black!40,fill=glowgold!25,line width=.4pt] (8.932,1.000)--(8.499,1.250)--(8.066,1.000)--(8.066,0.500)--(8.499,0.250)--(8.932,0.500)--cycle; \node at (8.499,0.750) {\footnotesize $4$}; \filldraw[draw=black!40,fill=glowblue!70,line width=.4pt] (8.499,-1.250)--(8.066,-1.000)--(7.633,-1.250)--(7.633,-1.750)--(8.066,-2.000)--(8.499,-1.750)--cycle; \node at (8.066,-1.500) {\footnotesize $3$}; \filldraw[draw=black!40,fill=glowgold!85,line width=.4pt] (8.932,-0.500)--(8.499,-0.250)--(8.066,-0.500)--(8.066,-1.000)--(8.499,-1.250)--(8.932,-1.000)--cycle; \node at (8.499,-0.750) {\footnotesize $6$}; \filldraw[draw=black!40,fill=glowblue!45,line width=.4pt] (9.365,0.250)--(8.932,0.500)--(8.499,0.250)--(8.499,-0.250)--(8.932,-0.500)--(9.365,-0.250)--cycle; \node at (8.932,0.000) {\footnotesize $2$}; \end{tikzpicture} \caption{The Heawood graph, in $2$ ways. On the left, as the wiring of the ferromagnetic junctions of the Fano array, with the $7$ points in white, and the $7$ lines in blue. On the right, drawn on a torus, the picture being periodic: the $14$ vertices are the corners of $7$ hexagonal countries, numbered $0,\ldots,6$, each of which touches the $6$ other ones.}\label{fig:heawood} \end{figure} The Heawood graph is the case of the Fano plane of a general construction. Any symmetric design has a wiring graph, having as vertices the $v$ points and the $v$ blocks, with a point being joined to a block when it lies on it, and with $vk$ edges, which are the ferromagnetic junctions of the array. In terms of this graph, the design array becomes a familiar system: \begin{proposition}\label{pr4w} For a symmetric $(v,k,\lambda)$ design, with wiring graph $X$, the following hold: \begin{enumerate} \item The eigenvalues of $X$ are $\pm k$, and $\pm\sqrt{n}$, with multiplicity $v-1$ each. \item The quantity $\sqrt{n}\,\Omega(a,b)$, for the array of $U_\pm$, is the sum of the products $a_ib_j$ over the edges of $X$, minus $c_\pm(\sum_ia_i)(\sum_jb_j)$, where $c_\pm=(k\pm\sqrt{n})/v$. \end{enumerate} \end{proposition} \begin{proof} The adjacency matrix of $X$ has $M,M^t$ as off-diagonal blocks, and 0 on the diagonal blocks, so its square has diagonal blocks $MM^t=M^tM=n+\lambda\mathbb I$, with eigenvalues $k^2$, and $n$ with multiplicity $v-1$. Since the spectrum of a bipartite graph is symmetric, this gives (1). As for (2), this is clear from the formula $U_\pm=(M-c_\pm\mathbb I)/\sqrt{n}$. \end{proof} In other words, the design array is an Ising ferromagnet on the wiring graph, with coupling $1/\sqrt{n}$, together with a mean field interaction between the total magnetizations of the 2 layers, which is antiferromagnetic, of strength $c_\pm/\sqrt{n}$. For the Fano plane we obtain the Ising model on the Heawood graph, with the mean field having strength $0.446$ for $U_+$, and $0.160$ for $U_-$. When all the spins are aligned the graph contributes with $vk/\sqrt{n}$ to $\Omega$, and the mean field with $-(k\pm\sqrt{n})v/\sqrt{n}$, the total being $\mp v$. Thus for $U_-$ the ferromagnet wins, for $U_+$ the mean field wins, and we recover the 2 crystals from Figure \ref{fig:array}. Observe also that $\sqrt{n}$ is the smallest possible value for the second eigenvalue of a bipartite $k$-regular graph with $2v$ vertices, as one can see by computing the trace of $MM^t$, so the wiring graphs of the designs are optimal expanders, and in particular Ramanujan graphs. As for the girth, this is 6 for the projective planes, as for the Heawood graph, and 4 for the other designs. The Hadamard designs have a second physical life, in astronomy. An X-ray telescope cannot use lenses, and uses instead a mask with open and closed cells, placed in front of the detector, the image of the sky being reconstructed by correlating the shadow of the mask with the mask itself. For this to work the periodic autocorrelation of the mask must be flat, and this is precisely the axiom of a design: any 2 distinct translates of the set of open cells must have the same number of common cells. The uniformly redundant arrays of Fenimore and Cannon \cite{fca} are of this type, and are built from the squares modulo 2 primes $r,s$ with $r-s=2$, in the spirit of the Paley construction. The cell $(i,j)$, with $i$ taken modulo $r$ and $j$ taken modulo $s$, is closed when $i=0$, open when $j=0$ and $i\neq0$, and is otherwise open precisely when $i,j$ are both squares, or both nonsquares. Figure \ref{fig:mask} shows the mask with $r=13$, $s=11$. \begin{figure}[H] \centering \begin{tikzpicture}[x=2.5mm,y=2.5mm,font=\small] \fill[glowblue] (0,-1) rectangle ++(1,1); \fill[glowblue] (1,-1) rectangle ++(1,1); \fill[glowblue] (2,-1) rectangle ++(1,1); \fill[glowblue] (3,-1) rectangle ++(1,1); \fill[glowblue] (4,-1) rectangle ++(1,1); \fill[glowblue] (5,-1) rectangle ++(1,1); \fill[glowblue] (6,-1) rectangle ++(1,1); \fill[glowblue] (7,-1) rectangle ++(1,1); \fill[glowblue] (8,-1) rectangle ++(1,1); \fill[glowblue] (9,-1) rectangle ++(1,1); \fill[glowblue] (10,-1) rectangle ++(1,1); \fill[glowblue] (2,-2) rectangle ++(1,1); \fill[glowblue] (6,-2) rectangle ++(1,1); \fill[glowblue] (7,-2) rectangle ++(1,1); \fill[glowblue] (8,-2) rectangle ++(1,1); \fill[glowblue] (10,-2) rectangle ++(1,1); \fill[glowblue] (1,-3) rectangle ++(1,1); \fill[glowblue] (3,-3) rectangle ++(1,1); \fill[glowblue] (4,-3) rectangle ++(1,1); \fill[glowblue] (5,-3) rectangle ++(1,1); \fill[glowblue] (9,-3) rectangle ++(1,1); \fill[glowblue] (2,-4) rectangle ++(1,1); \fill[glowblue] (6,-4) rectangle ++(1,1); \fill[glowblue] (7,-4) rectangle ++(1,1); \fill[glowblue] (8,-4) rectangle ++(1,1); \fill[glowblue] (10,-4) rectangle ++(1,1); \fill[glowblue] (2,-5) rectangle ++(1,1); \fill[glowblue] (6,-5) rectangle ++(1,1); \fill[glowblue] (7,-5) rectangle ++(1,1); \fill[glowblue] (8,-5) rectangle ++(1,1); \fill[glowblue] (10,-5) rectangle ++(1,1); \fill[glowblue] (1,-6) rectangle ++(1,1); \fill[glowblue] (3,-6) rectangle ++(1,1); \fill[glowblue] (4,-6) rectangle ++(1,1); \fill[glowblue] (5,-6) rectangle ++(1,1); \fill[glowblue] (9,-6) rectangle ++(1,1); \fill[glowblue] (1,-7) rectangle ++(1,1); \fill[glowblue] (3,-7) rectangle ++(1,1); \fill[glowblue] (4,-7) rectangle ++(1,1); \fill[glowblue] (5,-7) rectangle ++(1,1); \fill[glowblue] (9,-7) rectangle ++(1,1); \fill[glowblue] (1,-8) rectangle ++(1,1); \fill[glowblue] (3,-8) rectangle ++(1,1); \fill[glowblue] (4,-8) rectangle ++(1,1); \fill[glowblue] (5,-8) rectangle ++(1,1); \fill[glowblue] (9,-8) rectangle ++(1,1); \fill[glowblue] (1,-9) rectangle ++(1,1); \fill[glowblue] (3,-9) rectangle ++(1,1); \fill[glowblue] (4,-9) rectangle ++(1,1); \fill[glowblue] (5,-9) rectangle ++(1,1); \fill[glowblue] (9,-9) rectangle ++(1,1); \fill[glowblue] (2,-10) rectangle ++(1,1); \fill[glowblue] (6,-10) rectangle ++(1,1); \fill[glowblue] (7,-10) rectangle ++(1,1); \fill[glowblue] (8,-10) rectangle ++(1,1); \fill[glowblue] (10,-10) rectangle ++(1,1); \fill[glowblue] (2,-11) rectangle ++(1,1); \fill[glowblue] (6,-11) rectangle ++(1,1); \fill[glowblue] (7,-11) rectangle ++(1,1); \fill[glowblue] (8,-11) rectangle ++(1,1); \fill[glowblue] (10,-11) rectangle ++(1,1); \fill[glowblue] (1,-12) rectangle ++(1,1); \fill[glowblue] (3,-12) rectangle ++(1,1); \fill[glowblue] (4,-12) rectangle ++(1,1); \fill[glowblue] (5,-12) rectangle ++(1,1); \fill[glowblue] (9,-12) rectangle ++(1,1); \fill[glowblue] (2,-13) rectangle ++(1,1); \fill[glowblue] (6,-13) rectangle ++(1,1); \fill[glowblue] (7,-13) rectangle ++(1,1); \fill[glowblue] (8,-13) rectangle ++(1,1); \fill[glowblue] (10,-13) rectangle ++(1,1); \draw[step=1,black!35,very thin] (0,-13) grid (11,0); \node[above] at (5.5,.2) {mask}; \begin{scope}[shift={(17,0)}] \fill[glowgold!30] (0,-13) rectangle (11,0); \fill[glowgold] (0,-1) rectangle ++(1,1); \draw[step=1,black!35,very thin] (0,-13) grid (11,0); \node[above] at (5.5,.2) {autocorrelation}; \fill[glowgold] (13,-4) rectangle ++(1,1); \node[right] at (14.3,-3.5) {$72$}; \fill[glowgold!30] (13,-6.5) rectangle ++(1,1); \draw[black!35,very thin] (13,-6.5) rectangle ++(1,1); \node[right] at (14.3,-6) {$36$}; \end{scope} \end{tikzpicture} \caption{A coded aperture mask of size $13\times11$, with the closed cells in blue, and its periodic autocorrelation, that is, the number of open cells that the mask has in common with each of its translates: this is $72$ for the mask itself, and $36$ for all the other translates.}\label{fig:mask} \end{figure} As computed by \texttt{portraits.py}, this mask has 72 open cells out of 143, any 2 distinct translates of it have 36 common open cells, and the closed cells form a Hadamard design, with parameters $(143,71,35)$. Thus Theorem \ref{th25} applies, and the mask produces 2 almost Hadamard matrices of order 143, a plain one and a twisted one, the values of $||U_\pm||_1/v^{3/2}$ being $0.9971$ and $0.9959$. There is more to be said here, about the decoding. With $M'=\mathbb I-M$ being the incidence matrix of the open cells, a sky $x$ casts on the detector the shadow $y=M'x$, and the problem is that of recovering $x$ from $y$, without amplifying the noise. The answer is given by the sign matrix: \begin{proposition}\label{pr4d} For a Hadamard design, with $M'=\mathbb I-M$ and $S=2M-\mathbb I$, the following hold: \begin{enumerate} \item $M'S^t=-2n$, so the inverse of $M'$ is the matrix $-S^t/(2n)$. \item $S=2\sqrt{n}\,U_++(2\sqrt{n}-1)P$, where $P=\mathbb I/v$ is the projection onto the all-one vector. \end{enumerate} \end{proposition} \begin{proof} (1) By using $MM^t=n+\lambda\mathbb I$ and $M\mathbb I=\mathbb IM=k\mathbb I$ we obtain $M'S^t=(3k-v-2\lambda)\mathbb I-2n$, and the coefficient of $\mathbb I$ vanishes when $v=4n-1$, $k=2n-1$, $\lambda=n-1$. (2) This follows from Proposition \ref{pr23}, which gives $S=U_+(2\sqrt{n}(1-P)+P)$ in the present case, where $v-2k=1$, together with $U_+P=-P$. \end{proof} Thus the sky is recovered by correlating the picture with the mask itself, with the open cells counted positively, and the closed ones negatively, which is the balanced decoding from \cite{fca}. Up to the term involving $P$, which only shifts the background, the decoder is the transpose of the almost Hadamard matrix $U_+$, rescaled by $-1/\sqrt{n}$. This matrix being orthogonal, the noise is not amplified, and this is why such masks are used. For the mask in Figure \ref{fig:mask} all this is verified by \texttt{detours.py}, the singular values of $S$ being 12, with multiplicity 142, and 1. With this picture in mind, let us go back to an arbitrary orthogonal matrix $U\in O_N$. At high temperature the partition function $E(e^{\beta\Omega})$ is controlled by the first moments of the glow, exactly as in the Hadamard case, and these moments can be computed as follows: \begin{proposition}\label{pr32} The glow of an orthogonal matrix $U\in O_N$ is symmetric, its moment of order $2$ is $N$, and its moment of order $4$ is $3N^2-6N+4||U||_4^4$, where $||U||_4^4=\sum_{ij}U_{ij}^4$. \end{proposition} \begin{proof} The symmetry comes from $\Omega(-a,b)=-\Omega(a,b)$. For the moments we use the following formulae, valid for any vector $x\in\mathbb R^N$, with the averages being taken over $a\in\{\pm1\}^N$: $$E(^2)=\sum_ix_i^2\quad,\quad E(^4)=3\Big(\sum_ix_i^2\Big)^2-2\sum_ix_i^4$$ With $x=Ub$ we have $\sum_ix_i^2=N$, which gives the second moment, and then the fourth moment is $3N^2-2\sum_iE(x_i^4)$. Now by applying the second formula to the $i$-th row of $U$, which has norm 1, we obtain $E(x_i^4)=3-2\sum_jU_{ij}^4$, and this gives the result. \end{proof} The program \texttt{glow.py} checks this formula by exact enumeration, for the 2 matrices of the Fano plane, and for random orthogonal matrices. As a consequence, the fourth cumulant of the glow is $-6N+4||U||_4^4$, and the first invariant of $U$ which is seen by the Ising array, at high temperature, is the 4-norm. By the H\"older inequality we have $||U||_4^4\geq1$ on $O_N$, with equality precisely for the rescaled Hadamard matrices \cite{bn1}, so we recover the cumulant $-6N+4$ from \cite{obo}, and in general we are led to the almost Hadamard matrix problematics for the exponent $p=4$, studied in \cite{bn1}, \cite{mo1}, \cite{mo2}. For the design matrices $U_+$ the 4-norm is easy to compute, and the values are given in the table from Section \ref{sec:designs}: for the Hadamard designs these are close to 1, while for the projective planes they grow with the order. \medskip Regarding now the higher cumulants, in the Hadamard case their leading terms are universal, by Theorem \ref{th11}. The proof there uses the orthogonality of the coupling matrix, and the fact that its entries have the same absolute value, and the second ingredient can be weakened: \begin{proposition}\label{pr43} Let $U_N\in O_N$ be orthogonal matrices, with $N\to\infty$ along some sequence, such that the entries of the matrices $\sqrt{N}U_N$ are bounded by a constant $C$. Then the cumulants of the glow are given by the formula $$\kappa_{2k}=(-1)^{k-1}(2k-1)!\,Cat_{k-1}N+O(1)$$ with $Cat_j=\binom{2j}{j}/(j+1)$ the Catalan numbers, and so $\frac{1}{N}\log E(e^{\beta\Omega})\to\frac{1}{2}\,\Phi_0(\beta^2)$ coefficientwise. \end{proposition} \begin{proof} We follow \cite{obo}. With $A=\sqrt{N}U$, the cumulant of order $2k$ of $$ is a sum over the connected bipartite multigraphs with $2k$ edges, coming from pairs of partitions, of certain weights, which do not depend on $A$, multiplied by the contraction of $A$ along the graph, with a free label in $\{1,\ldots,N\}$ at each vertex. Since $AA^t=A^tA=N$, a vertex of degree 2 can be removed, with a factor $N$. A graph which reduces in this way to a point contributes with $N^{k+1}$. Otherwise, after $k-s$ reductions we are left with $2s$ edges and with $v\leq s$ vertices, all of them having degree at least 4, and the contraction is bounded by $N^{k-s}\cdot N^vC^{2s}\leq C^{2k}N^k$. The total weight of the graphs which reduce to a point was computed in \cite{obo}, by comparing with a Haar random matrix, and is $(-1)^{k-1}(2k-1)!\,Cat_{k-1}$. With $\Omega=/\sqrt{N}$, this gives the result. \end{proof} As a first observation, at $k=2$ we recover the leading term $-6N$ of the above cumulant, the 4-norm being bounded by $C^4$. Figure \ref{fig:glow} shows the glow of the 2 Fano matrices, computed by \texttt{pictures.py}. The $2^{14}$ states are distributed over 52 energy levels, and the 2 densities of states are rather different, although their first moments are close to each other, the moment of order 2 being 7 in both cases, and the moments of order 4 being $109.82$ for $U_+$ and $112.59$ for $U_-$, against 147 for the Gaussian law. In both cases the top level $\Omega=7$ consists of the 2 crystalline states, and the second levels are $(9+24\sqrt{2})/7=6.1344$ for $U_+$, with 42 states, and $(1+30\sqrt{2})/7=6.2038$ for $U_-$, with 56 states. \begin{figure}[H] \centering \begin{tikzpicture}[x=5mm,y=7.5mm,font=\small] \draw[black!70] (0.00,0)--(15.00,0); \fill[glowblue] (0.30,0) rectangle (0.70,0.0050); \fill[glowblue] (1.30,0) rectangle (1.70,0.2450); \fill[glowblue] (1.80,0) rectangle (2.20,0.4200); \fill[glowblue] (2.30,0) rectangle (2.70,1.0500); \fill[glowblue] (2.80,0) rectangle (3.20,0.7000); \fill[glowblue] (3.30,0) rectangle (3.70,0.0700); \fill[glowblue] (3.80,0) rectangle (4.20,2.1000); \fill[glowblue] (4.30,0) rectangle (4.70,1.9950); \fill[glowblue] (4.80,0) rectangle (5.20,2.5200); \fill[glowblue] (5.30,0) rectangle (5.70,2.8350); \fill[glowblue] (5.80,0) rectangle (6.20,2.9400); \fill[glowblue] (6.30,0) rectangle (6.70,3.0800); \fill[glowblue] (6.80,0) rectangle (7.20,2.5200); \fill[glowblue] (7.80,0) rectangle (8.20,2.5200); \fill[glowblue] (8.30,0) rectangle (8.70,3.0800); \fill[glowblue] (8.80,0) rectangle (9.20,2.9400); \fill[glowblue] (9.30,0) rectangle (9.70,2.8350); \fill[glowblue] (9.80,0) rectangle (10.20,2.5200); \fill[glowblue] (10.30,0) rectangle (10.70,1.9950); \fill[glowblue] (10.80,0) rectangle (11.20,2.1000); \fill[glowblue] (11.30,0) rectangle (11.70,0.0700); \fill[glowblue] (11.80,0) rectangle (12.20,0.7000); \fill[glowblue] (12.30,0) rectangle (12.70,1.0500); \fill[glowblue] (12.80,0) rectangle (13.20,0.4200); \fill[glowblue] (13.30,0) rectangle (13.70,0.2450); \fill[glowblue] (14.30,0) rectangle (14.70,0.0050); \draw[black!60,densely dashed,line width=.8pt] plot coordinates {(0.5000,0.0932) (1.0000,0.1510) (1.5000,0.2360) (2.0000,0.3560) (2.5000,0.5177) (3.0000,0.7270) (3.5000,0.9847) (4.0000,1.2873) (4.5000,1.6238) (5.0000,1.9760) (5.5000,2.3207) (6.0000,2.6295) (6.5000,2.8752) (7.0000,3.0335) (7.5000,3.0880) (8.0000,3.0335) (8.5000,2.8752) (9.0000,2.6295) (9.5000,2.3207) (10.0000,1.9760) (10.5000,1.6238) (11.0000,1.2873) (11.5000,0.9847) (12.0000,0.7270) (12.5000,0.5177) (13.0000,0.3560) (13.5000,0.2360) (14.0000,0.1510) (14.5000,0.0932)}; \draw (0.50,0)--++(0,-.08) node[below] {$-7$}; \draw (4.00,0)--++(0,-.08) node[below] {$-3.5$}; \draw (7.50,0)--++(0,-.08) node[below] {$0$}; \draw (11.00,0)--++(0,-.08) node[below] {$3.5$}; \draw (14.50,0)--++(0,-.08) node[below] {$7$}; \node at (7.50,4.2) {$U_+$}; \draw[black!70] (15.50,0)--(30.50,0); \fill[glowgold] (15.80,0) rectangle (16.20,0.0050); \fill[glowgold] (16.80,0) rectangle (17.20,0.1400); \fill[glowgold] (17.30,0) rectangle (17.70,0.2800); \fill[glowgold] (17.80,0) rectangle (18.20,1.0150); \fill[glowgold] (18.30,0) rectangle (18.70,1.2600); \fill[glowgold] (18.80,0) rectangle (19.20,0.8400); \fill[glowgold] (19.30,0) rectangle (19.70,1.8900); \fill[glowgold] (19.80,0) rectangle (20.20,0.4900); \fill[glowgold] (20.30,0) rectangle (20.70,3.9200); \fill[glowgold] (20.80,0) rectangle (21.20,0.8400); \fill[glowgold] (21.30,0) rectangle (21.70,2.5200); \fill[glowgold] (21.80,0) rectangle (22.20,3.0800); \fill[glowgold] (22.30,0) rectangle (22.70,2.9400); \fill[glowgold] (22.80,0) rectangle (23.20,2.5200); \fill[glowgold] (23.30,0) rectangle (23.70,2.9400); \fill[glowgold] (23.80,0) rectangle (24.20,3.0800); \fill[glowgold] (24.30,0) rectangle (24.70,2.5200); \fill[glowgold] (24.80,0) rectangle (25.20,0.8400); \fill[glowgold] (25.30,0) rectangle (25.70,3.9200); \fill[glowgold] (25.80,0) rectangle (26.20,0.4900); \fill[glowgold] (26.30,0) rectangle (26.70,1.8900); \fill[glowgold] (26.80,0) rectangle (27.20,0.8400); \fill[glowgold] (27.30,0) rectangle (27.70,1.2600); \fill[glowgold] (27.80,0) rectangle (28.20,1.0150); \fill[glowgold] (28.30,0) rectangle (28.70,0.2800); \fill[glowgold] (28.80,0) rectangle (29.20,0.1400); \fill[glowgold] (29.80,0) rectangle (30.20,0.0050); \draw[black!60,densely dashed,line width=.8pt] plot coordinates {(16.0000,0.0932) (16.5000,0.1510) (17.0000,0.2360) (17.5000,0.3560) (18.0000,0.5177) (18.5000,0.7270) (19.0000,0.9847) (19.5000,1.2873) (20.0000,1.6238) (20.5000,1.9760) (21.0000,2.3207) (21.5000,2.6295) (22.0000,2.8752) (22.5000,3.0335) (23.0000,3.0880) (23.5000,3.0335) (24.0000,2.8752) (24.5000,2.6295) (25.0000,2.3207) (25.5000,1.9760) (26.0000,1.6238) (26.5000,1.2873) (27.0000,0.9847) (27.5000,0.7270) (28.0000,0.5177) (28.5000,0.3560) (29.0000,0.2360) (29.5000,0.1510) (30.0000,0.0932)}; \draw (16.00,0)--++(0,-.08) node[below] {$-7$}; \draw (19.50,0)--++(0,-.08) node[below] {$-3.5$}; \draw (23.00,0)--++(0,-.08) node[below] {$0$}; \draw (26.50,0)--++(0,-.08) node[below] {$3.5$}; \draw (30.00,0)--++(0,-.08) node[below] {$7$}; \node at (23.00,4.2) {$U_-$}; \end{tikzpicture} \caption{The densities of states of the $2$ Fano arrays, in bins of width $1/2$ and in units of $400$ states, for $U_+$ on the left, and for $U_-$ on the right. The dashed curve is the Gaussian law of variance $7$.}\label{fig:glow} \end{figure} Summarizing, at high temperature an Ising array is described by the strengths of its junctions, by the 4-norm of the coupling matrix and, when the entries are bounded, by the universal free energy. For the matrices coming from designs, the situation is as follows: \begin{theorem}\label{th44} For the Ising arrays of the matrices $U_\pm$ of a symmetric $(v,k,\lambda)$ design: \begin{enumerate} \item There are $vk$ ferromagnetic junctions, of strength $(v-k\mp\sqrt{n})/(v\sqrt{n})$, and $v(v-k)$ antiferromagnetic junctions, of strength $(k\pm\sqrt{n})/(v\sqrt{n})$. \item The cumulants of order $2$ and $4$ of the glow are $v$ and $-6v+4||U_\pm||_4^4$. \item For the Hadamard designs the entries of $\sqrt{v}\,U_\pm$ are bounded by $3/2$, and so with $n\to\infty$ the free energy at high temperature converges coefficientwise to that of the Hadamard arrays, and of the random orthogonal model. \end{enumerate} \end{theorem} \begin{proof} (1) This is the formula of the entries of $U_\pm$, from Proposition \ref{pr23}. (2) This follows from Proposition \ref{pr32}. (3) For $v=4n-1$ and $k=2n-1$ the biggest entry of $\sqrt{v}\,U_\pm$, in absolute value, is the positive entry of $\sqrt{v}\,U_-$, which is $(2n+\sqrt{n})/\sqrt{n(4n-1)}$. The square of this number is at most $9/4$ precisely when $5n\geq4\sqrt{n}+13/4$, which holds for $n\geq2$. Thus Proposition \ref{pr43} applies, and the limiting free energy is the one from Theorem \ref{th11}. \end{proof} For the projective planes of order $q$ the positive entries of $\sqrt{v}\,U_\pm$ are of order $\sqrt{q}$, and the above argument does not apply as such. The 4-norms in the table from Section \ref{sec:designs} grow accordingly, with $||U_+||_4^4$ being of order $q$, which is small with respect to $v\simeq q^2$, so the leading term of the fourth cumulant is still universal, and the higher orders are not known. \section{Design arrays and their crystals}\label{sec:crystals} We discuss now the Ising arrays at low temperature, where the phenomenon to be understood is the crystallization, in the sense of \cite{obo}. We keep the notations from the previous section, with $U\in O_N$ being the coupling matrix, and with $\Omega=$. \medskip Let us begin with the ground states. We have here the following result: \begin{proposition}\label{pr33} For any $U\in O_N$ we have $\Omega\leq N$, with equality precisely when $Ub=a$, and the partition function is given by $Z(\beta)=\sum_b\prod_i2\cosh(\beta(Ub)_i)$. \end{proposition} \begin{proof} We have $\Omega\leq||Ub||_1\leq\sqrt{N}||Ub||_2=N$, with equality in the first inequality when $a$ is the sign vector of $Ub$, and in the second one when the entries of $Ub$ have absolute value 1. As for the formula of $Z(\beta)=\sum_{ab}e^{\beta\Omega(a,b)}$, this follows by summing over $a$. \end{proof} As in \cite{obo}, we call crystalline the states with $\Omega=N$, which correspond to the sign vectors $b$ mapped by $U$ to sign vectors. In the Hadamard case such states may or may not exist, and their number controls the crystallization of the array, the prediction from \cite{obo} for the crystallization temperature $T_c=1/\beta$ being as follows, with $c$ the number of crystalline states: $$\beta+\frac{\log c}{N}=2\log2+\frac{1}{2}\left(\sqrt{1+4\beta^2}-1-\log\frac{1+\sqrt{1+4\beta^2}}{2}\right)$$ Here on the left we have the free energy of the crystal, per row wire, and on the right we have the paramagnetic free energy, namely the one from Theorem \ref{th11}, which applies as well to the Hadamard designs with $n\to\infty$, by Theorem \ref{th44}. For the other designs, and at small orders, we use this formula as a heuristic. \medskip The formula of $Z(\beta)$ in Proposition \ref{pr33} involves only $2^N$ terms, so the Ising arrays can be solved exactly, at small $N$. The program \texttt{arrays.py} does this for the matrices $U_+$ of the designs from Section \ref{sec:designs} with $v\leq23$. It computes the number $c$ of crystalline states, the above temperature $T_c$, and the maxima of the specific heat per row wire, $C=\beta^2Var(\Omega)/N$. We obtain: \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline design&$c$&$T_c$&sharp maximum&broad maximum\\ \hline $(7,3,1)$&2&0.219&$C=0.83$ at $T=0.220$&--\\ \hline $(11,5,2)$&2&0.203&$C=0.84$ at $T=0.180$&$C=0.44$ at $T=0.414$\\ \hline $(13,4,1)$&2&0.199&$C=1.16$ at $T=0.188$&$C=0.40$ at $T=0.480$\\ \hline $(15,7,3)$&338&0.409&$C=1.01$ at $T=0.414$&--\\ \hline $(19,9,4)$&2&0.192&$C=1.71$ at $T=0.194$&$C=0.38$ at $T=0.440$\\ \hline $(21,5,1)$&898&0.355&$C=1.35$ at $T=0.354$&--\\ \hline $(23,11,5)$&2&0.189&$C=1.60$ at $T=0.184$&plateau, $C\simeq0.42$\\ \hline \end{tabular} \end{center} We can see that the sharp maximum of the specific heat is close to the predicted crystallization temperature, the agreement being within 0.006, except for the designs $(11,5,2)$ and $(13,4,1)$, where the difference is about 0.02 and 0.01. The arrays having only 2 crystalline states have in addition a broad maximum, of height about 0.4, which becomes a plateau at $v=23$, and which is similar to the one found in \cite{obo} for the Hadamard arrays having no crystalline states, which freeze smoothly. Observe also that with $c=2$ and $N\to\infty$ the above equation gives $T_c\to0.1776$. Figure \ref{fig:heat} shows the specific heat of 4 of these arrays, as computed by \texttt{pictures.py}. \begin{figure}[H] \centering \begin{tikzpicture}[x=140mm,y=28mm,font=\small] \draw[->,black!70] (0,0)--(1.05,0) node[right,text=black] {$T$}; \draw[->,black!70] (0,0)--(0,1.9) node[above,text=black] {$C$}; \foreach \x in {0.2,0.4,0.6,0.8,1} \draw (\x,0)--++(0,-.03) node[below] {$\x$}; \foreach \y in {0.5,1,1.5} \draw (0,\y)--++(-.006,0) node[left] {$\y$}; \draw[glowblue,line width=1.1pt] plot coordinates {(0.0600,0.0004) (0.0800,0.0080) (0.1000,0.0484) (0.1200,0.1523) (0.1400,0.3233) (0.1600,0.5243) (0.1800,0.6971) (0.2000,0.8005) (0.2200,0.8296) (0.2400,0.8049) (0.2600,0.7518) (0.2800,0.6895) (0.3000,0.6290) (0.3200,0.5750) (0.3400,0.5289) (0.3600,0.4906) (0.3800,0.4592) (0.4000,0.4337) (0.4200,0.4131) (0.4400,0.3965) (0.4600,0.3832) (0.4800,0.3725) (0.5000,0.3639) (0.5200,0.3570) (0.5400,0.3514) (0.5600,0.3468) (0.5800,0.3429) (0.6000,0.3396) (0.6200,0.3366) (0.6400,0.3340) (0.6600,0.3315) (0.6800,0.3291) (0.7000,0.3267) (0.7200,0.3243) (0.7400,0.3218) (0.7600,0.3193) (0.7800,0.3167) (0.8000,0.3141) (0.8200,0.3113) (0.8400,0.3085) (0.8600,0.3056) (0.8800,0.3026) (0.9000,0.2995) (0.9200,0.2964) (0.9400,0.2932) (0.9600,0.2900) (0.9800,0.2868) (1.0000,0.2835)}; \draw[glowblue,line width=1.1pt,densely dotted] plot coordinates {(0.0600,0.0000) (0.0800,0.0014) (0.1000,0.0201) (0.1200,0.1171) (0.1400,0.3880) (0.1600,0.8158) (0.1800,1.1296) (0.2000,1.1195) (0.2200,0.9137) (0.2400,0.7019) (0.2600,0.5528) (0.2800,0.4632) (0.3000,0.4143) (0.3200,0.3904) (0.3400,0.3811) (0.3600,0.3798) (0.3800,0.3824) (0.4000,0.3865) (0.4200,0.3906) (0.4400,0.3939) (0.4600,0.3960) (0.4800,0.3966) (0.5000,0.3960) (0.5200,0.3941) (0.5400,0.3913) (0.5600,0.3875) (0.5800,0.3832) (0.6000,0.3784) (0.6200,0.3732) (0.6400,0.3678) (0.6600,0.3624) (0.6800,0.3568) (0.7000,0.3513) (0.7200,0.3459) (0.7400,0.3406) (0.7600,0.3353) (0.7800,0.3302) (0.8000,0.3252) (0.8200,0.3204) (0.8400,0.3157) (0.8600,0.3111) (0.8800,0.3066) (0.9000,0.3022) (0.9200,0.2979) (0.9400,0.2938) (0.9600,0.2897) (0.9800,0.2857) (1.0000,0.2818)}; \draw[glowgold,line width=1.1pt] plot coordinates {(0.0600,0.0000) (0.0800,0.0000) (0.1000,0.0001) (0.1200,0.0005) (0.1400,0.0018) (0.1600,0.0049) (0.1800,0.0112) (0.2000,0.0235) (0.2200,0.0459) (0.2400,0.0840) (0.2600,0.1447) (0.2800,0.2342) (0.3000,0.3551) (0.3200,0.5030) (0.3400,0.6631) (0.3600,0.8128) (0.3800,0.9280) (0.4000,0.9927) (0.4200,1.0042) (0.4400,0.9719) (0.4600,0.9110) (0.4800,0.8365) (0.5000,0.7597) (0.5200,0.6878) (0.5400,0.6242) (0.5600,0.5698) (0.5800,0.5242) (0.6000,0.4866) (0.6200,0.4557) (0.6400,0.4302) (0.6600,0.4093) (0.6800,0.3919) (0.7000,0.3773) (0.7200,0.3650) (0.7400,0.3544) (0.7600,0.3452) (0.7800,0.3372) (0.8000,0.3300) (0.8200,0.3235) (0.8400,0.3176) (0.8600,0.3121) (0.8800,0.3070) (0.9000,0.3022) (0.9200,0.2976) (0.9400,0.2932) (0.9600,0.2890) (0.9800,0.2850) (1.0000,0.2810)}; \draw[black!60,line width=1.1pt] plot coordinates {(0.0600,0.0000) (0.0800,0.0000) (0.1000,0.0011) (0.1200,0.0193) (0.1400,0.1468) (0.1600,0.6218) (0.1800,1.4312) (0.2000,1.6746) (0.2200,1.2112) (0.2400,0.7655) (0.2600,0.5298) (0.2800,0.4258) (0.3000,0.3840) (0.3200,0.3697) (0.3400,0.3670) (0.3600,0.3688) (0.3800,0.3718) (0.4000,0.3743) (0.4200,0.3759) (0.4400,0.3764) (0.4600,0.3759) (0.4800,0.3744) (0.5000,0.3723) (0.5200,0.3696) (0.5400,0.3665) (0.5600,0.3631) (0.5800,0.3595) (0.6000,0.3557) (0.6200,0.3519) (0.6400,0.3480) (0.6600,0.3440) (0.6800,0.3400) (0.7000,0.3360) (0.7200,0.3321) (0.7400,0.3281) (0.7600,0.3241) (0.7800,0.3202) (0.8000,0.3163) (0.8200,0.3124) (0.8400,0.3085) (0.8600,0.3047) (0.8800,0.3009) (0.9000,0.2971) (0.9200,0.2934) (0.9400,0.2897) (0.9600,0.2860) (0.9800,0.2824) (1.0000,0.2788)}; \draw[glowblue,line width=1.1pt] (.72,1.70)--(.79,1.70); \node[right] at (.8,1.70) {$(7,3,1)$}; \draw[glowblue,line width=1.1pt,densely dotted] (.72,1.50)--(.79,1.50); \node[right] at (.8,1.50) {$(13,4,1)$}; \draw[glowgold,line width=1.1pt] (.72,1.30)--(.79,1.30); \node[right] at (.8,1.30) {$(15,7,3)$}; \draw[black!60,line width=1.1pt] (.72,1.10)--(.79,1.10); \node[right] at (.8,1.10) {$(19,9,4)$}; \foreach \t/\c in {.219/glowblue,.199/glowblue,.409/glowgold,.192/black!60} \fill[\c] (\t,-.02)--(\t-.008,-.13)--(\t+.008,-.13)--cycle; \end{tikzpicture} \caption{The specific heat per row wire of the arrays of $4$ design matrices $U_+$, against the temperature. The triangles mark the predicted crystallization temperatures $T_c$. The designs with $2$ crystalline states crystallize near $T=0.2$, and the design $(15,7,3)$, which has $338$ such states, near $T=0.4$.}\label{fig:heat} \end{figure} The same crystallization can be seen on the mean energy, divided by its lower bound $-N$, which is shown in Figure \ref{fig:energy}, together with the paramagnetic prediction $m=(\sqrt{1+4\beta^2}-1)/(2\beta)$ coming from Theorem \ref{th44}. At high temperature all the 4 curves follow this prediction quite closely, including the one of the projective plane of order 3, which is not covered by Theorem \ref{th44}. \begin{figure}[H] \centering \begin{tikzpicture}[x=140mm,y=80mm,font=\small] \draw[->,black!70] (0,.55)--(1.05,.55) node[right,text=black] {$T$}; \draw[->,black!70] (0,.55)--(0,1.06) node[above,text=black] {$m$}; \foreach \x in {0.2,0.4,0.6,0.8,1} \draw (\x,.55)--++(0,-.01) node[below] {$\x$}; \foreach \y in {0.6,0.8,1} \draw (0,\y)--++(-.006,0) node[left] {$\y$}; \draw[glowblue,line width=1.1pt] plot coordinates {(0.0600,1.0000) (0.0800,0.9999) (0.1000,0.9995) (0.1200,0.9976) (0.1400,0.9929) (0.1600,0.9844) (0.1800,0.9721) (0.2000,0.9570) (0.2200,0.9406) (0.2400,0.9242) (0.2600,0.9086) (0.2800,0.8942) (0.3000,0.8810) (0.3200,0.8690) (0.3400,0.8580) (0.3600,0.8478) (0.3800,0.8383) (0.4000,0.8294) (0.4200,0.8209) (0.4400,0.8128) (0.4600,0.8050) (0.4800,0.7975) (0.5000,0.7901) (0.5200,0.7829) (0.5400,0.7758) (0.5600,0.7688) (0.5800,0.7620) (0.6000,0.7551) (0.6200,0.7484) (0.6400,0.7417) (0.6600,0.7350) (0.6800,0.7284) (0.7000,0.7218) (0.7200,0.7153) (0.7400,0.7089) (0.7600,0.7025) (0.7800,0.6961) (0.8000,0.6898) (0.8200,0.6835) (0.8400,0.6773) (0.8600,0.6712) (0.8800,0.6651) (0.9000,0.6591) (0.9200,0.6531) (0.9400,0.6472) (0.9600,0.6414) (0.9800,0.6356) (1.0000,0.6299)}; \draw[glowblue,line width=1.1pt,densely dotted] plot coordinates {(0.0600,1.0000) (0.0800,1.0000) (0.1000,0.9998) (0.1200,0.9987) (0.1400,0.9940) (0.1600,0.9820) (0.1800,0.9621) (0.2000,0.9391) (0.2200,0.9186) (0.2400,0.9026) (0.2600,0.8901) (0.2800,0.8801) (0.3000,0.8713) (0.3200,0.8633) (0.3400,0.8556) (0.3600,0.8480) (0.3800,0.8404) (0.4000,0.8327) (0.4200,0.8249) (0.4400,0.8171) (0.4600,0.8092) (0.4800,0.8013) (0.5000,0.7933) (0.5200,0.7854) (0.5400,0.7776) (0.5600,0.7698) (0.5800,0.7621) (0.6000,0.7545) (0.6200,0.7470) (0.6400,0.7395) (0.6600,0.7322) (0.6800,0.7251) (0.7000,0.7180) (0.7200,0.7110) (0.7400,0.7041) (0.7600,0.6974) (0.7800,0.6907) (0.8000,0.6842) (0.8200,0.6777) (0.8400,0.6713) (0.8600,0.6651) (0.8800,0.6589) (0.9000,0.6528) (0.9200,0.6468) (0.9400,0.6409) (0.9600,0.6351) (0.9800,0.6293) (1.0000,0.6236)}; \draw[glowgold,line width=1.1pt] plot coordinates {(0.0600,1.0000) (0.0800,1.0000) (0.1000,1.0000) (0.1200,1.0000) (0.1400,1.0000) (0.1600,0.9999) (0.1800,0.9998) (0.2000,0.9994) (0.2200,0.9987) (0.2400,0.9975) (0.2600,0.9952) (0.2800,0.9915) (0.3000,0.9857) (0.3200,0.9771) (0.3400,0.9655) (0.3600,0.9507) (0.3800,0.9332) (0.4000,0.9139) (0.4200,0.8938) (0.4400,0.8740) (0.4600,0.8551) (0.4800,0.8377) (0.5000,0.8217) (0.5200,0.8072) (0.5400,0.7941) (0.5600,0.7822) (0.5800,0.7713) (0.6000,0.7612) (0.6200,0.7518) (0.6400,0.7429) (0.6600,0.7345) (0.6800,0.7265) (0.7000,0.7188) (0.7200,0.7114) (0.7400,0.7042) (0.7600,0.6972) (0.7800,0.6904) (0.8000,0.6837) (0.8200,0.6772) (0.8400,0.6708) (0.8600,0.6645) (0.8800,0.6583) (0.9000,0.6522) (0.9200,0.6462) (0.9400,0.6403) (0.9600,0.6345) (0.9800,0.6288) (1.0000,0.6231)}; \draw[black!60,line width=1.1pt] plot coordinates {(0.0600,1.0000) (0.0800,1.0000) (0.1000,1.0000) (0.1200,0.9999) (0.1400,0.9985) (0.1600,0.9916) (0.1800,0.9711) (0.2000,0.9384) (0.2200,0.9091) (0.2400,0.8897) (0.2600,0.8770) (0.2800,0.8676) (0.3000,0.8596) (0.3200,0.8521) (0.3400,0.8447) (0.3600,0.8374) (0.3800,0.8300) (0.4000,0.8225) (0.4200,0.8150) (0.4400,0.8075) (0.4600,0.7999) (0.4800,0.7924) (0.5000,0.7850) (0.5200,0.7775) (0.5400,0.7702) (0.5600,0.7629) (0.5800,0.7557) (0.6000,0.7485) (0.6200,0.7414) (0.6400,0.7344) (0.6600,0.7275) (0.6800,0.7207) (0.7000,0.7139) (0.7200,0.7072) (0.7400,0.7006) (0.7600,0.6941) (0.7800,0.6877) (0.8000,0.6813) (0.8200,0.6750) (0.8400,0.6688) (0.8600,0.6627) (0.8800,0.6566) (0.9000,0.6506) (0.9200,0.6447) (0.9400,0.6389) (0.9600,0.6331) (0.9800,0.6275) (1.0000,0.6218)}; \draw[black,densely dashed,line width=.8pt] plot coordinates {(0.0600,0.9704) (0.0800,0.9608) (0.1000,0.9512) (0.1200,0.9418) (0.1400,0.9324) (0.1600,0.9232) (0.1800,0.9140) (0.2000,0.9050) (0.2200,0.8960) (0.2400,0.8872) (0.2600,0.8784) (0.2800,0.8698) (0.3000,0.8612) (0.3200,0.8527) (0.3400,0.8443) (0.3600,0.8361) (0.3800,0.8279) (0.4000,0.8198) (0.4200,0.8118) (0.4400,0.8039) (0.4600,0.7961) (0.4800,0.7884) (0.5000,0.7808) (0.5200,0.7732) (0.5400,0.7658) (0.5600,0.7585) (0.5800,0.7512) (0.6000,0.7440) (0.6200,0.7369) (0.6400,0.7300) (0.6600,0.7230) (0.6800,0.7162) (0.7000,0.7095) (0.7200,0.7028) (0.7400,0.6963) (0.7600,0.6898) (0.7800,0.6834) (0.8000,0.6770) (0.8200,0.6708) (0.8400,0.6646) (0.8600,0.6585) (0.8800,0.6525) (0.9000,0.6466) (0.9200,0.6407) (0.9400,0.6349) (0.9600,0.6292) (0.9800,0.6236) (1.0000,0.6180)}; \end{tikzpicture} \caption{The mean energy of the same $4$ arrays, divided by its lower bound, with the same colors as in Figure \ref{fig:heat}. The dashed curve is the paramagnetic prediction, which is followed down to the crystallization, where the energy jumps to $1$.}\label{fig:energy} \end{figure} \medskip The numbers of crystalline states in the above table can be understood in terms of the geometry of the design. Any sign vector can be written as $b=\xi-2\chi_T$, with $\xi$ being as usual the all-one vector, and with $\chi_T$ being the indicator vector of a set of points $T$. We have: \begin{proposition}\label{pr53} Consider the matrices $U_\pm$ of a symmetric $(v,k,\lambda)$ design, set $c_\pm=(k\pm\sqrt{n})/v$, and let $b=\xi-2\chi_T$, with $T$ being a set of $t$ points. \begin{enumerate} \item $U_+b$ is a sign vector precisely when each block meets $T$ in $c_+t$ or in $c_+t-\sqrt{n}$ points. \item $U_-b$ is a sign vector precisely when each block meets $T$ in $c_-t$ or in $c_-t+\sqrt{n}$ points. \end{enumerate} \end{proposition} \begin{proof} Let $x_i$ be the number of points of $T$ lying on the $i$-th block. The sum of the entries of $b$ over this block is $k-2x_i$, and the sum of all the entries of $b$ is $v-2t$. Since the entries of $U_\pm$ are $(1-c_\pm)/\sqrt{n}$ on the blocks and $-c_\pm/\sqrt{n}$ outside, by using $c_\pm v=k\pm\sqrt{n}$ we obtain: $$(U_\pm b)_i=\frac{k-2x_i-c_\pm(v-2t)}{\sqrt{n}}=\frac{2(c_\pm t-x_i)}{\sqrt{n}}\mp1$$ This number is $\pm1$ precisely when $x_i$ is as in the statement. \end{proof} Thus the crystalline states correspond to the sets of points having only 2 intersection numbers with the blocks, which must differ by $\sqrt{n}$. Observe also that, since each point lies on $k$ blocks, we have $\sum_ix_i=kt$, and this shows that the second intersection number in the above statement is attained by exactly $t$ blocks. Thus $a=U_\pm b$ is of the form $a=\mp(\xi-2\chi_{T'})$, with $T'$ being a set of $t$ blocks, and since $b=U_\pm^ta$, this set $T'$ has the same property, with respect to the dual design. Such sets $T$ are classical objects in finite geometry, see \cite{cka}, \cite{hir}, and for the 2 designs of order 4 from Section \ref{sec:designs}, which are projective spaces, we obtain in this way remarkable configurations. The program \texttt{crystals.py} enumerates the crystalline states of these 2 designs, for both $U_+$ and $U_-$, and records the corresponding sets $T$ and their intersection numbers. The empty set and the set of all the points always have the above property, and correspond to the aligned states. In general, we have the following result, illustrated in Figure \ref{fig:crystals}: \begin{theorem}\label{th34} The crystalline states of the arrays of the design matrices $U_\pm$ are as follows, with each set $T$ below producing the $2$ states given by $b=\pm(\xi-2\chi_T)$: \begin{enumerate} \item For any design we have the aligned states, coming from $T=\emptyset$, with $a=-b$ for $U_+$, and $a=b$ for $U_-$. When $n$ is not a square, there are no other crystalline states. \item For the projective space $PG(3,2)$, with parameters $(15,7,3)$, the other states come from the $168$ ovoids, for $U_+$, and from the $35$ lines and the $280$ pairs of skew lines, for $U_-$. \item For the projective plane $PG(2,4)$, with parameters $(21,5,1)$, the other states come from the $168$ hyperovals and the $280$ unitals, for $U_+$, and from the $360$ Baer subplanes, for $U_-$. \end{enumerate} \end{theorem} \begin{proof} We use Proposition \ref{pr53}. Observe first that a set $T$ and its complement produce the same 2 states, so we can restrict the attention to the sets having $t0$, and the matrix $V=Pol(S)$ satisfies $||V||_1\geq\Phi(V,S)=Tr|S|=||U||_1+2\sigma_N$, by Proposition \ref{pr41}. \end{proof} Thus the twisted maximizers are invisible to the polar iteration, which jumps over the walls, while a continuous dynamics, such as the gradient ascent, or the Langevin dynamics at low temperature, can be trapped by them. For the matrix $U_-$ of a Hadamard design the first step of the polar iteration leads to $U_+$, the gain being exactly $2$. In terms of the sign matrices, the fixed points of the polar iteration are the almost Hadamard sign patterns from \cite{bns}, that we will meet again in the next section. \section{Sign matrices, the optimal crystals}\label{sec:dual} We have seen in the previous section that a cooling of the hard matrix model misses the crystals, and ends in a glassy state. In order to find the crystals, which are by definition the optimal almost Hadamard matrices, the efficient way is to use the dual variables, namely the sign matrices, where exhaustive searches and annealing are possible. We have: \begin{proposition}\label{pr42} The maximum of the $1$-norm on $O_N$ equals the maximum of $Tr|S|$ over the sign matrices $S\in M_N(\pm1)$, and the maximizers correspond to each other, with $S$ being the sign matrix of $U$, and with $U$ being a polar part of $S$. Thus the optimal almost Hadamard matrices correspond to the ground states of the Ising model having $N^2$ spins $S_{ij}$, and energy $-Tr|S|$. \end{proposition} \begin{proof} Both maxima are equal to the maximum of $\Phi(U,S)$, by Proposition \ref{pr41}. If $U$ is a maximizer of the 1-norm then its entries are nonzero, by Theorem \ref{th16}, and with $S=sgn(U)$ we have $Tr|S|\geq\Phi(U,S)=||U||_1$, so $S$ is a maximizer of $Tr|S|$, and $U$ is a polar part of it, by the equality case in Proposition \ref{pr41}. Conversely, if $S$ is a maximizer of $Tr|S|$ and $U$ is a polar part of $S$, then $||U||_1\geq\Phi(U,S)=Tr|S|$, so $U$ is a maximizer of the 1-norm, with nonzero entries, and the equality case in $\Phi(U,S)\leq||U||_1$ gives $S=sgn(U)$. \end{proof} The quantity $Tr|S|$ is the energy of the matrix $S$, in the sense of spectral graph theory, where the maximal energy problem has been much studied, see \cite{kmo}, \cite{nik}. The above result is closely related to the work of Holbrook, Johnston and Schoch \cite{hjs}, where the maximum of the 1-norm on $O_N$ is computed in terms of Schur norms, by semidefinite programming, with the exact values $11$, $8+2\sqrt{10}$ and $1+12\sqrt{2}$ at $N=5,6,7$, and with lower bounds up to $N=24$. We will recover these 3 values by an exhaustive search, which gives the whole energy landscape. The above model has a gauge invariance, the energy being invariant under the sign changes and the permutations of the rows and columns. For $N\leq6$ an exhaustive search, modulo the sign changes, is possible, and is done by \texttt{census.py}. At $N=7$ the search modulo the sign changes involves $2^{36}$ matrices, and can be done by using the permutations of the rows as well. This is what the program \texttt{seven.py} does: with the first row and column being positive, the other 6 rows form a multiset of vectors in $\{\pm1\}^6$, and there are $\binom{69}{6}=119877472$ such multisets, to be counted with their multiplicities. The top of the spectrum of $Tr|S|$, as found by \texttt{census.py} and \texttt{seven.py}, is as follows, the numbers of matrices being modulo the sign changes of the rows and columns: \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline $N$&top level&matrices&second level&matrices\\ \hline 5&$11$&120&$5+4\sqrt{2}$&2400\\ \hline 6&$8+2\sqrt{10}$&7200&$10\sqrt{2}$&21600\\ \hline 7&$1+12\sqrt{2}$&151200&$11+4\sqrt{3}$&1058400\\ \hline \end{tabular} \end{center} At $N=7$ the top level is that of the Fano plane, and the second level, which is very close, is that of a sign matrix $S$ with $SS^t$ having eigenvalues $12,12,9,4,4,4,4$, given in \texttt{optimal.py}, which is the sign matrix of its polar part too. With the exhaustive data in hand we can compute the thermodynamics of the model with energy $-Tr|S|$ at temperature $T$. The whole densities of states, and the corresponding specific heat, are shown in Figure \ref{fig:dualdos}, computed by \texttt{pictures.py}. \begin{figure}[H] \centering \begin{tikzpicture}[x=84mm,y=4mm,font=\small] \draw[->,black!70] (.2,0)--(1.04,0) node[below left,text=black] {}; \draw[->,black!70] (.2,0)--(.2,11.6); \foreach \x in {0.4,0.6,0.8,1} \draw (\x,0)--++(0,-.2) node[below] {$\x$}; \foreach \y/\l in {0/1,3/10^3,6/10^6,9/10^9} \draw (.2,\y)--++(-.006,0) node[left] {$\l$}; \draw[black!55,densely dashed] (1,0)--(1,11.2); \draw[black!60,line width=1pt,densely dotted] plot coordinates {(0.4584,0.0000) (0.5702,1.3980) (0.5926,2.0000) (0.6373,2.0000) (0.6820,2.3010) (0.7044,3.2040) (0.7267,3.2900) (0.7491,3.4770) (0.8162,4.2250) (0.8385,4.1580) (0.8609,3.4770) (0.8832,3.5110) (0.9056,4.1760) (0.9280,3.5560) (0.9503,3.3800) (0.9951,2.0790)}; \draw[glowgold,line width=1.1pt] plot coordinates {(0.4168,0.0000) (0.5018,1.5560) (0.5358,2.4770) (0.5528,2.3520) (0.5698,2.6020) (0.6039,2.6530) (0.6209,3.6530) (0.6379,3.9960) (0.6549,4.5220) (0.6719,4.4010) (0.6889,4.5720) (0.7059,4.7300) (0.7229,5.3760) (0.7400,5.8260) (0.7570,6.0340) (0.7740,5.7940) (0.7910,5.9880) (0.8080,6.5280) (0.8250,6.6830) (0.8420,6.5670) (0.8590,6.6110) (0.8760,6.7490) (0.8930,6.7000) (0.9101,6.1480) (0.9271,6.1540) (0.9441,5.4620) (0.9611,4.9400) (0.9781,3.8570)}; \draw[glowblue,line width=1.1pt] plot coordinates {(0.3847,0.0000) (0.4657,1.6900) (0.4792,2.4680) (0.4927,2.6900) (0.5062,2.6440) (0.5197,3.1670) (0.5332,3.0880) (0.5467,3.4230) (0.5602,4.2460) (0.5737,4.4230) (0.5872,5.0880) (0.6007,5.4890) (0.6142,5.6300) (0.6277,5.7470) (0.6412,6.0340) (0.6547,6.5420) (0.6682,6.9930) (0.6817,7.3540) (0.6952,7.6660) (0.7087,7.6600) (0.7222,8.0150) (0.7357,8.3380) (0.7492,8.7610) (0.7627,8.9950) (0.7762,9.1320) (0.7897,9.2530) (0.8032,9.5580) (0.8167,9.8020) (0.8302,9.8830) (0.8437,9.9010) (0.8572,10.0370) (0.8707,10.0340) (0.8842,9.8390) (0.8977,9.7690) (0.9112,9.3160) (0.9247,9.0360) (0.9382,8.3750) (0.9517,7.9520) (0.9652,7.0310)}; \end{tikzpicture}\hfill \begin{tikzpicture}[x=54mm,y=170mm,font=\small] \draw[->,black!70] (0,0)--(1.25,0) node[right,text=black] {$T$}; \draw[->,black!70] (0,0)--(0,.26) node[above,text=black] {$C$}; \foreach \x in {0.4,0.8,1.2} \draw (\x,0)--++(0,-.004) node[below] {$\x$}; \draw[black!60,line width=1pt,densely dotted] plot coordinates {(0.0800,0.2105) (0.1000,0.2274) (0.1200,0.2195) (0.1400,0.2094) (0.1600,0.1976) (0.1800,0.1833) (0.2000,0.1678) (0.2200,0.1524) (0.2400,0.1382) (0.2600,0.1256) (0.2800,0.1145) (0.3000,0.1048) (0.3200,0.0964) (0.3400,0.0891) (0.3600,0.0826) (0.3800,0.0769) (0.4000,0.0718) (0.4200,0.0673) (0.4400,0.0631) (0.4600,0.0594) (0.4800,0.0560) (0.5000,0.0529) (0.5200,0.0501) (0.5400,0.0474) (0.5600,0.0450) (0.5800,0.0428) (0.6000,0.0407) (0.6200,0.0388) (0.6400,0.0370) (0.6600,0.0353) (0.6800,0.0337) (0.7000,0.0323) (0.7200,0.0309) (0.7400,0.0296) (0.7600,0.0284) (0.7800,0.0273) (0.8000,0.0262) (0.8200,0.0252) (0.8400,0.0243) (0.8600,0.0234) (0.8800,0.0225) (0.9000,0.0217) (0.9200,0.0210) (0.9400,0.0202) (0.9600,0.0196) (0.9800,0.0189) (1.0000,0.0183) (1.0200,0.0177) (1.0400,0.0171) (1.0600,0.0166) (1.0800,0.0161) (1.1000,0.0156) (1.1200,0.0151) (1.1400,0.0147) (1.1600,0.0143) (1.1800,0.0139) (1.2000,0.0135)}; \draw[glowgold,line width=1.1pt] plot coordinates {(0.0800,0.1209) (0.1000,0.1432) (0.1200,0.1641) (0.1400,0.1724) (0.1600,0.1686) (0.1800,0.1578) (0.2000,0.1442) (0.2200,0.1303) (0.2400,0.1173) (0.2600,0.1057) (0.2800,0.0955) (0.3000,0.0866) (0.3200,0.0789) (0.3400,0.0721) (0.3600,0.0663) (0.3800,0.0611) (0.4000,0.0565) (0.4200,0.0524) (0.4400,0.0488) (0.4600,0.0456) (0.4800,0.0427) (0.5000,0.0400) (0.5200,0.0377) (0.5400,0.0355) (0.5600,0.0335) (0.5800,0.0317) (0.6000,0.0300) (0.6200,0.0285) (0.6400,0.0271) (0.6600,0.0257) (0.6800,0.0245) (0.7000,0.0234) (0.7200,0.0223) (0.7400,0.0214) (0.7600,0.0204) (0.7800,0.0196) (0.8000,0.0188) (0.8200,0.0180) (0.8400,0.0173) (0.8600,0.0167) (0.8800,0.0160) (0.9000,0.0154) (0.9200,0.0149) (0.9400,0.0143) (0.9600,0.0138) (0.9800,0.0134) (1.0000,0.0129) (1.0200,0.0125) (1.0400,0.0121) (1.0600,0.0117) (1.0800,0.0113) (1.1000,0.0110) (1.1200,0.0106) (1.1400,0.0103) (1.1600,0.0100) (1.1800,0.0097) (1.2000,0.0094)}; \draw[glowblue,line width=1.1pt] plot coordinates {(0.0800,0.1008) (0.1000,0.1341) (0.1200,0.1526) (0.1400,0.1564) (0.1600,0.1504) (0.1800,0.1392) (0.2000,0.1263) (0.2200,0.1135) (0.2400,0.1016) (0.2600,0.0910) (0.2800,0.0817) (0.3000,0.0736) (0.3200,0.0666) (0.3400,0.0605) (0.3600,0.0552) (0.3800,0.0506) (0.4000,0.0465) (0.4200,0.0430) (0.4400,0.0398) (0.4600,0.0370) (0.4800,0.0344) (0.5000,0.0322) (0.5200,0.0301) (0.5400,0.0283) (0.5600,0.0266) (0.5800,0.0251) (0.6000,0.0237) (0.6200,0.0224) (0.6400,0.0212) (0.6600,0.0201) (0.6800,0.0191) (0.7000,0.0182) (0.7200,0.0173) (0.7400,0.0165) (0.7600,0.0158) (0.7800,0.0151) (0.8000,0.0145) (0.8200,0.0139) (0.8400,0.0133) (0.8600,0.0128) (0.8800,0.0123) (0.9000,0.0118) (0.9200,0.0113) (0.9400,0.0109) (0.9600,0.0105) (0.9800,0.0102) (1.0000,0.0098) (1.0200,0.0095) (1.0400,0.0092) (1.0600,0.0088) (1.0800,0.0086) (1.1000,0.0083) (1.1200,0.0080) (1.1400,0.0078) (1.1600,0.0075) (1.1800,0.0073) (1.2000,0.0071)}; \draw (0,0.1)--++(-.008,0) node[left] {$0.1$}; \draw (0,0.2)--++(-.008,0) node[left] {$0.2$}; \end{tikzpicture} \caption{On the left, the number of sign matrices in bins of width $1/4$ of the energy $Tr|S|$, modulo the sign changes of the rows and columns, on a logarithmic scale, against $Tr|S|/N^{3/2}$, at $N=5$ (dotted), $N=6$ (gold) and $N=7$ (blue), the dashed line being the Hadamard bound. On the right, the specific heat per spin of the Ising model with energy $-Tr|S|$, with $(N-1)^2$ free spins, against the temperature, computed from the exact levels at $N=5,6$, and from bins of width $0.01$ at $N=7$.}\label{fig:dualdos} \end{figure} On this figure we can see that the levels which are close to the Hadamard bound are rare: at $N=7$ there are about $10^5$ matrices on the top level, out of $7\cdot10^{10}$, the mean value of $Tr|S|/N^{3/2}$ being $0.851$. As for the specific heat, this has a single maximum, near $T=0.10$ at $N=5$, and near $T=0.14$ at $N=6,7$. For bigger $N$ the program \texttt{anneal.py} performs a simulated annealing with single spin flips \cite{kgv}, with 4 runs of $300000$ steps for each $N$, followed by the polar iteration. All 4 runs end at the same value, for each $N$, and the results are as follows, with the exact values coming from \texttt{optimal.py}, which contains the sign matrices at $N=6,7,9,11$, and computes the characteristic polynomials of $SS^t$ over the integers, and from \texttt{bounds.py} at $N=14$: \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline $N$&best value of $Tr|S|$&numeric÷d by $N^{3/2}$&comment\\ \hline 5&11&11.0000&0.9839&optimal, $K_5$\\ \hline 6&$8+2\sqrt{10}$&14.3246&0.9747&optimal\\ \hline 7&$1+12\sqrt{2}$&17.9706&0.9703&optimal, Fano plane\\ \hline 9&$2+12\sqrt{2}+\sqrt{57}$&26.5204&0.9822&\\ \hline 10&$22\sqrt{2}$&31.1127&0.9839&optimal, $K_5\otimes H_2$\\ \hline 11&see below&35.7007&0.9786&new\\ \hline 13&$5+24\sqrt{3}$&46.5692&0.9935&optimal, plane of order 3\\ \hline 14&$24\sqrt{3}+2\sqrt{26}$&51.7673&0.9882&optimal\\ \hline \end{tabular} \end{center} Here the optimality at $N=10,13,14$ will be proved in the next section. These values are to be compared with those in the table from \cite{bnz}, which lists the best matrices known there up to $N=13$, and with those from \cite{hjs}, up to $N=24$. At $N=5,7,10,13$ we recover the matrices from \cite{bnz}, at $N=6,9,14$ we recover the values from \cite{hjs}, with closed forms at $N=9,14$, and at $N=11$ we obtain a better matrix. At $N=6$ the value $8+2\sqrt{10}$, found in \cite{hjs}, is above the value $10\sqrt{2}=14.1421$ from \cite{bnz}, and the sign matrix of the optimal matrix, and the optimal matrix $U_6=Pol(S_6)$ itself, are as follows, with $a=1/\sqrt{10}$, $b=1/3+1/(3\sqrt{10})$ and $c=2/3-1/(3\sqrt{10})$, that is, $a=0.316$, $b=0.439$, $c=0.561$, as computed by \texttt{pictures.py}: $$S_6=\left(\begin{array}{cccccc} +&+&+&+&+&+\\ +&-&-&-&+&+\\ +&-&-&+&-&+\\ +&-&-&+&+&-\\ +&-&+&-&-&-\\ +&+&-&-&-&- \end{array}\right)\qquad\quad U_6=\left(\begin{array}{rrrrrr} c&b&b&a&a&a\\ a&-a&-a&-c&b&b\\ a&-a&-a&b&-c&b\\ a&-a&-a&b&b&-c\\ b&-b&c&-a&-a&-a\\ b&c&-b&-a&-a&-a \end{array}\right)$$ We have $Tr|S_6|=8+2\sqrt{10}$, the singular values being $\sqrt{10}$, with multiplicity 2, and 2, with multiplicity 4. At $N=7$ the top level is that of the Fano plane, as explained above, and the second level, $11+4\sqrt{3}$, is that of the matrix $S_7'$ below. At $N=9$ the best matrix that we know is $S_9$ below, the eigenvalues of $S_9S_9^t$ being 8, with multiplicity 6, then $(29\pm\sqrt{57})/2$, and 4: {\small\setlength{\arraycolsep}{3pt} $$S_7'=\left(\begin{array}{ccccccc} +&+&+&+&+&+&+\\ +&-&-&-&-&-&+\\ +&-&+&-&-&+&-\\ +&+&-&-&-&+&-\\ +&-&-&+&+&-&-\\ +&+&+&-&+&-&-\\ +&+&+&+&-&-&- \end{array}\right)\qquad\quad S_9=\left(\begin{array}{ccccccccc} +&-&-&-&+&+&+&-&-\\ +&+&-&+&+&+&-&-&+\\ +&+&-&-&-&-&+&+&+\\ +&-&+&+&+&+&+&+&+\\ -&+&-&+&+&+&+&+&-\\ +&+&+&-&-&+&-&+&-\\ -&+&+&-&+&+&+&-&+\\ -&-&-&+&-&+&+&-&+\\ +&+&+&+&-&-&+&-&- \end{array}\right)$$ } Both these matrices are the sign matrices of their polar parts, as verified by \texttt{optimal.py}. At $N=11$ the matrix of the Paley biplane has 1-norm $1+20\sqrt{3}=35.6410$, the best previous value is $35.6991$, from \cite{hjs}, and the sign matrix found by the annealing is as follows: $$S_{11}=\left(\begin{array}{ccccccccccc} +&+&+&+&+&-&-&+&+&-&-\\ +&+&+&-&+&+&+&+&+&+&-\\ -&-&+&-&+&+&-&+&+&+&+\\ +&-&+&-&+&-&-&-&-&+&-\\ +&+&+&-&-&+&-&+&-&-&+\\ -&-&-&+&+&+&+&+&-&-&-\\ -&+&+&-&+&-&+&-&-&-&+\\ +&-&+&+&+&+&+&-&+&-&+\\ +&-&-&-&+&-&+&+&+&-&+\\ -&-&+&-&-&-&+&+&+&-&-\\ -&+&-&-&+&+&-&-&+&-&- \end{array}\right)$$ The eigenvalues of $S_{11}S_{11}^t$ are 12, with multiplicity 4, then $12\pm4\sqrt{2}$, each with multiplicity 2, then $(21\pm\sqrt{41})/2$, and 4, and this gives the following formula: $$Tr|S_{11}|=2+8\sqrt{3}+\sqrt{41}+4\sqrt{6+2\sqrt{7}}=35.7006\ldots$$ The upper bounds from the next section are $26.7505$ at $N=9$ and $36.2054$ at $N=11$, so $S_9$ and $S_{11}$ are within $0.9\%$ and $1.4\%$ of them. We do not know if these 2 matrices are optimal. In the language of the switching game from Section \ref{sec:wires}, the dual model is a game for the designer of the board, who chooses which lamps are lit, the goal being to maximize the energy $Tr|S|$ of the board. Figure \ref{fig:boards} shows the boards of $S_6$, of the Paley biplane, and of $S_{11}$. \begin{figure}[H] \centering \begin{tikzpicture}[x=4.3mm,y=4.3mm,font=\small] \draw[black!30] (-0.50,0)--(5.50,0); \draw[black!30] (0.00,.5)--(0.00,-5.5); \draw[black!30] (-0.50,-1)--(5.50,-1); \draw[black!30] (1.00,.5)--(1.00,-5.5); \draw[black!30] (-0.50,-2)--(5.50,-2); \draw[black!30] (2.00,.5)--(2.00,-5.5); \draw[black!30] (-0.50,-3)--(5.50,-3); \draw[black!30] (3.00,.5)--(3.00,-5.5); \draw[black!30] (-0.50,-4)--(5.50,-4); \draw[black!30] (4.00,.5)--(4.00,-5.5); \draw[black!30] (-0.50,-5)--(5.50,-5); \draw[black!30] (5.00,.5)--(5.00,-5.5); \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (1.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (2.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (3.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (4.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (5.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,-1) circle[radius=.27]; \draw[draw=black!60,fill=white] (1.00,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (2.00,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (3.00,-1) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (4.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (5.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,-2) circle[radius=.27]; \draw[draw=black!60,fill=white] (1.00,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (2.00,-2) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (3.00,-2) circle[radius=.27]; \draw[draw=black!60,fill=white] (4.00,-2) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (5.00,-2) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (1.00,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (2.00,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (3.00,-3) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (4.00,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (5.00,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (1.00,-4) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (2.00,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (3.00,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (4.00,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (5.00,-4) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (0.00,-5) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (1.00,-5) circle[radius=.27]; \draw[draw=black!60,fill=white] (2.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (3.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (4.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (5.00,-5) circle[radius=.2]; \node at (2.50,-6.4) {$S_6$}; \draw[black!30] (8.00,0)--(19.00,0); \draw[black!30] (8.50,.5)--(8.50,-10.5); \draw[black!30] (8.00,-1)--(19.00,-1); \draw[black!30] (9.50,.5)--(9.50,-10.5); \draw[black!30] (8.00,-2)--(19.00,-2); \draw[black!30] (10.50,.5)--(10.50,-10.5); \draw[black!30] (8.00,-3)--(19.00,-3); \draw[black!30] (11.50,.5)--(11.50,-10.5); \draw[black!30] (8.00,-4)--(19.00,-4); \draw[black!30] (12.50,.5)--(12.50,-10.5); \draw[black!30] (8.00,-5)--(19.00,-5); \draw[black!30] (13.50,.5)--(13.50,-10.5); \draw[black!30] (8.00,-6)--(19.00,-6); \draw[black!30] (14.50,.5)--(14.50,-10.5); \draw[black!30] (8.00,-7)--(19.00,-7); \draw[black!30] (15.50,.5)--(15.50,-10.5); \draw[black!30] (8.00,-8)--(19.00,-8); \draw[black!30] (16.50,.5)--(16.50,-10.5); \draw[black!30] (8.00,-9)--(19.00,-9); \draw[black!30] (17.50,.5)--(17.50,-10.5); \draw[black!30] (8.00,-10)--(19.00,-10); \draw[black!30] (18.50,.5)--(18.50,-10.5); \draw[draw=black!60,fill=white] (8.50,0) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (9.50,0) circle[radius=.27]; \draw[draw=black!60,fill=white] (10.50,0) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.50,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.50,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.50,0) circle[radius=.27]; \draw[draw=black!60,fill=white] (14.50,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (15.50,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (16.50,0) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.50,0) circle[radius=.27]; \draw[draw=black!60,fill=white] (18.50,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (8.50,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (9.50,-1) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (10.50,-1) circle[radius=.27]; \draw[draw=black!60,fill=white] (11.50,-1) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.50,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.50,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.50,-1) circle[radius=.27]; \draw[draw=black!60,fill=white] (15.50,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (16.50,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (17.50,-1) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (18.50,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (8.50,-2) circle[radius=.27]; \draw[draw=black!60,fill=white] (9.50,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (10.50,-2) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.50,-2) circle[radius=.27]; \draw[draw=black!60,fill=white] (12.50,-2) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.50,-2) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.50,-2) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.50,-2) circle[radius=.27]; \draw[draw=black!60,fill=white] (16.50,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (17.50,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (18.50,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (8.50,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (9.50,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (10.50,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (11.50,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.50,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (13.50,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.50,-3) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.50,-3) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.50,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (17.50,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (18.50,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (8.50,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (9.50,-4) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (10.50,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (11.50,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (12.50,-4) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.50,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (14.50,-4) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.50,-4) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.50,-4) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.50,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (18.50,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (8.50,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (9.50,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (10.50,-5) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.50,-5) circle[radius=.27]; \draw[draw=black!60,fill=white] (12.50,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (13.50,-5) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.50,-5) circle[radius=.27]; \draw[draw=black!60,fill=white] (15.50,-5) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.50,-5) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.50,-5) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (18.50,-5) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (8.50,-6) circle[radius=.27]; \draw[draw=black!60,fill=white] (9.50,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (10.50,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (11.50,-6) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.50,-6) circle[radius=.27]; \draw[draw=black!60,fill=white] (13.50,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (14.50,-6) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.50,-6) circle[radius=.27]; \draw[draw=black!60,fill=white] (16.50,-6) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.50,-6) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (18.50,-6) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (8.50,-7) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (9.50,-7) circle[radius=.27]; \draw[draw=black!60,fill=white] (10.50,-7) circle[radius=.2]; \draw[draw=black!60,fill=white] (11.50,-7) circle[radius=.2]; \draw[draw=black!60,fill=white] (12.50,-7) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (13.50,-7) circle[radius=.27]; \draw[draw=black!60,fill=white] (14.50,-7) circle[radius=.2]; \draw[draw=black!60,fill=white] (15.50,-7) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.50,-7) circle[radius=.27]; \draw[draw=black!60,fill=white] (17.50,-7) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (18.50,-7) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (8.50,-8) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (9.50,-8) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (10.50,-8) circle[radius=.27]; \draw[draw=black!60,fill=white] (11.50,-8) circle[radius=.2]; \draw[draw=black!60,fill=white] (12.50,-8) circle[radius=.2]; \draw[draw=black!60,fill=white] (13.50,-8) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (14.50,-8) circle[radius=.27]; \draw[draw=black!60,fill=white] (15.50,-8) circle[radius=.2]; \draw[draw=black!60,fill=white] (16.50,-8) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (17.50,-8) circle[radius=.27]; \draw[draw=black!60,fill=white] (18.50,-8) circle[radius=.2]; \draw[draw=black!60,fill=white] (8.50,-9) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (9.50,-9) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (10.50,-9) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.50,-9) circle[radius=.27]; \draw[draw=black!60,fill=white] (12.50,-9) circle[radius=.2]; \draw[draw=black!60,fill=white] (13.50,-9) circle[radius=.2]; \draw[draw=black!60,fill=white] (14.50,-9) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (15.50,-9) circle[radius=.27]; \draw[draw=black!60,fill=white] (16.50,-9) circle[radius=.2]; \draw[draw=black!60,fill=white] (17.50,-9) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (18.50,-9) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (8.50,-10) circle[radius=.27]; \draw[draw=black!60,fill=white] (9.50,-10) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (10.50,-10) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (11.50,-10) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (12.50,-10) circle[radius=.27]; \draw[draw=black!60,fill=white] (13.50,-10) circle[radius=.2]; \draw[draw=black!60,fill=white] (14.50,-10) circle[radius=.2]; \draw[draw=black!60,fill=white] (15.50,-10) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (16.50,-10) circle[radius=.27]; \draw[draw=black!60,fill=white] (17.50,-10) circle[radius=.2]; \draw[draw=black!60,fill=white] (18.50,-10) circle[radius=.2]; \node at (13.50,-11.4) {Paley biplane}; \draw[black!30] (21.50,0)--(32.50,0); \draw[black!30] (22.00,.5)--(22.00,-10.5); \draw[black!30] (21.50,-1)--(32.50,-1); \draw[black!30] (23.00,.5)--(23.00,-10.5); \draw[black!30] (21.50,-2)--(32.50,-2); \draw[black!30] (24.00,.5)--(24.00,-10.5); \draw[black!30] (21.50,-3)--(32.50,-3); \draw[black!30] (25.00,.5)--(25.00,-10.5); \draw[black!30] (21.50,-4)--(32.50,-4); \draw[black!30] (26.00,.5)--(26.00,-10.5); \draw[black!30] (21.50,-5)--(32.50,-5); \draw[black!30] (27.00,.5)--(27.00,-10.5); \draw[black!30] (21.50,-6)--(32.50,-6); \draw[black!30] (28.00,.5)--(28.00,-10.5); \draw[black!30] (21.50,-7)--(32.50,-7); \draw[black!30] (29.00,.5)--(29.00,-10.5); \draw[black!30] (21.50,-8)--(32.50,-8); \draw[black!30] (30.00,.5)--(30.00,-10.5); \draw[black!30] (21.50,-9)--(32.50,-9); \draw[black!30] (31.00,.5)--(31.00,-10.5); \draw[black!30] (21.50,-10)--(32.50,-10); \draw[black!30] (32.00,.5)--(32.00,-10.5); \filldraw[draw=glowgold!75!black,fill=glowgold] (22.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (23.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (24.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (25.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,0) circle[radius=.27]; \draw[draw=black!60,fill=white] (27.00,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (28.00,0) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (29.00,0) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (30.00,0) circle[radius=.27]; \draw[draw=black!60,fill=white] (31.00,0) circle[radius=.2]; \draw[draw=black!60,fill=white] (32.00,0) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (22.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (23.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (24.00,-1) circle[radius=.27]; \draw[draw=black!60,fill=white] (25.00,-1) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (27.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (28.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (29.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (30.00,-1) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (31.00,-1) circle[radius=.27]; \draw[draw=black!60,fill=white] (32.00,-1) circle[radius=.2]; \draw[draw=black!60,fill=white] (22.00,-2) circle[radius=.2]; \draw[draw=black!60,fill=white] (23.00,-2) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (24.00,-2) circle[radius=.27]; \draw[draw=black!60,fill=white] (25.00,-2) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,-2) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (27.00,-2) circle[radius=.27]; \draw[draw=black!60,fill=white] (28.00,-2) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (29.00,-2) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (30.00,-2) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (31.00,-2) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (32.00,-2) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (22.00,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (23.00,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (24.00,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (25.00,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (27.00,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (28.00,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (29.00,-3) circle[radius=.2]; \draw[draw=black!60,fill=white] (30.00,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (31.00,-3) circle[radius=.27]; \draw[draw=black!60,fill=white] (32.00,-3) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (22.00,-4) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (23.00,-4) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (24.00,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (25.00,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (26.00,-4) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (27.00,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (28.00,-4) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (29.00,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (30.00,-4) circle[radius=.2]; \draw[draw=black!60,fill=white] (31.00,-4) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (32.00,-4) circle[radius=.27]; \draw[draw=black!60,fill=white] (22.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (23.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (24.00,-5) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (25.00,-5) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,-5) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (27.00,-5) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (28.00,-5) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (29.00,-5) circle[radius=.27]; \draw[draw=black!60,fill=white] (30.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (31.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (32.00,-5) circle[radius=.2]; \draw[draw=black!60,fill=white] (22.00,-6) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (23.00,-6) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (24.00,-6) circle[radius=.27]; \draw[draw=black!60,fill=white] (25.00,-6) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,-6) circle[radius=.27]; \draw[draw=black!60,fill=white] (27.00,-6) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (28.00,-6) circle[radius=.27]; \draw[draw=black!60,fill=white] (29.00,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (30.00,-6) circle[radius=.2]; \draw[draw=black!60,fill=white] (31.00,-6) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (32.00,-6) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (22.00,-7) circle[radius=.27]; \draw[draw=black!60,fill=white] (23.00,-7) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (24.00,-7) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (25.00,-7) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,-7) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (27.00,-7) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (28.00,-7) circle[radius=.27]; \draw[draw=black!60,fill=white] (29.00,-7) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (30.00,-7) circle[radius=.27]; \draw[draw=black!60,fill=white] (31.00,-7) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (32.00,-7) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (22.00,-8) circle[radius=.27]; \draw[draw=black!60,fill=white] (23.00,-8) circle[radius=.2]; \draw[draw=black!60,fill=white] (24.00,-8) circle[radius=.2]; \draw[draw=black!60,fill=white] (25.00,-8) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,-8) circle[radius=.27]; \draw[draw=black!60,fill=white] (27.00,-8) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (28.00,-8) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (29.00,-8) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (30.00,-8) circle[radius=.27]; \draw[draw=black!60,fill=white] (31.00,-8) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (32.00,-8) circle[radius=.27]; \draw[draw=black!60,fill=white] (22.00,-9) circle[radius=.2]; \draw[draw=black!60,fill=white] (23.00,-9) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (24.00,-9) circle[radius=.27]; \draw[draw=black!60,fill=white] (25.00,-9) circle[radius=.2]; \draw[draw=black!60,fill=white] (26.00,-9) circle[radius=.2]; \draw[draw=black!60,fill=white] (27.00,-9) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (28.00,-9) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (29.00,-9) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (30.00,-9) circle[radius=.27]; \draw[draw=black!60,fill=white] (31.00,-9) circle[radius=.2]; \draw[draw=black!60,fill=white] (32.00,-9) circle[radius=.2]; \draw[draw=black!60,fill=white] (22.00,-10) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (23.00,-10) circle[radius=.27]; \draw[draw=black!60,fill=white] (24.00,-10) circle[radius=.2]; \draw[draw=black!60,fill=white] (25.00,-10) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (26.00,-10) circle[radius=.27]; \filldraw[draw=glowgold!75!black,fill=glowgold] (27.00,-10) circle[radius=.27]; \draw[draw=black!60,fill=white] (28.00,-10) circle[radius=.2]; \draw[draw=black!60,fill=white] (29.00,-10) circle[radius=.2]; \filldraw[draw=glowgold!75!black,fill=glowgold] (30.00,-10) circle[radius=.27]; \draw[draw=black!60,fill=white] (31.00,-10) circle[radius=.2]; \draw[draw=black!60,fill=white] (32.00,-10) circle[radius=.2]; \node at (27.00,-11.4) {$S_{11}$}; \end{tikzpicture} \caption{The boards of the sign matrix $S_6$, which maximizes $Tr|S|$, of the Paley biplane, and of $S_{11}$, whose energy is higher than that of the Paley biplane. The lamps are lit at the entries $1$.}\label{fig:boards} \end{figure} Summarizing, the dual model gives the exact maxima up to $N=7$, and lower bounds afterwards. We have the following result, the first 2 assertions being known from \cite{hjs}, in terms of Schur norms, and the last one improving the bound $35.6991$ from there: \begin{theorem}\label{th43} The maximum $m_N$ of the $1$-norm on $O_N$ is as follows: \begin{enumerate} \item $m_5=11$, $m_6=8+2\sqrt{10}$ and $m_7=1+12\sqrt{2}$, by exhaustive search. \item At $N=7$ any maximizer is obtained from the matrix $U_+$ of the Fano plane by permuting the rows and columns, and changing their signs. \item $m_9\geq2+12\sqrt{2}+\sqrt{57}$, and $m_{11}\geq35.7006$, the Paley biplane giving $1+20\sqrt{3}=35.6410$. \end{enumerate} \end{theorem} \begin{proof} (1,3) This follows from Proposition \ref{pr42} and from the above computations, the sign matrices at $N=6,7,9,11$ being indeed the sign matrices of their polar parts. (2) By Proposition \ref{pr42} it is enough to show that the maximizers of $Tr|S|$ are the sign matrices obtained from $S=2M-\mathbb I$, with $M$ being the incidence matrix of the Fano plane, by permuting the rows and columns, and changing their signs. All these matrices are maximizers. In order to count them, assume $PSQ=S$, with $P,Q$ being signed permutation matrices. Then $P$ commutes with $SS^t=8-\mathbb I$, so $P\xi=\pm\xi$, and similarly $Q\xi=\pm\xi$. Thus, up to a common sign, $P,Q$ are permutation matrices, which must form an automorphism of the Fano plane. Since there are $168$ such automorphisms, the number of matrices in question, modulo the sign changes, is $(7!)^2/168=151200$. But this is precisely the number of maximizers found by \texttt{seven.py}, and we are done. \end{proof} Thus the Fano plane is the crystal of the hard matrix model at $N=7$, which is unique, up to the symmetries of the model. \medskip The energy levels found above have a common explanation, coming from the submatrices of the Hadamard matrices. Consider a Hadamard matrix of order $N=r+d$, with $r\leq d$, written in block form, with square blocks $A\in M_r(\pm1)$ and $D\in M_d(\pm1)$ on the diagonal: $$H=\begin{pmatrix}A&B\\ C&D\end{pmatrix}$$ The matrices $A,D$ are called complementary, and they are related by the following result, due to Sz\"oll\H{o}si \cite{szo} for the first assertion, and coming from \cite{bns} for the other ones: \begin{theorem}\label{th7c} With the above notations, the following hold: \begin{enumerate} \item The singular values of $D$ are those of $A$, and $\sqrt{N}$ with multiplicity $d-r$. In particular we have $Tr|D|=Tr|A|+(d-r)\sqrt{N}$ and $|\det D|=N^{(d-r)/2}|\det A|$. \item When $A$ is invertible, $\sqrt{N}\,Pol(D)=D-E$, where $E=C(\sqrt{N}+|A|)^{-1}Pol(A)^tB$. \item When the entries of $E$ are smaller than $1$ in absolute value, which is the case for $r\leq3$, and for $A$ Hadamard with $N>r(r-1)^2$, the matrix $D$ is the sign matrix of its polar part, which is a plain local maximizer of the $1$-norm on $O_d$. \end{enumerate} \end{theorem} \begin{proof} (1) The orthogonality of the rows and of the columns of $H$ gives $AA^t+BB^t=N$ and $B^tB+D^tD=N$, and the result follows from the fact that $BB^t$ and $B^tB$ have the same eigenvalues, up to $d-r$ values of 0. (2) By using the other orthogonality relations, the singular value decompositions of the 4 blocks can be chosen in a compatible way, with only 4 orthogonal matrices involved, and the formula follows by multiplying. See \cite{bns}, and \cite{tgp} for the complex case. (3) Here $Pol(D)$ has the same signs as $D$, and since $D^tPol(D)=|D|$ is positive, Theorem \ref{th62} applies. As for the estimates, with $||.||_\infty$ being the biggest absolute value of the entries, we have $||E||_\infty\leq r^2||(\sqrt{N}+|A|)^{-1}Pol(A)^t||_\infty$, which is $r\sqrt{r}/(\sqrt{r}+\sqrt{N})$ when $A$ is Hadamard, and at $r\leq3$ the matrix $E$ can be computed explicitly \cite{bns}. \end{proof} At $r=1$, with $H$ normalized as to have 1 entries on its first row and column, the matrix $D$ is the core of $H$. This is the sign matrix $S=2M-\mathbb I$ of a Hadamard design, with $v=N-1$, and any Hadamard design appears in this way \cite{sti}. Here $A=(1)$ and $E=\mathbb I/(1+\sqrt{N})$, so we recover the matrices $U_+$ of the Hadamard designs, in the form $\sqrt{N}\,U_+=S-\mathbb I/(1+\sqrt{N})$, and with $Tr|D|=1+(N-2)\sqrt{N}$. In general, the program \texttt{detours.py} goes through the complements of the small submatrices of the Hadamard matrices of order 8 and 12, which are unique up to equivalence, with the following results: \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|} \hline order&inside&$r$&$A$&$Tr|D|$&numeric&comment\\ \hline 5&$H_8$&3&invertible&$5+4\sqrt{2}$&10.6569&second level\\ \hline 6&$H_8$&2&Hadamard&$10\sqrt{2}$&14.1421&second level\\ \hline 7&$H_8$&1&$(1)$&$1+12\sqrt{2}$&17.9706&top level, Fano plane\\ \hline 7&$H_{12}$&5&optimal&$11+4\sqrt{3}$&17.9282&second level, $S_7'$\\ \hline 9&$H_{12}$&3&invertible&$5+12\sqrt{3}$&25.7846&below $S_9$\\ \hline 10&$H_{12}$&2&Hadamard&$2\sqrt{2}+16\sqrt{3}$&30.5412&below $K_5\otimes H_2$\\ \hline 11&$H_{12}$&1&$(1)$&$1+20\sqrt{3}$&35.6410&Paley biplane\\ \hline \end{tabular} \end{center} Thus all the second levels found by the exhaustive searches come from complements. The case of $S_7'$ is particularly interesting: this matrix is equivalent to the complement, inside $H_{12}$, of the optimal matrix of order 5, whose energy is $m_5=11$, and whose determinant is 48. By (1) its determinant is $12\cdot48=576$, which is the maximal determinant at order 7, and we will come back to this in the next section. This is an instance of the embedding of the maximal determinant matrices into the Hadamard matrices, studied in \cite{smi}, with the minors of the Hadamard matrices themselves being computed in \cite{kms}, \cite{sxk}. As a last comment, the smallness assumption in (3) is needed. As shown in \cite{bns}, the Walsh matrix of order 8 has a $4\times4$ submatrix whose polar part has a zero entry, lying therefore on a wall, and $H_{12}$ has $7\times7$ submatrices which are not the sign matrices of their polar parts. The program \texttt{detours.py} finds that this latter phenomenon is not rare: among the complements of the invertible $5\times5$ submatrices of $H_{12}$, about one third are not the sign matrices of their polar parts. \section{Conference matrices, the upper bounds}\label{sec:bounds} We have seen that the dual model gives the optimal matrices up to $N=7$. In this section we go beyond this, with upper bounds for the 1-norm, which are attained at $N=5,6,10,13,14$. Let us start with the orders $N=6,10,14$, where a second construction of Paley is available \cite{pal}. For a prime power $q=1(4)$ the Paley graph has as vertices the elements of $\mathbb F_q$, with 2 vertices being joined when their difference is a square. With $A$ being the adjacency matrix of this graph, and with $\bar{A}$ being that of the complementary graph, the matrix $A-\bar{A}$, bordered with a first row and a first column of 1 entries, and with 0 on the diagonal, is a conference matrix: it has order $N=q+1$, and it satisfies $CC^t=q$. The Paley graphs are strongly regular, with parameters $(q,(q-1)/2,(q-5)/4,(q-1)/4)$, as mentioned in Section \ref{sec:designs}. Figure \ref{fig:paley} shows the Paley graphs of order $5,9,13$. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \draw[glowblue,line width=.9pt] (0.000,1.400)--(1.331,0.433); \draw[glowblue,line width=.9pt] (1.331,0.433)--(0.823,-1.133); \draw[glowblue,line width=.9pt] (0.823,-1.133)--(-0.823,-1.133); \draw[glowblue,line width=.9pt] (-0.823,-1.133)--(-1.331,0.433); \draw[glowblue,line width=.9pt] (-1.331,0.433)--(0.000,1.400); \filldraw[draw=glowblue,fill=white,line width=.9pt] (0.000,1.400) circle[radius=.09]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (1.331,0.433) circle[radius=.09]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (0.823,-1.133) circle[radius=.09]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (-0.823,-1.133) circle[radius=.09]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (-1.331,0.433) circle[radius=.09]; \node at (0,-2.05) {order $5$}; \draw[glowblue,line width=.9pt] (3.40,-1.00)--(5.40,-1.00); \draw[glowblue,line width=.9pt] (3.40,-1.00) to[bend left=38] (5.40,-1.00); \draw[glowgold,line width=.9pt] (3.40,-1.00)--(3.40,1.00); \draw[glowgold,line width=.9pt] (3.40,-1.00) to[bend left=38] (3.40,1.00); \draw[glowblue,line width=.9pt] (3.40,0.00)--(5.40,0.00); \draw[glowblue,line width=.9pt] (3.40,0.00) to[bend left=38] (5.40,0.00); \draw[glowgold,line width=.9pt] (4.40,-1.00)--(4.40,1.00); \draw[glowgold,line width=.9pt] (4.40,-1.00) to[bend left=38] (4.40,1.00); \draw[glowblue,line width=.9pt] (3.40,1.00)--(5.40,1.00); \draw[glowblue,line width=.9pt] (3.40,1.00) to[bend left=38] (5.40,1.00); \draw[glowgold,line width=.9pt] (5.40,-1.00)--(5.40,1.00); \draw[glowgold,line width=.9pt] (5.40,-1.00) to[bend left=38] (5.40,1.00); \filldraw[draw=black,fill=white,line width=.8pt] (3.40,-1.00) circle[radius=.09]; \filldraw[draw=black,fill=white,line width=.8pt] (3.40,0.00) circle[radius=.09]; \filldraw[draw=black,fill=white,line width=.8pt] (3.40,1.00) circle[radius=.09]; \filldraw[draw=black,fill=white,line width=.8pt] (4.40,-1.00) circle[radius=.09]; \filldraw[draw=black,fill=white,line width=.8pt] (4.40,0.00) circle[radius=.09]; \filldraw[draw=black,fill=white,line width=.8pt] (4.40,1.00) circle[radius=.09]; \filldraw[draw=black,fill=white,line width=.8pt] (5.40,-1.00) circle[radius=.09]; \filldraw[draw=black,fill=white,line width=.8pt] (5.40,0.00) circle[radius=.09]; \filldraw[draw=black,fill=white,line width=.8pt] (5.40,1.00) circle[radius=.09]; \node at (4.4,-2.05) {order $9$}; \draw[glowblue,line width=.6pt] (9.200,1.500)--(9.897,1.328); \draw[glowblue,line width=.6pt] (9.200,1.500)--(10.689,0.181); \draw[glowblue,line width=.6pt] (9.200,1.500)--(10.603,-0.532); \draw[glowblue,line width=.6pt] (9.897,1.328)--(10.434,0.852); \draw[glowblue,line width=.6pt] (9.897,1.328)--(10.603,-0.532); \draw[glowblue,line width=.6pt] (9.897,1.328)--(10.195,-1.123); \draw[glowblue,line width=.6pt] (10.434,0.852)--(10.689,0.181); \draw[glowblue,line width=.6pt] (10.434,0.852)--(10.195,-1.123); \draw[glowblue,line width=.6pt] (10.434,0.852)--(9.559,-1.456); \draw[glowblue,line width=.6pt] (10.689,0.181)--(10.603,-0.532); \draw[glowblue,line width=.6pt] (10.689,0.181)--(9.559,-1.456); \draw[glowblue,line width=.6pt] (10.689,0.181)--(8.841,-1.456); \draw[glowblue,line width=.6pt] (10.603,-0.532)--(10.195,-1.123); \draw[glowblue,line width=.6pt] (10.603,-0.532)--(8.841,-1.456); \draw[glowblue,line width=.6pt] (10.603,-0.532)--(8.205,-1.123); \draw[glowblue,line width=.6pt] (10.195,-1.123)--(9.559,-1.456); \draw[glowblue,line width=.6pt] (10.195,-1.123)--(8.205,-1.123); \draw[glowblue,line width=.6pt] (10.195,-1.123)--(7.797,-0.532); \draw[glowblue,line width=.6pt] (9.559,-1.456)--(8.841,-1.456); \draw[glowblue,line width=.6pt] (9.559,-1.456)--(7.797,-0.532); \draw[glowblue,line width=.6pt] (9.559,-1.456)--(7.711,0.181); \draw[glowblue,line width=.6pt] (8.841,-1.456)--(8.205,-1.123); \draw[glowblue,line width=.6pt] (8.841,-1.456)--(7.711,0.181); \draw[glowblue,line width=.6pt] (8.841,-1.456)--(7.966,0.852); \draw[glowblue,line width=.6pt] (8.205,-1.123)--(7.797,-0.532); \draw[glowblue,line width=.6pt] (8.205,-1.123)--(7.966,0.852); \draw[glowblue,line width=.6pt] (8.205,-1.123)--(8.503,1.328); \draw[glowblue,line width=.6pt] (7.797,-0.532)--(7.711,0.181); \draw[glowblue,line width=.6pt] (7.797,-0.532)--(8.503,1.328); \draw[glowblue,line width=.6pt] (7.797,-0.532)--(9.200,1.500); \draw[glowblue,line width=.6pt] (7.711,0.181)--(7.966,0.852); \draw[glowblue,line width=.6pt] (7.711,0.181)--(9.200,1.500); \draw[glowblue,line width=.6pt] (7.711,0.181)--(9.897,1.328); \draw[glowblue,line width=.6pt] (7.966,0.852)--(8.503,1.328); \draw[glowblue,line width=.6pt] (7.966,0.852)--(9.897,1.328); \draw[glowblue,line width=.6pt] (7.966,0.852)--(10.434,0.852); \draw[glowblue,line width=.6pt] (8.503,1.328)--(9.200,1.500); \draw[glowblue,line width=.6pt] (8.503,1.328)--(10.434,0.852); \draw[glowblue,line width=.6pt] (8.503,1.328)--(10.689,0.181); \filldraw[draw=glowblue,fill=white,line width=.9pt] (9.200,1.500) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (9.897,1.328) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (10.434,0.852) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (10.689,0.181) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (10.603,-0.532) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (10.195,-1.123) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (9.559,-1.456) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (8.841,-1.456) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (8.205,-1.123) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (7.797,-0.532) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (7.711,0.181) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (7.966,0.852) circle[radius=.08]; \filldraw[draw=glowblue,fill=white,line width=.9pt] (8.503,1.328) circle[radius=.08]; \node at (9.2,-2.05) {order $13$}; \end{tikzpicture} \caption{The Paley graphs of order $5,9,13$: the pentagon, the graph of the moves of a rook on a $3\times3$ board, where each row and each column is a triangle, and the graph on $\mathbb Z_{13}$ where $i,j$ are joined when $i-j=\pm1,\pm3,\pm4$.}\label{fig:paley} \end{figure} The matrix $U=C/\sqrt{q}$ is orthogonal, but has $N$ zero entries, so it is not almost Hadamard. In the language of Section \ref{sec:moving}, this matrix lies on $N$ walls at the same time, and here is what the 1-norm does around it: \begin{proposition}\label{pr8h} Let $C$ be a symmetric conference matrix of order $N=q+1$, and set $U=C/\sqrt{q}$. \begin{enumerate} \item We have $||U||_1=N\sqrt{N-1}$. \item For any antisymmetric matrix $A$ we have $||Ue^{tA}||_1=N\sqrt{N-1}+|t|\sum_i|(UA)_{ii}|+O(t^2)$. \end{enumerate} In particular the $1$-norm increases, linearly, in any direction which is transverse to the walls. \end{proposition} \begin{proof} (1) is clear, $U$ having $N^2-N$ nonzero entries, equal to $\pm1/\sqrt{q}$. As for (2), the entries of $Ue^{tA}$ are $U_{ij}+t(UA)_{ij}+O(t^2)$. The off-diagonal ones contribute to the 1-norm with $|U_{ij}|+t\,C_{ij}(UA)_{ij}$, and since $C_{ii}=0$, the sum of the terms of order 1 is $t\,Tr(C^tUA)=t\sqrt{q}\,Tr(A)=0$. The diagonal entries contribute with $|t||(UA)_{ii}|$, and this gives the result. \end{proof} Thus $U$ is the bottom of a funnel, surrounded by $2^N$ sign regions, which correspond to the sign matrices $S=C+D$ obtained by filling the diagonal of $C$ with signs. For the pentagon the conference matrix, and its best filling, which is the one with $D=diag(1,1,1,-1,-1,-1)$, are as follows: {\small\setlength{\arraycolsep}{3pt} $$C_6=\left(\begin{array}{cccccc} 0&+&+&+&+&+\\ +&0&+&-&-&+\\ +&+&0&+&-&-\\ +&-&+&0&+&-\\ +&-&-&+&0&+\\ +&+&-&-&+&0 \end{array}\right)\qquad\quad S_6'=\left(\begin{array}{cccccc} +&+&+&+&+&+\\ +&+&+&-&-&+\\ +&+&+&+&-&-\\ +&-&+&-&+&-\\ +&-&-&+&-&+\\ +&+&-&-&+&- \end{array}\right)$$ } The program \texttt{portraits.py} finds that $Tr|S_6'|=8+2\sqrt{10}$, the eigenvalues of $S_6'S_6'^t$ being 10, with multiplicity 2, and 4, with multiplicity 4, as for the matrix $S_6$. Thus the optimal matrix at $N=6$ comes from the pentagon. In general, the fillings can be estimated as follows: \begin{proposition}\label{pr8f} Let $C$ be a symmetric conference matrix of order $N$, and let $D$ be a diagonal sign matrix, of trace $\tau$. Then, with the remainder being bounded independently of $N,D$, we have $$Tr|C+D|=N\sqrt{N}-\left(1+\frac{\tau^2}{N^2}\right)\frac{\sqrt{N}}{4}+O(1)$$ so all the fillings with $\tau=o(N)$ have the same deficit, namely $\sqrt{N}/4$, at this order. \end{proposition} \begin{proof} With $S=C+D$ we have $S^2=N+E$, where $E=CD+DC$, and so $Tr|S|=\sqrt{N}\,Tr\sqrt{1+E/N}$. Since the eigenvalues of $E/N$ are at most $2/\sqrt{N}$ in absolute value, the Taylor formula for the square root gives, with a remainder as in the statement: $$Tr|S|=N\sqrt{N}+\frac{Tr(E)}{2\sqrt{N}}-\frac{Tr(E^2)}{8N\sqrt{N}}+O(1)$$ Now $Tr(E)=2\,Tr(CD)=0$, and $Tr(E^2)=2\,Tr(CDCD)+2\,Tr(C^2)=2(\tau^2-N)+2N(N-1)$, because $Tr(CDCD)=\sum_{i\neq j}D_{ii}D_{jj}$. This gives the formula in the statement. \end{proof} Thus a balanced filling halves the deficit of the conference matrix, which is of $\sqrt{N}/2$. The program \texttt{detours.py} goes through all the fillings at $N=6,10,14$, with the following results: \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|} \hline $N$&fillings&values of $Tr|S|$&smallest&largest&best fillings&local maximizers\\ \hline 6&64&5&13.4164&14.3246&10&62\\ \hline 10&1024&11&30.0000&30.9756&90&1022\\ \hline 14&16384&30&50.4777&51.5940&78&16382\\ \hline \end{tabular} \end{center} Here the last column counts the fillings which are the sign matrices of their polar parts, these polar parts being then plain local maximizers of the 1-norm, by Theorem \ref{th62}. This happens for all the fillings, except for $D=\pm1$, where the polar part is $U$ itself, and where $Tr|S|=N\sqrt{N-1}$ is the smallest value in the table. Thus the funnel is surrounded by $2^N-2$ local maximizers, one in each of the neighboring sign regions. It is instructive to compare these fillings with the complements from Theorem \ref{th7c}, at $r=2$. At $N=6,10,14$ these complements, taken inside the Hadamard matrices of order $8,12,16$, have energy $(N-2)\sqrt{N+2}+2\sqrt{2}$, which is $14.1421$, $30.5412$ and $50.8284$ respectively, and in each case this is below the energy of the best filling, in agreement with Proposition \ref{pr8f}, which gives a deficit of $\sqrt{N}/4$ for the fillings, against a deficit of $\sqrt{N}$ for the complements. Thus at $N=2(4)$ the conference matrices are a better starting point than the Hadamard matrices, the point being that a conference matrix is only $N$ entries away from a sign matrix of the same order. However, the fillings are not optimal either. At $N=10,14$ the best fillings give $Tr|S|/N^{3/2}=0.9795$ and $0.9849$, which is less than what the annealing finds, namely the value $22\sqrt{2}$ at $N=10$, with ratio $0.9839$, and the following matrix at $N=14$, with ratio $0.9882$, the eigenvalues of $S_{14}S_{14}^t$ being 26, with multiplicity 2, and 12, with multiplicity 12: {\small\setlength{\arraycolsep}{3pt} $$S_{14}=\left(\begin{array}{cccccccccccccc} +&-&+&+&+&-&-&+&-&-&+&-&-&-\\ -&-&+&-&-&+&+&-&-&-&-&-&-&+\\ -&+&-&+&+&-&+&-&-&-&-&-&+&-\\ +&+&+&-&-&-&+&+&+&-&-&+&-&-\\ +&+&-&-&-&+&+&+&-&-&+&-&+&+\\ +&-&+&+&+&+&+&+&-&+&-&+&+&-\\ -&-&-&-&+&-&-&+&-&-&-&+&+&+\\ +&-&-&-&-&-&-&-&-&+&-&-&+&-\\ +&+&+&-&+&+&-&-&+&-&-&-&+&+\\ +&+&+&-&+&-&+&-&-&+&+&+&-&+\\ -&-&+&-&+&-&+&+&+&+&+&-&+&-\\ -&+&+&+&-&-&-&+&-&+&-&-&+&+\\ -&+&+&-&-&+&-&-&-&-&+&+&+&-\\ -&+&-&-&+&+&-&+&-&+&-&-&-&- \end{array}\right)$$ } The eigenvalues found at $N=6,10,14$, namely $2N-2$, with multiplicity 2, and $N-2$, with multiplicity $N-2$, and those of the design matrices at $N=5,13$, namely $2N-1$, and $N-1$ with multiplicity $N-1$, are familiar from the maximal determinant problem of Hadamard, where they correspond to the upper bounds of Barba \cite{bar} and of Ehlich and Wojtas \cite{ehl}, \cite{woj}. See \cite{beh}. As we will show now, the same happens for the trace norm. We start with: \begin{proposition}\label{pr74} Let $G\in M_m(\mathbb R)$ be a positive matrix having all its diagonal entries equal to $N$, and whose off-diagonal entries satisfy $|G_{ij}|\geq c$, where $00$ there is a number $\xi>0$ such that: $$\sqrt{x}-q(x)=\frac{1}{16}\,\xi^{-5/2}(x-a)^2(x-b)$$ Thus $\sqrt{x}\leq q(x)$ on $[0,b]$, and so $Tr\sqrt{G}\leq\sum_iq(\lambda_i)$. Now since the square root is strictly concave, the coefficient of $x^2$ in $q$ is negative, so the quantity $\sum_iq(\lambda_i)$, which depends only on $\sum_i\lambda_i$ and $\sum_i\lambda_i^2$, decreases when $\sum_i\lambda_i^2$ increases. Thus this quantity is at most the value that it takes when the eigenvalues are $b$, and $a$ with multiplicity $m-1$, which is $(m-1)q(a)+q(b)=(m-1)\sqrt{a}+\sqrt{b}$. Finally, the equality case is clear from the above, because in the first case we must have $\lambda_1=b$ and $\lambda_2=\ldots=\lambda_m$, and in the second case we must have $\lambda_i\in\{a,b\}$ for any $i$, with the value $b$ appearing once, because the sum of the eigenvalues is $(m-1)a+b$. \end{proof} With this in hand, we can prove the analogues of the bounds of Barba and of Ehlich and Wojtas, for the trace norm, and so for the almost Hadamard matrices. As for the determinant, the point is that the entries of $SS^t$ are subject to parity constraints: \begin{theorem}\label{th75} The maximum $m_N$ of the $1$-norm on $O_N$ is subject to the following bounds: \begin{enumerate} \item $m_N\leq(N-1)\sqrt{N-1}+\sqrt{2N-1}$, for $N$ odd. \item $m_N\leq(N-2)\sqrt{N-2}+2\sqrt{2N-2}$, for $N=2(4)$. \item We have equality at $N=5,13$ and at $N=6,10,14$. Thus $m_{10}=22\sqrt{2}$, then $m_{13}=5+24\sqrt{3}$, the matrix of the projective plane of order $3$ being optimal, and $m_{14}=24\sqrt{3}+2\sqrt{26}$. \end{enumerate} \end{theorem} \begin{proof} By Proposition \ref{pr42} we have to bound the quantity $Tr|S|=Tr\sqrt{G}$, where $S\in M_N(\pm1)$ and $G=SS^t$. The diagonal entries of $G$ are equal to $N$. (1) When $N$ is odd the off-diagonal entries of $G$ are odd numbers, and the result follows from Proposition \ref{pr74}, applied with $m=N$ and $c=1$, the case $N=1$ being trivial. (2) At $N=2$ the bound is $2\sqrt{2}$, which is the 1-norm of the rescaled Hadamard matrix. Assume now $N=2(4)$ with $N\geq6$, and let $w_i$ be the number of $-1$ entries on the $i$-th row of $S$. The rows $i,j$ differ at $d_{ij}$ places, with $d_{ij}=w_i+w_j(2)$, and we have $G_{ij}=N-2d_{ij}$. Thus, if we put first the rows with $w_i$ even, and then those with $w_i$ odd, the 2 diagonal blocks $G',G''$ of $G$ that we obtain, of sizes $n'+n''=N$, have off-diagonal entries equal to 2 modulo 4. Now observe that the matrix having $G',G''$ as diagonal blocks, and 0 elsewhere, is the average of $G$ and $VGV$, where $V=diag(1,\ldots,1,-1,\ldots,-1)$. Since the function $X\to Tr\sqrt{X}$ is concave on the positive matrices \cite{bha}, by using Proposition \ref{pr74} with $c=2$ we obtain: $$Tr\sqrt{G}\leq Tr\sqrt{G'}+Tr\sqrt{G''}\leq(N-2)\sqrt{N-2}+\sqrt{N-2+2n'}+\sqrt{N-2+2n''}$$ Here we have used the fact that the bound in Proposition \ref{pr74} holds as well, trivially, for the matrices of size $m=0,1$. Since the square root is concave, the sum of the last 2 terms is at most $2\sqrt{2N-2}$, and this gives the result. (3) At $N=5,13$ the bound is attained by the sign matrices of the trivial design and of the projective plane of order 3, by Proposition \ref{pr23}. At $N=6,10,14$ it is attained by the matrix $S_6$, by the sign matrix of $K_5\otimes H_2$, and by the above matrix $S_{14}$. The program \texttt{bounds.py} checks all this in exact arithmetic. \end{proof} As a first comment, the equality cases are the same as for the determinant. In (1) the eigenvalues of $SS^t$ must be $2N-1$, and $N-1$ with multiplicity $N-1$, so $2N-1$ must be a square, and up to sign changes of the rows we must have $SS^t=N-1+\mathbb I$, which is the equality case in the bound of Barba. In (2) the matrices $G',G''$ must be of size $N/2$, and of the form $N-2+2\mathbb I$, up to sign changes, with $G$ vanishing outside these 2 blocks, the function $X\to Tr\sqrt{X}$ being strictly concave, which is the equality case in the bound of Ehlich and Wojtas, and which requires $2N-2$ to be a sum of 2 squares. Thus our bounds are attained precisely when the determinant bounds are, for instance at $N=25$, or at $N=18,26$, see \cite{beh}. In general, however, the 2 problems are different. At $N=7$ the maximal determinant is 576, and \texttt{bounds.py} finds that this is the determinant of the matrix $S_7'$, lying on the second level of our model, while the sign matrix of the Fano plane has determinant 512. In terms of the previous work on the subject, the above result shows that the best matrices known at $N=10,13,14$, from \cite{bnz}, \cite{hjs}, are optimal, and the same will happen at $N=18$, in the next section. The sign matrices appearing in the equality cases are well-known in statistics too, as chemical balance weighing designs, and they are shown there to be optimal with respect to large classes of spectral criteria, see Cheng \cite{che} and Jacroux, Wong and Masaro \cite{jwm}. What we have here is a short proof for the trace norm, with bounds which hold at any order, including those where they are not attained, and with the translation in terms of almost Hadamard matrices. In the odd case we can go further, and find all the matrices attaining the bound, at any $N$, because the equality case leads to a design, with very special parameters: \begin{theorem}\label{th8u} The bound $m_N\leq(N-1)\sqrt{N-1}+\sqrt{2N-1}$ at $N>1$ odd has the following properties: \begin{enumerate} \item It is attained precisely when $N=2q^2+2q+1$ for some $q\geq1$, and there exists a symmetric design with parameters $(N,q^2,q(q-1)/2)$. \item In this case the sign matrices maximizing $Tr|S|$ are the matrices $S=2M-\mathbb I$ coming from such designs, up to permutations and sign changes of the rows and columns, and the optimal almost Hadamard matrices are the corresponding matrices $U_+$. \item At $N=5,13$ the design is unique, and the number of maximizers, modulo the sign changes, is $(5!)^2/120=120$, respectively $(13!)^2/5616$. \end{enumerate} \end{theorem} \begin{proof} (1,2) Let $S$ be a matrix attaining the bound. By the equality case in Proposition \ref{pr74}, and by its proof, the matrix $G=SS^t$ has eigenvalues $2N-1$, and $N-1$ with multiplicity $N-1$, and its off-diagonal entries are $\pm1$. Thus $G-(N-1)$ is a positive matrix of rank one, with 1 on the diagonal, so it is of the form $ww^t$ with $w\in\{\pm1\}^N$, and by changing the signs of the rows we can assume $SS^t=N-1+\mathbb I$. The same applies to the matrix $S^tS$, which has the same eigenvalues, so by changing the signs of the columns we can assume $S^tS=N-1+\mathbb I$ too. Now $S(S^tS)=(SS^t)S$ gives $S\mathbb I=\mathbb IS$, so all the row and column sums of $S$ are equal to a number $r$, with $r^2=2N-1$, coming from $SS^t\xi=r^2\xi$. Thus $2N-1$ is a square, and by changing the sign of $S$ we can assume $r=-(2q+1)$ with $q\geq1$, so that $N=2q^2+2q+1$. With $S=2M-\mathbb I$ the matrix $M$ has $(N+r)/2=q^2$ entries equal to 1 on each row and column, and we obtain: $$MM^t=\frac{N-1}{4}+\frac{N+1+2r}{4}\,\mathbb I=\frac{q(q+1)}{2}+\frac{q(q-1)}{2}\,\mathbb I$$ Thus $M$ is the incidence matrix of a design as in the statement. Conversely, for such a design we have $n=q(q+1)/2$ and $v-2k=2q+1$, so Theorem \ref{th25} gives $||U_+||_1=2(N-1)\sqrt{n}+2q+1$, and this is the bound, because $4n=N-1$ and $(2q+1)^2=2N-1$. (3) At $q=1$ the matrix $M$ is a permutation matrix, and at $q=2$ we obtain the projective plane of order 3, which is known to be unique, up to isomorphism \cite{hir}. As in the proof of Theorem \ref{th43}, the number of matrices is $(N!)^2$ divided by the order of the automorphism group of the design, which is 120, respectively 5616, by \texttt{portraits.py}. \end{proof} In particular the crystal of the hard matrix model at $N=13$ is unique, up to the symmetries of the model. The designs in the above statement are known to exist when $q$ is an odd prime power, by a construction of Brouwer, and at $q=2,4$ as well, see \cite{beh}. Thus the optimal almost Hadamard matrices are design matrices at infinitely many orders, starting with $N=5,13,25,41,61$, where $m_{25}=7+48\sqrt{6}$, then $m_{41}=9+80\sqrt{10}$, and $m_{61}=11+120\sqrt{15}$. The first open case is $q=6$, where $N=85$. A similar discussion applies at $N=2(4)$, where the matrices attaining the bound are those from the determinant theory, and we will construct such matrices in the next section. At $N=5$ we recover in this way the number of maximizers found by the exhaustive search, and at $N=13$ the number of maximizers is $6904520663040000$. In order to see where we stand at the other orders, let us write $Tr|S|=N\sqrt{N}-\delta\sqrt{N}+O(1)$. The values of $\delta$, computed by \texttt{detours.py}, are as follows: \begin{center} \begin{tabular}{|c|c|c|} \hline matrices&order&$\delta$\\ \hline upper bound&$N$ odd&$3/2-\sqrt{2}=0.0858$\\ \hline upper bound&$N=2(4)$&$3-2\sqrt{2}=0.1716$\\ \hline balanced fillings&$N=q+1$&$1/4$\\ \hline conference matrices&$N=q+1$&$1/2$\\ \hline Hadamard designs&$N=4n-1$&$1/2$\\ \hline complements, $r=2$&$N=4n-2$&$1$\\ \hline complements, $r=3$&$N=4n-3$&$3/2$\\ \hline \end{tabular} \end{center} Thus at $N=2(4)$ the fillings of the Paley conference matrices reach $\delta=1/4$, which is not far from the upper bound, and the gap is closed at the orders where the bound of Ehlich and Wojtas is attained. At $N=3(4)$ the Hadamard designs give $\delta=1/2$, and the upper bound for $N$ odd applies, but can never be attained, because $2N-1$ is not a square there. As for $N=1(4)$, here Theorem \ref{th7c} gives $m_N\geq5+(N-3)\sqrt{N+3}$ whenever there is a Hadamard matrix of order $N+3$, the energy of an invertible sign matrix of order 3 being 5, and this corresponds to $\delta=3/2$. \begin{question}\label{qu44} What are the values of $m_9$ and $m_{11}$, where the above bounds, $26.7505$ and $36.2054$, are not attained? In general, what is the analogue of the bound of Ehlich at $N=3(4)$? \end{question} At $N=9$ and $N=11$ we only know that $m_9\geq2+12\sqrt{2}+\sqrt{57}=26.5204$ and $m_{11}\geq35.7006$, by Theorem \ref{th43}. As for an exhaustive search at $N=9$, of the type of the one done at $N=7$, this would involve the multisets of 8 vectors in $\{\pm1\}^8$, which are about $5.1\cdot10^{14}$ in number, and is out of reach for our programs. As a conclusion, here is where we stand at the orders $N\leq24$ where the maximum $m_N$ is not known, taking into account Theorem \ref{th9f} below, which deals with $N=18$. The lower bounds are those from \cite{hjs}, except at $N=11$, the values at $N=9,17$ being $2+12\sqrt{2}+\sqrt{57}$ and $60+\sqrt{89}$, and the upper bounds are those from Theorem \ref{th75}: \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline $N$&lower bound&from&upper bound&gap\\ \hline 9&26.5204&\cite{hjs}&26.7505&0.86\%\\ \hline 11&35.7006&Theorem \ref{th43}&36.2054&1.39\%\\ \hline 15&57.1522&\cite{hjs}&57.7684&1.07\%\\ \hline 17&69.4340&\cite{hjs}&69.7446&0.45\%\\ \hline 19&81.8353&\cite{hjs}&82.4503&0.75\%\\ \hline 21&95.6206&\cite{hjs}&95.8458&0.24\%\\ \hline 22&102.3127&\cite{hjs}&102.4042&0.09\%\\ \hline 23&109.0784&\cite{hjs}&109.8974&0.75\%\\ \hline \end{tabular} \end{center} Thus the gap between what is known and what is possible is everywhere below $1.4\%$, and at $N=22$ it is below $0.1\%$. At the orders $N\leq24$ which are not in this table, the maximum $m_N$ is known. \section{Circulant matrices, the spin chains}\label{sec:chains} In the theory of the almost Hadamard matrices from \cite{bn1}, \cite{bnz}, the matrices coming from the block designs stand next to the circulant ones. In fact, the 8 designs from Section \ref{sec:designs} come from cyclic difference sets, so their matrices $U_\pm$ are circulant. We discuss here the circulant case, which has its own physics. A circulant sign matrix is the same thing as a sequence of $N$ spins $s_0,\ldots,s_{N-1}$, placed on a ring, with the matrix being $S=(s_{j-i})_{ij}$, with the indices taken modulo $N$. The dual model becomes in this way a spin chain, whose energy is best understood in terms of the Fourier transform $\widehat s_k=\sum_js_jw^{jk}$, where $w=e^{2\pi i/N}$: \begin{proposition}\label{pr9a} Let $S$ be the circulant matrix of a sequence of signs $s_0,\ldots,s_{N-1}$. \begin{enumerate} \item The singular values of $S$ are the numbers $|\widehat s_k|$, and so $Tr|S|=\sum_k|\widehat s_k|$. \item We have $N\leq Tr|S|\leq N\sqrt{N}$, with equality at left when the sequence is constant, or alternating with $N$ even, and at right when $S$ is a circulant Hadamard matrix. \item When the numbers $\widehat s_k$ are nonzero, $Pol(S)$ is the circulant matrix of the sequence given by $\gamma_j=\frac{1}{N}\sum_k\varphi_kw^{-jk}$, where $\varphi_k=\widehat s_k/|\widehat s_k|$. \end{enumerate} \end{proposition} \begin{proof} The vectors $(w^{jk})_j$ are eigenvectors of $S$, with eigenvalues $\widehat s_k$, and since these vectors are pairwise orthogonal, $S$ is normal, which gives (1) and (3). As for (2), we have $\sum_k|\widehat s_k|^2=N^2$ and $|\widehat s_k|\leq N$. Thus $\sum_k|\widehat s_k|\geq\sum_k|\widehat s_k|^2/N=N$, with equality when the Fourier transform is supported at one point, and $\sum_k|\widehat s_k|\leq N\sqrt{N}$ by Cauchy-Schwarz, with equality when $|\widehat s_k|=\sqrt{N}$ for any $k$. \end{proof} Thus we have a chain of $N$ Ising spins, with energy $-\sum_k|\widehat s_k|$, whose ground states are the sequences having the flattest possible Fourier transform. This is a close relative of the low autocorrelation model of Bernasconi \cite{ber}, studied in \cite{mp1}, \cite{mp2} as a basic example of a system which is glassy without having any disorder: there the energy is $\sum_k|\widehat s_k|^4$, up to a constant, and flat spectra are favored too. Observe the unusual feature of such models: the ordered states, such as the ferromagnet, are those of highest energy. Figure \ref{fig:rings} shows 3 chains at $N=11$, with their spectra. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \draw[black!35,line width=.5pt] (0.00,0) circle[radius=1]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (0.000,1.000) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (0.541,0.841) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (0.910,0.415) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (0.990,-0.142) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (0.756,-0.655) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (0.282,-0.959) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (-0.282,-0.959) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (-0.756,-0.655) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (-0.990,-0.142) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (-0.910,0.415) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (-0.541,0.841) circle[radius=.13]; \draw[black!60] (-1.20,-2.9)--(1.20,-2.9); \draw[black!60,densely dashed] (-1.20,-2.502)--(1.20,-2.502); \fill[glowblue] (-1.060,-2.9) rectangle ++(.12,1.080); \fill[glowblue] (-0.860,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (-0.660,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (-0.460,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (-0.260,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (-0.060,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (0.140,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (0.340,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (0.540,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (0.740,-2.9) rectangle ++(.12,0.240); \fill[glowblue] (0.940,-2.9) rectangle ++(.12,0.240); \node at (0.00,-3.35) {one flipped spin, 29}; \draw[black!35,line width=.5pt] (4.80,0) circle[radius=1]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (4.800,1.000) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (5.341,0.841) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (5.710,0.415) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (5.790,-0.142) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (5.556,-0.655) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (5.082,-0.959) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (4.518,-0.959) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (4.044,-0.655) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (3.810,-0.142) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (3.890,0.415) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (4.259,0.841) circle[radius=.13]; \draw[black!60] (3.60,-2.9)--(6.00,-2.9); \draw[black!60,densely dashed] (3.60,-2.502)--(6.00,-2.502); \fill[glowblue] (3.740,-2.9) rectangle ++(.12,0.120); \fill[glowblue] (3.940,-2.9) rectangle ++(.12,0.125); \fill[glowblue] (4.140,-2.9) rectangle ++(.12,0.143); \fill[glowblue] (4.340,-2.9) rectangle ++(.12,0.183); \fill[glowblue] (4.540,-2.9) rectangle ++(.12,0.289); \fill[glowblue] (4.740,-2.9) rectangle ++(.12,0.843); \fill[glowblue] (4.940,-2.9) rectangle ++(.12,0.843); \fill[glowblue] (5.140,-2.9) rectangle ++(.12,0.289); \fill[glowblue] (5.340,-2.9) rectangle ++(.12,0.183); \fill[glowblue] (5.540,-2.9) rectangle ++(.12,0.143); \fill[glowblue] (5.740,-2.9) rectangle ++(.12,0.125); \node at (4.80,-3.35) {alternating chain, 27.38}; \draw[black!35,line width=.5pt] (9.60,0) circle[radius=1]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (9.600,1.000) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (10.141,0.841) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (10.510,0.415) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (10.590,-0.142) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (10.356,-0.655) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (9.882,-0.959) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (9.318,-0.959) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (8.844,-0.655) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (8.610,-0.142) circle[radius=.13]; \filldraw[draw=black!70,fill=glowblue,line width=.5pt] (8.690,0.415) circle[radius=.13]; \filldraw[draw=black!70,fill=glowgold,line width=.5pt] (9.059,0.841) circle[radius=.13]; \draw[black!60] (8.40,-2.9)--(10.80,-2.9); \draw[black!60,densely dashed] (8.40,-2.502)--(10.80,-2.502); \fill[glowblue] (8.540,-2.9) rectangle ++(.12,0.120); \fill[glowblue] (8.740,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (8.940,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (9.140,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (9.340,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (9.540,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (9.740,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (9.940,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (10.140,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (10.340,-2.9) rectangle ++(.12,0.416); \fill[glowblue] (10.540,-2.9) rectangle ++(.12,0.416); \node at (9.60,-3.35) {Legendre sequence, 35.64}; \end{tikzpicture} \caption{3 spin chains at $N=11$, with the spins $+1$ in blue and $-1$ in gold, and with their energies $Tr|S|$. Below each chain, the absolute values $|\widehat s_k|$ of its Fourier transform, for $k=0,\ldots,10$, the dashed line being the flat level $\sqrt{N}$. The energy is the total height of the bars, and it is maximal when the spectrum is flat.}\label{fig:rings} \end{figure} The first 2 chains in the figure are well-known in the theory of the almost Hadamard matrices. The first one gives the basic matrix $K_N/\sqrt{N}$, that we met in Section \ref{sec:designs} as the matrix $U_+$ of the trivial design, up to a sign, and the second one gives the circulant matrix found in \cite{bnz}. With $K_N$ and $L_N$ being the rescaled versions of these matrices, the result is as follows: \begin{theorem}\label{th9b} The following sequences are such that $S$ is the sign matrix of $U=Pol(S)$, which is therefore a plain local maximizer of the $1$-norm on $O_N$: \begin{enumerate} \item One flipped spin, at $N\geq3$. Here $Tr|S|=3N-4$, and $U=K_N/\sqrt{N}=2\mathbb I/N-1$. \item The alternating chain $s_j=(-1)^{\min(j,N-j)}$, at $N$ odd. Here $Tr|S|=\sum_k1/|\cos(\pi k/N)|$, and $U=L_N/\sqrt{N}$ is the circulant matrix of the sequence $\gamma_j=(-1)^j/(N\cos(\pi j/N))$. \end{enumerate} \end{theorem} \begin{proof} This is from \cite{bnz}, the idea being as follows. In the first case we have $\widehat s_0=N-2$ and $\widehat s_k=-2$ for $k\neq0$, so $Tr|S|=3N-4$, and Proposition \ref{pr9a} gives $\gamma_j=2/N-\delta_{j0}$. In the second case the sequence is a shift of $((-1)^j)_j$, whose Fourier transform is $2/(1+w^k)$, of absolute value $1/|\cos(\pi k/N)|$, and a similar computation gives $\gamma$. In both cases the signs of $\gamma$ are those of $s$, so $S$ is the sign matrix of $U$, and Theorem \ref{th62} applies. \end{proof} The energy of the alternating chain is of order $N\log N$, so both these families are far from the bound $N\sqrt{N}$ when $N$ is big. As an illustration for (2), at $N=5$ we have $1/\cos(\pi/5)=\sqrt{5}-1$ and $1/\cos(2\pi/5)=\sqrt{5}+1$, and so with $x=1+\sqrt{5}$ and $y=1-\sqrt{5}$ the matrix is: $$\frac{L_5}{\sqrt{5}}=\frac{1}{5}\begin{pmatrix} 1&y&x&x&y\\ y&1&y&x&x\\ x&y&1&y&x\\ x&x&y&1&y\\ y&x&x&y&1 \end{pmatrix}$$ In order to reach flat spectra, we need arithmetics. The third chain in Figure \ref{fig:rings} is the Legendre sequence, which is the standard example of a sequence having good correlation properties, and which behaves as follows: \begin{proposition}\label{pr9c} Let $p$ be an odd prime, with quadratic character $\chi$, and consider the Legendre sequence, $s_0=1$ and $s_j=\chi(j)$ for $j\neq0$, so that $S=1+Q$, where $Q=(\chi(j-i))_{ij}$. \begin{enumerate} \item When $p=3(4)$ we have $Tr|S|=1+(p-1)\sqrt{p+1}$, and $S$ is, up to a sign and a transposition, the sign matrix of the Paley design. \item When $p=1(4)$ we have $Tr|S|=1+(p-1)\sqrt{p}$, and $Pol(S)=(\mathbb I+\sqrt{p}\,Q)/p$. \end{enumerate} In both cases $S$ is the sign matrix of $Pol(S)$, which is a plain local maximizer of the $1$-norm. \end{proposition} \begin{proof} The Gauss sum formula gives $\widehat s_k=1+\chi(k)g$ for $k\neq0$, where $g=\sqrt{p}$ when $p=1(4)$, and $g=i\sqrt{p}$ when $p=3(4)$, and we have $\widehat s_0=1$. (1) Here $|\widehat s_k|=\sqrt{p+1}$ for $k\neq0$, which gives the formula of $Tr|S|$. Since $Q$ is antisymmetric, and the sign matrix of the Paley design is $Q-1$, we have the second assertion too. (2) Here $|\widehat s_k|=\sqrt{p}+\chi(k)$ for $k\neq0$, and by summing we obtain the formula of $Tr|S|$. The phases are $\varphi_k=\chi(k)$ for $k\neq0$, and $\varphi_0=1$, so Proposition \ref{pr9a} gives, again by using the Gauss sum, $\gamma_0=1/p$ and $\gamma_j=(1+\chi(j)\sqrt{p})/p$ for $j\neq0$. Since $\sqrt{p}>1$, the signs are those of $S$. \end{proof} Observe that in (2) the matrix $S$ does not come from a design, the Paley graph having $\lambda=\mu-1$, so that Proposition \ref{pr3s} does not apply. The same computation works for any prime power $q=1(4)$, with $Q=A-\bar{A}$ coming from the Paley graph, as in Section \ref{sec:bounds}, the matrix $(\mathbb I+\sqrt{q}\,Q)/q$ being a plain local maximizer, with 1-norm $1+(q-1)\sqrt{q}$, as verified by \texttt{chains.py} at $q=9$. In terms of the table from Section \ref{sec:bounds} these matrices have $\delta=1$, which is better than the value $\delta=3/2$ coming from the complements, at the orders $N=1(4)$ which are prime powers. At $p=5$ the Legendre sequence is obtained from the alternating chain by the substitution $j\to2j$, and we recover the above matrix $L_5$, with $x$ and $y$ interchanged. Figure \ref{fig:circgrids} shows the polar parts for our 3 chains. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \fill[glowgold!100] (0.00,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-0.30) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-0.60) rectangle ++(.3,.3); \fill[glowgold!100] (0.30,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-0.60) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-0.90) rectangle ++(.3,.3); \fill[glowgold!100] (0.60,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-0.90) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-1.20) rectangle ++(.3,.3); \fill[glowgold!100] (0.90,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-1.20) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-1.50) rectangle ++(.3,.3); \fill[glowgold!100] (1.20,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-1.50) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-1.80) rectangle ++(.3,.3); \fill[glowgold!100] (1.50,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-1.80) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-2.10) rectangle ++(.3,.3); \fill[glowgold!100] (1.80,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-2.10) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-2.40) rectangle ++(.3,.3); \fill[glowgold!100] (2.10,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-2.40) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-2.70) rectangle ++(.3,.3); \fill[glowgold!100] (2.40,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-2.70) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-3.00) rectangle ++(.3,.3); \fill[glowgold!100] (2.70,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (3.00,-3.00) rectangle ++(.3,.3); \fill[glowblue!34] (0.00,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (0.30,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (0.60,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (0.90,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (1.20,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (1.50,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (1.80,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (2.10,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (2.40,-3.30) rectangle ++(.3,.3); \fill[glowblue!34] (2.70,-3.30) rectangle ++(.3,.3); \fill[glowgold!100] (3.00,-3.30) rectangle ++(.3,.3); \draw[step=.3,white,line width=.3pt,shift={(0.00,0)}] (0,-3.3) grid (3.3,0); \node at (1.65,.3) {one flipped spin}; \fill[glowblue!27] (4.40,-0.30) rectangle ++(.3,.3); \fill[glowgold!28] (4.70,-0.30) rectangle ++(.3,.3); \fill[glowblue!29] (5.00,-0.30) rectangle ++(.3,.3); \fill[glowgold!33] (5.30,-0.30) rectangle ++(.3,.3); \fill[glowblue!44] (5.60,-0.30) rectangle ++(.3,.3); \fill[glowgold!100] (5.90,-0.30) rectangle ++(.3,.3); \fill[glowgold!100] (6.20,-0.30) rectangle ++(.3,.3); \fill[glowblue!44] (6.50,-0.30) rectangle ++(.3,.3); \fill[glowgold!33] (6.80,-0.30) rectangle ++(.3,.3); \fill[glowblue!29] (7.10,-0.30) rectangle ++(.3,.3); \fill[glowgold!28] (7.40,-0.30) rectangle ++(.3,.3); \fill[glowgold!28] (4.40,-0.60) rectangle ++(.3,.3); \fill[glowblue!27] (4.70,-0.60) rectangle ++(.3,.3); \fill[glowgold!28] (5.00,-0.60) rectangle ++(.3,.3); \fill[glowblue!29] (5.30,-0.60) rectangle ++(.3,.3); \fill[glowgold!33] (5.60,-0.60) rectangle ++(.3,.3); \fill[glowblue!44] (5.90,-0.60) rectangle ++(.3,.3); \fill[glowgold!100] (6.20,-0.60) rectangle ++(.3,.3); \fill[glowgold!100] (6.50,-0.60) rectangle ++(.3,.3); \fill[glowblue!44] (6.80,-0.60) rectangle ++(.3,.3); \fill[glowgold!33] (7.10,-0.60) rectangle ++(.3,.3); \fill[glowblue!29] (7.40,-0.60) rectangle ++(.3,.3); \fill[glowblue!29] (4.40,-0.90) rectangle ++(.3,.3); \fill[glowgold!28] (4.70,-0.90) rectangle ++(.3,.3); \fill[glowblue!27] (5.00,-0.90) rectangle ++(.3,.3); \fill[glowgold!28] (5.30,-0.90) rectangle ++(.3,.3); \fill[glowblue!29] (5.60,-0.90) rectangle ++(.3,.3); \fill[glowgold!33] (5.90,-0.90) rectangle ++(.3,.3); \fill[glowblue!44] (6.20,-0.90) rectangle ++(.3,.3); \fill[glowgold!100] (6.50,-0.90) rectangle ++(.3,.3); \fill[glowgold!100] (6.80,-0.90) rectangle ++(.3,.3); \fill[glowblue!44] (7.10,-0.90) rectangle ++(.3,.3); \fill[glowgold!33] (7.40,-0.90) rectangle ++(.3,.3); \fill[glowgold!33] (4.40,-1.20) rectangle ++(.3,.3); \fill[glowblue!29] (4.70,-1.20) rectangle ++(.3,.3); \fill[glowgold!28] (5.00,-1.20) rectangle ++(.3,.3); \fill[glowblue!27] (5.30,-1.20) rectangle ++(.3,.3); \fill[glowgold!28] (5.60,-1.20) rectangle ++(.3,.3); \fill[glowblue!29] (5.90,-1.20) rectangle ++(.3,.3); \fill[glowgold!33] (6.20,-1.20) rectangle ++(.3,.3); \fill[glowblue!44] (6.50,-1.20) rectangle ++(.3,.3); \fill[glowgold!100] (6.80,-1.20) rectangle ++(.3,.3); \fill[glowgold!100] (7.10,-1.20) rectangle ++(.3,.3); \fill[glowblue!44] (7.40,-1.20) rectangle ++(.3,.3); \fill[glowblue!44] (4.40,-1.50) rectangle ++(.3,.3); \fill[glowgold!33] (4.70,-1.50) rectangle ++(.3,.3); \fill[glowblue!29] (5.00,-1.50) rectangle ++(.3,.3); \fill[glowgold!28] (5.30,-1.50) rectangle ++(.3,.3); \fill[glowblue!27] (5.60,-1.50) rectangle ++(.3,.3); \fill[glowgold!28] (5.90,-1.50) rectangle ++(.3,.3); \fill[glowblue!29] (6.20,-1.50) rectangle ++(.3,.3); \fill[glowgold!33] (6.50,-1.50) rectangle ++(.3,.3); \fill[glowblue!44] (6.80,-1.50) rectangle ++(.3,.3); \fill[glowgold!100] (7.10,-1.50) rectangle ++(.3,.3); \fill[glowgold!100] (7.40,-1.50) rectangle ++(.3,.3); \fill[glowgold!100] (4.40,-1.80) rectangle ++(.3,.3); \fill[glowblue!44] (4.70,-1.80) rectangle ++(.3,.3); \fill[glowgold!33] (5.00,-1.80) rectangle ++(.3,.3); \fill[glowblue!29] (5.30,-1.80) rectangle ++(.3,.3); \fill[glowgold!28] (5.60,-1.80) rectangle ++(.3,.3); \fill[glowblue!27] (5.90,-1.80) rectangle ++(.3,.3); \fill[glowgold!28] (6.20,-1.80) rectangle ++(.3,.3); \fill[glowblue!29] (6.50,-1.80) rectangle ++(.3,.3); \fill[glowgold!33] (6.80,-1.80) rectangle ++(.3,.3); \fill[glowblue!44] (7.10,-1.80) rectangle ++(.3,.3); \fill[glowgold!100] (7.40,-1.80) rectangle ++(.3,.3); \fill[glowgold!100] (4.40,-2.10) rectangle ++(.3,.3); \fill[glowgold!100] (4.70,-2.10) rectangle ++(.3,.3); \fill[glowblue!44] (5.00,-2.10) rectangle ++(.3,.3); \fill[glowgold!33] (5.30,-2.10) rectangle ++(.3,.3); \fill[glowblue!29] (5.60,-2.10) rectangle ++(.3,.3); \fill[glowgold!28] (5.90,-2.10) rectangle ++(.3,.3); \fill[glowblue!27] (6.20,-2.10) rectangle ++(.3,.3); \fill[glowgold!28] (6.50,-2.10) rectangle ++(.3,.3); \fill[glowblue!29] (6.80,-2.10) rectangle ++(.3,.3); \fill[glowgold!33] (7.10,-2.10) rectangle ++(.3,.3); \fill[glowblue!44] (7.40,-2.10) rectangle ++(.3,.3); \fill[glowblue!44] (4.40,-2.40) rectangle ++(.3,.3); \fill[glowgold!100] (4.70,-2.40) rectangle ++(.3,.3); \fill[glowgold!100] (5.00,-2.40) rectangle ++(.3,.3); \fill[glowblue!44] (5.30,-2.40) rectangle ++(.3,.3); \fill[glowgold!33] (5.60,-2.40) rectangle ++(.3,.3); \fill[glowblue!29] (5.90,-2.40) rectangle ++(.3,.3); \fill[glowgold!28] (6.20,-2.40) rectangle ++(.3,.3); \fill[glowblue!27] (6.50,-2.40) rectangle ++(.3,.3); \fill[glowgold!28] (6.80,-2.40) rectangle ++(.3,.3); \fill[glowblue!29] (7.10,-2.40) rectangle ++(.3,.3); \fill[glowgold!33] (7.40,-2.40) rectangle ++(.3,.3); \fill[glowgold!33] (4.40,-2.70) rectangle ++(.3,.3); \fill[glowblue!44] (4.70,-2.70) rectangle ++(.3,.3); \fill[glowgold!100] (5.00,-2.70) rectangle ++(.3,.3); \fill[glowgold!100] (5.30,-2.70) rectangle ++(.3,.3); \fill[glowblue!44] (5.60,-2.70) rectangle ++(.3,.3); \fill[glowgold!33] (5.90,-2.70) rectangle ++(.3,.3); \fill[glowblue!29] (6.20,-2.70) rectangle ++(.3,.3); \fill[glowgold!28] (6.50,-2.70) rectangle ++(.3,.3); \fill[glowblue!27] (6.80,-2.70) rectangle ++(.3,.3); \fill[glowgold!28] (7.10,-2.70) rectangle ++(.3,.3); \fill[glowblue!29] (7.40,-2.70) rectangle ++(.3,.3); \fill[glowblue!29] (4.40,-3.00) rectangle ++(.3,.3); \fill[glowgold!33] (4.70,-3.00) rectangle ++(.3,.3); \fill[glowblue!44] (5.00,-3.00) rectangle ++(.3,.3); \fill[glowgold!100] (5.30,-3.00) rectangle ++(.3,.3); \fill[glowgold!100] (5.60,-3.00) rectangle ++(.3,.3); \fill[glowblue!44] (5.90,-3.00) rectangle ++(.3,.3); \fill[glowgold!33] (6.20,-3.00) rectangle ++(.3,.3); \fill[glowblue!29] (6.50,-3.00) rectangle ++(.3,.3); \fill[glowgold!28] (6.80,-3.00) rectangle ++(.3,.3); \fill[glowblue!27] (7.10,-3.00) rectangle ++(.3,.3); \fill[glowgold!28] (7.40,-3.00) rectangle ++(.3,.3); \fill[glowgold!28] (4.40,-3.30) rectangle ++(.3,.3); \fill[glowblue!29] (4.70,-3.30) rectangle ++(.3,.3); \fill[glowgold!33] (5.00,-3.30) rectangle ++(.3,.3); \fill[glowblue!44] (5.30,-3.30) rectangle ++(.3,.3); \fill[glowgold!100] (5.60,-3.30) rectangle ++(.3,.3); \fill[glowgold!100] (5.90,-3.30) rectangle ++(.3,.3); \fill[glowblue!44] (6.20,-3.30) rectangle ++(.3,.3); \fill[glowgold!33] (6.50,-3.30) rectangle ++(.3,.3); \fill[glowblue!29] (6.80,-3.30) rectangle ++(.3,.3); \fill[glowgold!28] (7.10,-3.30) rectangle ++(.3,.3); \fill[glowblue!27] (7.40,-3.30) rectangle ++(.3,.3); \draw[step=.3,white,line width=.3pt,shift={(4.40,0)}] (0,-3.3) grid (3.3,0); \node at (6.05,.3) {alternating chain}; \fill[glowblue!100] (8.80,-0.30) rectangle ++(.3,.3); \fill[glowblue!100] (9.10,-0.30) rectangle ++(.3,.3); \fill[glowgold!69] (9.40,-0.30) rectangle ++(.3,.3); \fill[glowblue!100] (9.70,-0.30) rectangle ++(.3,.3); \fill[glowblue!100] (10.00,-0.30) rectangle ++(.3,.3); \fill[glowblue!100] (10.30,-0.30) rectangle ++(.3,.3); \fill[glowgold!69] (10.60,-0.30) rectangle ++(.3,.3); \fill[glowgold!69] (10.90,-0.30) rectangle ++(.3,.3); \fill[glowgold!69] (11.20,-0.30) rectangle ++(.3,.3); \fill[glowblue!100] (11.50,-0.30) rectangle ++(.3,.3); \fill[glowgold!69] (11.80,-0.30) rectangle ++(.3,.3); \fill[glowgold!69] (8.80,-0.60) rectangle ++(.3,.3); \fill[glowblue!100] (9.10,-0.60) rectangle ++(.3,.3); \fill[glowblue!100] (9.40,-0.60) rectangle ++(.3,.3); \fill[glowgold!69] (9.70,-0.60) rectangle ++(.3,.3); \fill[glowblue!100] (10.00,-0.60) rectangle ++(.3,.3); \fill[glowblue!100] (10.30,-0.60) rectangle ++(.3,.3); \fill[glowblue!100] (10.60,-0.60) rectangle ++(.3,.3); \fill[glowgold!69] (10.90,-0.60) rectangle ++(.3,.3); \fill[glowgold!69] (11.20,-0.60) rectangle ++(.3,.3); \fill[glowgold!69] (11.50,-0.60) rectangle ++(.3,.3); \fill[glowblue!100] (11.80,-0.60) rectangle ++(.3,.3); \fill[glowblue!100] (8.80,-0.90) rectangle ++(.3,.3); \fill[glowgold!69] (9.10,-0.90) rectangle ++(.3,.3); \fill[glowblue!100] (9.40,-0.90) rectangle ++(.3,.3); \fill[glowblue!100] (9.70,-0.90) rectangle ++(.3,.3); \fill[glowgold!69] (10.00,-0.90) rectangle ++(.3,.3); \fill[glowblue!100] (10.30,-0.90) rectangle ++(.3,.3); \fill[glowblue!100] (10.60,-0.90) rectangle ++(.3,.3); \fill[glowblue!100] (10.90,-0.90) rectangle ++(.3,.3); \fill[glowgold!69] (11.20,-0.90) rectangle ++(.3,.3); \fill[glowgold!69] (11.50,-0.90) rectangle ++(.3,.3); \fill[glowgold!69] (11.80,-0.90) rectangle ++(.3,.3); \fill[glowgold!69] (8.80,-1.20) rectangle ++(.3,.3); \fill[glowblue!100] (9.10,-1.20) rectangle ++(.3,.3); \fill[glowgold!69] (9.40,-1.20) rectangle ++(.3,.3); \fill[glowblue!100] (9.70,-1.20) rectangle ++(.3,.3); \fill[glowblue!100] (10.00,-1.20) rectangle ++(.3,.3); \fill[glowgold!69] (10.30,-1.20) rectangle ++(.3,.3); \fill[glowblue!100] (10.60,-1.20) rectangle ++(.3,.3); \fill[glowblue!100] (10.90,-1.20) rectangle ++(.3,.3); \fill[glowblue!100] (11.20,-1.20) rectangle ++(.3,.3); \fill[glowgold!69] (11.50,-1.20) rectangle ++(.3,.3); \fill[glowgold!69] (11.80,-1.20) rectangle ++(.3,.3); \fill[glowgold!69] (8.80,-1.50) rectangle ++(.3,.3); \fill[glowgold!69] (9.10,-1.50) rectangle ++(.3,.3); \fill[glowblue!100] (9.40,-1.50) rectangle ++(.3,.3); \fill[glowgold!69] (9.70,-1.50) rectangle ++(.3,.3); \fill[glowblue!100] (10.00,-1.50) rectangle ++(.3,.3); \fill[glowblue!100] (10.30,-1.50) rectangle ++(.3,.3); \fill[glowgold!69] (10.60,-1.50) rectangle ++(.3,.3); \fill[glowblue!100] (10.90,-1.50) rectangle ++(.3,.3); \fill[glowblue!100] (11.20,-1.50) rectangle ++(.3,.3); \fill[glowblue!100] (11.50,-1.50) rectangle ++(.3,.3); \fill[glowgold!69] (11.80,-1.50) rectangle ++(.3,.3); \fill[glowgold!69] (8.80,-1.80) rectangle ++(.3,.3); \fill[glowgold!69] (9.10,-1.80) rectangle ++(.3,.3); \fill[glowgold!69] (9.40,-1.80) rectangle ++(.3,.3); \fill[glowblue!100] (9.70,-1.80) rectangle ++(.3,.3); \fill[glowgold!69] (10.00,-1.80) rectangle ++(.3,.3); \fill[glowblue!100] (10.30,-1.80) rectangle ++(.3,.3); \fill[glowblue!100] (10.60,-1.80) rectangle ++(.3,.3); \fill[glowgold!69] (10.90,-1.80) rectangle ++(.3,.3); \fill[glowblue!100] (11.20,-1.80) rectangle ++(.3,.3); \fill[glowblue!100] (11.50,-1.80) rectangle ++(.3,.3); \fill[glowblue!100] (11.80,-1.80) rectangle ++(.3,.3); \fill[glowblue!100] (8.80,-2.10) rectangle ++(.3,.3); \fill[glowgold!69] (9.10,-2.10) rectangle ++(.3,.3); \fill[glowgold!69] (9.40,-2.10) rectangle ++(.3,.3); \fill[glowgold!69] (9.70,-2.10) rectangle ++(.3,.3); \fill[glowblue!100] (10.00,-2.10) rectangle ++(.3,.3); \fill[glowgold!69] (10.30,-2.10) rectangle ++(.3,.3); \fill[glowblue!100] (10.60,-2.10) rectangle ++(.3,.3); \fill[glowblue!100] (10.90,-2.10) rectangle ++(.3,.3); \fill[glowgold!69] (11.20,-2.10) rectangle ++(.3,.3); \fill[glowblue!100] (11.50,-2.10) rectangle ++(.3,.3); \fill[glowblue!100] (11.80,-2.10) rectangle ++(.3,.3); \fill[glowblue!100] (8.80,-2.40) rectangle ++(.3,.3); \fill[glowblue!100] (9.10,-2.40) rectangle ++(.3,.3); \fill[glowgold!69] (9.40,-2.40) rectangle ++(.3,.3); \fill[glowgold!69] (9.70,-2.40) rectangle ++(.3,.3); \fill[glowgold!69] (10.00,-2.40) rectangle ++(.3,.3); \fill[glowblue!100] (10.30,-2.40) rectangle ++(.3,.3); \fill[glowgold!69] (10.60,-2.40) rectangle ++(.3,.3); \fill[glowblue!100] (10.90,-2.40) rectangle ++(.3,.3); \fill[glowblue!100] (11.20,-2.40) rectangle ++(.3,.3); \fill[glowgold!69] (11.50,-2.40) rectangle ++(.3,.3); \fill[glowblue!100] (11.80,-2.40) rectangle ++(.3,.3); \fill[glowblue!100] (8.80,-2.70) rectangle ++(.3,.3); \fill[glowblue!100] (9.10,-2.70) rectangle ++(.3,.3); \fill[glowblue!100] (9.40,-2.70) rectangle ++(.3,.3); \fill[glowgold!69] (9.70,-2.70) rectangle ++(.3,.3); \fill[glowgold!69] (10.00,-2.70) rectangle ++(.3,.3); \fill[glowgold!69] (10.30,-2.70) rectangle ++(.3,.3); \fill[glowblue!100] (10.60,-2.70) rectangle ++(.3,.3); \fill[glowgold!69] (10.90,-2.70) rectangle ++(.3,.3); \fill[glowblue!100] (11.20,-2.70) rectangle ++(.3,.3); \fill[glowblue!100] (11.50,-2.70) rectangle ++(.3,.3); \fill[glowgold!69] (11.80,-2.70) rectangle ++(.3,.3); \fill[glowgold!69] (8.80,-3.00) rectangle ++(.3,.3); \fill[glowblue!100] (9.10,-3.00) rectangle ++(.3,.3); \fill[glowblue!100] (9.40,-3.00) rectangle ++(.3,.3); \fill[glowblue!100] (9.70,-3.00) rectangle ++(.3,.3); \fill[glowgold!69] (10.00,-3.00) rectangle ++(.3,.3); \fill[glowgold!69] (10.30,-3.00) rectangle ++(.3,.3); \fill[glowgold!69] (10.60,-3.00) rectangle ++(.3,.3); \fill[glowblue!100] (10.90,-3.00) rectangle ++(.3,.3); \fill[glowgold!69] (11.20,-3.00) rectangle ++(.3,.3); \fill[glowblue!100] (11.50,-3.00) rectangle ++(.3,.3); \fill[glowblue!100] (11.80,-3.00) rectangle ++(.3,.3); \fill[glowblue!100] (8.80,-3.30) rectangle ++(.3,.3); \fill[glowgold!69] (9.10,-3.30) rectangle ++(.3,.3); \fill[glowblue!100] (9.40,-3.30) rectangle ++(.3,.3); \fill[glowblue!100] (9.70,-3.30) rectangle ++(.3,.3); \fill[glowblue!100] (10.00,-3.30) rectangle ++(.3,.3); \fill[glowgold!69] (10.30,-3.30) rectangle ++(.3,.3); \fill[glowgold!69] (10.60,-3.30) rectangle ++(.3,.3); \fill[glowgold!69] (10.90,-3.30) rectangle ++(.3,.3); \fill[glowblue!100] (11.20,-3.30) rectangle ++(.3,.3); \fill[glowgold!69] (11.50,-3.30) rectangle ++(.3,.3); \fill[glowblue!100] (11.80,-3.30) rectangle ++(.3,.3); \draw[step=.3,white,line width=.3pt,shift={(8.80,0)}] (0,-3.3) grid (3.3,0); \node at (10.45,.3) {Legendre sequence}; \end{tikzpicture} \caption{The polar parts of the circulant matrices of the 3 chains from Figure \ref{fig:rings}, with the positive entries in blue, the negative ones in gold, and the color being proportional to the absolute value. The ordered chains produce matrices concentrated near the diagonal, or near the antidiagonal directions, while the matrix of the Legendre sequence is much flatter.}\label{fig:circgrids} \end{figure} Let us go now for the ground states. Since there are only $2^N$ chains, an exhaustive search is possible at orders which are far beyond those from Section \ref{sec:dual}. The program \texttt{chains.py} goes through all the sequences for $N\leq30$, and its faster version \texttt{shamrock.c}, written in C, and using the Gray code, reaches $N=40$, with $N=41$ being done by its copy \texttt{lamotta.c}. For $N\leq24$ these maxima were computed in \cite{hjs}, in the form of the Schur norms $c_N/N$, and our values agree with those found there. The results are as follows, where the energy is the biggest value of $Tr|S|$, the ratio is this value divided by $N\sqrt{N}$, and the last number counts the ground states: \begin{center}\small \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline $N$&energy&ratio&states&$N$&energy&ratio&states&$N$&energy&ratio&states\\ \hline 3&5.0000&0.9623&6&16&62.2107&0.9720&256&29&153.8954&0.9854&1624\\ \hline 4&8.0000&1.0000&8&17&68.3489&0.9751&544&30&161.8512&0.9850&960\\ \hline 5&11.0000&0.9839&10&18&74.2765&0.9726&1296&31&170.9639&0.9905&1240\\ \hline 6&14.0000&0.9526&24&19&81.7951&0.9876&684&32&179.1418&0.9896&2048\\ \hline 7&17.9706&0.9703&28&20&88.0000&0.9839&200&33&188.1430&0.9925&1320\\ \hline 8&21.8564&0.9659&32&21&94.7490&0.9846&84&34&195.6605&0.9869&2176\\ \hline 9&25.6851&0.9513&108&22&100.9621&0.9784&880&35&205.3052&0.9915&1680\\ \hline 10&29.7136&0.9396&160&23&108.7775&0.9862&92&36&214.7387&0.9942&3456\\ \hline 11&35.6410&0.9769&44&24&116.7366&0.9929&768&37&223.1908&0.9917&2664\\ \hline 12&40.9706&0.9856&96&25&123.2405&0.9859&1000&38&231.5549&0.9885&2736\\ \hline 13&46.5692&0.9935&104&26&130.4727&0.9841&1248&39&241.9228&0.9933&624\\ \hline 14&50.9706&0.9730&112&27&138.6161&0.9880&1944&40&251.3340&0.9935&2560\\ \hline 15&57.1016&0.9829&480&28&145.9114&0.9848&2688&41&260.4314&0.9920&3280\\ \hline \end{tabular} \end{center} In all cases the ground states are the sign matrices of their polar parts, and so produce plain local maximizers of the 1-norm. The ratios are between $0.9396$, at $N=10$, and $0.9942$, at $N=36$, if we exclude the circulant Hadamard matrix at $N=4$. Our main conclusions are: \begin{theorem}\label{th9d} The biggest value $c_N$ of the energy $Tr|S|$ over the circulant sign matrices of order $N$, with $N\leq41$, has the following properties: \begin{enumerate} \item $c_N=m_N$ at $N=3,4,5,7,13$, where the optimal almost Hadamard matrices are circulant. \item At $N=7,11,23$ the ground states are the $4N$ Legendre sequences, from Proposition \ref{pr9c}. \item At $N=15,19$ the cyclic Hadamard designs are not ground states: we have $c_{15}>57.1015$ and $c_{19}>81.7950$, the designs having energy $57$ and $1+18\sqrt{20}=81.4984$. \item We have $c_N4$, see \cite{rys}. In our terms, the conjecture says that the spin chain has no perfect crystal, apart from the one at $N=4$. The conjecture itself is known to hold for much bigger values of $N$, by arithmetic methods, and what the table brings is quantitative information, on how close to perfection one can get. At $N=29,37,41$ the Legendre sequences have energy $151.7846$, $219.9795$ and $257.1250$, and are not ground states either, and at $N=9,11$ the ground states are below the matrices $S_9,S_{11}$ from Section \ref{sec:dual}, which are not circulant. The same happens at $N=15,19$, where the best values known, namely $57.1522$ and $81.8353$, are those from \cite{hjs}. Finally, at $N=25,41$, where the bound from Theorem \ref{th8u} is attained, we have $c_N,black!70] (0,0)--(7.4,0); \draw[->,black!70] (0,0)--(0,3.6); \fill[glowblue] (0.085,0) rectangle (0.203,0.151); \fill[glowblue] (3.409,0) rectangle (3.527,0.831); \fill[glowblue] (3.547,0) rectangle (3.666,1.352); \fill[glowblue] (3.963,0) rectangle (4.081,1.503); \fill[glowblue] (4.101,0) rectangle (4.220,1.352); \fill[glowblue] (4.240,0) rectangle (4.358,1.591); \fill[glowblue] (4.378,0) rectangle (4.497,1.873); \fill[glowblue] (4.517,0) rectangle (4.635,1.775); \fill[glowblue] (4.655,0) rectangle (4.774,2.068); \fill[glowblue] (4.794,0) rectangle (4.912,2.202); \fill[glowblue] (4.932,0) rectangle (5.051,2.292); \fill[glowblue] (5.071,0) rectangle (5.189,2.392); \fill[glowblue] (5.209,0) rectangle (5.328,2.615); \fill[glowblue] (5.348,0) rectangle (5.466,2.744); \fill[glowblue] (5.486,0) rectangle (5.605,2.831); \fill[glowblue] (5.625,0) rectangle (5.743,2.925); \fill[glowblue] (5.763,0) rectangle (5.882,2.994); \fill[glowblue] (5.902,0) rectangle (6.020,3.039); \fill[glowblue] (6.040,0) rectangle (6.159,3.064); \fill[glowblue] (6.179,0) rectangle (6.297,3.066); \fill[glowblue] (6.317,0) rectangle (6.436,2.992); \fill[glowblue] (6.456,0) rectangle (6.574,2.858); \fill[glowblue] (6.594,0) rectangle (6.713,2.651); \fill[glowblue] (6.733,0) rectangle (6.851,2.292); \fill[glowblue] (6.871,0) rectangle (6.990,1.521); \draw[black!70] (0.000,0)--++(0,-.07) node[below] {\footnotesize $0.2$}; \draw[black!70] (1.750,0)--++(0,-.07) node[below] {\footnotesize $0.4$}; \draw[black!70] (3.500,0)--++(0,-.07) node[below] {\footnotesize $0.6$}; \draw[black!70] (5.250,0)--++(0,-.07) node[below] {\footnotesize $0.8$}; \draw[black!70] (7.000,0)--++(0,-.07) node[below] {\footnotesize $1$}; \draw[black!70] (0,1.00)--++(-.07,0) node[left] {\footnotesize $10^2$}; \draw[black!70] (0,2.00)--++(-.07,0) node[left] {\footnotesize $10^4$}; \draw[black!70] (0,3.00)--++(-.07,0) node[left] {\footnotesize $10^6$}; \fill[glowgold] (3.406,-.62)--++(.09,-.16)--++(-.18,0)--cycle; \fill[glowgold] (3.648,-.62)--++(.09,-.16)--++(-.18,0)--cycle; \fill[glowgold] (6.879,-.62)--++(.09,-.16)--++(-.18,0)--cycle; \draw[black!60,densely dashed] (7,0)--(7,3.4); \begin{scope}[shift={(9,0)}] \draw[->,black!70] (0,0)--(6.4,0) node[right] {$T$}; \draw[->,black!70] (0,0)--(0,3.6) node[above] {$C$}; \draw[black!70] (2.00,0)--++(0,-.07) node[below] {\footnotesize $1$}; \draw[black!70] (4.00,0)--++(0,-.07) node[below] {\footnotesize $2$}; \draw[black!70] (6.00,0)--++(0,-.07) node[below] {\footnotesize $3$}; \draw[black!70] (0,1.40)--++(-.07,0) node[left] {\footnotesize $0.1$}; \draw[black!70] (0,2.80)--++(-.07,0) node[left] {\footnotesize $0.2$}; \draw[black!60,densely dotted,line width=.9pt] (0.080,0.000)--(0.160,0.000)--(0.240,0.013)--(0.320,0.102)--(0.400,0.320)--(0.480,0.661)--(0.560,1.081)--(0.640,1.529)--(0.720,1.957)--(0.800,2.329)--(0.880,2.624)--(0.960,2.832)--(1.040,2.957)--(1.120,3.009)--(1.200,3.003)--(1.280,2.952)--(1.360,2.871)--(1.440,2.769)--(1.520,2.655)--(1.600,2.536)--(1.680,2.417)--(1.760,2.299)--(1.840,2.186)--(1.920,2.078)--(2.000,1.975)--(2.080,1.879)--(2.160,1.789)--(2.240,1.705)--(2.320,1.627)--(2.400,1.554)--(2.480,1.486)--(2.560,1.422)--(2.640,1.363)--(2.720,1.307)--(2.800,1.256)--(2.880,1.207)--(2.960,1.161)--(3.040,1.119)--(3.120,1.078)--(3.200,1.040)--(3.280,1.005)--(3.360,0.971)--(3.440,0.939)--(3.520,0.909)--(3.600,0.880)--(3.680,0.853)--(3.760,0.827)--(3.840,0.803)--(3.920,0.779)--(4.000,0.757)--(4.080,0.736)--(4.160,0.715)--(4.240,0.696)--(4.320,0.677)--(4.400,0.659)--(4.480,0.642)--(4.560,0.626)--(4.640,0.610)--(4.720,0.595)--(4.800,0.580)--(4.880,0.567)--(4.960,0.553)--(5.040,0.540)--(5.120,0.528)--(5.200,0.516)--(5.280,0.504)--(5.360,0.493)--(5.440,0.482)--(5.520,0.472)--(5.600,0.461)--(5.680,0.452)--(5.760,0.442)--(5.840,0.433)--(5.920,0.424)--(6.000,0.416); \draw[glowgold,line width=.9pt] (0.080,0.003)--(0.160,0.029)--(0.240,0.068)--(0.320,0.150)--(0.400,0.312)--(0.480,0.590)--(0.560,0.992)--(0.640,1.483)--(0.720,1.991)--(0.800,2.439)--(0.880,2.775)--(0.960,2.979)--(1.040,3.063)--(1.120,3.055)--(1.200,2.984)--(1.280,2.877)--(1.360,2.753)--(1.440,2.624)--(1.520,2.497)--(1.600,2.377)--(1.680,2.266)--(1.760,2.162)--(1.840,2.068)--(1.920,1.980)--(2.000,1.900)--(2.080,1.826)--(2.160,1.757)--(2.240,1.692)--(2.320,1.632)--(2.400,1.576)--(2.480,1.524)--(2.560,1.474)--(2.640,1.427)--(2.720,1.382)--(2.800,1.340)--(2.880,1.300)--(2.960,1.262)--(3.040,1.226)--(3.120,1.191)--(3.200,1.158)--(3.280,1.127)--(3.360,1.097)--(3.440,1.068)--(3.520,1.040)--(3.600,1.013)--(3.680,0.988)--(3.760,0.963)--(3.840,0.939)--(3.920,0.917)--(4.000,0.895)--(4.080,0.874)--(4.160,0.853)--(4.240,0.834)--(4.320,0.815)--(4.400,0.797)--(4.480,0.779)--(4.560,0.762)--(4.640,0.745)--(4.720,0.729)--(4.800,0.714)--(4.880,0.699)--(4.960,0.684)--(5.040,0.670)--(5.120,0.657)--(5.200,0.644)--(5.280,0.631)--(5.360,0.618)--(5.440,0.606)--(5.520,0.595)--(5.600,0.583)--(5.680,0.572)--(5.760,0.561)--(5.840,0.551)--(5.920,0.541)--(6.000,0.531); \draw[glowblue,line width=.9pt] (0.080,0.285)--(0.160,0.266)--(0.240,0.654)--(0.320,0.950)--(0.400,1.198)--(0.480,1.441)--(0.560,1.654)--(0.640,1.817)--(0.720,1.930)--(0.800,2.004)--(0.880,2.050)--(0.960,2.077)--(1.040,2.093)--(1.120,2.100)--(1.200,2.100)--(1.280,2.095)--(1.360,2.085)--(1.440,2.070)--(1.520,2.052)--(1.600,2.030)--(1.680,2.004)--(1.760,1.976)--(1.840,1.945)--(1.920,1.912)--(2.000,1.877)--(2.080,1.841)--(2.160,1.803)--(2.240,1.765)--(2.320,1.727)--(2.400,1.688)--(2.480,1.649)--(2.560,1.610)--(2.640,1.572)--(2.720,1.534)--(2.800,1.497)--(2.880,1.460)--(2.960,1.425)--(3.040,1.390)--(3.120,1.355)--(3.200,1.322)--(3.280,1.290)--(3.360,1.258)--(3.440,1.228)--(3.520,1.198)--(3.600,1.169)--(3.680,1.141)--(3.760,1.114)--(3.840,1.088)--(3.920,1.063)--(4.000,1.038)--(4.080,1.015)--(4.160,0.991)--(4.240,0.969)--(4.320,0.948)--(4.400,0.927)--(4.480,0.906)--(4.560,0.887)--(4.640,0.868)--(4.720,0.849)--(4.800,0.831)--(4.880,0.814)--(4.960,0.797)--(5.040,0.781)--(5.120,0.765)--(5.200,0.750)--(5.280,0.735)--(5.360,0.720)--(5.440,0.706)--(5.520,0.693)--(5.600,0.680)--(5.680,0.667)--(5.760,0.654)--(5.840,0.642)--(5.920,0.630)--(6.000,0.619); \end{scope} \end{tikzpicture} \caption{On the left, the number of chains of $N=23$ spins, in $50$ bins of the energy $Tr|S|$, on a logarithmic scale, against $Tr|S|/N^{3/2}$. The empty bins at left are genuine gaps between the first energy levels. The triangles mark the chain with one flipped spin, the alternating chain, and the Legendre sequence, which is the ground state. On the right, the specific heat per spin at $N=13$ (dotted), $N=19$ (gold) and $N=23$ (blue), against the temperature.}\label{fig:chain} \end{figure} The specific heat has a single broad maximum, near $T=0.6$, of height $0.22$, $0.22$, $0.15$ at $N=13,19,23$, which does not sharpen with $N$ in this range, so there is no sign of crystallization: the $4N$ ground states are simply the end of a smooth distribution. As for the ordered chains, these are isolated on the left, and Theorem \ref{th9b} shows that they are nevertheless local maximizers of the 1-norm, that is, metastable states of the hard matrix model. Let us discuss now the orders $N=2(4)$, where the ground states of the chain are far below the bound from Theorem \ref{th75}. Here the solution, which goes back to Ehlich \cite{ehl}, and which appears as well in \cite{bnz}, is to use 2 circulant blocks. Given 2 sequences of signs $a,b$ of length $N/2$, with circulant matrices $A,B$, consider the following sign matrix, of order $N$: $$S=\begin{pmatrix}A&B\\ -B^t&A^t\end{pmatrix}$$ The energy of such a matrix can be computed as for the chains, and we have: \begin{proposition}\label{pr9e} For the above matrix, built from $2$ sequences $a,b$ of length $n=N/2$: \begin{enumerate} \item $Tr|S|=2\sum_k\sqrt{|\widehat a_k|^2+|\widehat b_k|^2}$. \item The bound $(N-2)\sqrt{N-2}+2\sqrt{2N-2}$ from Theorem \ref{th75} is attained precisely when the periodic autocorrelations of $a$ and $b$ sum up to $2$, at any nonzero shift. \end{enumerate} \end{proposition} \begin{proof} Since the circulant matrices commute, $SS^t$ has diagonal blocks $AA^t+BB^t$, and vanishes outside these blocks. This matrix $AA^t+BB^t$ is circulant, with eigenvalues $|\widehat a_k|^2+|\widehat b_k|^2$, which gives (1). As for (2), by the discussion following Theorem \ref{th75}, the bound is attained precisely when the eigenvalues of $SS^t$ are $2N-2$, with multiplicity 2, and $N-2$. In our case this means that the circulant matrix $AA^t+BB^t-(N-2)$, which is positive, with 2 on the diagonal, has rank one, so it equals $2\mathbb I$, the size $N/2$ being odd. Since the entries of $AA^t+BB^t$ are the sums of the autocorrelations of $a$ and $b$, this gives the result. \end{proof} The program \texttt{chains.py} goes through all the pairs of sequences at $N\leq26$, which is an easy task, there being at most $2^{26}$ such pairs, with the following results, where $a,b$ is a pair of sequences maximizing the energy, and where the upper bound is the one from Theorem \ref{th75}: \begin{center}\small \begin{tabular}{|c|c|c|c|c|c|} \hline $N$&$a$&$b$&$Tr|S|$&upper bound&equality\\ \hline 6&{\tt +++}&{\tt ++-}&14.3246&14.3246&yes\\ \hline 10&{\tt ++++-}&{\tt +++-+}&31.1127&31.1127&yes\\ \hline 14&{\tt ++++++-}&{\tt +++-+--}&51.7673&51.7673&yes\\ \hline 18&{\tt +++++++--}&{\tt +++-++-+-}&75.6619&75.6619&yes\\ \hline 22&{\tt ++++++-+---}&{\tt ++++--++-+-}&102.2100&102.4042&no\\ \hline 26&{\tt ++++++++-++--}&{\tt ++++--+-+-+--}&131.7176&131.7176&yes\\ \hline 30&{\tt +--++-+-+++++++}&{\tt +--+-+-++--++++}&163.3936&163.3936&yes\\ \hline 38&{\tt +--+-+-++--++++++++}&{\tt +--+-+++-+--+++-+++}&233.2047&233.2047&yes\\ \hline 42&{\tt +---+++--++-+++++++++}&{\tt +--+--++-+-+-+--+-+++}&271.0930&271.0930&yes\\ \hline 46&{\tt +----+++-++--++++++++++}&{\tt +--++-+--++-+-++-+-+-++}&310.8366&310.8366&yes\\ \hline 50&{\tt +---+--+++--+-++-++++++++}&{\tt +--+-++-+++-+-+-+++--++++}&352.3527&352.3527&yes\\ \hline \end{tabular} \end{center} At $N=6,10,14$ we recover the optimal values from Theorem \ref{th75}, the matrices being now of a simple form. As an illustration, here is the optimal matrix at $N=10$, built from the sequences in the table, which has energy $22\sqrt{2}$, as the matrix $K_5\otimes H_2$ from Section \ref{sec:dual}: {\small\setlength{\arraycolsep}{3pt} $$\left(\begin{array}{ccccc|ccccc} +&+&+&+&-&+&+&+&-&+\\ -&+&+&+&+&+&+&+&+&-\\ +&-&+&+&+&-&+&+&+&+\\ +&+&-&+&+&+&-&+&+&+\\ +&+&+&-&+&+&+&-&+&+\\ \hline -&-&+&-&-&+&-&+&+&+\\ -&-&-&+&-&+&+&-&+&+\\ -&-&-&-&+&+&+&+&-&+\\ +&-&-&-&-&+&+&+&+&-\\ -&+&-&-&-&-&+&+&+&+ \end{array}\right)$$ } The other orders are new, with respect to what we know so far. At $N=18,26$ the bound is attained, as expected from the determinant theory, where such matrices are well-known, the value at $N=18$ being the one found in \cite{hjs}, and at $N=22$ our value is below the lower bound $m_{22}\geq102.3127$ from there. The last 5 lines of the table come from a different computation: here \texttt{chains.py} looks directly for the equality case, by matching the autocorrelations of $a$ with those of $b$, at the orders $N\leq50$ where $2N-2$ is a sum of 2 squares. Summarizing, we have the following result: \begin{theorem}\label{th9f} The bound $m_N\leq(N-2)\sqrt{N-2}+2\sqrt{2N-2}$ at $N=2(4)$ is attained by matrices made of $2$ circulant blocks at any $6\leq N\leq50$ such that $2N-2$ is a sum of $2$ squares, namely at $N=6,10,14,18,26,30,38,42,46,50$. In particular $m_{18}=64+2\sqrt{34}$, $m_{26}=48\sqrt{6}+10\sqrt{2}$, $m_{30}=56\sqrt{7}+2\sqrt{58}$, and so on. At $N=22$ the biggest energy of such matrices is $\simeq102.2100$. \end{theorem} \begin{proof} This follows from Proposition \ref{pr9e}, and from the above table. Observe that at $N=22$ the bound cannot be attained, by any sign matrix, because $2N-2=42$ is not a sum of 2 squares, as explained in Section \ref{sec:bounds}. \end{proof} \section{Complex matrices, the dual model}\label{sec:complex} We discuss now the complex case, where the orthogonal group $O_N$ is replaced by the unitary group $U_N$, and the sign matrices by the matrices having entries of modulus 1, which form a torus $M_N(\mathbb T)$. The complex Hadamard matrices are the matrices $H\in M_N(\mathbb T)$ whose rows are pairwise orthogonal, and exist at any $N$, the basic example being the Fourier matrix. We refer to \cite{tz1} for the general theory of such matrices. As in the real case, for $U\in U_N$ we have $||U||_1\leq N\sqrt{N}$, with equality precisely when $H=\sqrt{N}U$ is a complex Hadamard matrix. The complex almost Hadamard matrices were introduced in \cite{bn2} in analogy with the real ones, by using the local maximizers of the 1-norm on $U_N$, with the following conjectural conclusion: any such local maximizer is a global one. This is the almost Hadamard conjecture, which is proved at $N\leq3$, with a number of further results at $N=4$, and with evidence at $N=4,5$ coming from long numerical searches. See \cite{bn2}, \cite{cgt}. We will come back to it at the end of this section, with a computer-assisted proof for the existence of a counterexample at $N=16$. \medskip In order to discuss this, let us go back to the pairing from the Introduction, whose complex version is as follows, with $U\in U_N$ and $S\in M_N(\mathbb T)$: $$\Phi(U,S)=Re\,Tr(S^*U)=\sum_{ij}Re(\bar{S}_{ij}U_{ij})$$ We call phase matrix of a matrix $U$ having nonzero entries the matrix $S_{ij}=U_{ij}/|U_{ij}|$, and we denote as usual by $|S|=\sqrt{S^*S}$ the modulus of a matrix, and by $Pol(S)=S|S|^{-1}$ the polar part of an invertible matrix. With these conventions, we have: \begin{proposition}\label{pr51} The functions $L(U)=||U||_1$ on $U_N$ and $M(S)=Tr|S|$ on $M_N(\mathbb T)$ are the partial maxima of $\Phi$, with respect to $S$ and $U$ respectively. For $U$ with nonzero entries the first maximum is attained only at the phase matrix of $U$, and for $S$ invertible the second maximum is attained only at $U=Pol(S)$. Moreover, we have $M(S)\leq N\sqrt{N}$, with equality precisely when $S$ is a complex Hadamard matrix. \end{proposition} \begin{proof} The first assertion is clear, and the second one is the standard fact that the maximum of $Re\,Tr(S^*U)$ over the unitary group is the sum of the singular values of $S$, and is attained when $S^*U$ is positive. As for the last assertion, this follows from the Cauchy-Schwarz inequality, $Tr|S|\leq\sqrt{N}\,Tr(S^*S)^{1/2}=N\sqrt{N}$, with equality when $|S|=\sqrt{N}$. \end{proof} Thus we have a dual model, with $N^2$ planar rotators $S_{ij}$ and with energy $-Tr|S|$, whose ground states are the complex Hadamard matrices. In physical terms, the rotators live on the edges of the complete bipartite graph $K_{N,N}$, and the energy is invariant under the gauge transformations $S_{ij}\to\alpha_iS_{ij}\beta_j$, with $\alpha_i,\beta_j\in\mathbb T$. By using these transformations we can always assume that the first row and column of $S$ consist of $1$ entries, as for the dephased complex Hadamard matrices, and we are left with $(N-1)^2$ angles. The quantities $Tr((S^*S)^p)$ are sums of Wilson loops of length $2p$, the simplest one being $Tr((S^*S)^2)\geq N^3$, which is the plaquette action, and which is minimal precisely for the complex Hadamard matrices too. Figure \ref{fig:gauge} illustrates this. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small,>=stealth] \foreach \i in {1,2,3}{ \coordinate (r\i) at (0,2.6-.95*\i); \coordinate (c\i) at (4.2,2.6-.95*\i); } \foreach \i in {1,2,3} \foreach \j in {1,2,3} \draw[black!35] (r\i)--(c\j); \draw[glowgold,line width=1.6pt] (r1)--(c1)--(r2)--(c2)--cycle; \foreach \i/\j/\ang/\pos in {1/1/20/.5,1/2/75/.3,1/3/130/.22,2/1/200/.3,2/2/310/.5,2/3/95/.3,3/1/250/.22,3/2/40/.3,3/3/170/.5}{ \path (r\i)--(c\j) coordinate[pos=\pos] (m); \draw[->,glowblue,line width=.9pt] (m)--++(\ang:.36); \fill[glowblue] (m) circle[radius=1.3pt];} \foreach \i in {1,2,3}{ \filldraw[draw=black!70,fill=white] (r\i) circle[radius=2.4pt]; \node[left=3pt] at (r\i) {$\alpha_\i$}; \filldraw[draw=black!70,fill=white] (c\i) circle[radius=2.4pt]; \node[right=3pt] at (c\i) {$\beta_\i$};} \node[right] at (5.6,1.65) {rotators $S_{ij}$ on the edges}; \node[right,text=glowgold!85!black] at (5.6,.7) {plaquette $S_{11}\bar{S}_{21}S_{22}\bar{S}_{12}$}; \node[right] at (5.6,-.25) {gauge group $\mathbb T^N\times\mathbb T^N$ at the vertices}; \end{tikzpicture} \caption{The dual model at $N=3$: a planar rotator on each edge of $K_{3,3}$, and gauge transformations at the vertices. The energy is a function of the Wilson loops, such as the plaquette in gold.}\label{fig:gauge} \end{figure} Before going further, observe that the complementation formula from Theorem \ref{th7c} holds in the complex case too, for the submatrices of the complex Hadamard matrices \cite{tgp}. However, the last assertion there has no complex analogue. For the Fourier matrix $F_N=(w^{ij})$ with $w=e^{2\pi i/N}$, at $r=1$ we obtain $\sqrt{N}\,Pol(D)=D-\mathbb I/(1+\sqrt{N})$, and since the correction is real, the entries of this matrix do not have the phases of the entries of $D$, unless these are $\pm1$. Thus $D$ is not the phase matrix of its polar part, in agreement with the above conjecture, and as verified by \texttt{detours.py} at $N=5,7$. \medskip In order to compare the 2 models, we need the second variation of $\Phi$. We consider curves of type $t\to(Ue^{itB},S_t)$, with $B$ self-adjoint, and with $S_t=(S_{ij}e^{it\theta_{ij}})$, where $\theta\in M_N(\mathbb R)$. \begin{proposition}\label{pr52} Let $U\in U_N$ have nonzero entries, with phase matrix $S$, and assume that $X=S^*U$ is self-adjoint. Then $(U,S)$ is a critical point of $\Phi$, and the second derivative of $\Phi$ at $t=0$ along the above curves is the quadratic form $$Q(B,\theta)=-Tr(XB^2)+2\sum_{ij}\theta_{ij}R_{ij}-\sum_{ij}\theta_{ij}^2|U_{ij}|$$ where $R_{ij}=Re(\bar{S}_{ij}(UB)_{ij})$. \end{proposition} \begin{proof} The function to be differentiated is $\sum_{ij}Re(\bar{S}_{ij}e^{-it\theta_{ij}}(Ue^{itB})_{ij})$. The first derivative at $t=0$ is $\sum_{ij}\theta_{ij}Im(\bar{S}_{ij}U_{ij})-Im\,Tr(XB)$, and both terms vanish, because $\bar{S}_{ij}U_{ij}=|U_{ij}|$ is real, and because $X$ is self-adjoint. As for the second derivative, this is the sum of the following 3 terms, coming from differentiating twice $e^{-it\theta_{ij}}$, then once each factor, and then twice $e^{itB}$, which give the formula in the statement: $$-\sum_{ij}\theta_{ij}^2|U_{ij}|\quad,\quad2\sum_{ij}\theta_{ij}Re(\bar{S}_{ij}(UB)_{ij})\quad,\quad-Re\,Tr(S^*UB^2)$$ Thus, we are led to the conclusion in the statement. \end{proof} By maximizing over $\theta$ we obtain the Hessian of $L$, namely $\sum_{ij}R_{ij}^2/|U_{ij}|-Tr(XB^2)$, which is the formula from \cite{bn2}, \cite{cgt}. The program \texttt{inertia.py} computes the inertia of this Hessian, and of the Hessian of $M$, computed independently, via the perturbation theory of the singular values. For all the matrices that we tried, the 2 inertias coincide, and for the real local maximizers from Section \ref{sec:designs}, regarded as unitary matrices, the results are as follows, with the last row being the number of positive eigenvalues, that is, the number of independent directions in $U_N$ along which the 1-norm increases: \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hline matrix&$K_3$&$K_5$&$K_6$&$K_7$&$(7,3,1)$&$(11,5,2)$&$(13,4,1)$&$(15,7,3)$\\ \hline escape directions&1&5&9&14&7&35&53&35\\ \hline \end{tabular} \end{center} Here $K_N$ stands for the matrix $1-2P$ from Section \ref{sec:designs}, and the designs for their matrices $U_+$. In all these cases the kernel of the Hessian has dimension $2N-1$, coming from the gauge transformations. Thus the real almost Hadamard matrices coming from designs are saddles on $U_N$, in agreement with the results in \cite{bn2}, where the matrices $K_N$ with $N\neq4$, and those of the projective planes and of the Paley biplane, are shown not to be complex almost Hadamard. \medskip The program also treats 2 remarkable matrices of order 4, which are as follows, with $q\in\mathbb T$ for the first one, and with $c=\cos(\pi/8)$, $s=\sin(\pi/8)$ for the second one: $$F_4^q=\frac{1}{2}\left(\begin{array}{rrrr} 1&1&1&1\\ 1&q&-1&-q\\ 1&-1&1&-1\\ 1&-q&-1&q \end{array}\right)\qquad\quad Z_4=\frac{1}{\sqrt{2}}\left(\begin{array}{rrrr} c&s&c&s\\ c&-s&-s&-c\\ s&c&-c&s\\ s&-c&-s&c \end{array}\right)$$ The matrices $F_4^q$ are the rescaled complex Hadamard matrices of order 4, which form a 1-parameter family, and at a generic value of $q$ the Hessian is negative, with a kernel of dimension $8$, one more than the dimension $2N-1$ coming from the gauge transformations. As for the matrix $Z_4$, from \cite{cgt}, this is a real orthogonal matrix, which is a plain local maximizer of the 1-norm on $O_4$, of norm $8\cos(\pi/8)=7.391$, and which is a saddle on $U_4$, with 3 escape directions. \medskip As a second experiment, the program \texttt{cooling.py} runs the alternating maximization of $\Phi$, namely $S\to U=Pol(S)\to S$, with $S$ being at the end the phase matrix of $U$, from 300 random sign matrices, and from 100 random matrices in $M_N(\mathbb T)$, for each $N$. In the real case this is the polar iteration from Section \ref{sec:moving}. The results are as follows, with the mean end value of $Tr|S|/N^{3/2}$ in the real case, and with the lowest end value in the complex case, after at most $20000$ steps: \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|} \hline $N$&4&5&6&7&8&9&10&11&12\\ \hline real&0.933&0.948&0.944&0.944&0.943&0.942&0.942&0.941&0.939\\ \hline complex&1&1&1&1&1&1&0.99999&0.99998&0.99999\\ \hline \end{tabular} \end{center} The difference between the 2 cases is striking, and is best seen on individual runs. Figure \ref{fig:race}, computed by \texttt{pictures.py}, shows 3 runs of each type at $N=7$, on logarithmic scales. \begin{figure}[H] \centering \begin{tikzpicture}[x=5.3mm,y=3.5mm,font=\small] \draw[->,black!70] (0,-12.5)--(12.6,-12.5) node[right,text=black] {steps}; \draw[->,black!70] (0,-12.5)--(0,.8); \foreach \x/\l in {0/1,4/16,8/256,12/4096} \draw (\x,-12.5)--++(0,-.25) node[below] {$\l$}; \foreach \y/\l in {0/1,-3/10^{-3},-6/10^{-6},-9/10^{-9},-12/10^{-12}} \draw (0,\y)--++(-.1,0) node[left] {$\l$}; \draw[glowblue,line width=1pt] plot coordinates {(0.0000,-1.4549) (1.0000,-1.4549) (2.0000,-1.4549) (3.0000,-1.4549) (4.0000,-1.4549) (5.0000,-1.4549) (6.0000,-1.4549) (12.0000,-1.4549)}; \draw[glowblue,line width=1pt] plot coordinates {(0.0000,-1.1248) (1.0000,-1.1248) (2.0000,-1.1248) (3.0000,-1.1248) (4.0000,-1.1248) (5.0000,-1.1248) (6.0000,-1.1248) (12.0000,-1.1248)}; \draw[glowblue,line width=1pt] plot coordinates {(0.0000,-1.0599) (1.0000,-1.0599) (2.0000,-1.0599) (3.0000,-1.0599) (4.0000,-1.0599) (5.0000,-1.0599) (6.0000,-1.0599) (12.0000,-1.0599)}; \draw[glowgold,line width=1pt] plot coordinates {(0.0000,-1.6178) (1.0000,-1.8202) (2.0000,-2.1796) (3.0000,-2.9961) (4.0000,-4.0447) (5.0000,-4.6160) (6.0000,-4.9957) (7.0000,-5.3987) (8.0000,-5.9622) (9.0000,-6.4298) (10.0000,-7.1404) (11.0000,-8.6465) (12.0000,-11.6801)}; \draw[glowgold,line width=1pt] plot coordinates {(0.0000,-1.4658) (1.0000,-1.7314) (2.0000,-2.1627) (3.0000,-3.0287) (4.0000,-4.3420) (5.0000,-4.8204) (6.0000,-4.9889) (7.0000,-5.1838) (8.0000,-5.5235) (9.0000,-6.0126) (10.0000,-6.5814) (11.0000,-7.1777) (12.0000,-7.7830)}; \draw[glowgold,line width=1pt] plot coordinates {(0.0000,-1.2987) (1.0000,-1.5498) (2.0000,-1.7817) (3.0000,-2.2448) (4.0000,-2.6696) (5.0000,-3.9344) (6.0000,-5.4953) (7.0000,-7.1122) (8.0000,-7.5243) (9.0000,-7.5779) (10.0000,-7.6731) (11.0000,-7.8297) (12.0000,-8.0636)}; \node[text=glowblue] at (9.6,-.45) {signs}; \node[text=glowgold!85!black] at (6.6,-4.2) {phases}; \end{tikzpicture}\hfill \raisebox{6mm}{\begin{tikzpicture}[x=5.4mm,y=5.4mm,font=\small,>=stealth] \begin{scope}[shift={(0.0,0)}] \draw[step=1,black!25] (0,-5) grid (5,0); \draw[->,glowblue,line width=.7pt] (0.140,-0.500)--(0.860,-0.500); \draw[->,glowblue,line width=.7pt] (1.140,-0.500)--(1.860,-0.500); \draw[->,glowblue,line width=.7pt] (2.140,-0.500)--(2.860,-0.500); \draw[->,glowblue,line width=.7pt] (3.140,-0.500)--(3.860,-0.500); \draw[->,glowblue,line width=.7pt] (4.140,-0.500)--(4.860,-0.500); \draw[->,glowblue,line width=.7pt] (0.140,-1.500)--(0.860,-1.500); \draw[->,glowblue,line width=.7pt] (1.575,-1.852)--(1.425,-1.148); \draw[->,glowblue,line width=.7pt] (2.337,-1.821)--(2.663,-1.179); \draw[->,glowblue,line width=.7pt] (3.147,-1.431)--(3.853,-1.569); \draw[->,glowblue,line width=.7pt] (4.156,-1.395)--(4.844,-1.605); \draw[->,glowblue,line width=.7pt] (0.140,-2.500)--(0.860,-2.500); \draw[->,glowblue,line width=.7pt] (1.652,-2.826)--(1.348,-2.174); \draw[->,glowblue,line width=.7pt] (2.791,-2.712)--(2.209,-2.288); \draw[->,glowblue,line width=.7pt] (3.216,-2.278)--(3.784,-2.722); \draw[->,glowblue,line width=.7pt] (4.818,-2.331)--(4.182,-2.669); \draw[->,glowblue,line width=.7pt] (0.140,-3.500)--(0.860,-3.500); \draw[->,glowblue,line width=.7pt] (1.856,-3.550)--(1.144,-3.450); \draw[->,glowblue,line width=.7pt] (2.798,-3.299)--(2.202,-3.701); \draw[->,glowblue,line width=.7pt] (3.166,-3.635)--(3.834,-3.365); \draw[->,glowblue,line width=.7pt] (4.635,-3.834)--(4.365,-3.166); \draw[->,glowblue,line width=.7pt] (0.140,-4.500)--(0.860,-4.500); \draw[->,glowblue,line width=.7pt] (1.147,-4.431)--(1.853,-4.569); \draw[->,glowblue,line width=.7pt] (2.371,-4.164)--(2.629,-4.836); \draw[->,glowblue,line width=.7pt] (3.802,-4.304)--(3.198,-4.696); \draw[->,glowblue,line width=.7pt] (4.731,-4.224)--(4.269,-4.776); \node[above] at (2.5,0.1) {start, $0.8605$}; \end{scope} \begin{scope}[shift={(7.5,0)}] \draw[step=1,black!25] (0,-5) grid (5,0); \draw[->,glowgold!90!black,line width=.7pt] (0.140,-0.500)--(0.860,-0.500); \draw[->,glowgold!90!black,line width=.7pt] (1.140,-0.500)--(1.860,-0.500); \draw[->,glowgold!90!black,line width=.7pt] (2.140,-0.500)--(2.860,-0.500); \draw[->,glowgold!90!black,line width=.7pt] (3.140,-0.500)--(3.860,-0.500); \draw[->,glowgold!90!black,line width=.7pt] (4.140,-0.500)--(4.860,-0.500); \draw[->,glowgold!90!black,line width=.7pt] (0.140,-1.500)--(0.860,-1.500); \draw[->,glowgold!90!black,line width=.7pt] (1.389,-1.158)--(1.611,-1.842); \draw[->,glowgold!90!black,line width=.7pt] (2.791,-1.712)--(2.209,-1.288); \draw[->,glowgold!90!black,line width=.7pt] (3.791,-1.288)--(3.209,-1.712); \draw[->,glowgold!90!black,line width=.7pt] (4.389,-1.842)--(4.611,-1.158); \draw[->,glowgold!90!black,line width=.7pt] (0.140,-2.500)--(0.860,-2.500); \draw[->,glowgold!90!black,line width=.7pt] (1.791,-2.712)--(1.209,-2.288); \draw[->,glowgold!90!black,line width=.7pt] (2.389,-2.842)--(2.611,-2.158); \draw[->,glowgold!90!black,line width=.7pt] (3.389,-2.158)--(3.611,-2.842); \draw[->,glowgold!90!black,line width=.7pt] (4.791,-2.288)--(4.209,-2.712); \draw[->,glowgold!90!black,line width=.7pt] (0.140,-3.500)--(0.860,-3.500); \draw[->,glowgold!90!black,line width=.7pt] (1.791,-3.288)--(1.209,-3.712); \draw[->,glowgold!90!black,line width=.7pt] (2.389,-3.158)--(2.611,-3.842); \draw[->,glowgold!90!black,line width=.7pt] (3.389,-3.842)--(3.611,-3.158); \draw[->,glowgold!90!black,line width=.7pt] (4.791,-3.712)--(4.209,-3.288); \draw[->,glowgold!90!black,line width=.7pt] (0.140,-4.500)--(0.860,-4.500); \draw[->,glowgold!90!black,line width=.7pt] (1.389,-4.842)--(1.611,-4.158); \draw[->,glowgold!90!black,line width=.7pt] (2.791,-4.288)--(2.209,-4.712); \draw[->,glowgold!90!black,line width=.7pt] (3.791,-4.712)--(3.209,-4.288); \draw[->,glowgold!90!black,line width=.7pt] (4.389,-4.158)--(4.611,-4.842); \node[above] at (2.5,0.1) {end, $1.0000$}; \end{scope} \draw[->,line width=.85pt,black!70] (5.6,-2.5)--(6.9,-2.5); \end{tikzpicture}} \caption{On the left, the distance $1-Tr|S|/N^{3/2}$ to the Hadamard bound, along the alternating maximization at $N=7$, on logarithmic scales: from random signs, in blue, where the runs freeze after one step, and from random phases, in gold, where they converge to complex Hadamard matrices. On the right, the rotators $S_{ij}$ at the start and at the end of such a run at $N=5$, with the first row and column rotated to $1$, and with the values of $Tr|S|/N^{3/2}$.}\label{fig:race} \end{figure} The same figure shows the rotators themselves, at the start and at the end of such a run, at $N=5$. At the end all the angles are multiples of $72^\circ$, and we have reached the Fourier matrix $F_5$, with its columns permuted. Let us go back now to the circulant matrices from Section \ref{sec:chains}, in the complex case. Here the chain consists of $N$ planar rotators $s_j\in\mathbb T$, and Proposition \ref{pr9a} holds, with the same proof: we have $N\leq Tr|S|=\sum_k|\widehat s_k|\leq N\sqrt{N}$, with equality at left for the characters of $\mathbb Z_N$, multiplied by scalars, and with equality at right when $S$ is a circulant complex Hadamard matrix. The point now is that such matrices exist at any $N$. Indeed, the quadratic chains, given by $s_j=w^{j^2}$ with $w=e^{2\pi i/N}$ when $N$ is odd, and by $s_j=e^{\pi ij^2/N}$ when $N$ is even, have Fourier transforms of constant absolute value $\sqrt{N}$, by the Gauss sum computation. Thus the chain of rotators has perfect crystals at any $N$, in contrast with the spin chain. The perfect chains correspond to the cyclic $N$-roots, studied by Bj\"orck and Haagerup \cite{bjo}, \cite{ha2}. The question is whether a cooled chain always reaches a perfect crystal, which would be a circulant version of the almost Hadamard conjecture. The program \texttt{chains.py} runs the alternating maximization, which for the chains is the map taking $s$ to the phases of the inverse Fourier transform of the phases of $\widehat s$, from random chains. Procedures of this type are used for finding biunimodular vectors, see \cite{fur}. At $3\leq N\leq10$ all the 400 runs end at perfect chains, up to $10^{-9}$ in $Tr|S|/N^{3/2}$. At bigger orders the program finds other limits, and iterates until the derivatives of the energy are below $10^{-9}$, with the following results, for 1500 runs at each $N\leq18$: \begin{center} \begin{tabular}{|c|c|c|c|c|c|} \hline $N$&levels&classes&ratios&escape directions&no escape\\ \hline 12&1&1&0.9963575&12&0\\ \hline 14&1&1&0.9999246&4&0\\ \hline 15&6&8&0.9970394 -- 0.9999700&6 -- 16&0\\ \hline 16&15&21&0.9968086 -- 0.9999908&0 -- 19&1\\ \hline 17&7&9&0.9972459 -- 0.9999997&0 -- 20&2\\ \hline 18&67&118&0.9977215 -- 0.9999998&0 -- 26&6\\ \hline \end{tabular} \end{center} Here we count the chains found which are local maximizers of the energy on the torus $\mathbb T^N$, the Hessian being negative, apart from the direction of the global phase, and which are not perfect, with their ratios $Tr|S|/N^{3/2}$. The levels are the values of the energy, and the classes are spectral: they put together the chains having the same numbers $|\widehat s_k|$, up to their order. This multiset is invariant under the symmetries of the energy, namely the global phases, the shifts, the multiplications by characters, the conjugation, and the maps $j\to aj$ with $a$ invertible modulo $N$, so chains in different classes are not equivalent, while chains in the same class might not be equivalent either. A level can contain several classes, as for instance that of $s$ and that of the chain formed by the phases of $\widehat s$, which is a critical point having the same energy. All the classes are recorded in the output of the program. Our runs found no such chains at $N=11,13$. Thus the chain of rotators has metastable states, the first ones found being at $N=12$. The last 2 columns of the table concern the matrix $U=Pol(S)$, which is a critical point of the 1-norm on $U_N$, the matrix $S$ being its phase matrix. As in the program \texttt{inertia.py}, we compute the Hessian of the 1-norm on the full unitary group, which has $2N-1$ zero directions, coming from the gauge group, and we count its positive eigenvalues, which are the escape directions. At $N\leq15$ there are always such directions, so these matrices are saddles of the 1-norm, in agreement with the almost Hadamard conjecture. At $N=16,17,18$, however, the program finds classes having no escape direction at all. The one at $N=16$, which was reached by 24 runs, is as follows, with $s_j=e^{i\theta_j}$, with the normalization $\theta_0=0$, coming from the global phase, and with the absolute values $r_j=|U_{0j}|$ of the entries of $U=Pol(S)$, so that $U_{ij}=r_{j-i}e^{i\theta_{j-i}}$, with the indices taken modulo 16: \begin{center} \begin{tabular}{|c|c|c|c|c|c|} \hline $j$&$\theta_j$&$r_j$&$j$&$\theta_j$&$r_j$\\ \hline 0&0.000000000000&0.249112&8&5.389932745529&0.250877\\ \hline 1&6.240306560271&0.250021&9&3.194231298411&0.249227\\ \hline 2&2.868822117139&0.249272&10&4.386957422709&0.249769\\ \hline 3&2.389181994234&0.249706&11&5.151415954210&0.248750\\ \hline 4&0.732512772865&0.249690&12&2.131057143608&0.251005\\ \hline 5&4.623096445795&0.250876&13&5.024113455286&0.252894\\ \hline 6&4.554149641546&0.249059&14&1.946536126847&0.251075\\ \hline 7&5.351695847842&0.248717&15&5.434630538975&0.249914\\ \hline \end{tabular} \end{center} For this chain $Tr|S|=63.9994133344$, which is below $N\sqrt{N}=64$, the numbers $|\widehat s_k|$ being between $3.9753$ and $4.0346$, and the entries of $U=Pol(S)$ having absolute values between $0.2487$ and $0.2529$. The program \texttt{chains.py} computes the Hessian of the 1-norm at $U$, on $U_{16}$, in 3 different ways: with the 2 formulae from \texttt{inertia.py}, and by finite differences, over an orthonormal basis of the Lie algebra. In all 3 cases there are 31 zero eigenvalues, coming from the gauge group, and 225 negative ones, the largest one being $-0.0035$. Also, the alternating maximization on $U_{16}$, started at 6 points at distance $0.02$ from $U$, comes back to the same 1-norm, up to $10^{-13}$. Figure \ref{fig:rotchains} shows this chain, next to the quadratic one. \begin{figure}[H] \centering \begin{tikzpicture}[x=10mm,y=10mm,font=\small] \draw[black!35,line width=.5pt] (0.00,0) circle[radius=1.3]; \draw[->,glowblue,line width=.9pt] (-0.200,1.300)--(0.200,1.300); \draw[->,glowblue,line width=.9pt] (0.301,1.162)--(0.694,1.240); \draw[->,glowblue,line width=.9pt] (0.778,0.778)--(1.061,1.061); \draw[->,glowblue,line width=.9pt] (1.240,0.301)--(1.162,0.694); \draw[->,glowblue,line width=.9pt] (1.500,-0.000)--(1.100,0.000); \draw[->,glowblue,line width=.9pt] (1.162,-0.301)--(1.240,-0.694); \draw[->,glowblue,line width=.9pt] (0.778,-1.061)--(1.061,-0.778); \draw[->,glowblue,line width=.9pt] (0.694,-1.162)--(0.301,-1.240); \draw[->,glowblue,line width=.9pt] (-0.200,-1.300)--(0.200,-1.300); \draw[->,glowblue,line width=.9pt] (-0.301,-1.162)--(-0.694,-1.240); \draw[->,glowblue,line width=.9pt] (-1.061,-1.061)--(-0.778,-0.778); \draw[->,glowblue,line width=.9pt] (-1.240,-0.301)--(-1.162,-0.694); \draw[->,glowblue,line width=.9pt] (-1.100,-0.000)--(-1.500,0.000); \draw[->,glowblue,line width=.9pt] (-1.162,0.301)--(-1.240,0.694); \draw[->,glowblue,line width=.9pt] (-1.061,0.778)--(-0.778,1.061); \draw[->,glowblue,line width=.9pt] (-0.694,1.162)--(-0.301,1.240); \draw[black!60] (-1.70,-3.4)--(1.70,-3.4); \draw[black!60,densely dashed] (-1.70,-2.4)--(1.70,-2.4); \fill[glowgold] (-1.560,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (-1.360,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (-1.160,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (-0.960,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (-0.760,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (-0.560,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (-0.360,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (-0.160,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (0.040,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (0.240,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (0.440,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (0.640,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (0.840,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (1.040,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (1.240,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (1.440,-3.4) rectangle ++(.12,1.000); \node at (0.00,-3.85) {quadratic chain, ratio 1}; \draw[black!35,line width=.5pt] (6.40,0) circle[radius=1.3]; \draw[->,glowblue,line width=.9pt] (6.200,1.300)--(6.600,1.300); \draw[->,glowblue,line width=.9pt] (6.698,1.210)--(7.097,1.192); \draw[->,glowblue,line width=.9pt] (7.512,0.865)--(7.127,0.973); \draw[->,glowblue,line width=.9pt] (7.747,0.361)--(7.455,0.634); \draw[->,glowblue,line width=.9pt] (7.551,-0.134)--(7.849,0.134); \draw[->,glowblue,line width=.9pt] (7.619,-0.298)--(7.583,-0.697); \draw[->,glowblue,line width=.9pt] (7.351,-0.722)--(7.288,-1.117); \draw[->,glowblue,line width=.9pt] (6.778,-1.041)--(7.017,-1.362); \draw[->,glowblue,line width=.9pt] (6.275,-1.144)--(6.525,-1.456); \draw[->,glowblue,line width=.9pt] (6.102,-1.191)--(5.703,-1.212); \draw[->,glowblue,line width=.9pt] (5.545,-0.730)--(5.417,-1.109); \draw[->,glowblue,line width=.9pt] (5.114,-0.316)--(5.284,-0.679); \draw[->,glowblue,line width=.9pt] (5.206,-0.169)--(4.994,0.169); \draw[->,glowblue,line width=.9pt] (5.138,0.688)--(5.260,0.307); \draw[->,glowblue,line width=.9pt] (5.554,0.733)--(5.407,1.105); \draw[->,glowblue,line width=.9pt] (5.770,1.351)--(6.035,1.051); \draw[black!60] (4.70,-3.4)--(8.10,-3.4); \draw[black!60,densely dashed] (4.70,-2.4)--(8.10,-2.4); \fill[glowgold] (4.840,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (5.040,-3.4) rectangle ++(.12,1.002); \fill[glowgold] (5.240,-3.4) rectangle ++(.12,0.999); \fill[glowgold] (5.440,-3.4) rectangle ++(.12,1.005); \fill[glowgold] (5.640,-3.4) rectangle ++(.12,1.009); \fill[glowgold] (5.840,-3.4) rectangle ++(.12,1.000); \fill[glowgold] (6.040,-3.4) rectangle ++(.12,0.994); \fill[glowgold] (6.240,-3.4) rectangle ++(.12,0.995); \fill[glowgold] (6.440,-3.4) rectangle ++(.12,0.996); \fill[glowgold] (6.640,-3.4) rectangle ++(.12,0.996); \fill[glowgold] (6.840,-3.4) rectangle ++(.12,0.994); \fill[glowgold] (7.040,-3.4) rectangle ++(.12,1.003); \fill[glowgold] (7.240,-3.4) rectangle ++(.12,0.996); \fill[glowgold] (7.440,-3.4) rectangle ++(.12,1.005); \fill[glowgold] (7.640,-3.4) rectangle ++(.12,1.003); \fill[glowgold] (7.840,-3.4) rectangle ++(.12,1.001); \node at (6.40,-3.85) {the chain $s$, ratio 0.99999083}; \end{tikzpicture} \caption{2 chains of $N=16$ planar rotators, and below them the absolute values of their Fourier transforms, the dashed line being the flat level $\sqrt{N}=4$. The quadratic chain is a perfect crystal. The chain on the right is the one from the above table: its spectrum is flat only up to $1\%$, but the chain cannot be improved by small moves, even when leaving the circulant matrices.}\label{fig:rotchains} \end{figure} The same checks were done for the 2 classes with no escape direction found at $N=17$, and for the 6 classes found at $N=18$. The 9 classes are as follows, with the numbers of runs which reached them, and with the largest eigenvalue of the Hessian, transversally to the gauge group: \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline $N$&$Tr|S|$&$N\sqrt{N}-Tr|S|$&runs&largest eigenvalue\\ \hline 16&63.99941333&0.00058667&24&$-0.003479$\\ \hline 17&70.09277589&0.00001975&8&$-0.000059$\\ \hline 17&70.09277589&0.00001975&9&$-0.002657$\\ \hline 18&76.36588901&0.00164335&2&$-0.009803$\\ \hline 18&76.36676265&0.00076972&8&$-0.001830$\\ \hline 18&76.36676265&0.00076972&6&$-0.000486$\\ \hline 18&76.36744750&0.00008486&9&$-0.000904$\\ \hline 18&76.36750802&0.00002435&1&$-0.001338$\\ \hline 18&76.36750867&0.00002370&4&$-0.004169$\\ \hline \end{tabular} \end{center} These floating point computations are not a proof, but since the Hessians are nondegenerate, transversally to the gauge directions, a computer-assisted proof is possible. It is based on the following principle, with $h$ being the Hessian from the comments after Proposition \ref{pr52}: \begin{proposition}\label{pr5s} Let $U\in U_N$ have nonzero entries, with phase matrix $S$, such that $X=S^*U$ is positive, and let $K$ be the span of the matrices $E_{jj}$ and $U^*E_{jj}U$. If $h(B)\leq-c||B||_2^2$ for any self-adjoint matrix $B\perp K$, with $c>0$, then $U$ is a local maximizer of the $1$-norm on $U_N$. \end{proposition} \begin{proof} Since $X$ is self-adjoint, $U$ is a critical point of $L$. The 1-norm is invariant under the gauge group $\mathbb T^N\times\mathbb T^N$, acting by $U\to DUD'$ with $D,D'$ diagonal, and in the parametrization $Ue^{iB}$, with $B$ self-adjoint, the tangent space of the orbit of $U$ is $K$. The map $(g,B)\to g\cdot Ue^{iB}$, from the gauge group times $K^\perp$, has a surjective differential at $(1,0)$, so its image contains a neighborhood of $U$. Since $L(g\cdot Ue^{iB})=L(Ue^{iB})\leq L(U)-c||B||_2^2/2+o(||B||_2^2)$, this gives the result. \end{proof} Thus, in order to have a counterexample, we need an exact critical point, which is not Hadamard, and the above negativity of the Hessian, and all this can be checked on a small box around a numerical solution. The program \texttt{certify.py} redoes everything in interval arithmetic, with 60 digits and outward rounding, and with the Krawczyk operator \cite{kra}, \cite{moo} for the critical points, starting from the chains found by \texttt{chains.py}, with their angles rounded to 12 digits, which are recorded in \texttt{certify.json}, and which at $N=16$ are those in the above table. We have: \begin{theorem}\label{th5c} The almost Hadamard conjecture fails at $N=16,17,18$. More precisely, for each of the $9$ chains recorded in \texttt{certify.json}, there is an exact chain $s\in\mathbb T^N$, with $\theta_0=0$ and with the other angles within $10^{-11}$ of the recorded ones, whose circulant matrix $S$ has the following properties: \begin{enumerate} \item $S$ is the phase matrix of $U=Pol(S)$, which is a local maximizer of the $1$-norm on $U_N$. \item $||U||_1=Tr|S|0$, the critical point equations become polynomial, with algebraic coefficients, and by (1) our solutions are isolated, so their coordinates are algebraic. We know however nothing about their degrees, and the counterexamples are not explicit. An independent verification of the 9 cases was done by GPT, with a different program, using exact integer arithmetic instead of decimals, the dual model $M(S)=Tr|S|$ on the torus of phase matrices, with the first row and column fixed, instead of the unitary group, and a different formula for the Hessian. The passage to $U_N$ is then via $L(W)\leq M(S')\leq M(S)=L(U)$, for $W$ close to $U$, with $S'$ being the phase matrix of $W$. All 9 cases pass this second test too, and at $N=16$ the second program locates the exact chain within $2\cdot10^{-38}$, with the same deficit as above. \begin{question}\label{qu10} What is the smallest $N$ where the $1$-norm on $U_N$ has a local maximizer which is not a rescaled complex Hadamard matrix? Is it $N=16$? \end{question} At $N\leq15$ our runs found no circulant counterexamples, the metastable chains found at $N=12,14,15$ having escape directions on the unitary group. Observe also that the above counterexamples would have been hard to find by a search on the full unitary group, as in \cite{cgt}, their 1-norms being within $0.1\%$ of the Hadamard bound. Summarizing, in the real case the cooling ends in the glassy states from Section \ref{sec:moving}, while in the complex case all the 900 runs on the unitary group converge to complex Hadamard matrices, up to $10^{-6}$ in $Tr|S|/N^{3/2}$ for $N\leq9$, and with a number of runs still slowly increasing when stopped, for $N\geq10$, in agreement with the numerical evidence from \cite{cgt}, obtained at $N=4,5$ with far more starting points. Our general results are as follows: \begin{theorem}\label{th53} Let $L(U)=||U||_1$ on $U_N$, and $M(S)=Tr|S|$ on $M_N(\mathbb T)$. \begin{enumerate} \item If $U$ is a local maximizer of $L$ then its phase matrix $S$ is an invertible local maximizer of $M$, with $Pol(S)=U$. Conversely, if $S$ is an invertible local maximizer of $M$, whose polar part $U$ has nonzero entries, then $U$ is a local maximizer of $L$. \item At a critical point $U$ of $L$ with nonzero entries, such that $S^*U>0$, the Hessians of $L$ at $U$ and of $M$ at $S$ have the same inertia. \item At a given order $N$, all the local maximizers of $L$ are rescaled complex Hadamard matrices if and only if all the invertible local maximizers of $M$, whose polar parts have nonzero entries, are complex Hadamard matrices. \end{enumerate} \end{theorem} \begin{proof} (1) Let $U$ be a local maximizer of $L$. Then $U$ has nonzero entries, by \cite{bn2}, and with $X=S^*U$ we have $X\geq1/N$, by \cite{cgt}. Thus $S=UX$ is invertible, with $|S|=X$ and $Pol(S)=U$. Now since the polar part is continuous on the invertible matrices, for $S'$ close to $S$ the matrix $U'=Pol(S')$ is close to $U$, and by using Proposition \ref{pr51} we obtain: $$M(S')=\Phi(U',S')\leq L(U')\leq L(U)=\Phi(U,S)=M(S)$$ Conversely, let $S$ be an invertible local maximizer of $M$, with $U=Pol(S)$ having nonzero entries. For $S'$ close to $S$ we have $\Phi(U,S')\leq M(S')\leq M(S)=\Phi(U,S)$, so $S$ is a local maximizer of the function $S'\to\Phi(U,S')=\sum_{ij}Re(\bar{S}'_{ij}U_{ij})$, and this shows that $S$ is the phase matrix of $U$. Now for $U'$ close to $U$ the phase matrix $S'$ of $U'$ is close to $S$, and so: $$L(U')=\Phi(U',S')\leq M(S')\leq M(S)=\Phi(U,S)=L(U)$$ (2) We use Proposition \ref{pr52}. The restrictions of the quadratic form $Q$ to the variables $B$ and $\theta$ are both negative definite, because $Tr(XB^2)=Tr(BXB)>0$ for $B\neq0$, and because the entries of $U$ are nonzero. Thus the 2 partial maxima of $\Phi$ are nondegenerate, and their Hessians are the corresponding Schur complements of $Q$. By the Haynsworth inertia additivity formula \cite{hay}, the inertia of $Q$ is the sum of the inertia of each of these Schur complements and of that of a negative definite form in $N^2$ variables, and this gives the result. (3) If all the local maximizers of $L$ are rescaled complex Hadamard matrices, and $S$ is as in the statement, then $U=Pol(S)$ is a local maximizer of $L$, by (1), so $\sqrt{N}U$ is a complex Hadamard matrix, and so is $S$, because $S$ is the phase matrix of $U$. Conversely, if the statement about $M$ holds and $U$ is a local maximizer of $L$, then its phase matrix $S$ is a complex Hadamard matrix, by (1), and so $U=Pol(S)=S/\sqrt{N}$ is a rescaled complex Hadamard matrix. \end{proof} As a first comment, at a complex Hadamard matrix the kernel of the Hessian of $M$ has dimension $2N-1+d$, where $d$ is the defect of Tadej and Zyczkowski \cite{tz2}, as a consequence of (2) and of the results in \cite{bn2}. In general, the interest in the dual formulation comes from the fact that the unitarity constraint has disappeared, the function $M$ being simply the restriction of a norm to a product of circles. Models of this type, with rotators or with spins on higher spheres, appear in the theory of the Kuramoto model, where the absence of spurious local maxima is known in a number of situations, and is proved by plugging well-chosen tangent vectors into the Hessian, see \cite{crm}, \cite{mtg}. This is the method from \cite{bn2}, and the hope is that the dual form, with its free angles, could make the choice of the tangent vectors easier. Observe also that in the dual picture the difference between the real and the complex case becomes transparent: the real model has Ising spins, and no infinitesimal moves at all, while the complex model has rotators, which can go around the walls where an entry of $U$ vanishes. \begin{thebibliography}{99} \small\setlength{\itemsep}{1pt}\setlength{\parsep}{0pt} \phantomsection\addcontentsline{toc}{section}{References} \bibitem{bbm}S. Ball, A. Blokhuis and F. Mazzocca, Maximal arcs in Desarguesian planes of odd order do not exist, {\em Combinatorica} {\bf 17} (1997), 31--41. \bibitem{bcs}T. Banica, B. Collins and J.M. Schlenker, On orthogonal matrices maximizing the 1-norm, {\em Indiana Univ. Math. J.} {\bf 59} (2010), 839--856. \bibitem{bn1}T. Banica and I. Nechita, Almost Hadamard matrices: the case of arbitrary exponents, {\em Discrete Appl. Math.} {\bf 161} (2013), 2367--2379. \bibitem{bn2}T. Banica and I. Nechita, Almost Hadamard matrices with complex entries, {\em Adv. Oper. Theory} {\bf 3} (2018), 137--177. \bibitem{bns}T. Banica, I. Nechita and J.M. Schlenker, Submatrices of Hadamard matrices: complementation results, {\em Electron. J. Linear Algebra} {\bf 27} (2014), 197--212. \bibitem{bnz}T. Banica, I. Nechita and K. Zyczkowski, Almost Hadamard matrices: general theory and examples, {\em Open Syst. Inf. Dyn.} {\bf 19} (2012), 1--26. \bibitem{bar}G. Barba, Intorno al teorema di Hadamard sui determinanti a valore massimo, {\em Giorn. Mat. Battaglini} {\bf 71} (1933), 70--86. \bibitem{bel}J. Bernal and J. Lawrence, Characterization and computation of matrices of maximal trace over rotations, {\em J. Geom. Symmetry Phys.} {\bf 53} (2019), 21--53. \bibitem{ber}J. Bernasconi, Low autocorrelation binary sequences: statistical mechanics and configuration space analysis, {\em J. Physique} {\bf 48} (1987), 559--567. \bibitem{bha}R. Bhatia, Matrix analysis, Springer (1997). \bibitem{bjo}G. Bj\"orck, Functions of modulus 1 on $\mathbb Z_n$ whose Fourier transforms have constant modulus, and cyclic $n$-roots, in ``Recent advances in Fourier analysis and its applications'', Kluwer (1990), 131--140. \bibitem{beh}P. Browne, R. Egan, F. Hegarty and P. \'O Cath\'ain, A survey of the Hadamard maximal determinant problem, {\em Electron. J. Combin.} {\bf 28} (2021), 1--35. \bibitem{cka}R. Calderbank and W.M. Kantor, The geometry of two-weight codes, {\em Bull. London Math. Soc.} {\bf 18} (1986), 97--122. \bibitem{cis}P. Chandra, L.B. Ioffe and D. Sherrington, Possible glassiness in a periodic long-range Josephson array, {\em Phys. Rev. Lett.} {\bf 75} (1995), 713--716. \bibitem{cgt}Chat, Grok and Teo, Numerical evidence for the almost Hadamard conjecture, \mbox{\href{https://zenodo.org/records/24357392}{zenodo:24357392}} (2026). \bibitem{cot}Chat, Opus and Teo, Planar rotators with Hadamard couplings, \mbox{\href{https://zenodo.org/records/24408089}{zenodo:24408089}} (2026). \bibitem{che}C.S. Cheng, Optimality of some weighing and $2^n$ fractional factorial designs, {\em Ann. Statist.} {\bf 8} (1980), 436--446. \bibitem{cdi}C.J. Colbourn and J.H. Dinitz, Handbook of combinatorial designs, CRC Press (2007). \bibitem{crm}C. Criscitiello, Q. Rebjock, A.D. McRae and N. Boumal, Synchronization on circles and spheres with nonlinear interactions, \mbox{\href{https://arxiv.org/pdf/2405.18273}{arXiv:2405.18273}} (2024). \bibitem{ckp}L.F. Cugliandolo, J. Kurchan, G. Parisi and F. Ritort, Matrix models as solvable glass models, {\em Phys. Rev. Lett.} {\bf 74} (1995), 1012--1015. \bibitem{der}B. Derrida, Random-energy model: an exactly solvable model of disordered systems, {\em Phys. Rev. B} {\bf 24} (1981), 2613--2626. \bibitem{dol}I. Dolgachev, Kummer surfaces: 200 years of study, {\em Notices Amer. Math. Soc.} {\bf 67} (2020), 1527--1533. \bibitem{del}J. Dong, V. Elser, G. Gyawali, K.Y. Jee, J. Kent-Dobias, A. Mandaiya, M. Renz and Y. Su, Glass phenomenology in the hard matrix model, {\em J. Stat. Mech. Theory Exp.} (2021). \bibitem{ehl}H. Ehlich, Determinantenabsch\"atzungen f\"ur bin\"are Matrizen, {\em Math. Z.} {\bf 83} (1964), 123--132. \bibitem{fca}E.E. Fenimore and T.M. Cannon, Coded aperture imaging with uniformly redundant arrays, {\em Appl. Opt.} {\bf 17} (1978), 337--347. \bibitem{fsl}P.C. Fishburn and N.J.A. Sloane, The solution to Berlekamp's switching game, {\em Discrete Math.} {\bf 74} (1989), 263--290. \bibitem{fur}H. F\"uhr and Z. Rzeszotnik, On biunimodular vectors for unitary matrices, {\em Linear Algebra Appl.} {\bf 484} (2015), 86--129. \bibitem{ha2}U. Haagerup, Cyclic $p$-roots of prime lengths $p$ and related complex Hadamard matrices, \mbox{\href{https://arxiv.org/pdf/0803.2629}{arXiv:0803.2629}} (2008). \bibitem{hay}E.V. Haynsworth, Determination of the inertia of a partitioned Hermitian matrix, {\em Linear Algebra Appl.} {\bf 1} (1968), 73--81. \bibitem{hea}P.J. Heawood, Map-colour theorem, {\em Quart. J. Pure Appl. Math.} {\bf 24} (1890), 332--338. \bibitem{hir}J.W.P. Hirschfeld, Projective geometries over finite fields, Oxford Univ. Press (1998). \bibitem{hjs}J. Holbrook, N. Johnston and J.P. Schoch, Real Schur norms and Hadamard matrices, {\em Linear Multilinear Algebra} {\bf 72} (2024), 1967--1984. \bibitem{hud}R.W.H.T. Hudson, Kummer's quartic surface, Cambridge Univ. Press (1905). \bibitem{hpi}D.R. Hughes and F.C. Piper, Design theory, Cambridge Univ. Press (1985). \bibitem{iwo}M. Idel and M.M. Wolf, Sinkhorn normal form for unitary matrices, {\em Linear Algebra Appl.} {\bf 471} (2015), 76--84. \bibitem{jwm}M. Jacroux, C.S. Wong and J.C. Masaro, On the optimality of chemical balance weighing designs, {\em J. Statist. Plann. Inference} {\bf 8} (1983), 231--240. \bibitem{kgv}S. Kirkpatrick, C.D. Gelatt and M.P. Vecchi, Optimization by simulated annealing, {\em Science} {\bf 220} (1983), 671--680. \bibitem{kmo}J.H. Koolen and V. Moulton, Maximal energy graphs, {\em Adv. Appl. Math.} {\bf 26} (2001), 47--52. \bibitem{kms}C. Koukouvinos, M. Mitrouli and J. Seberry, An algorithm to find formulae and values of minors for Hadamard matrices, {\em Linear Algebra Appl.} {\bf 330} (2001), 129--147. \bibitem{kra}R. Krawczyk, Newton-Algorithmen zur Bestimmung von Nullstellen mit Fehlerschranken, {\em Computing} {\bf 4} (1969), 187--201. \bibitem{mp1}E. Marinari, G. Parisi and F. Ritort, Replica field theory for deterministic models: binary sequences with low autocorrelation, {\em J. Phys. A} {\bf 27} (1994), 7615--7646. \bibitem{mp2}E. Marinari, G. Parisi and F. Ritort, Replica field theory for deterministic models II: a non-random spin glass with glassy behaviour, {\em J. Phys. A} {\bf 27} (1994), 7647--7668. \bibitem{mtg}J. Markdahl, J. Thunberg and J. Gon\c{c}alves, Almost global consensus on the $n$-sphere, {\em IEEE Trans. Automat. Control} {\bf 63} (2018), 1664--1675. \bibitem{mpv}M. M\'ezard, G. Parisi and M.A. Virasoro, Spin glass theory and beyond, World Scientific (1987). \bibitem{mo1}M.T. Mohan, On some $p$-almost Hadamard matrices, {\em Oper. Matrices} {\bf 13} (2019), 253--281. \bibitem{mo2}M.T. Mohan, $p$-almost Hadamard matrices and $\lambda$-planes, {\em J. Algebraic Combin.} {\bf 55} (2022), 89--108. \bibitem{moo}R.E. Moore, A test for existence of solutions to nonlinear systems, {\em SIAM J. Numer. Anal.} {\bf 14} (1977), 611--615. \bibitem{nik}V. Nikiforov, The energy of graphs and matrices, {\em J. Math. Anal. Appl.} {\bf 326} (2007), 1472--1475. \bibitem{obo}Opus and Teo, Ising spins with Hadamard couplings, \mbox{\href{https://zenodo.org/records/24546490}{zenodo:24546490}} (2026). \bibitem{pal}R.E.A.C. Paley, On orthogonal matrices, {\em J. Math. Phys.} {\bf 12} (1933), 311--320. \bibitem{ppo}G. Parisi and M. Potters, Mean-field equations for spin models with orthogonal interaction matrices, {\em J. Phys. A} {\bf 28} (1995), 5267--5285. \bibitem{pol}B. Polster, A geometrical picture book, Springer (1998). \bibitem{rys}H.J. Ryser, Combinatorial mathematics, Math. Assoc. America (1963). \bibitem{smi}J. Seberry and M. Mitrouli, Some remarks on Hadamard matrices, {\em Cryptogr. Commun.} {\bf 2} (2010), 293--306. \bibitem{sxk}J. Seberry, T. Xia, C. Koukouvinos and M. Mitrouli, The maximal determinant and subdeterminants of $\pm1$ matrices, {\em Linear Algebra Appl.} {\bf 373} (2003), 297--310. \bibitem{sti}D.R. Stinson, Combinatorial designs: constructions and analysis, Springer (2004). \bibitem{szo}F. Sz\"oll\H{o}si, Exotic complex Hadamard matrices and their equivalence, {\em Cryptogr. Commun.} {\bf 2} (2010), 187--198. \bibitem{tz1}W. Tadej and K. Zyczkowski, A concise guide to complex Hadamard matrices, {\em Open Syst. Inf. Dyn.} {\bf 13} (2006), 133--177. \bibitem{tz2}W. Tadej and K. Zyczkowski, Defect of a unitary matrix, {\em Linear Algebra Appl.} {\bf 429} (2008), 447--481. \bibitem{tgp}Teo B and Chat GPT, On Fourier and Hadamard matrices of prime order, \mbox{\href{https://zenodo.org/records/24061004}{zenodo:24061004}} (2026). \bibitem{woj}M. Wojtas, On Hadamard's inequality for the determinants of order non-divisible by 4, {\em Colloq. Math.} {\bf 12} (1964), 73--83. \end{thebibliography} \end{document}