Commit graph

2 commits

Author SHA1 Message Date
b6a4cf9e4d feat(ingest): Landauer + Shannon entropy density check via rgflow
Density now measured by information-theoretic bounds, not just counts:

Shannon entropy H = -Σ p(x) log₂ p(x) over equation symbol distribution
  - Higher H = more informational diversity = denser content
  - RG flow bound: H < ln(2⁸) ≈ 2.08 for 8-strand representation

Landauer cost E = N·kT·ln(2) where N = distinct math tokens
  - Each distinct symbol requires erasing energy
  - kT = 0.025 eV at 290K → ~0.017 eV per bit

Density levels:
  THERMODYNAMIC_SATURATION: both Shannon + Landauer exceed bounds
  SHANNON_SATURATED: entropy > rgflow fixed-point
  LANDAUER_EXPENSIVE: energy cost too high
  COUNT_EXCEEDED: simple count threshold
2026-06-30 20:51:17 -05:00
6f27ee7b47 feat(ingest): Rust equation ingestion pipeline — Markdown → Parse → Classify → Compute
rust/src/bin/ingest.rs:
  - Parses $\LaTeX$ equations from .md files (block 602556 and inline $)
  - Classifies as spectral/braid/cartan/unknown via keyword detection
  - Density check: pauses at >20 equations or >5 unknowns
  - Computes spectral fingerprint (σ, τ, ∆, λ_min, λ_max) via character transform
  - Emits receipt.json with full results
  - Writes .decision.md for user review when too dense

Rust CLI, zero-float spectral computation, serde JSON output.

Cargo.toml: added regex + serde dependencies.
2026-06-30 20:48:20 -05:00