Skip to content

Commit 3cdabbd

Browse files
committed
docs(knowledge): §4b — bipolar phase = Walsh-Hadamard on VSA (signed-bit pyramid)
Operator synthesis: when §4's deterministic phase is signed (+/-), the cascade IS the Walsh-Hadamard transform of the address tree, carried on the existing VSA-bipolar algebra. Sign composition = XOR (= vsa_bind, one shift+xor SIMD); magnitude composition = vsa_bundle (sum + threshold, Markov-respecting per I-SUBSTRATE-MARKOV). Receipts shipped: Vsa16kF32 (bipolar carrier), vsa_bind/vsa_bundle (iron-rule algebra), helix CurveRuler (bit-exact integer phase walk). Quantum-shaped but DETERMINISTIC: superposition (bundled contributions, unbind by role-key); Heisenberg-shaped capacity (I-VSA-IDENTITIES Test 1: N <= sqrt(d)/4 ~= 32 is the substrate uncertainty principle); resonance field (Walsh, not Fourier); roundtrip bit-exact (phase generated not stored, Walsh self-inverse up to scale). TWO-ALGEBRA RULE (load-bearing): sign = XOR; magnitude = bundle, NEVER MergeMode::Xor (breaks Markov; PP-13 P1-1 'raw-XOR ordering as nearest' is the named anti-pattern that conflates them). Fences: quantum-like is the bundling algebra not measurement randomness (no headline drift); bipolar = 1-bit phase; Parseval requires the bundle, not just XOR. Probes WHP-1 (Parseval rho on random sign-fields, Jirak floor) / WHP-2 (cross-backend roundtrip byte-identical) / WHP-3 (bind+unbind margin holds for N <= sqrt(d)/4, fails cleanly past it) / WHP-4 (explicit guard: raw-XOR on magnitudes fails Chapman-Kolmogorov). https://claude.ai/code/session_01PBTGaPCSnnt6u3pjXpbLwY
1 parent 2eaffb3 commit 3cdabbd

1 file changed

Lines changed: 64 additions & 0 deletions

File tree

.claude/knowledge/guid-prefix-shape-routing.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,70 @@ NodeGuid (128b) ──route()──► ShapeId ──consumer registry──►
142142
encoding meets the ρ anchors on a representative tile corpus; the
143143
measured escalation rate is reported, not hidden.
144144

145+
### 4b. Bipolar phase = signed bits = Walsh-Hadamard on VSA (CONJECTURE)
146+
147+
When §4's deterministic phase is **signed (±1)** — one bit per
148+
(addr, level) — the pyramid is the Walsh-Hadamard transform of the
149+
address tree carried on the workspace's bipolar VSA algebra
150+
(`Vsa16kF32` is already bipolar ±1 in role-key slices). Cascade:
151+
152+
```
153+
cell(addr) = ⊕_L sign(addr, L) ·_VSA M(addr, L)
154+
│ │
155+
XOR (vsa_bind) SUM+THRESHOLD (vsa_bundle)
156+
one shift+xor SIMD Markov-respecting
157+
```
158+
159+
**Receipts shipped:** bipolar carrier `Vsa16kF32` (lance-graph-contract
160+
`crystal/fingerprint.rs`); `vsa_bind` (multiply ±1 = XOR of sign bits)
161+
+ `vsa_bundle` (sum + threshold) = the iron-rule algebra; bit-exact
162+
integer phase walk = helix `CurveRuler` stride-4-over-17
163+
(D-QUANTGATE-compliant); Markov guarantee = `I-SUBSTRATE-MARKOV`
164+
(bundle ≡ Chapman-Kolmogorov).
165+
166+
**Quantum-shaped properties, all DETERMINISTIC:**
167+
- **Superposition** — cells hold many bundled contributions; unbinding
168+
with a role key (XOR with key's sign pattern) extracts one.
169+
- **Heisenberg-shaped bound**`I-VSA-IDENTITIES` Test 1:
170+
N ≤ √d/4 ≈ 32 distinct readouts per cell before SNR collapses. This
171+
IS the substrate's uncertainty principle; classical bound, real wall.
172+
- **Resonance field** — a region's "value" = inner product of its
173+
address-signature with the magnitude pyramid (Walsh-resonance, not
174+
Fourier).
175+
- **Roundtrip bit-exact** — phase generated not stored; Walsh-Hadamard
176+
self-inverse up to scale.
177+
178+
**TWO-ALGEBRA RULE (load-bearing, do not violate):**
179+
- **Sign side = XOR** (one SIMD op; allowed for single-target deltas per
180+
`data-flow.md` rule "single target: gated XOR").
181+
- **Magnitude side = `vsa_bundle`** (sum + threshold) — **NEVER** raw XOR
182+
on magnitudes; `MergeMode::Xor` breaks Markov per `I-SUBSTRATE-MARKOV`.
183+
- Two operators, two algebras, one pyramid. PP-13 P1-1
184+
("raw-XOR-u64 ordering as 'nearest'") is the named anti-pattern that
185+
confuses them.
186+
187+
**Honest fences (no theater):**
188+
1. "Quantum-like" is the BUNDLING ALGEBRA, not measurement randomness.
189+
No headline drift to "quantum substrate"; we shipped Walsh-Hadamard +
190+
VSA-bipolar — the win IS bit-exactness, not probabilism.
191+
2. Bipolar = 1-bit phase. Multi-bit phases stack above only when
192+
measured to be needed.
193+
3. Parseval-preservation requires the bundle. Raw-XOR-only =
194+
permutation algebra = no L2 conservation = no "top gaussian preserved".
195+
196+
**Probes (new):**
197+
- **PROBE-WHP-1 (Parseval):** for random ±1 sign-fields,
198+
`Σ|cell|² = Σ|M_L|²` within a Jirak-derived noise floor (never
199+
optimism).
200+
- **PROBE-WHP-2 (roundtrip):** encode→decode→encode is byte-identical
201+
across AVX-512/NEON/scalar.
202+
- **PROBE-WHP-3 (unbind):** binding then unbinding with a role-key
203+
recovers the bound element with measured margin; fails cleanly past
204+
N > √d/4 (the Heisenberg bound made explicit).
205+
- **PROBE-WHP-4 (two-algebra guard):** explicit failing test asserting
206+
raw-XOR on magnitudes breaks Chapman-Kolmogorov consistency; guards
207+
against future `MergeMode::Xor` drift.
208+
145209
## 5. The φ-quorum — so Morton cheapness never becomes eigenvalue theater
146210

147211
**Eigenvalue theater, defined by this repo's own casebook**

0 commit comments

Comments
 (0)