Commit graph

4 commits

Author SHA1 Message Date
Brandon Schneider
9e5f406096 feat(lean): add PhiNUVMAP — golden-ratio fractal 16D coordinate system
PhiNUVMAP lifts NUVMAP into a 16D golden-ratio-scaled fractal space:

- phiQ16_16 ≈ 4181/2584 (Fibonacci ratio, error < 10⁻⁹)
- phiInvQ16_16 = φ⁻¹ for exact golden contraction
- 16D vector ops: add, sub, scale, zero
- PhiNUVMAP structure: center + coords + scaleLevel + spectralMode
- Golden contraction law: s' = c + φ⁻¹·(s-c)
- Fractal zoom: zoom in (×φ) / zoom out (×φ⁻¹) by level
- Tree-to-16D projection: TreeDIAT → 16D φ-NUVMAP state
- 16D chaos game with φ-contraction and deterministic perturbation
- 13 #eval! witnesses: φ·φ⁻¹≈1, φ²=φ+1, contraction, zoom, tree projection,
  chaos game convergence

Build: lake build Semantics.PistSimulation = 3309 jobs green.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-21 00:29:27 -05:00
Brandon Schneider
fcc3f12a7b feat(lean): add TreeDIAT prototype to PistSimulation.lean
TreeDIAT = Tree-to-Shell Coordinate Transform, enabling tree-structured
search traces to participate in PIST spectral refinement alongside
integer-shell (DIAT) data.

Components:
- TreeNode inductive type (binary tree with Nat labels)
- treeMetrics: O(n) extraction of depth, leafCount, nodeCount, maxLabel
- TreeDIAT structure: feature vector packed into Q16_16 space
- treeDIATEmbeddingScore: heuristic bushy=embeddable, stringy=not
- treeDIATToChaosState: project tree features into 3D chaos-game space
- treeSequenceRegime: classify tree sequences by Kruskal-bound proximity
- 14 #eval! witnesses on bushy/balanced/stringy fixtures

Build: lake build Semantics.PistSimulation = 3309 jobs green.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-20 23:56:33 -05:00
Brandon Schneider
cb84219ebc feat(lean): inline spectral refinement kernel into PistSimulation.lean
Port the Gauss-Jordan LSQ spectral pipeline from the cascade stash
into a self-contained, policy-clean module:

- BraggPeak, MagneticDomain, pseudoVoigtQ16, chiSqWindow inlined
  as pure Q16_16 types (no Float, no string fields in compute paths)
- MagneticRegime inductive type replaces string-based regime classification
- QuadraticPacket with vertex-form (a, h, k, Δ, width, χ²)
- MatrixPacket with Gram matrix G=AᵀA, det3, rank3, trace3, spectral placeholder
- ChaosState + chaosConverge affine IFS contraction loop (converges in 5 steps)
- 13 #eval! witnesses passing on synthetic 8-bin fixture
- Removes dependency on deleted Astrophysics modules

Build: lake build Semantics = 3541 jobs green.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-20 23:48:32 -05:00
Brandon Schneider
8fbeb4e9ba initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00