This page is for research astronomers deciding whether — and how — to use progenax. It answers three questions: what science the package enables, exactly which models are implemented and in what regime each is valid, and what the package deliberately does not do. Every claim on this page traces to a named validation test with a measured number; the validation dashboard is the ledger.
What progenax is for¶
progenax generates initial conditions for N-body simulations — but the
point of the package is that the IC generator is differentiable
end-to-end. Every structural parameter (half-mass radius, King
concentration , truncation shape , equipartition exponent
, anisotropy radius , IMF slope) supports
jax.grad through construction and sampling
(differentiability rules;
AD-vs-FD evidence).
That turns initial conditions from a preprocessing step into a
likelihood component: you can place a cluster model inside a
posterior, run HMC or gradient descent over its structural parameters
against star-count, dispersion, or photometric data, and let the
sampler — not a by-hand grid — explore the model family. The
gradient demo and the
-fit recipe show the
mechanics.
The second pillar is true equilibria, with no virial-rescale crutches. Every released DF is sampled in detailed equilibrium — the lowered-Maxwellian King DF, the Eddington-inverted EFF DF, the coupled multi-component models — and the virial ratio emerges from the DF rather than being imposed by rescaling velocities afterwards. For multi-component systems this is not a nicety: a global rescale provably cannot fix a multi-population IC (it moves every individually-correct component away from its own equilibrium — the physics bug that retired progenax’s legacy two-component generator; see the per-component-equilibrium principle). Controlled numerical experiments — relaxation, mass segregation, dissolution — start from ICs whose equilibrium is proven by exact-quadrature oracles, so any subsequent evolution is physics, not initialization transient.
Third, progenax is the IC stage of an end-to-end differentiable forward-modeling chain for survey-era (LSST/Gaia/HST) cluster science: progenax ICs → gravax N-body integration and pixel-level rendering → likelihood against observed images or catalogs, with gradients flowing the whole way back to the IC parameters.
The model inventory, with validity regimes¶
Single-component profiles and velocity DFs¶
Model | Regime | Validated (measured) |
|---|---|---|
Plummer Plummer, 1911 — exact ergodic | Cored, untruncated systems; the canonical analytic test bed | Sampled unscaled; defining condition anchored (evidence) |
King King, 1966 — lowered-Maxwellian DF, self-consistent tidal truncation | Relaxed, tidally truncated clusters (Galactic globulars) | vs King (1966) Table II: max over –15; volume density vs independent moment oracle ; unscaled (evidence) |
EFF Elson et al., 1987 — power-law envelope , Eddington-inverted DF | Young massive clusters with shallow untruncated envelopes (LMC/SMC clusters, in the 3-D slope convention); mild truncation | reduces to Plummer exactly (max rel ); asymptotic slope to 1%; Eddington-DF unscaled (evidence) |
Michie–King Michie, 1963 — self-consistent radially anisotropic lowered DF | Anisotropic relaxed clusters; radially biased halos | vs the DF’s own second-moment oracle: max dev 0.027; isotropic limit recovers King to (evidence) |
Osipkov–Merritt anisotropy Merritt, 1985 (Plummer/EFF
| Imposed when the anisotropy profile is the model | OM realized exactly via the Merritt velocity stretch (evidence) |
Rotation (solid-body, differential) — additive streaming transforms | Rotating clusters; composable with any DF above | Streaming and angular-momentum budget verified exactly (additive transform, no scatter noise) (evidence) |
A physically instructive contrast the suite makes explicit: the Michie–King DF is not a function of the single OM integral , so its self-consistent sits below the OM ceiling and returns toward isotropy at the tidal boundary — the suppressed- finding. If your science targets the anisotropy profile itself, that distinction chooses your model for you.
Multimass Engine A — the differentiable lowered-isothermal (LIMEPY) family¶
Engine A of
MultiComponentCluster implements the Gieles & Zocchi (2015) family
natively in JAX: one continuous truncation parameter spans
Woolley () → King () → Wilson (), each of mass
components rides one shared self-consistent potential with its own
velocity-scale ratio , mass segregation is the built-in
equipartition law , and each component can carry
its own Michie/OM anisotropy radius.
Regimes: Galactic globular clusters and other relaxed, tidally truncated systems; mass-segregated multi-mass clusters; partial equipartition studies ( standard); GC 1G/2G and binaries-vs-singles decompositions via directly.
Equilibrium proven: exact-quadrature oracle reads per-component –0.5002 across ; sampled global –0.500 unscaled; per-component matches the analytic DF moment to across resolved bins (evidence).
Differentiable structural inference: the full parameter vector is differentiable through the coupled Poisson solve and the samplers — AD vs finite differences to , with itself a fitted quantity.
Performance: DF tables make sampling practical at survey scale — 67× (isotropic) and 21.7× (anisotropic) faster speed draws at , every approximation budget-asserted against the retained exact-quadrature oracle (density , speed moments /).
Multimass Engine B — density-defined Eddington equilibria¶
Engine B starts from prescribed densities: Plummer/EFF/King density shapes with mass fractions, one shared potential from a single quadrature pass, and each component’s DF recovered by Eddington inversion in that shared potential — optionally with per-component OM anisotropy.
Regimes: observed multi-population decompositions (surface-brightness halo+core fits, literature profiles taken verbatim), where the density — not a DF family — is the input.
Realizability as physics: Eddington inversion yields the unique candidate ; if it is negative anywhere, the prescribed decomposition has no joint equilibrium, and Engine B refuses, naming the component and the remedy. This is a falsifiable test, not an error message: the originally drafted halo+core example ( inside a Plummer halo) is genuinely unrealizable (, resolution-independent), with the realizability boundary measured between and 0.68 (worked example).
Equilibrium proven: theory ; sampled global at , unscaled; Plummer analytic oracle to (evidence).
Hard-truncation caveat, quantified: a sharply truncated prescribed density carries an edge offset no ergodic can represent, so the truncated component’s sampled plateaus slightly below 0.5 — and Engine B predicts the plateau (predicted 0.4953, sampled over 18 seeds). The deviation is gated against the prediction, never rescaled away.
The two engines overlap at exactly one configuration — a single King component — and that overlap is the cross-engine trust anchor: two fully independent codepaths (coupled ODE + lowered-DF sampling vs. quadrature potential + Eddington inversion) agree to a radial KS distance of and .
IMFs and binary populations¶
Capability | Regime / scope | Validated (measured) |
|---|---|---|
Canonical IMFs — Salpeter, Kroupa, Chabrier, Maschberger, truncated power law Salpeter, 1955Kroupa, 2001Chabrier, 2003Maschberger, 2013 | Single-star birth-mass distributions; Maschberger is the smooth analytically invertible choice for inference | KS goodness-of-fit and recovered vs truth (evidence) |
Environment-dependent IMF — Marks et al. (2012) cluster-scale variation + Jeřábková et al. (2018) IGIMF | IMF as a function of birth density and metallicity | evidence; segment-conversion documented at Environment-dependent IMFs |
Binary statistics — Moe & Di Stefano (2017) joint ––
interrelation ( | Field-calibrated multiplicity; the non-separable –– coupling is sampled jointly, not as independent marginals | Moe+17 sampler vs implemented PDF: KS ; twin fraction from 1 to (evidence) |
Binary-aware IMF recovery | Inference from unresolved system masses at survey | The headline: a naive single-star fit at recovers against a true 2.30 — 17.8σ confidently wrong — while the binary-aware marginalised likelihood recovers () |
Binary→spatial connector + energy budgets | Resolved component positions/velocities for collisional N-body; COM-virialised per the McLuster convention Küpper et al., 2011 | Kepler III exact to machine precision; orbital energy
; |
Substructure and segregation diagnostics¶
CW04 Cartwright & Whitworth, 2004 (
compute_q_parameter, exact MST estimator) plus the differentiable kNNq_approx— separates centrally concentrated () from substructured () clusters; uniform-sphere and Table-1 anchors verified (evidence).Allison et al., 2009 validated against analytic ground truth (realistic segregated regime , against the observed ONC-like range), plus three differentiable segregation observables (soft , radial concentration, –) that converge to their exact estimators in the hard limit (to 10-11–) and come Fisher-information-ranked: radial concentration carries vs 132 (soft ) and 143 (–) at the tested operating point — autodiff-exact identifiability guidance for which observable to infer with, including 2D-projection information loss (evidence).
Primordial vs equilibrium segregation, as separate labeled routes:
energy_sorted_segregation(Baumgardt et al. (2008)-style energy-ranked, explicitly non-equilibrium/primordial) vs Engine A’sfrom_mass_segregation(segregation as a true equilibrium) — see Mass segregation.Tidal truncation — the Jacobi radius reproduces the restricted three-body L1 point across seven decades in mass ratio (residual for a Galactic globular), differentiable in the truncation radius (evidence).
Analytical anchors¶
Exact-solution IC builders for integrator validation: the two-body Kepler ellipse ( to machine precision, closes to 10-7), the Chenciner–Montgomery figure-eight (exactly , closes to ), the eight-planet solar system (Kepler III vs observed sidereal periods to 0.7%), and the harmonic oscillator (evidence). These exist so that when you hand progenax ICs to an integrator, you can first prove the integrator against ICs whose evolution is known exactly.
Twelve concrete science questions¶
Each question maps to a documented, validated capability — no entry here outruns the test suite.
Research question | Capability (page) |
|---|---|
What are the joint posteriors of for a Galactic globular from HST/Gaia star counts — with the truncation shape a fitted parameter (King-vs-Wilson as a posterior, not a modelling choice)? | Engine A differentiable structural inference (lowered-model family) |
Do two chemically distinct GC populations (1G/2G), each with its own concentration and kinematics, admit a joint dynamical equilibrium in one shared potential? | Engine A |
Is an observed halo+core surface-brightness decomposition dynamically realizable at all — and at what core scale does the answer flip? (Realizability as a falsifiable test.) | Engine B gate, boundary measured to in the headline example (Eddington engine) |
What degree of equipartition does a cluster’s per-mass-group velocity dispersion imply, fitted by gradient rather than by model grid? | Engine A , differentiable in (evidence) |
Is an observed mass-segregation signal primordial or dynamical? Compare a primordial-segregated IC and an equilibrium-segregated IC at matched , then evolve both. | The two labeled segregation routes (mass segregation)
|
Which segregation observable should a survey invest in — and how much of the signal survives sky projection? | Fisher-ranked differentiable observables; 2D/3D information ratios (evidence) |
How badly do unresolved binaries bias an IMF slope measured from system masses, and does a binary-aware likelihood remove the bias at survey ? | The 17.8σ “confidently wrong” result + 0.4σ binary-aware recovery (evidence; theory) |
What were the initial conditions of LMC/SMC young massive clusters with shallow EFF envelopes — sampled in true Eddington equilibrium rather than with a Maxwellian approximation? | EFF profile + Eddington DF, -truncation regime (theory; evidence) |
What anisotropy radius do proper-motion dispersion profiles imply — and does the data prefer the self-consistent (suppressed-) Michie model or an imposed OM profile? | Michie–King vs OM contrast (evidence; rotation & anisotropy) |
How does a cluster on a given Galactic orbit dissolve? Build a tidally truncated equilibrium IC, hand off to gravax, and forecast mass loss. | Jacobi radius + |
Does birth environment (cluster density, metallicity) imprint on the IMF in resolved-cluster data? | |
Can cluster structural parameters be inferred from LSST crowded-field pixels directly, with gradients end-to-end through IC → N-body → rendered image? | progenax differentiable ICs (differentiability) + gravax integration/rendering — an ecosystem workflow; the rendering stage lives in gravax, not progenax |
What progenax does not do (honest scope)¶
Why you can trust the numbers¶
progenax’s persuasion strategy is measured numbers, not adjectives. The released core carries a four-figure test suite spanning unit, integration, and physics-validation tiers (see the test dashboard for the live count), and the validation tier is built on three habits worth knowing before you rely on the package:
Independent oracles. Equilibrium claims are proven by exact-quadrature oracles deliberately independent of the sampled draws (and of the DF-table approximations they check); sampled clusters are verified unscaled.
A cross-engine anchor. The one configuration both multimass engines describe — a single King component — agrees through two fully disjoint numerical pipelines at the 10-4 level.
Anchors on defining conditions, not derived constants — the pattern that has empirically caught transcription, inversion, and differentiability regressions (methodology).
Differentiability is what converts all of this into scientific leverage: when the IC pipeline is a likelihood component, the same validated physics that generates your simulation’s also computes for your posterior — exactly, by autodiff, through the same code path the forward model uses.
- Plummer, H. C. (1911). On the problem of distribution in globular star clusters. Monthly Notices of the Royal Astronomical Society, 71, 460–470. 10.1093/mnras/71.5.460
- King, I. R. (1966). The structure of star clusters. III. Some simple dynamical models. The Astronomical Journal, 71, 64–75. 10.1086/109857
- Elson, R. A. W., Fall, S. M., & Freeman, K. C. (1987). The structure of young star clusters in the Large Magellanic Cloud. The Astrophysical Journal, 323, 54–78. 10.1086/165807
- Michie, R. W. (1963). On the distribution of high energy stars in spherical stellar systems. Monthly Notices of the Royal Astronomical Society, 125, 127–139. 10.1093/mnras/125.2.127
- Merritt, D. (1985). Spherical stellar systems with spheroidal velocity distributions. The Astronomical Journal, 90, 1027–1037. 10.1086/113810
- Gieles, M., & Zocchi, A. (2015). A family of lowered isothermal models. Monthly Notices of the Royal Astronomical Society, 454, 576–592. 10.1093/mnras/stv1848
- Salpeter, E. E. (1955). The luminosity function and stellar evolution. The Astrophysical Journal, 121, 161–167. 10.1086/145971
- Kroupa, P. (2001). On the variation of the initial mass function. Monthly Notices of the Royal Astronomical Society, 322, 231–246. 10.1046/j.1365-8711.2001.04022.x
- Chabrier, G. (2003). Galactic stellar and substellar initial mass function. Publications of the Astronomical Society of the Pacific, 115, 763–795. 10.1086/376392
- Maschberger, T. (2013). On the function describing the stellar initial mass function. Monthly Notices of the Royal Astronomical Society, 429, 1725–1733. 10.1093/mnras/sts479
- Marks, M., Kroupa, P., Dabringhausen, J., & Pawlowski, M. S. (2012). Evidence for top-heavy stellar initial mass functions with increasing density and decreasing metallicity. Monthly Notices of the Royal Astronomical Society, 422, 2246–2254. 10.1111/j.1365-2966.2012.20767.x
- Jeřábková, T., Kroupa, P., Dabringhausen, J., Hilker, M., & Bekki, K. (2018). Impact of metallicity and star formation rate on the time-dependent, galaxy-wide stellar initial mass function. Astronomy and Astrophysics, 620, A39. 10.1051/0004-6361/201833055
- Moe, M., & Di Stefano, R. (2017). Mind your Ps and Qs: The interrelation between period (P) and mass-ratio (Q) distributions of binary stars. The Astrophysical Journal Supplement Series, 230, 15. 10.3847/1538-4365/aa6fb6
- Sana, H., de Mink, S. E., de Koter, A., Langer, N., Evans, C. J., Gieles, M., Gosset, E., Izzard, R. G., Le Bouquin, J.-B., & Schneider, F. R. N. (2012). Binary interaction dominates the evolution of massive stars. Science, 337, 444–446. 10.1126/science.1223344
- 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