Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Fractal substructure

San Diego State University

Stars do not form in smooth, spherically symmetric distributions. Young clusters inherit clumpy, hierarchical spatial structure from the turbulent molecular clouds that birthed them, and that substructure controls early dynamical evolution Allison et al., 2009. The Goodwin & Whitworth (2004) recursive-tree fractal generator is the standard prescription for seeding this substructure into N-body initial conditions — and it is also a useful lens on why differentiable IC generation is hard, which is the theory this chapter keeps.

Why Goodwin–Whitworth doesn’t differentiate in JAX

The Goodwin & Whitworth (2004) algorithm is conceptually elegant — recursive subdivision with stochastic survival — but every step that gives it its distinctive clumpiness is incompatible with JAX’s differentiable model:

GW04 feature

JAX-incompatibility

Bernoulli survival (p=Ndiv(D3)/3p = N_{\mathrm{div}}^{(D-3)/3})

Discrete 0/1 decisions; gradient with respect to DD is zero almost everywhere

Variable cardinality

Number of survivors is stochastic; array shapes change per realisation, breaking JIT

Hard sphere rejection

r1r \le 1 cuts produce discontinuous boundaries

Subsampling to NN_\star

replace=True/False logic is non-differentiable; produces gradient discontinuities at cardinality changes

Recursive tree control flow

while_loop-style descent with random termination; not scan-able with a fixed iteration count

For pure forward Monte Carlo, GW04 is fine. For gradient-based inference,

IC  N-body  evolved  render  mockobs.    L\mathrm{IC}\;\xrightarrow{\text{N-body}}\;\mathrm{evolved}\;\xrightarrow{\text{render}}\;\mathrm{mock\,obs.}\;\xrightarrow{\nabla}\;\mathcal{L}

every backpropagation step would zero out at the GW04 boundary — which is the motivation for building substructure from a smooth, differentiable field instead of a discrete tree.

The “statistics, not algorithm” insight

GW04 realisations are characterised observationally not by their recursion tree but by summary statistics:

Any generator that reproduces the same (QCW,σΣ/Σ)(Q_{\mathrm{CW}},\,\sigma_\Sigma/\langle\Sigma\rangle) distributions as a function of one continuous parameter recovers everything observationally relevant about GW04 substructure. This is the key reason a differentiable generator can stand in for the discrete tree: match the statistics, not the algorithm.

Physical motivation: turbulent fragmentation

A differentiable substructure generator is arguably more physically motivated than the GW04 tree, not less. Stars form in supersonic-turbulent molecular clouds where the velocity field has a power-law spectrum

P(k)    kβP(k)\;\propto\;k^{-\beta}

with β=11/3\beta = 11/3 for incompressible Kolmogorov turbulence, β=4\beta = 4 for highly compressible Burgers turbulence, and β3.8\beta \approx 3.84.0 for the observed ISM Kritsuk et al., 2011Federrath & Klessen, 2012. (Note this is the velocity-field spectrum; the gravoturbulent density spectrum behaves differently — it flattens with Mach, see Density PDFs and the freefall-density factor.) Stars inherit the spatial structure of the dense cores carved out of these turbulent flows: a smooth equilibrium profile perturbed by a power-law-spectrum field directly represents this picture, with steeper spectra producing clumpier (more small-scale) structure. The GW04 tree, by contrast, is a purely abstract construction with no direct connection to ISM physics.

Fractal dimension DD and its CW04 QQ signature

The observational handle on fractal substructure is the relationship between the Goodwin & Whitworth (2004) fractal dimension DD and the Cartwright & Whitworth (2004) QQ parameter: lower DD (more hierarchical clumping) gives lower QQ; a uniform sphere sits at Q0.79Q \approx 0.79. Representative anchors (Plummer base, N1000N_\star \sim 1000):

Illustrative fractal-dimension ladder (schematic anchors, not Cartwright 2004 Table 1 rows).

DD

QCWQ_{\mathrm{CW}} (illustrative)

σΣ/Σ\sigma_\Sigma/\langle\Sigma\rangle

1.6

0.45

0.71

2.0

0.55

0.53

2.4

0.65

0.36

3.0 (uniform)

0.79

0.07

These are schematic reference anchors illustrating the monotonic QQ-vs-DD trend, not fresh output and not verbatim Cartwright & Whitworth (2004) Table 1 values — that table tabulates Q=0.45±0.09,0.61±0.08,0.73±0.06,0.80±0.02Q = 0.45\pm0.09,\,0.61\pm0.08,\,0.73\pm0.06,\,0.80\pm0.02 at D=1.5,2.0,2.5,3.0D = 1.5,\,2.0,\,2.5,\,3.0 (3-D box-fractal models projected to 2-D, 100N300100 \le N \le 300). What progenax’s CW04 QQ estimator is quantitatively validated against is the Cartwright & Whitworth (2004) uniform-sphere anchor Q=0.79±0.02Q = 0.79 \pm 0.02 (reproduced to <0.01<0.01; see JAX-native CW04 substructure Q parameter). The experimental gravoturb package’s headline calibration reproduces the direction of this ladder — QQ decreasing as more stars are drawn from the dense turbulent tail — measured with realization bands (its VALIDATION_SUMMARY.md, AC7).

Non-equilibrium kinematics

Fractal/clumpy ICs are intentionally non-equilibrium: the standard equilibrium velocity DFs (Plummer, King) assume a smooth density field, so they are inconsistent with clumpy positions. The Allison et al. (2009) “cool clumpy” setup (Qvir0.3Q_{\mathrm{vir}} \approx 0.3, where QvirT/VQ_{\mathrm{vir}} \equiv T/|V| — see Virial Q convention (Q = T/|V|)) is a deliberate use of this non-equilibrium pathway to study rapid dynamical mass segregation — substructure that erases itself within 1\sim 1 Myr of evolution. See Mass segregation for the segregation side, which is released: the primordial energy_sorted_segregation generator and the equilibrium MultiComponentCluster.from_mass_segregation constructor.

Implementation, validation & references

References
  1. Allison, R. J., Goodwin, S. P., Parker, R. J., Portegies Zwart, S. F., de Grijs, R., & Kouwenhoven, M. B. N. (2009). Using the minimum spanning tree to trace mass segregation. Monthly Notices of the Royal Astronomical Society, 395, 1449–1454. 10.1111/j.1365-2966.2009.14508.x
  2. Goodwin, S. P., & Whitworth, A. P. (2004). The dynamical evolution of fractal star clusters: The survival of substructure. Astronomy and Astrophysics, 413, 929–937. 10.1051/0004-6361:20031529
  3. Cartwright, A., & Whitworth, A. P. (2004). The statistical analysis of star clusters. Monthly Notices of the Royal Astronomical Society, 348, 589–598. 10.1111/j.1365-2966.2004.07360.x
  4. Küpper, A. H. W., Maschberger, T., Kroupa, P., & Baumgardt, H. (2011). Mass segregation and fractal substructure in young massive clusters. Monthly Notices of the Royal Astronomical Society, 417, 2300–2317. 10.1111/j.1365-2966.2011.19412.x
  5. Kritsuk, A. G., Norman, M. L., & Wagner, R. (2011). On the density distribution in star-forming interstellar clouds. The Astrophysical Journal Letters, 727, L20. 10.1088/2041-8205/727/1/L20
  6. Federrath, C., & Klessen, R. S. (2012). The star formation rate of turbulent magnetized clouds. The Astrophysical Journal, 761, 156. 10.1088/0004-637X/761/2/156
  7. Baumgardt, H., De Marchi, G., & Kroupa, P. (2008). Evidence for primordial mass segregation in globular clusters. The Astrophysical Journal, 685, 247–253. 10.1086/590488