Moving Sofa Problem #
References:
- Wikipedia
- [Ge92] Gerver, J. L., On moving a sofa around a corner. Geometriae Dedicata 42.3 (1992): 267-283.
- [Ro18] Romik, D. Differential equations and exact solutions in the moving sofa problem. Experimental mathematics 27.3 (2018): 316-330.
- [Ba24] Baek, J. Optimality of Gerver's Sofa. arXiv preprint arXiv:2411.19826 (2024).
The hallway is the union of its horizontal and vertical sides.
Instances For
Equations
- MovingSofa.«termE(2)» = Lean.ParserDescr.node `MovingSofa.«termE(2)» 1024 (Lean.ParserDescr.symbol "E(2)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
A connected closed set $s$ is a moving sofa according to a rigid motion $m:I\to\mathrm{SE}(2)$, if the sofa is initially in the horizontal side of the hallway and ends up in the vertical side. Here, since $\mathrm{SE}(2)$ is not in Mathlib yet, we use $\mathrm{E}(2)$ and rely on continuity and $m(0) = \mathrm{id}$ to ensure $m$ is in $\mathrm{SE}(2)$.
- isConnected : IsConnected s
- isClosed : IsClosed s
- continuous : Continuous m
Instances For
The unit square.
Equations
Instances For
The unit square $[0,1]^2$ is a valid moving sofa (with the identity motion).
It sits in the corner where both hallways overlap, so the stationary motion works.
This is a sanity check that the IsMovingSofa definition is not vacuous.
The rigid motion that translates by $p$ and then rotates counterclockwise by $\alpha$. Note that [Ge92] used this definition while [Ro18] used rotation first and then translation.
Equations
Instances For
The sofa according to a rotation path $p : [0, \pi/2] \to \mathbb{R}^2$ as in [Ge92] is the intersection over $\alpha \in [0, \pi/2]$ of hallways each translated by $p(\alpha)$ and then rotated by $\alpha$, with the special cases that the hallway at $0$ is the horizontal side and the hallway at $\pi/2$ is the vertical side.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Eq. 1-4 of [Ro18], which specifies the constants $A$, $B$, $\varphi$, and $\theta$ of [Ge92].
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- MovingSofa.GerversSofa.y α = ∫ (t : ℝ) in α..Real.pi / 2 - MovingSofa.GerversSofa.φ, MovingSofa.GerversSofa.r t * Real.sin t
Instances For
Equations
- MovingSofa.GerversSofa.x α = 1 - ∫ (t : ℝ) in α..Real.pi / 2 - MovingSofa.GerversSofa.φ, MovingSofa.GerversSofa.r t * Real.cos t
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Gerver's sofa is the sofa according to the rotation path GerversSofa.p.
Instances For
The sofa constant is the maximal area of a moving sofa.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The sofa constant is at least 1, as witnessed by the unit square.
Gerver's sofa attains the sofa constant, conjectured by [Ge92] and claimed by [Ba24].
Gerver's sofa is the unique sofa that attains the sofa constant.