October 2026 · Preprint

An upper bound of 2√2 for the three-dimensional sofa problem in a snake-shaped corridor

Abstract

The moving sofa problem in a snake-shaped corridor, posed by O'Rourke and by Georgiev, Gómez-Serrano, Tao and Wagner, asks for the largest volume of a connected body that can be moved through a corridor of unit-square cross-section with two turns that are far apart, one in the x–y plane and one in the y–z plane. The largest reported body has volume at least 1.8558404, and Tang obtained upper bounds for this problem, the best of which is 3.4083. We prove by hand that the largest volume is at most 2√2 whenever the straight section between the turns is longer than 2 + √2. The main new tool is a sharp bound: two infinite tubes of unit-square cross-section whose axes make an angle θ meet in volume at most 1/sin θ. With it, Hammersley's argument for the planar moving sofa problem carries over to three dimensions. The same argument gives explicit bounds for shorter straight sections; these and the main bound have also been proved in Lean 4 with Mathlib.

In plain words

In 1966 Moser asked for the largest sofa that can turn the corner of a hallway one unit wide; Hammersley showed that the largest sofa has area at most 2.83. O’Rourke asked the same in 2016 for a square corridor of that width turning sideways and then upwards, a problem listed by Georgiev, Gómez-Serrano, Tao and Wagner. This paper combines Tang’s and Hammersley’s arguments to show that the volume is again at most 2.83 when the turns are far enough apart. The best previous bound, Tang’s 3.4083, was computer-aided; this proof can be checked by hand.

A transparent teal corridor with square cross-section: an arm coming from the left, a long arm going away to the right and a vertical arm rising at the far end of the long arm. A grey transparent bar of the same width as the corridor crosses the first bend diagonally. The parts of the bar inside the corridor are two slanted blocks meeting at the inner corner, and these blocks are filled in yellow with black outlines.
Illustration of an extremal case in the proof that, when the straight section between the turns is longer than 2 + √2, every connected body that can be moved through the corridor has volume at most 2√2. Teal: the snake-shaped corridor of unit-square cross-section, with a straight section of length 4 between the turns (entry and exit arms cut off). Grey: part of a tube whose cross-section is the same as the corridor’s and whose axis lies in the plane of the first turn, at an angle of π/4 to both arms of that turn. Yellow: the part of the tube inside those two arms, two prisms of volume √2 each. Every body of volume at least √2 that passes through the corridor lies at some moment inside the first two arms and inside a tube whose axis makes an angle of π/4 with the middle arm. The paper shows that the part of such a tube inside these arms has volume at most 2√2, a bound attained by the yellow region.

Formal statement and axioms

Each main result as stated in Lean, copied verbatim from the published package, with the axioms that the proof rests on. Lean v4.35.0-rc3, Mathlib c55e6e786f49. The package.

Sofa3D.main

The bound 2√2

theorem main : MainStatement
Definitions used in the statement
def MainStatement : Prop :=
  ∀ M : ℝ, 2 + Real.sqrt 2 < M → Vstar M ≤ ENNReal.ofReal (2 * Real.sqrt 2)
noncomputable def Vstar (M : ℝ) : ENNReal :=
  ⨆ (B : Set (Fin 3 → ℝ)) (_ : IsBody B) (_ : ∃ g, IsPassage M B g), volume B
def IsBody (B : Set (Fin 3 → ℝ)) : Prop := IsCompact B ∧ IsConnected B
structure IsPassage (M : ℝ) (B : Set (Fin 3 → ℝ))
    (g : unitInterval → Matrix (Fin 3) (Fin 3) ℝ × (Fin 3 → ℝ)) : Prop where
  continuous : Continuous g
  rotation : ∀ t, (g t).1 ∈ Matrix.specialOrthogonalGroup (Fin 3) ℝ
  inside : ∀ t, motion (g t) '' B ⊆ corridor M
  start : motion (g 0) '' B ⊆ SX
  finish : motion (g 1) '' B ⊆ SZ M
def motion (g : Matrix (Fin 3) (Fin 3) ℝ × (Fin 3 → ℝ)) (p : Fin 3 → ℝ) : Fin 3 → ℝ :=
  Matrix.mulVec g.1 p + g.2
def corridor (M : ℝ) : Set (Fin 3 → ℝ) := SX ∪ SY M ∪ SZ M
def SX : Set (Fin 3 → ℝ) := {p | p 0 ≤ 0 ∧ 0 ≤ p 1 ∧ p 1 ≤ 1 ∧ 0 ≤ p 2 ∧ p 2 ≤ 1}
def SY (M : ℝ) : Set (Fin 3 → ℝ) :=
  {p | 0 ≤ p 0 ∧ p 0 ≤ 1 ∧ 0 ≤ p 1 ∧ p 1 ≤ 1 + M ∧ 0 ≤ p 2 ∧ p 2 ≤ 1}
def SZ (M : ℝ) : Set (Fin 3 → ℝ) :=
  {p | 0 ≤ p 0 ∧ p 0 ≤ 1 ∧ 1 + M ≤ p 1 ∧ p 1 ≤ 2 + M ∧ 0 ≤ p 2}

Source.

Axioms, as Lean reports them. Recorded in the published file.

'Sofa3D.main' depends on axioms: [propext, Classical.choice, Quot.sound]

Sofa3D.short

The explicit bounds for shorter straight sections

theorem short : ShortStatement
Definitions used in the statement
def ShortStatement : Prop :=
  ∀ M : ℝ, Real.sqrt 2 < M → M ≤ 2 + Real.sqrt 2 → Vstar M ≤ ENNReal.ofReal (Gamma M)
noncomputable def Gamma (u : ℝ) : ℝ :=
  (u ^ 2 + 2) / (u ^ 2 - 2) + (u ^ 2 + 2) / (2 * Real.sqrt 2 * u)
noncomputable def Vstar (M : ℝ) : ENNReal :=
  ⨆ (B : Set (Fin 3 → ℝ)) (_ : IsBody B) (_ : ∃ g, IsPassage M B g), volume B
def IsBody (B : Set (Fin 3 → ℝ)) : Prop := IsCompact B ∧ IsConnected B
structure IsPassage (M : ℝ) (B : Set (Fin 3 → ℝ))
    (g : unitInterval → Matrix (Fin 3) (Fin 3) ℝ × (Fin 3 → ℝ)) : Prop where
  continuous : Continuous g
  rotation : ∀ t, (g t).1 ∈ Matrix.specialOrthogonalGroup (Fin 3) ℝ
  inside : ∀ t, motion (g t) '' B ⊆ corridor M
  start : motion (g 0) '' B ⊆ SX
  finish : motion (g 1) '' B ⊆ SZ M
def motion (g : Matrix (Fin 3) (Fin 3) ℝ × (Fin 3 → ℝ)) (p : Fin 3 → ℝ) : Fin 3 → ℝ :=
  Matrix.mulVec g.1 p + g.2
def corridor (M : ℝ) : Set (Fin 3 → ℝ) := SX ∪ SY M ∪ SZ M
def SX : Set (Fin 3 → ℝ) := {p | p 0 ≤ 0 ∧ 0 ≤ p 1 ∧ p 1 ≤ 1 ∧ 0 ≤ p 2 ∧ p 2 ≤ 1}
def SY (M : ℝ) : Set (Fin 3 → ℝ) :=
  {p | 0 ≤ p 0 ∧ p 0 ≤ 1 ∧ 0 ≤ p 1 ∧ p 1 ≤ 1 + M ∧ 0 ≤ p 2 ∧ p 2 ≤ 1}
def SZ (M : ℝ) : Set (Fin 3 → ℝ) :=
  {p | 0 ≤ p 0 ∧ p 0 ≤ 1 ∧ 1 + M ≤ p 1 ∧ p 1 ≤ 2 + M ∧ 0 ≤ p 2}

Source.

Axioms, as Lean reports them. Recorded in the published file.

'Sofa3D.short' depends on axioms: [propext, Classical.choice, Quot.sound]