Morris–Thorne Wormhole Physics Lab — by Darion Kellar
Educational traversable-wormhole lab in ONE pure-Python file: the Morris–Thorne metric (1988) with two standard shape functions, the flare-out condition verified numerically, the embedding diagram integrated and matched to its closed form, both redshift functions, the tidal-force comfort bounds, a labelled traversal-time journey, and the exotic-matter ledger the Einstein equations themselves write — the null energy condition is violated at the throat, by geometry.
Pure Python standard library. Zero dependencies. Zero network. Honest scope: no wormhole has ever been observed or built, sustained macroscopic negative energy is unproven physics, and every build / time-travel / FTL / service claim is a permanent HOLD gate (14 total).
Shape functions, audited — Ellis b(r) = r0²/r (b′(r0) = −1) and a linear profile (b′(r0) = −1/2, labelled domain r ≤ 3r0). The flare-out condition b′(r0) < 1 is verified by finite differences (−1.0000 / −0.5000), not just asserted.
Embedding diagram — z(r) integrated by Simpson's rule on a singularity-removing substitution; matches the closed form r0·arcosh(r/r0) to ~1e-13 (z(2r0) = 1.3169579 r0), vertical tangent at the throat.
The Einstein bill — ρ and τ read off the metric: at a 1 m Ellis throat ρ = −4.8157×10⁴² J/m³ and ρ + p_r = −9.6313×10⁴² J/m³. NEC violated — forced by flare-out, not chosen.
Exotic-matter ledger — proper-volume shell integral (r0 → 2r0): −7.05×10²⁶ kg ≈ −0.37 Jupiter masses for a 1 m throat, scaling linearly with r0; characteristic scale c²/G = 1.35×10²⁷ kg per metre.
Ford–Roman check — quantum-inequality timescale at throat density ≈ 3.00×10⁻²⁶ s (labelled estimate) vs the seconds a crossing needs.
Redshift functions — Φ = 0: no redshift, radial tidal exactly zero. Φ = −r0/r: throat redshift z = 1.7183, and the radial tidal becomes the binding constraint. Neither has an event horizon (e^{2Φ} > 0 everywhere).
Tidal comfort bounds — 1 g across a 2 m traveller: minimum throat radius 2.26 m crawling at 5 m/s, 1.354×10⁵ m at 0.001 c, 1.354×10⁶ m at 0.01 c, 1.361×10⁷ m at 0.1 c; with Φ = −r0/r, 1.353×10⁸ m even standing still.
The journey (labelled) — r0 = 10 m, stations 5,000 m out each side, 0.02 c: proper time 1.6675 ms; coordinate time 1.6678 ms (Φ = 0) / 1.6942 ms (Φ = −r0/r). Subluminal local motion throughout.
TinyML kNN classifier — traversable-comfortable / traversable-harsh / non-traversable from (throat radius, tidal g, NEC density); training rows generated from the physics.
Advisory seats — Gemini Carbon 4 DECIDER (names-only, tighten-only, sha256 trace), Muse advisor (can never override HOLD), Google Flow plan-only (rendered = False, live = 0).