# The room stretches Let the room have length L>0 and a 12-foot square cross-section. The spider and fly are centered on opposite end walls, one a foot above the floor and the other a foot below the ceiling. A shortest surface path never leaves a face and then returns: replace that portion by the straight segment inside the closed rectangular face. If it really left that face, this strictly shortens the path, since equality in the length bound would require staying on the segment. Consequently a shortest path crosses a contiguous chain of distinct longitudinal faces in their four-cycle, between its two end walls. Travel on an edge can be assigned to an incident face for purposes of unfolding, and two faces meeting at a vertex of a box also share an edge. The unfolded endpoint distance is a lower bound even for routes whose straight line misses a hinge segment. Number the four longitudinal faces floor, right, ceiling, left. Unwrap one full turn in that direction. The starting end wall attaches to the first strip at x=0, the far end wall at x=L. The endpoint coordinates in the attached walls are (-p,v) and (L+q,12(n-1)+w), where n is the number of longitudinal faces. Read each (distance to hinge, along hinge) pair in that face's traversal direction. In the positive direction the spider's four pairs are (1,6),(6,1),(11,6),(6,11); the fly's are (11,6),(6,11),(1,6),(6,1). Reverse direction by replacing v,w by 12-v,12-w. | Longitudinal faces n | Possible (p+q, absolute rise) | |---|---| | 1 | (12,0), (12,10) | | 2 | (7,17), (17,7) | | 3 | (2,24), (12,24), (22,24) | | 4 | (7,31), (17,41) | For each row, the first pair dominates the rest for L>0 (for n=2, the squared-distance difference between the second and first is 20L). For n=4 even the first loses to the first of n=2. The remaining squared lengths are A = (L+12)^2 e.g. floor B = (L+7)^2 + 17^2 e.g. floor, right C = (L+2)^2 + 24^2 e.g. floor, right, ceiling. B-A=194-10L and C-B=242-10L, so the lower envelope takes them in order, switching at L=97/5 and L=121/5. At either switch the adjacent choices tie. A uses a horizontal line starting at (-1,6) and ending at (L+11,6). B starts at (-1,6) and ends at (L+6,23): it crosses x=0 within the first strip and crosses x=L within the second if L≥25/11. C starts at (-1,6) and ends at (L+1,30): its hinges are all crossed within segment when L≥2. Thus every winning line is realizable; in particular L=30 gives 40 feet instead of 42 on the floor alone.