Skip to content

research(four-laws): Mathematical Audit, Canonical Formalization & Phase-2 Integration - #633

Merged
martyn merged 41 commits into
developfrom
research/four-laws
Nov 24, 2026
Merged

martyn merged 41 commits into
developfrom
research/four-laws

Conversation

@martyn

@martyn martyn commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Complete Phase-1 mathematical audit (P0–P10, PRs #634–#643) and Phase-2 canonical research integration & formalization (PRs #645–#647) of ParticleGAN's Four Laws of Adversarial Generative Learning, cleanly reconciled with concurrent develop (PR #644, opt-in unified_v13 / feydy_atomic).

Governance & Scope Guarantees

  • Zero production code or receipt mutations: 0 changes to particlegan/ and 0 changes to immutable Forge receipts (reports/forge/records/*.json); PR #644 (unified_v13 / feydy_atomic ByteGAN bijection) preserved 100% intact (origin/develop 36e287f98 is an ancestor of HEAD).
  • Open-Forge principle preserved: Forge remains an open, evolving discovery benchmark — this PR does not freeze Forge tasks, thresholds, or seeds, does not remove difficult tests, and does not declare any recipe scientifically qualified.

Key Deliverables

  1. Canonical Implementation-Independent Theory (docs/four-laws.md):
    • Complete first-principles rewrite: every Law (1, 2, 3A/3B, 4.1–4.5) follows the exact 9-subsection formal specification (Statement, Motivation, Mathematical Formulation, Established Results [Prior Lit vs. ParticleGAN], Demonstrated Failure Mechanisms, Operational Criteria, Falsification Criteria, Known Implementation Mechanisms, Open Questions).
    • Explicitly separates concrete mechanisms (Newton–Schulz, R1/BI/fwAD, Laguerre, pushforward trust, macro orphan rescue, peak_rms, CondFiberBank, feydy_atomic) from the underlying laws, formalizes Energy-Optimal Learning across all 9 energy categories, reconciles unified_v11/v12/v13/minimal receipts & cohort disclosures, and repairs all pre-audit errors and broken links.
  2. Phase-2 Bedrock Companion Documents (reports/four-laws-audit/):
    • integration-report.md — Executive synthesis answering all 8 required Section-10 questions (what we know, what was falsified, what remains conjectural, what current code accomplishes and fails, 10 quantitative falsifiable predictions, 7 algorithm-family design principles, and merge readiness).
    • evidence-ledger-and-revisions.md — Canonical 53-claim Evidence Ledger under the exact 10-category Section-6 taxonomy (1-to-1 traceable to all 83 Phase-1 claims), 5-axis Epistemic Limitations Matrix, REV-01..REV-17 Claim Revision Record, and 5-part Mechanism-to-Law Separation Catalog.
    • research-backlog-and-forge-proposals.md — Open-Forge governance banner, prioritized discriminating probes (E1–E11), open proof opportunities (O1–O7), GPU studies (G1–G6), strictly decoupled P0–P3 code-defect backlog (D-01..D-13 with post-PR-feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644 file:line), 10 proposed Open-Forge falsification probes, redundancy audit, and 10 sharper observables.
    • ci-and-consistency-check.md — Concurrent develop (PR #644) reconciliation, cross-report contradiction log, and full CPU-only .github/workflows/tests.yml CI parity report.
    • README.md — Master navigation index linking canonical bedrock, Phase-2 documents, all 11 Phase-1 tracks (p0–p10), 9 scripts, and 9 automated test suites.
  3. Phase-1 Domain Tracks, Scripts & Automated Proofs:
    • reports/four-laws-audit/p0..p10, scripts/four_laws_audit/p0..p9, tests/four_laws_audit/test_p0..p9, and RESEARCH_GLOSSARY.md broken link fix (L48).

Final Pre-Merge Verification (046c82a82)

  • git merge-base --is-ancestor origin/develop HEAD: YES (36e287f98 preserved)
  • git diff --name-only origin/develop..HEAD: 0 edits to particlegan/ or reports/forge/records/*.json (36 authorized files)
  • scripts/check_lint.py: PASS (294 baseline, 0 additions)
  • scripts/check_repo_bloat.py: PASS (0 new violations)
  • CUDA_VISIBLE_DEVICES="" OMP_NUM_THREADS=1 MKL_NUM_THREADS=1 pytest -v -o faulthandler_timeout=600 tests/four_laws_audit/ tests/test_unified_bytegan.py: 102 passed, 1 deselected (440.93 s, max single test 218.31 s < 600 s)
  • pytest -q tests/test_docs_links.py tests/e2e/test_repository_hygiene.py tests/test_forge_current_technique_inventory.py tests/test_publication_integrity.py: 179 passed (87.18 s)
  • scripts/ci_pytest.py 8-shard check: PASS (9,755 CPU tests assigned exactly once across 8 shards; 528 CUDA deselected)
  • Link, anchor & GFM table audit (docs/four-laws.md + 16 reports/four-laws-audit/*.md): 1,194 prose links, 0 broken, 0 bad anchors, 0 GFM table errors on canonical/Phase-2/P10/README

@martyn martyn added the research Scientific research and mathematical audit label Nov 24, 2026
P0 Audit: Law 4.3 Exact vs Effective Rank, Scaling Invariance & Newton-Schulz
audit(four-laws): P8 qualification/overfitting & P9 receipt/efficiency/Occam audit
research(four-laws): P1 adversarial audit of Law 4.2 (scale invariance vs continuous settling)
research(four-laws-audit): P3 joint game dynamics & 4-Laws counterexamples
research(four-laws): P2 audit of Law 3 identifiability and analytic 1-Lipschitz controls
…ficiency, gamma^5 scaling, Table 3.2B, and taxonomy hygiene
P6: Law 2 Autodiff, Mixed Derivatives, Bias-Variance & Scaling Audit
audit(four-laws): P4 function-space optimization generality beyond GANs
…-general LTV, minimal L70, bit-exact Exp 2D & exact diff)
P7 Law 1 Audit: Measure/Prior Topology, Invariants & Non-Adversarial Division of Labor
Phase-2: Sync origin/develop (PR #644), CPU-only CI parity & P0-P10 consistency audit
docs(four-laws): canonical first-principles rewrite (Phase 2)
docs(four-laws): Phase-2 Evidence Ledger, Research Backlog, Integration Report & Audit Index
@martyn
martyn marked this pull request as ready for review November 24, 2026 16:13
@martyn martyn changed the title research: Mathematical Audit and Investigation of the Four Laws research(four-laws): Mathematical Audit, Canonical Formalization & Phase-2 Integration Nov 24, 2026
@martyn
martyn merged commit fd1ddd6 into develop Nov 24, 2026
4 checks passed
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