Cross-Scale Essay · ES.13 · Movement V · Embedding, Winding & Steric Sieves · 15 min read
Watertight Is Not Embedded: Generalized Winding Chambers, Thin Necks, and Steric Clearance Sieves
When a triangle mesh closes every edge cleanly, obeys Euler's polyhedral count V − E + F = 2, and reports a positive divergence volume, can its walls still pass through one another in 3-space? An open-top 24-vertex U-trough shows how positive signed volume (+7,320.0 mm³) coexists with 52 disjoint triangle intersections and an inverted w = −1 chamber, why partial ray-casting misses inverted walls, and how the gap between smooth averages and local throat slack recurs in nanometer hydrogel models.
Predict Before You Reveal · Active Intuition Check
Take a 40 × 30 × 36 mm open-top U-trough mesh (24 vertices, 66 edges, 44 faces, floor thickness 10 mm) and widen the inner slot past the outer walls to w_in = 46 mm with fixed vertex connectivity. What happens to Euler closure and signed divergence volume?
Interactive Polyhedral Winding & Steric Clearance Observatory · ES.13
Positive Signed Volume vs. Disjoint Triangle Crossings, Complete Rays & Steric Throat Slack
I · The Watertight Ghost: Why Positive Volume Hides Self-Intersection
Picture a parametric bracket exported at midnight from a script that widens a central cable slot by six millimeters too much. A purely combinatorial mesh filter runs three checks: each directed triangle edge has an opposite twin, three times the face count equals twice the edge count (3 × 44 = 2 × 66 = 132), Euler's count reads 24 − 66 + 44 = 2, and the divergence integral over the 44 triangles returns +7,320.0 mm³. All three pass, yet the solid does not exist in 3-space: both vertical walls have crossed through the outer skin. This essay is a mathematical and geometric explanation, not a structural or manufacturing design method and not clinical guidance; none of its numbers may be used on a real part or structure.
We can write that failure down without approximation on a 5-cell conforming open-top U-trough inside an outer envelope of width W_out = 40.0 mm, depth D = 30.0 mm, and height H = 36.0 mm with floor thickness t_floor = 10.0 mm. Unlike a closed hollow pipe (genus 1, χ = 0), an open-top trough glued from 5 solid hexahedral cells along 4 internal faces is topologically a contractible 3-ball whose boundary is a genus-0 sphere. Four vertical planes sit at x ∈ {0, (40 − w_in)/2, (40 + w_in)/2, 40}, two end caps at y ∈ {−15, +15}, and three levels at z ∈ {0, 10, 36}, yielding V = 24 vertices, E = 66 edges, and F = 44 triangles (χ = 24 − 66 + 44 = 2).
At the baseline slot width w_in = 24.0 mm, the inner walls sit at x = 8.0 mm and x = 32.0 mm, giving side-wall thickness t_wall = 8.0 mm and signed divergence volume V_signed = 30 × (40 × 36 − 24 × 26) = +24,480.0 mm³. Push w_in past 40.0 mm to w_in = 46.0 mm: the inner wall planes jump to x = −3.0 mm and x = 43.0 mm, flipping t_wall = −3.0 mm negative while V_signed = 30 × (1,440 − 1,196) = +7,320.0 mm³ stays positive with 0 zero-area triangles.
Opening Movement V on spatial geometry and transport sieves, this essay connects primary literature on triangle–triangle intersection testing (Möller, 1997, DOI 10.1080/10867651.1997.10487472), inside-outside segmentation with generalized winding numbers (Jacobson, Kavan, and Sorkine-Hornung, 2013, DOI 10.1145/2461912.2461916), and mesh arrangements for solid geometry (Zhou, Grinspun, Zorin, and Jacobson, 2016, DOI 10.1145/2897824.2925901) with Voronoi surface reconstruction (Amenta, Bern, and Kamvysselis, 1998, DOI 10.1145/280814.280947), structural strength of 3D printable objects (Stava et al., 2012, DOI 10.1145/2185520.2185544), obstruction-scaling hydrogel diffusion (Amsden, 1999, DOI 10.1021/ma980922a), and airway periciliary brush separation (Button et al., 2012, DOI 10.1126/science.1223012).
II · Generalized Winding Chambers & Rational Triangle Arrangements
Building on the problem of robust inside-outside segmentation using generalized winding numbers (Jacobson, Kavan, and Sorkine-Hornung, 2013, DOI 10.1145/2461912.2461916), our companion kernel evaluates w(p) = Ω(p) / (4π) on every off-surface probe by two independent methods: floating-point solid angles via two-argument arctangents and prime-skewed rational rays along d = (13, 17, 19) in Python's fractions.Fraction (failing closed if a query point lands on a boundary face). Across all four chambers of the w_in = 46.0 mm trough, the two methods agree within 1.5 × 10⁻¹⁵.
w(p) = (1 / 4 pi) sum_f Omega_f(p), V_signed = sum_k k * Vol({p : w(p) = k}) = (+1)(12,000) + 0(1,800) + (-1)(4,680) = +7,320 mm^3
At (W_out = 40, D = 30, H = 36, w_in = 46, t_floor = 10) mm, probe (20, 0, 5) has w = +1, overlapped corner (−1.5, 0, 5) has w = 0, inverted upper wall (−1.5, 0, 23) has w = −1, and slot void (20, 0, 23) has w = 0.
Detecting that self-intersection directly on the surface requires care at shared seams and coplanar faces, the domain of triangle–triangle intersection testing (Möller, 1997, DOI 10.1080/10867651.1997.10487472) and mesh arrangements for solid geometry (Zhou, Grinspun, Zorin, and Jacobson, 2016, DOI 10.1145/2897824.2925901). In our rational Fraction kernel, at w_in = 46.0 mm crossing faces meet along z = 10.0 mm and coplanarly on y = ±15.0 mm and z = 0.0 mm, producing 52 vertex-disjoint closed triangle intersections (44 transverse and 8 coplanar), plus 58 disjoint hits and 24 zero-area faces at w_in = 40.0 mm, versus 0 at 24.0 mm. To close shared-simplex loopholes such as a 5-vertex pinched bipyramid (where 0 vertex-disjoint pairs exist), the kernel also tests every shared-vertex and shared-edge triangle pair for improper overlap outside its shared simplex.
Why not nudge each vertex by small random floating-point jitter so coplanar contacts vanish? In mechanical CAD, architectural joinery, and voxelized microstructures, coplanar faces and colinear seams are deliberate geometric alignments rather than accidental noise. Jittering coordinates tilts flat mating faces out of plane, turns step corners into tiny wedges, and can flip the sign of near-zero determinants across hardware. Evaluating orientation determinants over arbitrary-precision rationals keeps shared coordinate planes flat while separating benign index-sharing adjacency from spatial collision.
III · Embedded Thin Necks & Why Incomplete Ray-Casting Lies
Eliminating self-intersections makes a closed polyhedron embedded in 3-space, yet embedding alone says little about narrow sheets or fragile necks—questions that motivate Voronoi-based surface reconstruction (Amenta, Bern, and Kamvysselis, 1998, DOI 10.1145/280814.280947), improving the structural strength of 3D printable objects (Stava et al., 2012, DOI 10.1145/2185520.2185544), and balancing shapes for 3D fabrication (Prévost, Whiting, Lefebvre, and Sorkine-Hornung, 2013, DOI 10.1145/2461912.2461957). Even a cleanly embedded boundary can pinch down to a paper-thin wall.
Against an assumed illustrative wall-thickness floor t_req = 4.0 mm (a geometric model threshold, not an engineering code value), widen the U-trough slot from 24.0 mm to w_in = 34.0 mm. Every topological and embedding gate passes: V = 24, E = 66, F = 44, V_signed = +16,680.0 mm³, 0 disjoint or improper adjacent triangle intersections, and w(p) ∈ {0, +1}. Yet side-wall thickness drops to t_wall = (40.0 − 34.0) / 2 = 3.0 mm < 4.0 mm, caught identically by rational slab geometry and inward centroid normal rays (t_min = 3.0 mm).
Ray-casting harbors a completeness trap of its own. Suppose a thickness script shoots an inward ray −n_f from each of the 44 triangle centroids and takes the minimum positive hit distance over whichever rays strike another face. At w_in = 46.0 mm, the inverted side walls point −n_f outward into empty space or non-opposing sheets, leaving 28 of 44 rays without an opposing hit while the central floor rays strike the z = 10.0 mm step at 10.0 mm ≥ 4.0 mm. A positive-hit-only filter false-passes (10.0 mm ≥ 4.0 mm); requiring ray completeness (0 unmatched inward rays hitting opposing normals n_f · n_hit < 0) rejects it.
Wall clearance is a metric property of the Euclidean embedding rather than a property of how finely the surface is triangulated. If a mesh exporter subdivides each triangle of the w_in = 34.0 mm trough into 4 smaller sub-triangles, face density quadruples and each triangle aspect ratio looks regular, yet the Euclidean gap between inner and outer side skins stays at 3.0 mm. Neither refining the surface triangulation nor smoothing vertex normals adds material where opposing walls pinch close together; an explicit distance query across opposing sheets—paired with a prior non-intersection check—is required.
IV · Across Scales: Millimeter CAD Channels & Nanometer Hydrogel Sieves
| Regime | Manifold χ = 2 | Signed Vol. (mm³) | Disjoint Hits | Complete Ray Min |
|---|---|---|---|---|
| Open shell (missing 1 quad) | Fail (4 unpaired) | Undefined (open) | 0 | Rejected (open) |
| Inverted normals (w_in = 24 mm) | Pass (24−66+44=2) | −24,480.0 | 0 | Rejected (w = −1) |
| Self-intersecting (w_in = 46 mm) | Pass (24−66+44=2) | +7,320.0 | 52 | Rejected (28 unmatched) |
| Embedded thin neck (w_in = 34 mm) | Pass (24−66+44=2) | +16,680.0 | 0 | 3.0 mm < 4.0 mm (Fail) |
| Admissible baseline (w_in = 24 mm) | Pass (24−66+44=2) | +24,480.0 | 0 | 8.0 mm ≥ 4.0 mm (Pass) |
At the nanometer scale, obstruction-scaling models of diffusion in homogeneous hydrogels (Amsden, 1999, DOI 10.1021/ma980922a) and studies of how the airway periciliary brush separates the mucus layer from airway epithelia in cystic fibrosis research (Button et al., 2012, DOI 10.1126/science.1223012) highlight how polymer mesh spacing governs particle passage. Using the same obstruction-scaling exponent form as Essay ES.01 with assumed illustrative model inputs—a spherical probe of diameter d_p = 65.0 nm (radius R = 32.5 nm, versus ES.01's 100.0 nm example) and fiber radius r_f = 3.5 nm—reducing assumed spacing from ξ = 200.0 nm (c_pore = +135.0 nm, D_eff / D_0 = 0.9094) through ξ = 120.0 nm (c_pore = +55.0 nm, D_eff / D_0 = 0.7769) to ξ = 55.0 nm flips rigid pore slack negative (c_pore = −10.0 nm < 0).
Just as reading V_signed > 0 without an intersection check mistakes a self-intersecting U-trough for a solid bracket, reading the smooth hindrance value D_eff / D_0 = 0.3467 on its own when ξ < d_p misses rigid steric caging unless thermal strand fluctuations or particle compliance open transient throats. Across six orders of magnitude—from a 40.0 mm CAD trough to a 65.0 nm model sphere—admissibility pairs global integrals with local non-intersection and minimum-throat inequalities.
V · Machine-Checked Lean 4 Algebra & Falsifiable Boundary
To check the discrete integer identities without floating-point rounding, EmbeddingWindingSieve.lean compiles 10 core theorems (plus 1 diagonal orientation helper lemma) in pure Lean 4 Prelude with 0 external imports, 0 axioms, and 0 sorry placeholders: (1) SI dimensional homogeneity across length L, area L², volume L³, dimensionless winding w(p), and steric ratio d_p / ξ; (2) Euler closure V − E + F = 2 and 3F = 2E for V = 24, E = 66, F = 44; (3) the (40, 30, 36, 46, 10) witness where V_signed = +7,320 > 0 coexists with 2 t_wall = −6 < 0; (4) the w_in ≥ W_out chamber identity (+1)V_+1 + 0 V_0 − V_−1 = D(W_out H − w_in(H − t_floor)); and (5) equivalence 2 t_wall ≤ 0 ↔ W_out ≤ w_in.
The remaining five Lean 4 theorems check the thin-neck witness at w_in = 34 (2 t_wall = 6 > 0 yet 6 < 8 with V_signed = +16,680 versus +24,480 at w_in = 24), the partial-ray blindness witness (28 unmatched rays rejected despite floor hits at 10 ≥ 4), integer skew-symmetry orient2d(a, b, c) = −orient2d(b, a, c) on coplanar boundary planes, monotonicity of steric slack ξ − d_p (+135 vs −10 at d_p = 65), and separation of all five table regimes. What Lean does not cover—floating-point atan2 solid angles, the 44-face rational triangle loop, and browser DOM parity—is checked by verify_essay_embedding_steric.py, which exits non-zero under --planted-defect.
Hypothesis and falsification boundary (Tier T0/T1 mathematical and illustrative physical model; an explanation, not a design rule, engineering specification, or clinical guidance): Combinatorial half-edge closure together with V_signed > 0 does not separate an embedded solid from a self-intersecting polyhedron when positive winding chambers outweigh negative chambers; finite verification of mesh embedding and minimum wall slack requires testing both vertex-disjoint closed triangle pairs and shared-simplex pairs outside their shared vertex or edge, paired with complete inward-ray clearance. Exhibiting a connected, closed, non-degenerate triangle mesh with V_signed > 0 and w(p) = −1 on an open chamber of non-zero volume yet 0 disjoint and 0 improper adjacent triangle intersections, or refuting a theorem in EmbeddingWindingSieve.lean, would falsify this hypothesis.
AI contribution to cited primary literature: none. Essay prose, bilingual es-MX twin, rational U-trough intersection and winding kernels, 10-theorem core Lean 4 Prelude companion, and Python verifier were drafted with AI assistance and checked against cached DOIs.
Primary Sources & Offline DOI Ledger
| ID | Reference | DOI | Role in this Essay |
|---|---|---|---|
ES13-MOLLER1997 |
Möller, T. — A Fast Triangle-Triangle Intersection Test, Journal of Graphics Tools 2(2), 25–30 (1997) | 10.1080/10867651.1997.10487472 |
Reference for triangle–triangle intersection testing between 3D surface facets. |
ES13-AMENTA1998 |
Amenta, N., Bern, M., & Kamvysselis, M. — A New Voronoi-Based Surface Reconstruction Algorithm, Proceedings of SIGGRAPH '98, 415–421 (1998) | 10.1145/280814.280947 |
Reference for 3D Voronoi-based surface reconstruction. |
ES13-AMSDEN1999 |
Amsden, B. — An Obstruction-Scaling Model for Diffusion in Homogeneous Hydrogels, Macromolecules 32(3), 874–879 (1999) | 10.1021/ma980922a |
Reference for obstruction-scaling models of solute diffusion in homogeneous hydrogels. |
ES13-BUTTON2012 |
Button, B., Cai, L.-H., Ehre, C., Kesimer, M., Hill, D. B., Sheehan, J. K., Boucher, R. C., & Rubinstein, M. — A Periciliary Brush Promotes the Lung Health by Separating the Mucus Layer from Airway Epithelia, Science 337(6097), 937–941 (2012) | 10.1126/science.1223012 |
Reference on how the airway periciliary brush separates the mucus layer from airway epithelia. |
ES13-STAVA2012 |
Stava, O., Vanek, J., Beneš, B., Carr, N., & Měch, R. — Stress Relief: Improving Structural Strength of 3D Printable Objects, ACM Transactions on Graphics 31(4), Article 48 (2012) | 10.1145/2185520.2185544 |
Reference on detecting structural weakness and improving strength in 3D printable objects. |
ES13-JACOBSON2013 |
Jacobson, A., Kavan, L., & Sorkine-Hornung, O. — Robust Inside-Outside Segmentation using Generalized Winding Numbers, ACM Transactions on Graphics 32(4), Article 33 (2013) | 10.1145/2461912.2461916 |
Reference for inside-outside segmentation using generalized winding numbers. |
ES13-PREVOST2013 |
Prévost, R., Whiting, E., Lefebvre, S., & Sorkine-Hornung, O. — Make It Stand: Balancing Shapes for 3D Fabrication, ACM Transactions on Graphics 32(4), Article 81 (2013) | 10.1145/2461912.2461957 |
Reference on shape modification for static balance in 3D fabrication. |
ES13-ZHOU2016 |
Zhou, Q., Grinspun, E., Zorin, D., & Jacobson, A. — Mesh Arrangements for Solid Geometry, ACM Transactions on Graphics 35(4), Article 39 (2016) | 10.1145/2897824.2925901 |
Reference for mesh arrangements in solid geometry. |