\documentclass{article} \pdfoutput=1 \usepackage{graphicx} \usepackage{amsmath,amsfonts,amssymb,mathtools,microtype} \usepackage[dvipsnames]{xcolor} \usepackage{hyperref} \usepackage{url} \usepackage{booktabs} \usepackage{amsrefs} \usepackage{libertinus} \definecolor{emerald}{rgb}{0.31, 0.78, 0.47} \definecolor{blue(ncs)}{rgb}{0.0, 0.53, 0.74} \hypersetup{ colorlinks=true, linkcolor=blue(ncs), filecolor=blue, citecolor=emerald, urlcolor =blue(ncs), } \renewenvironment{abstract} {\small\quotation} {\endquotation} \usepackage[official]{eurosym} \definecolor{lightgray}{rgb}{0.9,0.9,0.9} \definecolor{green}{rgb}{0,0.5,0} \definecolor{red}{rgb}{1,0,0} \definecolor{blue}{rgb}{0,0,0.5} \DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n} \newcommand{\bo}[1]{\boldsymbol{#1}} \newcommand{\id}{\mathds{1}} \newcommand{\D}{\mathrm{d}} \newcommand{\f}[2]{\frac{#1}{#2}} \begin{document} \title{A generalized Gerver sofa for angled corridors} \author{ \small Henrik S.~Guttesen\\ \small Danish Fundamental Metrology, 2970 H{\o}rsholm, Denmark \\ \small henrisro@proton.me } \date{\small \today} \maketitle \begin{abstract} \noindent The moving sofa problem asks for the maximal area of a two-dimensional object capable of being moved through a right-angled corridor of unit width. J.~L.~Gerver constructed a sofa of area $2.2195\dots$, which was only recently proven to be optimal by J.~Baek. Here, I consider the moving sofa problem in an angled corridor, $C_{\varphi}$, of unit width for turn angles $0 < \varphi \le \frac{\pi}{2}$. I first generalize Hammersley's arguments to devise simple analytical lower and upper area bounds for all $0 < \varphi \le \frac{\pi}{2}$. ChatGPT-6 Astra (Codex) is prompted to derive a generalized Gerver sofa parametrized by $\varphi$. The generalized Gerver sofa area is non-analytic at the unique root $\varphi_*\in(0,\pi/2)$ of $\exp({\varphi_*\cot\varphi_*}) = 1+2\cos\varphi_*-\cos^2\varphi_*$. For turn angles smaller than $\varphi_*$ a closed-form expression of the sofa area is obtained. The generalized Gerver sofa is conjectured to be the solution to the moving sofa problem for turn angles $0 < \varphi \le \frac{\pi}{2}$. \end{abstract} % %% %%% \section{Introduction} %%% %% % The moving sofa problem~\cite{Moser66, WikiSofa} asks for the maximal area of a two-dimensional object capable of being moved through a right-angled corridor of unit width. J.~L.~Gerver constructed a sofa of area $2.2195\dots$~\cite{Gerver92}, marginally enhancing the area of J.~M.~Hammersley's $\frac{\pi}{2} + \frac{2}{\pi} \approx 2.2074\dots$ sofa~\cite{Hammersley68}. Gerver's sofa was recently proven to be optimal by J.~Baek~\cite{Baek24}. Here, I consider the moving sofa problem in an angled corridor, $C_{\varphi}$ with $\varphi \in(0, \frac{\pi}{2}]$, of unit width and devise simple analytical lower and upper bounds for all $\varphi \in(0, \frac{\pi}{2}]$ by generalizing Hammersley's arguments. Codex GPT-6 is used to devise a generalized Gerver sofa for all $\varphi \in(0, \frac{\pi}{2}]$, posing as a conjectured solution to the generalized moving sofa problem. % %% \section{Generalized Hammersley arguments} %% % % \begin{figure}[th!b] \centering \includegraphics[width=0.8\linewidth]{Construction.pdf} \caption{Upper left panel: generalized Hammersley sofa comprising two circular sectors, each connected to a triangle and separated by a rectangle minus a shifted circle. Upper right panel: corridor with turn angle $\varphi$, $C_\varphi$ defining a generalized moving sofa problem. Lower panel: Projection of a strip of unit width onto the half-rotated corridor having maximal area of $A_\mathrm{U}(\varphi)$.} \label{fig:Construction} \end{figure} % % \subsection{Lower bound} % For turn angles smaller than $\varphi = \pi/2$, a generalized Hammersley sofa can be constructed, as illustrated in Fig.~\ref{fig:Construction}. By virtue of the Hammerlsey design, the constructed sofa will by analogy uniquely translate and rotate through $C_\varphi$, always maintaining at least five points of contact throughout its motion. The area of the generalized Hammersley sofa amounts to\footnote{The area of the orange and green regions in Fig.~\ref{fig:Construction} sums to $\varphi + \tan\left( \frac{\pi}{2}-\varphi \right)$, while the area of the blue region is $2r\sin(\varphi) - \frac{r^2}{2}\left(2\varphi - \sin(2\varphi)\right)$.} $A(r, \varphi) = \varphi + \tan\left( \frac{\pi}{2}-\varphi \right) + 2r\sin(\varphi) - \frac{r^2}{2}\left(2\varphi - \sin(2\varphi)\right)$. The radius $r$ that maximizes $A(r, \varphi)$ is $r^{\star}(\varphi) = \frac{2\sin(\varphi)}{2\varphi - \sin(2\varphi)}$, leading to the optimal area of the generalized Hammersley sofa, leading to the optimal area lower bound % \begin{equation} A_\mathrm{L}(\varphi) = \varphi + \tan\left( \frac{\pi}{2}-\varphi \right) + \frac{2\sin^2(\varphi)}{2\varphi - \sin(2\varphi)}. \label{eq:OptGenHammer} \end{equation} % The Hammersley case is reproduced at $\varphi = \pi/2$. % %% \subsection{Upper bound} %% % Hammersley's upper bound can also be straightforwardly generalized to arbitrary turn angles. Any feasible sofa candidate must be able to maneuver through the left arm and through the angle when rotated through by half the turn angle, $\varphi/2$. Thus, one may project a strip of unit width onto the half-rotated corridor and calculate the maximal overlap area to obtain an upper bound of the optimal sofa area. The projected area is maximal when the region is about to disconnect into two disjoint pieces, one in each arm, at which point the overlap region has an area of (see Fig.~\ref{fig:Construction}, cf.~Ref.~\cite{BaiandBai25}) % \begin{equation} A_\mathrm{U}(\varphi) = \frac{2}{\sin(\varphi/2)}, \label{eq:UpperBound} \end{equation} % see the lower panel of Fig.~\ref{fig:Construction}. Hammersley's upper bound is recovered at $\varphi = \pi/2$: $A_\mathrm{U}(\pi/2) = 2\sqrt{2} = 2.8284...$. One may also confirm that at small turn angles, $A_\mathrm{L} \sim \frac{5}{2\varphi} + \mathcal{O}(\varphi)$, whereas $A_\mathrm{U} \sim \frac{4}{\varphi} + \mathcal{O}(\varphi)$, so these bounds have constrained the power-law behaviour of the optimal sofa for small turn angles. At $\varphi = \pi/2$ impressive efforts have previously been made in pushing down the upper bound down by imposing finitely many, carefully selected corridor constraints~\cite{KallusRomik18}. % %% \section{Generalized Gerver sofa} \label{sec:GenGerver} %% % The generalized Hammersley bounds alongside the generalized Gerver sofa, derived in the present section, are illustrated in Fig.~\ref{fig:Summary}. \begin{figure}[t!hb] \centering \includegraphics[width=\linewidth]{Sofas.pdf} \caption{Generalized Hammersley bounds (Eqs.~\eqref{eq:OptGenHammer} and \eqref{eq:UpperBound}) for the moving sofa problem in an angled corridor. The area of the generalized Gerver sofa from Sec.~\ref{sec:GenGerver}, which is non-analytic at $\varphi = \varphi_* = 68.908294355\ldots^\circ$, is shown with black dots. Examples of the generalized Gerver sofa at $\varphi = 60^\circ$ and $\varphi = 85^\circ$ are illustrated in yellow.} \label{fig:Summary} \end{figure} % \subsection{AI disclaimer} % The generalized Gerver sofa construction of the present section was obtained by prompting ChatGPT-6 Astra Medium in Codex. Computations ran for about two hours and was based on an initial note containing the generalized Hammersley bounds, which were manually derived. The argument provided below was initially generated by ChatGPT-6 Astra but has been moderated by the author. % \subsection{Geometry} % Adopting the fixed-sofa, rotating-corridor framework~\cite{Gerver92, Romik18}, let $\bo q(t)\in\mathbb R^2$ denote the inner-corner position at a rotation angle $t\in[0,\varphi]$. In the following, vectors are organized as columns and denoted by bold symbols. Primes denoted differentiation with respect to the scalar argument. Define the wall normals % \begin{equation} \begin{aligned} \bo n_1(t)&=(-\sin t,\cos t)^T,\qquad \\ \bo n_2(t)&=(\sin(\varphi-t),\cos(\varphi-t))^T. \end{aligned} \end{equation} % Let $R(t)$ be the standard rotation matrix that rotates points by counterclockwise through $t$, and define $J = R(\frac{\pi}{2})$. For a point int the plane $\bo {z}=(x,y)^T$, let $u_i(t,\bo z)=\bo n_i(t)\cdot(\bo z-\bo q(t))$ be the signed perpendicular from point $\bo z$ to the $i$-th inner-wall line for $i=1,2$. The instantaneous corridor $H_t$ and the largest point set compatible with the motion and the entrance/exit strip $S(\bo q)$ are % \begin{equation} \begin{gathered} H_t=\{\bo z:u_1,u_2\le1,\ \max(u_1,u_2)\ge0\},\\ S(\bo q)=\{\bo z:0\le y\le1\} \cap\bigcap_{0\le t\le\varphi}H_t. \end{gathered} \end{equation} % An optimal candidate sofa boundary uses portions belonging to $\partial S$ of the outer and inner-wall envelopes, % \begin{equation} \begin{aligned} \bo A_i&=\bo q+\bo n_i+ (\bo q'\cdot\bo n_i) J\bo n_i,\\ \bo B_i&=\bo q+ (\bo q'\cdot\bo n_i) J\bo n_i, \end{aligned} \end{equation} % the path of the corner $\bo q$, and horizontal segments at $y=0,1$. Above, all quantities are evaluated at $t$. % \subsection{Contact equations and matching} % A contact phase is an interval with fixed exposed boundary types. Let $\beta_i=1$ when $\bo B_i$ is exposed and $\chi=1$ when $\bo q$ is exposed. Otherwise these indicators are zero. When both outer supports are active, the right-angle contact-balance method~\cite{Gerver92, Romik18} may be extended to give % \begin{equation} \begin{gathered} M=\sum_{i=1}^2(1+\beta_i)\bo n_i\bo n_i^T,\\ M\bo q''+(\chi J-2 M J)\bo q' +\bo n_1+\bo n_2=\bo 0. \end{gathered} \end{equation} % The above equations for arbitrary angle are derived for the present construction. Each phase becomes a constant-coefficient system. Define the rotating-frame position and velocity by % $\bo p = R(-t)\bo q$, $\bo w = R(-t)\bo q'$, and $ M_0=\sum_{i=1}^2(1+\beta_i) \bo n_i(0)\bo n_i(0)^T$. Then % \begin{equation} \begin{aligned} \bo p' &= - J\bo p+\bo w,\\ \bo w' &= (J-\chi M_0^{-1} J)\bo w - M_0^{-1}(\bo n_1(0)+\bo n_2(0)), \end{aligned} \end{equation} % which may be solved exactly by a matrix exponential. For $\varphi>\varphi_*$, where $\varphi_*$ is defined in Sec.~\ref{sec:CollapseRed}, one may use transition angles $0 < a < b < \varphi/2$ and first-half phases according to: % \begin{equation} \begin{array}{c | ccc} t &[0,a]&[a,b]&[b,\varphi/2]\\ \hline (\beta_1,\beta_2;\chi)&(1,0;0)&(1,0;1)&(0,0;1) \end{array} \end{equation} % Then, reflect the second half: $\bo q(\varphi-t)=\mathcal R\bo q(t)$, where $\mathcal R$ is reflection in the vertical line through $\bo q(\varphi/2)$. Starting at $\bo q(0)=\bo0$, one may then propagate $\bo q,\bo q'$ continuously. The two initial velocity components and $a,b$ satisfy % \begin{equation} [\bo A_2(0)]_y=0,\qquad [\bo q'(\varphi/2)]_y=0,\qquad \bo q(a)=\mathcal R\bo B_1(b), \end{equation} % where $[\bo v]_y$ denotes the vertical component of a vector $\bo v$. From here, one may continue the solution from Gerver's right-angle construction~\cite{Gerver92}, using its five-phase description~\cite{Romik18}. In result, the boundary uses $\bo B_1$ on $[0,b]$, $\bo B_2$ on $[\varphi-b,\varphi]$, and $\bo q$ on $[a,\varphi-a]$, together with the outer envelopes and three straight segments. Splitting at changes of analytic formula gives a total of fifteen curved pieces. % \subsection{Collapse and reduced branch} \label{sec:CollapseRed} % For small enough rotation angles, $a,b$ vanish at the unique root $\varphi_*\in(0,\pi/2)$ of % \begin{equation} e^{\varphi_*\cot\varphi_*} =1+2\cos\varphi_*-\cos^2\varphi_*. \end{equation} % Numerically, $\varphi_*=68.908294355\ldots^\circ$. For $0<\varphi\le\varphi_*$, only the phase $(\beta_1,\beta_2;\chi)=(0,0;1)$ remains. With $\bo q(0)=\bo0$, its initial velocity is % \begin{equation} \begin{aligned} \bo q'(0) &= \left(-\frac{\cot\varphi+v_0\cos\varphi} {\sin\varphi},\,v_0 \right)^T, \\ v_0 &= \frac{e^{\varphi\cot\varphi}-\sin^2\varphi} {\sin\varphi\cos\varphi}. \end{aligned} \end{equation} % The reduced boundary has three curved pieces ($\bo A_1,\bo A_2,\bo q$) and three straight segments. Its area is % \begin{equation} \mathcal A_{\varphi \le \varphi_*}(\varphi)= \frac{e^{\varphi\cot\varphi}-\sin^2\varphi} {\sin\varphi\cos^2\varphi} -\frac{\varphi}{\cos\varphi}. \end{equation} % The five-phase area $\mathcal A_{\varphi > \varphi_*}$ is obtained from Green's formula $\mathcal A_{\varphi > \varphi_*}=\frac12\oint_{\partial S}(x\,dy-y\,dx)$, with counterclockwise boundary orientation. It is noted that near $\varphi = 0$, $\mathcal A_{\varphi \le \varphi_*}(\varphi) \sim \frac{e}{\varphi} + \mathcal{O}(\varphi)$, improving the previous value of $5/2$ from $A_\mathrm{L}$ to $e$ for the single-phase construction. \begin{table}[t!bh] \caption{Numerical examples of the area of the generalized Gerver sofa for some turn angles. The areas reported in this work agree to at least three decimal places with the reported areas from the numerical approach taken in Ref.~\cite{XingyiEA26} for the comparable turn angles.} \begin{center} \small \begin{tabular}{@{}rcr@{}} \toprule Turn $\varphi$ (degrees)&Contact phases&Area\\ \midrule $15$ & $1$ & $10.452839295\ldots$ \\ $30$ & $1$ & $5.333086268\ldots$ \\ $45$ & $1$ & $3.678598491\ldots$ \\ $60$ & $1$ & $2.896310537\ldots$ \\ $68$ & $1$ & $2.639199288\ldots$ \\ $\varphi_*=68.908294\ldots$ & $1$ & $2.614707332\ldots$ \\ $69$ & $5$ & $2.612281344\ldots$ \\ $70$ & $5$ & $2.586367430\ldots$ \\ $75$ & $5$ & $2.470196808\ldots$ \\ $80$ & $5$ & $2.372741252\ldots$ \\ $85$ & $5$ & $2.290150220\ldots$ \\ $90$ & $5$ & $2.219531669\ldots$ \\ \bottomrule \end{tabular} \end{center} \label{tab:Areas} \end{table} % \subsection{Regularity} % Local matching of the two branches, using the positive angular offset $\delta=\varphi- \lim_{\varphi\to \varphi_*^+} \varphi$, gives % \begin{equation} \mathcal A_{\varphi > \varphi_*}(\varphi_*+\delta) -\mathcal A_{\varphi \le \varphi_*}(\varphi_*+\delta) =-D\delta^3 + \pazocal{O}(\delta^4), \end{equation} % where the reduced formula is analytically continued above $\varphi_*$ and % \begin{equation} \begin{gathered} s(\varphi)= \frac{1+2\cos\varphi-\cos^2\varphi-e^{\varphi\cot\varphi}} {\sin\varphi\cos\varphi},\\ D=\frac{s'(\varphi_*)^3}{6(1-\frac{\cos\varphi_*}{\sin^2\varphi_*})} =0.442500520042\ldots . \end{gathered} \end{equation} % Thus, the constructed area is twice continuously differentiable ($C^2$), but not three times ($C^3$) at $\varphi = \varphi_*$. The generalized Gerver sofa area is therefore not an analytic function in this turn angle window. % \section{Conclusions} % The generalized Gerver sofa construction presented above includes a full-intersection feasibility established for the reduced branch and locally above $\varphi_*$. Table~\ref{tab:Areas} reports on computed envelope areas for various turn angles. Global optimality of the generalized family is not established but is conjectured based on the proven optimality of Gerver's sofa at $\varphi= \pi/2$~\cite{Baek24}. Code an documentation of the generalized Gerver sofa may be provided upon request. A possibly interesting further genralization of the problem is to seek maximal area shapes capable of being moved through a corridor dictated by various more general unit-width-inflated curves. \section*{Acknowledgement} I thank Dan Romik for comments on the draft. I acknowledge use of ChatGPT-6 Astra Medium in Codex to obtain the arguments and the initial presentation of Sec.~\ref{sec:GenGerver}. \bibliography{Refs} \end{document}