FordDoubledBoundary #
Adapted from Wesley Pegden’s Apache-2.0 Trellis formalization of Levine–Pegden–Smart. Changes: pool module paths, public exports, project namespace and current Mathlib compatibility.
The doubled boundary of the closed Ford vertex square is $$ B_q=[0,q]^2\setminus[2,q-2]^2. $$ Thus it contains the outer two vertex layers (with the evident convention when the displayed inner square is empty).