Wall-Crossing Form-Finding for Dry-Joint Masonry

Computational tools for designing vaults, shells and cable nets now find shapes that stand in equilibrium under their own weight in milliseconds. They get there by assuming the material is ideal: infinitely strong in compression, unable to slip at joints, and with every member always carrying load. Real dry-stacked masonry does not behave that way. When it is tilted, or when its foundation settles, joints open into hinges and blocks slide. A shape that is perfectly balanced on paper can collapse at a modest tilt. This proposal treats each of those events, a joint opening, a contact point lifting off, or a cable going slack, as a degeneration: a member of the force network drops to zero and the structure's combinatorial type changes. The inverse design problem then becomes an optimization over a piecewise space. Within each piece a fixed set of contacts carries load, and the pieces are separated by "walls" where that set changes.

The idea borrows its bookkeeping from enumerative geometry. That field tracks how a conserved quantity, such as a count of curves, redistributes when a shape degenerates or when a configuration crosses a wall. Here the conserved bookkeeping is the number of independent internal force states, the self-stresses, that the assembly can support in each contact state. We build a differentiable form-finder that fits a target shape while maximizing the tilt or settlement a dry-joint assembly survives. It crosses walls deliberately, using an explicit ledger of which collapse mechanisms are tied at the current design, instead of smoothing them away. The designs are judged by an independent failure simulator validated on physical masonry experiments.

Core Claim

Maximizing collapse margin for a block assembly has a characteristic structure. The margin is the minimum over many competing collapse mechanisms, so good designs sit on walls where two or more mechanisms fail at the same load. Classical equal-strength design has the same property. Gradient methods that smooth these kinks average the competing mechanisms and stall. A method that enumerates the mechanisms active at a wall and steps to raise all of them together should reach higher collapse margins for the same target-shape error and the same compute. It should also return a certificate: the list of mechanisms that bound the design, and where in the assembly the surviving self-stress lives.

We state this as a hypothesis to be tested against a smoothed baseline. We do not assume it. If smoothing matches the wall-aware optimizer on margin, the contribution shrinks to the certificate, and the experiments are designed so that outcome is visible.

Where the pieces come from

The inverse-design side supplies the method. JAX FDM makes the force density method differentiable in JAX. The force density method solves bar-network equilibrium linearly in the ratio $q = f/L$ of each member's force to its length. Real-time design of architectural structures with differentiable mechanics and neural networks puts that solver inside a neural decoder and uses sign constraints to force compression-only or tension-only members. On the equilibrium of simplicial masonry structures parameterizes compressive equilibrium of triangle meshes by per-vertex weights plus one coefficient per hole. We reuse the differentiable equilibrium solve from these papers.

All three share the same two limitations, which motivate this work. Connectivity is fixed, and the material is idealized. The de Goes et al. paper explicitly assumes infinite compressive strength, zero tension and no joint slip. Design of self-supporting surfaces with isogeometric analysis solves the smooth-surface version with an Airy stress function, and it names plasticity and cracking in aging masonry as open problems.

The material side supplies the evaluator and a warning. Breaking boundaries adapts the PyBullet rigid-body engine to dry-joint masonry and reproduces shear-wall, settlement and tilting experiments far faster than the distinct element method, which simulates each block and contact explicitly. It is purely forward, however. Its default contact model couples normal stiffness to friction, which causes premature sliding and underestimates tilt collapse angles. This constrains us: using PyBullet as the only judge would reward designs that exploit its error. The other material papers in the file, such as the linear-elastic fiber and dovetail optimizations of Sun et al., More Stiffness with Less Fiber, make the general point that optimizing under elastic assumptions says nothing about ultimate failure. They do not supply a method we reuse.

The degeneration side supplies the organizing idea, and we are explicit that we use it as structure rather than importing its full algebra. Rational tensegrities through the lens of toric geometry proves that the self-stresses of a rational framework form a group isomorphic to a piece of a Chow group, a group of formal combinations of subvarieties used to count intersections. It also identifies joint force balance with the balancing condition of weighted polyhedral fans, collections of cones whose weighted normals sum to zero. That paper assumes rational coordinates, generic position and rigid members, which is exactly what we relax. We keep only the computable part, the dimension and support of the self-stress space, and we track how it changes as contacts degenerate.

Counting tropical elliptic plane curves with fixed j-invariant and Tropical fans and the moduli spaces of tropical curves show how a weighted count stays constant across walls. When one combinatorial type disappears, another appears with a compensating weight. Residual Intersections and Some Applications gives a symmetric ledger of where invariants go when a variety splits into components, for example 24 of the 27 lines on a cubic surface going to the double plane. That paper is the model for our "stress migration" record. It is an analogy for the form of the output, and it is not a theorem we rely on.

Research Program

We represent a dry-joint assembly by its blocks and by a discrete set of contact points on each interface. Each contact point carries a normal force that may only push, never pull, and a friction force confined to a polyhedral approximation of the Coulomb cone. Design variables $x$ comprise the block geometry derived from a force-density thrust network, meaning its force densities, anchor positions and thickness field. The collapse load factor is

$$\lambda^*(x) = \max_{\lambda, f} \; \lambda \quad \text{s.t.} \quad A(x) f = w(x) + \lambda h(x), \quad f \in K,$$

where $f$ collects all contact forces, $A(x)$ is the equilibrium matrix mapping contact forces to net block forces and moments, $w$ is self-weight, $h$ is the load pattern (the lateral component under tilt, or the settlement-induced reactions), and $K$ is the product of the unilateral friction cones.

The contact state $\sigma$ at the optimum records which contacts are closed, which are hinging, which are sliding and which are open. It fixes a submatrix $A_\sigma$. The ledger is

$$s(\sigma) = \dim \ker A_\sigma ,$$

the number of independent self-stresses surviving in state $\sigma$, together with the blocks that support each one. Degenerating a contact removes columns and can lower $s$. Collapse is the point where no admissible stress remains.

A wall is a design $x$ at which two or more states $\sigma_1, \dots, \sigma_m$ attain $\lambda^*$. There the margin is not differentiable. Its generalized gradient is the convex hull of the per-state gradients, each of which comes from linear-programming sensitivity through $A(x)$ and the differentiable force-density solve. The optimizer maximizes margin subject to a bound on shape error $\|X(x) - X_{\text{target}}\|$. At each step it enumerates the tied states by perturbing $\lambda$ and re-solving with the active set fixed. It then takes the step that raises the minimum over those states, found as a small quadratic program in the spirit of bundle methods. After each crossing it updates $s(\sigma)$ with rank-one changes.

Members whose force density reaches zero are removed from the network rather than clamped. This addresses the fixed-topology limitation of the Pastrana et al. model in the one place where topology change is physically meaningful. The output is a design plus a certificate: the tied mechanisms, their load factors, and the migration record of which sub-assemblies carry the remaining self-stress.

Baselines

The naive reference is the idealized pipeline as published. We run JAX FDM for bar-network targets and the reduced-coordinate method of de Goes et al. for shells. Blocks are cut at uniform thickness around the resulting thrust surface and then tilted or settled in the evaluator. This measures what ignoring non-ideal behavior costs. Beating it means a higher collapse angle at matched shape error. We match shape error to within the same tolerance, because thickening alone trivially raises margin.

The engineering-heuristic baseline starts from the same idealized thrust surface. It then grows the thickness field until the thrust network sits within a fixed fraction of the section everywhere, the classical "keep the thrust inside the middle portion" rule. This is the method a practitioner would actually use. It shares our material budget, measured as total block volume. We must beat it at equal volume, and not only at equal shape error.

The strongest algorithmic competitor is the same margin objective with the minimum over mechanisms replaced by a log-barrier and soft-min smoothing. It uses the same differentiable solve, the same step budget and the same hyperparameter search (annealing schedule and temperature tuned on a held-out geometry), with no enumeration of tied states. This baseline isolates the claim, so it is also the main ablation.

A second ablation keeps wall-aware stepping but removes the ledger. It never removes zero-force members and never checks $s(\sigma)$, so it tests whether the topology updates matter separately from the nonsmooth steps.

A derivative-free baseline runs Bayesian optimization over a low-dimensional shape parameterization with PyBullet in the loop, as Thomas et al. do for suspension kinematics. It receives the same wall-clock budget.

On published numbers, no reported result found on Lacuna exists for collapse-margin inverse design of dry-joint assemblies. The file reports only forward and idealized figures. JAX FDM reduces target-shape distance by four orders of magnitude. Pastrana et al. report millisecond inference and up to 10,000x speedup over iterative optimization. de Goes et al. report a 2x to 7x speedup over Vouga et al. and about one minute for a 24,000-face dome. On the evaluator side, Wang et al. report peak shear loads within +16% of the distinct element method, settlement ultimate displacements within ±3% of experiment, and tilt collapse angles underestimated by up to 32%. We must reproduce these shape-error figures for the idealized baselines before any margin comparison is meaningful.

Why not just…?

Why not just smooth the kinks and backpropagate? This is the real threat. A well-annealed soft-min could track the tied mechanisms well enough. Our claim is narrow: at walls with three or more tied mechanisms, which we expect on vaults and on the multi-hole "cheese" shell where many hinge lines compete, smoothing will zig-zag and settle at a lower margin for the same step budget. If the equal-budget comparison shows no gap on those geometries, we will report that. The remaining contribution is then the certificate and the migration record, which smoothing does not produce.

Why not just put the physics engine in a black-box optimizer? Bayesian optimization with PyBullet requires no new math and optimizes the quantity we ultimately evaluate. It is limited to a handful of shape parameters, whereas our designs have hundreds of force densities and thickness values. It also optimizes against the engine's friction-stiffness artifact, which Wang et al. identify as a cause of premature sliding. We test the first concern by giving it the same wall-clock budget on the low-dimensional groin vault, where it should be competitive. We test the second by evaluating every method's designs under a second, independent contact model, which should expose any design tuned to the artifact.

Why not just thicken the idealized design, or check each joint failure by brute force? Thickening is cheap and often sufficient. That is why it appears as a volume-matched baseline rather than being dismissed. For single-contact failure, rank-one updates also make brute-force removal cheap, and the ledger offers no speed advantage there. The ledger's value appears when collapse requires several simultaneous degenerations, such as four hinges in an arch or mixed hinge-and-slide mechanisms in walls. Enumerating such subsets blindly grows combinatorially. The ledger instead reaches them through the wall structure. The experiments report how many tied mechanisms the optimum actually has. If it is usually one, that result undercuts our method.

Why not just use the distinct element method as the evaluator and optimizer? It is the field's reference forward model, but Wang et al. describe its runtimes as days, and it provides no gradients. We use it only to spot-check final designs.

Proposed Experiments

First we validate the evaluator on the three physical datasets used by Wang et al.: the Lourenço dry-joint shear walls, the Gagliardo settlement T-panels and the Restrepo Vélez tilting assemblies. We use both the default PyBullet contact and a variant with friction decoupled from normal stiffness. We then check that our limit-analysis margin predicts the experimental collapse angles at least as well as the engine does. Everything later depends on this step.

Next we run the design study on the de Goes et al. benchmark shells: Lilium tower, groin vault, dome with oculus and cheese model. We add a creased shell and a cable net from JAX FDM, where slack cables provide the tension-side degeneration. The load cases are quasi-static tilt about two horizontal axes and differential settlement at one support.

Each method is run with five seeds and the same shape-error tolerance, block volume and compute budget. The primary metric is critical tilt angle, or settlement at collapse, measured in both evaluator variants and spot-checked with the distinct element method on the final designs. Secondary metrics are target shape error, number of tied mechanisms at the optimum, wall-clock time, and agreement between the certificate's predicted mechanism and the observed collapse mode.

Three checks are decisive. The first asks whether the wall-aware optimizer beats the tuned smoothing baseline on margin at equal budget, specifically on geometries whose optima show three or more tied mechanisms. The second asks whether its advantage survives when the evaluator's contact model is switched. The third asks whether the certified mechanism matches the collapse mode seen in simulation, and in a small set of 3D-printed tabletop prototypes tilted on a table, following the unglued fabrication test in Pastrana et al..

A negative result on the first check, combined with positive results on the other two, would still show that degeneration bookkeeping yields trustworthy failure certificates for inverse-designed masonry. A negative result on all three would show that the algebraic view adds nothing beyond smoothing and thickening.