feat(v4): Phase 7 Task 4 -- the loops' words: v3's physics-freeze and inference words, F18 asking the kernel (#189)

capsules/v4/physics.4th, a kernel capsule on Hera (blocks 8200-8201): FREEZE-WORD UNFREEZE-WORD FROZEN?
HEAT! HEAT@ DECAY-RATE@ Q.VARIANCE INFER-DECAY-SLOPE INFER-WINDOW-WIDTH INFER-RUN INFER-WINDOW@ INFER-DECAY@
INFER-VARIANCE@ INFER-FIT@ INFER-EARLY-EXIT@ -- each a KERNEL-WORD, requests -21..-34 (v4/mesh.h), served by
the kernel on any node: "The compudynamics is stadium/fabric" (Captain Bob, 2026-11-14). A word is named as
v3's, the newest visible entry of CONTEXT then FORTH (the image gains CONTEXT's address); the arithmetic is
v4/system/inference.c, v3's to the bit. Q48.16 results are v4's doubles (low cell, then high). HEAT! starts
the word's decay from now. Test first with v3's POST cases in v4's address units: test_mesh_boot.c 86
checks, 95 on, 83 without opcode physics. docs/reference/v4-dictionary.tsv: the 15 words (392 live).
amd64 PASS, word_count=392. Not pushed (held to the end of Phase 7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
Claude
2026-11-14 00:40:27 +00:00
parent e1b731f444
commit 28ffed8f57
12 changed files with 214 additions and 5 deletions
@@ -169,6 +169,17 @@ Phase 4).
- [x] Measured, back to back on amd64: 219 s on, 196 s off -- about +12% under TCG. Kept, as ruled; the
revert is the one switch.
### Task 4: the words that read and set them (`FREEZE-WORD`, the inference words, ...), and their POST
- [x] `capsules/v4/physics.4th` (blocks 8200-8201), a kernel capsule on Hera: v3's physics-freeze words
(`FREEZE-WORD` `UNFREEZE-WORD` `FROZEN?` `HEAT!` `HEAT@` `DECAY-RATE@`) and inference words
(`Q.VARIANCE` `INFER-DECAY-SLOPE` `INFER-WINDOW-WIDTH` `INFER-RUN` `INFER-WINDOW@` `INFER-DECAY@`
`INFER-VARIANCE@` `INFER-FIT@` `INFER-EARLY-EXIT@`), each `KERNEL-WORD` -- requests -21 to -34, which the
kernel serves on any node ("compudynamics is stadium/fabric"): a word named as v3's, by the newest
visible entry of CONTEXT then FORTH; the arithmetic `v4/system/inference.c`'s. A Q48.16 result is v4's
double (qmath.f18: low cell, then high). `HEAT!` starts the word's decay from now (a word never
touched would otherwise decay at once by every tick since its definition). Test first, v3's POST
cases with v4's address units (`test_mesh_boot.c`: 86 checks; 95 on; 83 without opcode physics).
- [ ] The entropy and top-words words (`starforth_words_test.c`): `ENTROPY!` `ENTROPY@` `RESET-ENTROPY`
`TOP-WORDS` `WORD-ENTROPY`.
### Task 5: the StarForth words (Phase 3's: `init.4th`, `starforth.4th`), and their POST
### Task 6: the ACL (Phase 4's: `ACL.4th`, the word card, the countdown), and its POST
### Task 7: the block cases (Phase 5's part)