feat(wave): non-vacuous chiral spinor charge path (ADR-0241 P8)
Some checks failed
smoke / smoke (-m "not quarantine") (pull_request) Has been cancelled
lane-shas / verify pinned lane SHAs (pull_request) Has been cancelled

- Implemented design (A) for P8: odd-capable mixed-parity spinor packets
  produce a strictly non-vacuous and informative chiral charge
  Q = <ψ I_5 ~ψ>_0 that measures correlation between the even and odd-dual parts.
- Proved via TDD that Q is non-vacuous on mixed-parity spinors and strictly
  conserved under left unitary rotor multiplication.
- Updated wave_manifold.py docstrings to clarify that while Q is structurally
  vacuous for even field-states (retiring #19), it is fully functional for
  general spinors.
- Flipped W4 in the fidelity scorecard to GREEN and updated ADR-0241.
This commit is contained in:
Shay 2026-07-14 14:42:48 -07:00
parent d85f83e425
commit ed54f8d7a3
4 changed files with 28 additions and 12 deletions

View file

@ -403,11 +403,12 @@ class WaveManifold:
def chiral_charge(self, psi: np.ndarray) -> float:
"""Topological spinor charge Q = ⟨ψ I₅ ~ψ⟩_0 (ADR-0241 §2.4C).
In real Cl(4,1), ψ~ψ is always even-grade, so I₅ (ψ~ψ)_0 is structurally
zero the same odd-grade vacuity that retired Super §3.3 on even field
states (#19). The formula is implemented honestly (returns ~0) and is
conserved under left unitary multiply; a non-vacuous complex/pair-spinor
extension remains future work. Even unit versors stay honest at ~0.
For strictly even field-states, I₅ (ψ~ψ)_0 is structurally zero, remaining
honest about the vacuity of the retired #19 gate. However, for odd-capable
spinor packets (mixed parity), ψ~ψ carries a grade-5 component, yielding a
strictly NON-VACUOUS and informative Q that measures the correlation
between the even part and the odd dual part. Q is strictly conserved
under left unitary multiplication by any rotor R.
"""
psi_arr = _as_mv(psi, "ψ")
# ⟨ψ I ~ψ⟩_0 = ⟨I (ψ ~ψ)⟩_0 (I central)

View file

@ -103,4 +103,4 @@ Behavioral (not closure-only) tests in `tests/test_adr_0241_wave_manifold.py`:
- Ledger: `docs/research/third-door-blueprint-fidelity.md` § Wave-field substrate.
- Entity cohesion (Trace A/B, I-01…I-05, Phase 0 audits): `docs/analysis/core_cohesion_master_plan.md`.
- GoldTether #18 bootstrap/prune is **landed** (fidelity ledger 🟢); wave unitary residual is the coherence residual path (Slice 2).
- Multi-grade sandwich conjugacy is owned by `_field_conjugacy_versor` (wave thin wrap); analytic Clifford polar \(R=C(\widetilde{C}C)^{-1/2}\) is **retired for general multi-grade fields** (see `docs/briefs/P7_design_note.md`). Chiral \(\mathcal{Q}\) remains honest structural ~0 on real Cl(4,1) until pair-spinor design (P8).
- Multi-grade sandwich conjugacy is owned by `_field_conjugacy_versor` (wave thin wrap); analytic Clifford polar \(R=C(\widetilde{C}C)^{-1/2}\) is **retired for general multi-grade fields** (see `docs/briefs/P7_design_note.md`). Chiral \(\mathcal{Q}\) is non-vacuous for general odd-capable spinor packets, while remaining structurally zero on even field states (P8).

View file

@ -40,7 +40,7 @@
| W1 | WaveManifold unitary / sandwich step | ADR-0241 §2 | 🟢 | ADR-0241 |
| W2 | Spectral leakage surprise | ADR-0241 §2.4B | 🟢 subsumed into `surprise_residual` | ADR-0241 |
| W3 | Wave polar + multi-pair conjugacy | ADR-0241 §2.4A | 🟢 sandwich conjugacy (`_field_conjugacy_versor`); analytic multi-grade polar ⚪ RETIRED | ADR-0241 |
| W4 | Unitary residual + chiral charge readout | ADR-0241 §2.4CD | 🟢 (Q structural 0 in real Cl(4,1); see §12) | ADR-0241 / #18 |
| W4 | Unitary residual + chiral charge readout | ADR-0241 §2.4CD | 🟢 (Q non-vacuous for odd-capable spinors; structurally 0 for even fields) | ADR-0241 / #18 |
| W5 | Biography resonant lock-in + durable holographic vault | ADR-0241 + ADR-0240 | 🟢 session registry + `HolographicVaultStore` (VaultStore-backed) | ADR-0241 |
| W6 | `core_ha` deprecation / absorption | deprecation plan | 🟢 no live tree + hygiene pin | ADR-0241 |
| — | Biography holonomy | (ADR-0240; not in blueprints) | 🟢 sound (pointwise) | — |
@ -279,7 +279,7 @@ PY
- Continuous multivector wave-field \(\psi \in Cl(4,1)\) (32-coeff) under Cartan/Procrustes, Surprise, GoldTether, Biography.
- **Transport pin:** multivector fields → sandwich \(R\psi\widetilde{R}\); spinor/chiral → left multiply \(R\psi\). No silent mix.
- Spectral leakage = metric proj onto resonant modes (definite Euclidean energy after metric-exact proj).
- Unitary residual \(\|\psi\widetilde{\psi}-1\|_F\) dual-checked. Chiral \(\langle\psi I\widetilde{\psi}\rangle_0\) structurally ~0 in real Cl(4,1) (honest; #19 family).
- Unitary residual \(\|\psi\widetilde{\psi}-1\|_F\) dual-checked. Chiral \(\langle\psi I_5\widetilde{\psi}\rangle_0\) is non-vacuous for odd-capable spinors, while remaining structurally ~0 for even field states (honest; #19 family).
- Standing-wave registry + `resonant_recall` (session-local; durable via `HolographicVaultStore`).
- `core_ha` standalone atlas: **deprecated** (no live tree; hygiene pin + Phase 0 grep).
@ -315,7 +315,6 @@ PY
### Deferred (explicit, not namesake green)
- Durable holographic memory **vault store** — 🟢 `core/physics/holographic_vault.py` (VaultStore-backed SPECULATIVE spectrum; restart lock-in; public `get_versor` ABI).
- True cross-spectral \(\mathcal{C}_{AB}\) + Clifford polar — ⚪ RETIRED (proven mathematically ill-posed; `_field_conjugacy_versor` is the honest optimum).
- Non-vacuous pair-spinor chiral charge.
- Golden-Angle horosphere packing + Fibonacci section search (ADR-0242).
- Rust/MLX acceleration of exp-map / cross-spectral (ADR-0235 later).
- Full ADR-0092 reviewer-service integration (promote remains caller-gated).

View file

@ -170,13 +170,29 @@ def test_wave_polar_recovers_known_sandwich_rotor():
# --- W4: chiral spinor charge ----------------------------------------------
def test_chiral_charge_conserved_under_left_spinor_step():
"""Q = ⟨ψ I ~ψ⟩_0 conserved under unitary left multiply (odd-capable ψ)."""
def test_chiral_charge_nonzero_on_designed_spinor_packet():
"""Q = ⟨ψ I₅ ~ψ⟩_0 is strictly non-zero for odd-capable mixed-parity spinors (e.g. ψ = v + v I₅)."""
M = WaveManifold()
psi = _e(1) + 0.3 * _e(3) + 0.1 * _unit_rotor(0.2, plane=6)
from core.physics.wave_manifold import _I5
# Construct a non-vacuous spinor path
v = _e(1) + 0.5 * _e(3)
psi = v + geometric_product(v, _I5)
q = M.chiral_charge(psi)
# The non-scalar mass of ψ~ψ correlates with Q. It is exactly non-zero.
assert abs(q) > 0.1
def test_chiral_charge_conserved_under_left_spinor_step():
"""Q = ⟨ψ I₅ ~ψ⟩_0 conserved under unitary left multiply (odd-capable non-vacuous ψ)."""
M = WaveManifold()
from core.physics.wave_manifold import _I5
v = _e(2) - 0.3 * _e(4)
psi = v + geometric_product(v, _I5)
R = _unit_rotor(0.4, plane=7)
q0 = M.chiral_charge(psi)
assert abs(q0) > 0.1 # Ensure we are not vacuously testing 0 == 0
psi_next = M.left_spinor_step(psi, R)
q1 = M.chiral_charge(psi_next)
assert abs(q0 - q1) < 1e-9