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 () | Discrete 0/1 decisions; gradient with respect to is zero almost everywhere |
Variable cardinality | Number of survivors is stochastic; array shapes change per realisation, breaking JIT |
Hard sphere rejection | cuts produce discontinuous boundaries |
Subsampling to |
|
Recursive tree control flow |
|
For pure forward Monte Carlo, GW04 is fine. For gradient-based inference,
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:
The Cartwright & Whitworth (2004) Q parameter (JAX-native CW04 substructure Q parameter).
Azimuthal density variation , with Küpper et al., 2011.
Two-point correlation function (rarely used directly).
Any generator that reproduces the same 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
with for incompressible Kolmogorov turbulence, for highly compressible Burgers turbulence, and –4.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 and its CW04 signature¶
The observational handle on fractal substructure is the relationship between the Goodwin & Whitworth (2004) fractal dimension and the Cartwright & Whitworth (2004) parameter: lower (more hierarchical clumping) gives lower ; a uniform sphere sits at . Representative anchors (Plummer base, ):
Illustrative fractal-dimension ladder (schematic anchors, not Cartwright 2004 Table 1 rows).
(illustrative) | ||
|---|---|---|
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
-vs- trend, not fresh output and not verbatim
Cartwright & Whitworth (2004) Table 1 values — that table tabulates
at
(3-D box-fractal models projected to 2-D,
). What progenax’s CW04 estimator is
quantitatively validated against is the Cartwright & Whitworth (2004)
uniform-sphere anchor (reproduced to ; see
JAX-native CW04 substructure Q parameter). The
experimental gravoturb package’s headline calibration reproduces
the direction of this ladder — 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 (,
where — 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 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¶
In code: the GW04/FDF generator was removed and has no released successor; what survives in released progenax is the diagnostic —
src/progenax/diagnostics/substructure.py(compute_q_parameter) andsrc/progenax/diagnostics/q_approx.py(the differentiable kNN approximation). See the diagnostics API and the JAX-native substructure- design. Turbulent-density ICs now live in the experimental, repo-onlysrc/experimental/gravoturb/package.Validated in: fractal substructure (the CW04 uniform-sphere anchor ).
Primary sources: the GW04 baseline is Goodwin & Whitworth (2004); the substructure diagnostic is Cartwright & Whitworth (2004) ( parameter) with the azimuthal-variation relation from Küpper et al. (2011); the turbulent-fragmentation picture follows Federrath & Klessen (2012) and Kritsuk et al. (2011); the cool-fractal dynamical-segregation pathway is Allison et al. (2009) and the primordially-segregated comparison case Baumgardt et al. (2008). Full notes in the bibliography.
- 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
- 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
- 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
- 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
- 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
- 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
- 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