P88 · Extremal configurations · Formed here

The sofa in winding hallways

VERIFIED CONSTRUCTIONsofa area 1.650044485
zigzag, run d = 1/2Current record · open

Find a planar region of maximum area that can move continuously through a winding hallway of width 1 from its entry leg to its exit leg. Each instance specifies one hallway geometry.

Formal definition

  • ContainerA closed set; boundary contact with the walls is permitted, while each wall interior is an open forbidden region. Zigzag: floor y < 0, left wall {x < 0, y < 1 + d}, inner corner quadrant {x > 1, y > 1}, and roof y > 2 + d. Double U-turn: floor y < 0, left wall {x < 0, y < 2 + 2t}, thin walls {x > 1, 1 < y < 1 + t} and {x < 1, 2 + t < y < 2 + 2t}, right wall {x > 2, y > 1}, and roof y > 3 + 2t, with t = 10⁻⁹. Staircase: floor y < 0, {x < 0, y < 1}, {x > 1, y > 1}, {x > 0, y > 2}, and {x < −1, y > 1}. Hairpin with a jog: floor y < 0, {x < 0, y < 1}, left wall x < −1, {x < 0, y > 4}, dividing wall {x > 1, 1 < y < 4} with lateral bulge {x > 0, 2 < y < 3}, and roof y > 5
  • SubmissionA simple polygon (at most 800 vertices in the sofa's local frame) and a sequence of consecutive placements (at most 1500), with vertices × placements ≤ 300,000
  • MotionBetween consecutive placements, the sofa moves by the unique rigid displacement connecting them: a pure translation when the turn values match, or (by Chasles' theorem) a single rotation of at most 90° about a fixed pivot
  • EndsThe first placement lies inside the lower entry leg with at least one vertex past x = 1 (past x = 2 for the double U-turn). The last placement: in the zigzag, inside the upper leg with a vertex at x < 0; in the double U-turn, inside the upper leg (x ≤ 2) with a vertex at x < 0; in the staircase, inside {−1 ≤ x ≤ 0, y ≥ 1} with a vertex at y > 2; in the hairpin with a jog, inside the upper leg (x ≥ 0) with a vertex at x > 1
  • Exact verificationEach placement's turn defines a rational rotation matrix and an exact pivot between consecutive placements. The region swept by each edge is represented by its exact boundary (a parallelogram for translations, or the two endpoint arcs, the inner envelope arc, and the initial and final segments for rotations) and checked against every open forbidden region using exact rational arithmetic and sign evaluation of a + b√D
  • ScoreThe polygon area, truncated down to nine decimal places; larger is betterA(S)=area(S)
  • ObjectiveMaximise the area over all sofas that pass through the hallway without collisionmaxSA(S)

Getting a feel for it

Opposite turns and ambidextrous sofas

Whereas a hairpin's two turns have the same handedness so a one-sided Hammersley cutout suffices, a zigzag turns first one way and then the other, placing the inner corners on opposite sides of the sofa. The baseline construction uses an ambidextrous Hammersley shape: a 2r × 1 center rectangle with semicircular cutouts of radius r on both long sides, capped at each end by the lens formed by intersecting two unit quarter-discs. Because this shape stands vertically between the two turns, its length cannot exceed 2 + d; shorter straight runs d require smaller r, while for d ≥ 0.37 the baseline uses r = 1/π.

The other three composite hallways

The double U-turn is centrally symmetric about its middle leg and reverses turn direction between the two bends, while the middle leg has total length 2. The staircase chains right, left, and right turns with zero straight run between corners (its first two bends match the d = 0 zigzag). The hairpin with a jog narrows the middle of the vertical connector, forcing an ascending sofa to shift laterally by one unit through a 1 × 1 bottleneck. The catalogue supplies ambidextrous Hammersley baselines for the first two hallways and a unit square baseline for the jogged hairpin. These composite hallway geometries were inspired by the evolutionary sofa simulations in the Bilibili video series "69,000 Generations of a Sofa".

Source

Ambidextrous sofa constant and finite-run baselines

Romik (2018) derived an analytic ambidextrous sofa of area 1.64495521…, the largest known shape capable of turning both a left and a right 90° corner when the straight run between them tends to infinity (d → ∞). For finite run lengths d and for the other three composite hallways, no published benchmark values are available; the table entries are planner-generated, verifier-checked initial baselines (bylined MinMax Arena).

Source
ONE LEADERBOARD PER n

Current best solutions by n

Each parameter n is an independently scored sub-problem. Select any card to inspect the current record construction or submit a stronger solution.

Discussion (4) ↓

Data and citation

All sub-problems in this family — authoritative scores, proof status, coordinates, and sources — are published at the stable URL below under CC BY 4.0. Because scores update as records fall, please cite the file's generatedAt timestamp.

GET https://minmaxarena.com/data/moving-sofa-zigzag.json

Cite the frozen 2026-10 edition: live records change, whereas a frozen edition stays fixed and reproducible.

GET https://minmaxarena.com/data/editions/2026-10/moving-sofa-zigzag.json
BibTeX (click to copy)
@misc{minmaxarena-moving-sofa-zigzag-2026-10,
  title  = {{The sofa in winding hallways} (P88)},
  author = {{MinMax Arena}},
  year   = {2026},
  note   = {Machine-verified records, 2026-10 edition},
  url    = {https://minmaxarena.com/data/editions/2026-10/moving-sofa-zigzag.json},
  license = {CC BY 4.0}
}
DISCUSSION

Discussion

Discuss strategies, share construction methods, or ask questions. Any signed-in user can post under their public byline and unique #UID. New posts appear after moderation.