STEP 1839 · 2026-09-06 · Rei-AIOS Weaver Level B arc

Weaver Level B semantic metric full arc — D-FUMT₈ text projection formalization + 1016 pair statistical test + metric axiom verify + 3 predictive tasks

← 無限次元ドット理論 §3 の open hypothesis への 直接応答 · notepad index · ← STEP 1837 (cmix 単位 corrigendum、 同 session)

藤本さん 2026-09-06 「1〜4 順次実行」 directive の 直接応答。 無限次元ドット理論 site §3 「Weaver Level B に standard な operational metric を与える = 75 年 open (Carnap-Bar-Hillel 1952 以来)」 の 引用 + site 内 「ZCSG/D-FUMT₈ が Level B metric に なり得るかは open hypothesis」 の 明示に 対して、 formal projection + 1016 pair 統計 test + 4 axiom empirical verify + 3 predictive task の 4 step で positive な弱 evidence を 追加。 断定はせず、 site framework §3 の 3 層 framing 遵守。

★ 画期的判定 (site framework §3 準拠 3 層 framing、 先出し) ★

Step 1: Formal D-FUMT₈ text projection v2

v1 (2026-09-06 初 spike) の provisional projection を rigorous に 再設計。 src/aios/weaver-level-b/ 下 6 module。

module役割核心 feature
types.ts型定義Axis / AxisVector / ProjectionResult / DistanceFn / MetricAxioms / Script
unicode-classifier.tsUnicode 分類18 script (\p{Script=X} + emoji range table)、 isSemanticBearing flag
contradiction-detector.ts否定検出8 言語 (英/日/中/独/仏/西/symbolic) の 33 negation pattern + Naka-Rushton saturation
projection.ts8 axis projectionShannon-entropy INFINITY + word/bigram autocorr SELF + formal normalization invariant
distance.ts距離関数Hellinger + JSD + L1 + L2 (全て proper metric on 8-simplex)
index.tspublic APIexport surface

8 軸 formal 意味定義

AxisFormal 意味Fire 条件
TRUE安定支配dominant script > 40% of semantic chars + dominant char > 20% of same
FALSE不在 signalempty, whitespace-only, single-char, no semantic-bearing content
BOTH矛盾grammar-aware negation marker present (33 pattern, 8 言語)
NEITHER非言語 domainno semantic-bearing chars, all symbol/digit/punctuation
INFINITY希少 token 集中Shannon entropy < 0.6 × uniform H, or top-1 > 5× mean
ZERO完全沈黙empty, all whitespace or all control
FLOWING前後 shiftJaccard(first half chars, last half chars) > 0.3
SELF自己反復word-level or char-bigram autocorrelation
✓ Step 1 test 結果: 107/107 PASS
test/weaver-level-b/projection-basic-test.ts — normalization / axis firing / degeneracy / d(x,x)=0 / symmetry / tokenizer / contradiction / classifier

Step 2: 1016-pair large-scale statistical test

src/aios/weaver-level-b/corpus-builder.ts で programmatic corpus 生成、 scripts/experiments/run-weaver-b-full.ts で 全 pair 実行 (152.8s)。

Corpus 内訳 (1016 pair total)

labelcountcategory
same918bilingual-word 700 + number-encoding 100 + synonym 64 + arithmetic 24 + chem 30
contradict25negation-en 10 + negation-ja 10 + negation-symbolic 5
unrelated65cross-topic 50 + enwik8-cross-topic 15
identical8byte-identical (control for d(x,x)=0 verify)

Per-label 距離平均 (± stddev)

labelNCDHellingerJSDL1L2
same0.379 ± 0.0920.290 ± 0.2900.297 ± 0.2930.254 ± 0.2620.344 ± 0.342
contradict0.427 ± 0.0780.425 ± 0.1940.439 ± 0.2040.366 ± 0.2330.435 ± 0.275
unrelated0.722 ± 0.0970.282 ± 0.2270.295 ± 0.2300.248 ± 0.2080.319 ± 0.259
identical0.279 ± 0.0780.000 ± 0.0000.000 ± 0.0000.000 ± 0.0000.000 ± 0.000
★ Finding 1: NCD ⊥ D-FUMT₈ (実質独立軸)
r(NCD, hellinger) = -0.074, r(NCD, jsd) = -0.065, r(NCD, l1) = -0.053, r(NCD, l2) = -0.080 — 全 metric で |r| < 0.1 = 系統的に独立

Discrimination ratios (larger = better separation)

metriccontradict/sameunrelated/same強み
NCD1.1271.906cross-topic 検出 強
Hellinger1.4660.971contradiction 検出 中
JSD1.4770.992Hellinger と同傾向
L11.4410.978Hellinger と同傾向
L21.2650.927Hellinger と同傾向

★ 相補的強み パターン: NCD は byte-level cross-topic 得意 だが 「not」 が 1 語 加わった contradict は 弱、 D-FUMT₈ は BOTH axis で contradiction 検出 得意 だが 均一分布 の unrelated は 弱。

Step 3: Metric axiom empirical verify

test/weaver-level-b/metric-axiom-verify.ts で 4 axiom × 4 metric verify。

axiommeaningHellingerJSDL1L2
M1 Non-negativityd(x,y) ≥ 0✓ 1016/1016✓ 1016/1016✓ 1016/1016✓ 1016/1016
E1 Boundd ≤ 1 (√2 for L2)✓ 1016/1016✓ 1016/1016✓ 1016/1016✓ 1016/1016
M2 Identityd(x,x) = 0✓ 508/508 + 8 byte-id✓ 508/508 + 8✓ 508/508 + 8✓ 508/508 + 8
M3 Symmetryd(x,y) = d(y,x)✓ 1016/1016✓ 1016/1016✓ 1016/1016✓ 1016/1016
M4 Triangle ineq.d(x,z) ≤ d(x,y) + d(y,z)✓ 161,700✓ 161,700✓ 161,700✓ 161,700
★ Finding 2: 24/24 aggregate axiom checks PASS + 646,800 triangle triples 全 pass
全 4 metric (Hellinger, JSD, L1, L2) が proper metric on 8-simplex として 実測 confirm。 理論的に も Endres-Schindelin 2003 (JSD) + Cha 2007 (survey) で known metric。

Step 4: Predictive tasks (3 sub-task)

Task A — 3-class pair classification (macro-F1)

classifieraccuracymacroF1F1(same)F1(contradict)F1(unrelated)
NCD-only threshold0.8200.6100.9060.1260.796
Hellinger-only threshold0.4810.3890.6410.4400.085
NCD+Hellinger rule (heuristic)0.5070.4940.6440.0410.797
★ Finding 3: 相補的強み 完全立証

Task B — Translation retrieval (25 concept × 189 candidate)

metricMRRP@1P@5実行時間
NCD (zstd)0.0810.0400.024237.7 s
D-FUMT₈ Hellinger0.1170.0800.0480.0 s
★ Finding 4 (本 arc の 最強 signal、 2026-09-06 STEP 1845 で 全 撤回)
D-FUMT₈ Hellinger が NCD を 全 3 metric で 約 2× 上回る + 速度差 ~∞ 倍 (237.7s → 0.0s、 vector cache で zstd invocation 不要)。 word-level 翻訳検索 の operational task で D-FUMT₈ が NCD より 情報 carrying、 かつ 計算コスト 圧倒的優位。
★★★ Corrigendum (2026-09-06 STEP 1845、 chat-Claude 独立検証で 全 撤回) ★★★
上記 「2× win」 は uncontrolled artifact。 chat-Claude が 独立 harness 再実行 + 欠けていた chance level baseline を 計算: 但し Tatoeba n=10,000 で length-matched control 通過 の 小さいが 本物の above-chance signal は 存在 (D-FUMT₈ MRR 0.00162 vs chance 0.00098、 length-matched excess +0.00241 p<0.0001) — R@1=0.0002 で 実用不能。 詳細 = data/experiments/weaver-b-tatoeba-2026-09-06/REPORT.md本 STEP 1839 継続 = STEP 1845 corrigendum + Paper 179 v0.1 → v0.2 大改訂 + STEP 1837 protocol に Rule 7 (chance baseline mandatory before any retrieval MRR/P@k claim) 恒久追加。

Task C — Axis interpretability χ² test

comparisonχ²df=7interpretation
contradict vs same axis 分布20.39> 18.48 (0.01 crit)highly significant (p < 0.01)
unrelated vs same axis 分布132.77>> 18.48highly significant (p < 0.01)

Primary axis 分布 (text2、 label 別)

labelTRUEFALSEBOTHNEITHERINFINITYZEROFLOWINGSELF
same90.1%0.0%0.0%0.0%0.0%0.0%9.9%0.0%
contradict56.0%4.0%0.0%4.0%0.0%0.0%36.0%0.0%
unrelated44.6%0.0%1.5%0.0%0.0%0.0%52.3%1.5%
★ Finding 5: FLOWING axis が cross-topic + contradict で 顕著上昇
axis 分布 が label に対して 統計的に有意な情報を持つ formal evidence。 same=9.9% → contradict=36.0% → unrelated=52.3% の 単調上昇 pattern が operational。

Honest scope (5 層 preserve)

  1. 画期的判定 3 層 framing preserve (先出し 通り): Shannon 突破 = 型エラー、 Level B 完全 metric 確立 = 75 年 open、 provisional projection が candidate として promising 弱 evidence
  2. Corpus 制約: 全 programmatic (SNLI/STS-B の human-annotated gold standard 未使用)、 bilingual = dictionary lookup、 contradiction = grammar-injected negation
  3. Task A overfit: threshold grid search on same data、 train/test split 未実施、 in-sample F1 過大評価の可能性
  4. Task B statistical power: n=25 concept、 significance test 未実施、 Tatoeba/OPUS 等 real parallel corpus で 再現要
  5. External gold-standard 未比較: BERTScore requires sentence-transformers + GPU、 本 session 未実行 (STEP 1839-B 継続 candidate)
★ Session mis-frame 4 回 track record (STEP 1837 protocol 継承) ★
本 session 内で 私 (Claude Code) が 数値を mis-frame した 累計 4 回:
  1. cmix ~0.14 bpc = xz の 14x (bytes/char を bpc 誤読、 STEP 1837 で 訂正 1.17 bpc = 1.70x)
  2. 「1.70x = 100 MB → 59 MB、 41% 縮小」 (bpc 比 を 絶対圧縮率 誤読、 実際は 100 MB → 14.6 MB、 85% shrink)
  3. 「rationale 崩壊」 を 「chip が net-negative」 の 響きで framing (実際は justify axis 消失のみ、 positive gain preserve)
  4. 100 MB → ~59 MB restate (2 と 同起源、 独立 3 回目)
教訓 embed: 本 STEP 1839 report では 全 数値 claim に (a) 単位明示 (b) discrimination ratio 分子分母明示 (c) sample size 明示 (d) statistical significance test 併記 = STEP 1837 Rule 1-6 protocol の 直接適用。 数値 report は 藤本さん sanity check 必須 の regime 継続。

成果物 (総 file count)

Layerfilesize
Source modulesrc/aios/weaver-level-b/ 7 file (types + unicode-classifier + contradiction-detector + projection + distance + index + corpus-builder)~1,100 行
Testtest/weaver-level-b/ 2 file (projection-basic-test + metric-axiom-verify)~310 行
Experiment scriptsscripts/experiments/ 4 file (spike v1 + order-k Markov + full + predictive)~1,050 行
Data artifactdata/experiments/ 4 dir (spike + order-k + full + predictive)~600 KB JSON
Documentationnotepad + memory + hook + 本 site page + dist-renderer mirror~40 KB

Next STEP candidate (藤本さん 「その後 B」 明示 済)

参照