Skip to content

docs(four-laws): canonical first-principles rewrite (Phase 2) - #645

Merged
martyn merged 2 commits into
research/four-lawsfrom
research/fl-phase2-docs
Nov 24, 2026
Merged

martyn merged 2 commits into
research/four-lawsfrom
research/fl-phase2-docs

Conversation

@martyn

@martyn martyn commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Complete first-principles canonical rewrite of docs/four-laws.md grounded in the P0–P10 adversarial audit (p10-synthesis-and-ledger.md) and reconciled with concurrent origin/develop (PR #644 unified_v13 / feydy_atomic).

Strictly 1 owned file modified: docs/four-laws.md (0 edits to particlegan/, reports/, tests/, or scripts/).

Structural & Scientific Coverage

  • Section 1 (Preamble, Scope & Epistemic Governance): Explicit implementation-independence, single-seed (seed = 0), synthetic-distribution, architecture-dependence, 68-card (69 incl. opt-in unified-v13) / 78.27 GPU-h selection history, BLOCKED calibration & governance drift disclosure, open non-frozen Forge posture, and Overview Table.
  • Section 2 (All Four Laws in Exact 9-Subsection Formal Structure): Statement, Motivation, Mathematical Formulation, Established Results (Prior Literature vs. ParticleGAN), Demonstrated Failure Mechanisms, Operational Criteria (with explicit proxy != proof warning), Falsification Criteria (unnecessary / insufficient / too broad / other law), Known Implementation Mechanisms (strictly separated from the law), and Open Questions:
    • Law 1 (Representational Geometry): Exact compact disconnected support ($D_{\mathrm{KL}} = +\infty$) vs. $W_1/W_2/\mathrm{TV}/\mathrm{MMD}$ approximation and sharp dimension-free Borell–TIS bounds; GAN-independent Sinkhorn division of labor (P7); adaptive prior overhead & continuous-manifold granularity; opt-in feydy_atomic discrete coupling (unified_v13, PR feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644).
    • Law 2 (Potential Geometry): Reverse-over-forward (fwAD) exact mixed 2nd-order derivatives ($\partial^2 D / \partial\psi\partial x$) vs. eliminating create_graph=True RoR graphs; Cheap Gradient scaling crossover (3.64× / -66.4% energy win on 256² Conv2d vs. RoR wins on MLPs, 32²–64², ResNet+GN, $K \ge 4$, SDPA); opposite-signed Jensen bias & BF16 micro-secant collapse; strict separation of Law 2 geometric regularity from Law 4.5 equilibrium dissipation ($\mu_D > 0$).
    • Law 3 (Transport Identifiability — 3A & 3B): Channel-specific $W_1$ ray-length & beyond-horizon non-identifiability (never overclaiming scalar potentials are insufficient; citing $W_2$ Brenier explicitly), refutation of 3×3 triple dissociation, orthogonal conditional drift–variance & generalized midpoint law (3B), and provably globally 0.25-Lipschitz G = Id controls (P2).
    • Law 4 (Functional and Game Dynamics — 4.1–4.5 with P0–P10 Numbering Crosswalk): 4.1 Functional Realization (P4), 4.2 Spectral Conditioning (P0 rank/Shampoo/NS/BF16 + P5 pathology-driven asymmetry & Frobenius–Spectral Dilemma), 4.3 Update Control (P3 Kreiss + P4 backtracking & probe blind spots), 4.4 Scale and Settling (P1 Memoryless Impossibility, fixed-$\varepsilon$ band, stateful trajectory degree-0 & non-magnitude obstructions), 4.5 Coupled Game Dynamics (P3 A1/A2/A3/B sufficiency falsification, hidden $\mu_D > 0$, 1:1 alternation, Schur–Cohn momentum ceiling, OGDA $\lambda=0.5$ neutral boundary, without elevating R1 to a universal requirement, plus explicit Boundedness / Local Stability / Asymptotic / Global / Non-Stationary regime table).
  • Section 3 (Relationships Between the Laws): Unifying metric-mismatch theme & honest non-unification limits, 5 explicit cross-law leaks (Mermaid diagram), compensation confound (Regime B2), multi-law mechanisms, honest assessment of "4", and missing assumptions for sufficiency (no manufactured sufficiency theorem).
  • Section 4 (Energy-Optimal Learning): Expected energy $\mathbb{E}[\mathcal{E}(A, \mathcal{T}; Q, \delta)]$ with reliability & failure/shift amortization, all 9 energy categories, critical non-lower-bound evaluation, and function-first reframing of regularization/conditioning elimination.
  • Section 5–6 (Implementation Separation, Verified Receipts & Companion Links): Mechanism-to-Law table; verified receipt table separating committed Forge readouts (43/43 linked, incl. all 4 unified-v12 readouts), PR feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644 unified-v13 study (including PyTorch 2.15.0 bimodal DDGAN cohort disclosure), NVML micro-benchmarks, and uncommitted Phase-4 observations; post-PR-feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644 LOC (8,579 / 7,091) & shifted file:line coordinates from ci-sync break: img_dof_center_edge2 transpose12 FAIL vs residual16 PASS #71; links to all 4 Phase-2 companion files + p0–p10.

Verification

  • 4 × 9 subsections verified programmatically.
  • audit_four_laws_links: 134 local links, 43/43 unique committed readouts (0 missing, incl. b51ab67c, c1ee5c3b, 624964f4, 59898e1a), 0 unexpected broken links (only the 4 agreed parallel Phase-2 companion files + 2 PR feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644 files verified present on origin/develop).
  • 0 broken markdown heading anchors; 0 GFM table pipe mismatches; 0 \| inside GFM table cells.
  • scripts/check_lint.py: 0 new findings (294 baseline).
  • scripts/check_repo_bloat.py: 0 new violations.

@martyn martyn added the research Scientific research and mathematical audit label Nov 24, 2026
@martyn
martyn merged commit 5ed805a into research/four-laws Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

research Scientific research and mathematical audit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant