Skip to content

Reproducibility & Code Verification

Every numerical calculation, mathematical formalization batch, and visual telemetry record across the Science of Fabric Reality corpus is designed for complete local and independent reproduction.

text
┌─────────────────────────────────────────────────────────────────────────────┐
│                    REPRODUCIBILITY & VERIFICATION STACK                     │
├──────────────────────────────┬───────────────────────────┬──────────────────┤
│ Subsystem                    │ Toolchain / Engine        │ Determinism Gate │
├──────────────────────────────┼───────────────────────────┼──────────────────┤
│ Formal Lean 4 Prover         │ Lake / Lean v4.3.0        │ 0 Compiler Errors│
│ Numerical Simulation Solvers │ Node.js / C++ / WebAssembly│ Bounded U_NUM    │
│ Dual Citation Truth Auditor  │ RFC 8785 JSON Canonical.  │ 0 Hash Drift     │
│ Visual QA Evidence Pipeline  │ Chromium / Puppeteer Core │ 0 Theme Drift    │
└──────────────────────────────┴───────────────────────────┴──────────────────┘

1. Automated Verification Commands

Independent researchers can verify all formal proofs, reader surfaces, and citation records locally from the repository root:

bash
# 1. Verify TypeScript types across the entire application
npm run typecheck

# 2. Execute deterministic reader surface audit (790 files)
node scripts/audit-reader-surface.mjs

# 3. Verify public claim boundaries and epistemic demarcations
node scripts/audit-public-claim-boundaries-v3.mjs

# 4. Audit RFC 8785 JCS canonical metadata hashes and citation sync
node scripts/audit-citations-and-hashes.mjs

# 5. Execute recursive CURRENT reference resolver audit
node scripts/audit-current-resolver.mjs

# 6. Execute full deterministic Fabrica orchestrator verification
npm run fabric:verify

# 7. Compile static documentation bundle
npm run docs:build

2. Formal Proof Verification (Lean 4 Status)

All interactive formalization source files reside in [docs/04-mathematics/lean/](file:///c:/gilc.us.mesh.repos/ivanpasev.com/docs/04-mathematics/lean/).

To audit or build the formalization package:

bash
# Build the formal proof registry
node scripts/build-formal-proof-registry.mjs
text
┌─────────────────────────────────────────────────────────────────────────────┐
│                             LEAN 4 STATUS LEDGER                            │
├──────────────────────────────────────────────────────────────┬──────────────┤
│ Metric                                                       │ Value        │
├──────────────────────────────────────────────────────────────┼──────────────┤
│ Lean Source Modules Discovered                               │ 10 Modules   │
│ Lean Modules Compiling Syntactically                         │ 10 Modules   │
│ Constitutional Axioms (Quarantined in Source)                │ 1 Axiom      │
│ Formal Definitions Type-Checked                              │ 41 Definition│
│ Machine-Verified Theorems (0 sorry, 0 admit)                 │ 26 Theorems  │
│ Active Lean Compilation Failures                             │ 0 Errors     │
└──────────────────────────────────────────────────────────────┴──────────────┘

Epistemic Rule: M4-CHECKED Formalization Standard

The 26 machine-checked theorems in docs/04-mathematics/lean/ are verified under Lean 4.16.0 without sorry stubs or admit markers across the 10 canonical formal modules, satisfying the M4-CHECKED quality gate under Proof Governance. One source-declared axiom (FQFT_closure) remains unverified and quarantined. Prospective physical predictions remain sealed (ACTIVE_P4_SEALS = 0) until independent experimental replication (M5).


3. Reference Atlas & RFC 8785 Canonical Hashing

To ensure immutable provenance, all 19 external reference anchors are hashed using the RFC 8785 JSON Canonicalization Scheme (JCS):

metadataRecordSHA256=sha256:HEX(SHA-256(JCS(record)))

To recompute and verify all 5 reference atlases:

bash
node scripts/build-reference-registries.mjs
node scripts/audit-citations-and-hashes.mjs

4. Visual QA & Screen Telemetry Epochs

Visual evidence is captured in immutable, versioned epochs using Chromium-based headless telemetry.

  • Active Epoch: omega284g-r1b9a (28 page frames PASS, 16 figure frames PASS).
  • Manifests: Available in reports/current/visual-qa/epochs/omega284g-r1b9a/.

5. Canonical Continuations

DirectionTarget ResourcePurpose
Results LedgerScientific Results Ledger →26 machine-verified Lean 4 theorems and negative null benchmark (pnull=0.62)
Formal ProofsFormalization Batch 1 Specifications →Direct Lean 4 code specifications across all 10 verified modules
Proof RoadmapLean 4 Formalization Roadmap →26 machine-verified theorem records and lemma dependency DAGs
Simulation LabDiscrete Simulation Atlas →High-order finite-difference solvers, null tests (pnull=0.62), and receipts
Open ProblemsOpen Problems & Frontiers →Unresolved challenges, non-perturbative limits, and reflection positivity
Review PortalSFR Review Portal & Peer Critique →Independent critique tracks and claim challenge submission
ReferencesReference Atlas & Bibliographic Authority →19 RFC 8785 JCS hashed external reference anchors