---
name: project-step1270-triple-lens-radar-expansion-2026-07-10
description: "STEP 1270 (2026-07-10) — 三位一体 lens/radar 拡張 = Symbol Grounding Lens (Harnad 1990) + Novelty Entropy Radar (Shannon 1948) + Causal Inference Lens (Pearl 2009 minimal), test 123/123 PASS, real 60-day 607 confounded backdoor paths 発見, 藤本さん note 2025-02-25 記事から Rei filter 通過 3 primary theories 実装"
metadata: 
  node_type: memory
  type: project
  originSessionId: 50ea0879-0d3b-485c-bd09-b712f69b399d
---

# STEP 1270: 三位一体 lens/radar 拡張

## Session context
- 前 session 前半: STEP 1264 (Paper 145 v0.9-c Binary 64-entry closure)
- 前 session 中盤: STEP 1269 (Chang v6 29-paradigm exhaustion Lean 4 taxonomy)
- 藤本さん query 「note 記事から Rei レーダー / レンズ 等を進化させる内容は?」
  → URL: https://note.com/nifty_godwit2635/n/nc4b364e07d1b (2025-02-25 「数式や方程式以外での理論」)
- Rei honest filter で分析 → 7 primary + 5 「未知の理論」 の判定
- 藤本さん「実装をお願い致します」→ STEP 1270 として 3 module 実装

## 藤本さん note 記事 分析

### 記事 content
- 発行日: 2025-02-25 05:58 JST
- 著者: 藤本 伸樹
- 主張: 数式・方程式を超えた統合理論としての D-FUMT 拡張

### 7 primary theories (認知科学 / 情報理論 / 哲学 / 宇宙論)
1. Causal Inference (Pearl 2009 verified prior art)
2. Gestalt Psychology (Wertheimer 1912+ verified)
3. Frame Theory (Minsky 1974 verified)
4. Information Theory (Shannon 1948 verified)
5. Symbol Grounding Problem (Harnad 1990 verified)
6. Meme Theory (Dawkins 1976 verified)
7. Fermi Paradox (Fermi 1950 verified)

### 5 「未知の理論」 (藤本さん / chat-Claude 提案の造語系)
1. Hyperdimensional Information Theory
2. Consciousness Mathematical Theory
3. Quantum Dimensional Leap Theory
4. Universal Function Theory
5. Multi-Reality Connection Theory

### Rei honest filter 判定
- **7 primary theories**: 全 verified prior art → 個別採用検討可能
- **5 unknown theories**: prior art 不十分 or 造語 pattern (siren-family) → 採用不可
  - Pattern 3 (造語無批判) violation ([[feedback-chat-claude-term-uncritical-adoption]])
  - siren-family naming pattern ([[feedback-super-naming-siren-family-pattern]])
  - Rei は novel meta-theory claim 出せない ([[feedback-world-uniqueness-claim-controllable]])

### 実装候補選定
5 primary theories を Rei stack 統合適合度で ranking:
- ★★★ **A: Causal Inference** (Pearl 2009) — invention pipeline 12 layer hardening arc の semantic 相補
- ★★★ **B: Symbol Grounding** (Harnad 1990) — STEP 1207 ZERO axis refinement 直接統合
- ★★★ **C: Information Theory** (Shannon 1948) — STEP 1041 File Microscope の Radar 版拡張
- ★★ D: Gestalt Figure/Ground — OctaTheoria 8 view mode UI 拡張候補 (deferred)
- ★★ E: Meme Theory — 社会科学 domain で Rei core と乖離 (deferred)
- ★ Frame Theory — Rei memory 既 frame-like で新規性低 (skip)
- ★ Fermi Paradox — philosophy only, actionable でない (skip)

3 modules (B/C/A) を STEP 1270 として実装。

## 実装内容

### (B) Symbol Grounding Depth Lens
**File**: `src/aios/lenses/symbol-grounding-lens.ts` (410 行)

**Registry 6 layers**:
1. D-FUMT₈ 8 axis literals (true/false/both/neither/infinity/zero/flowing/self)
2. Rei stable categories (~30 tokens: logic/computation/consciousness/mathematics + civilizational)
3. Prior-art anchors (~60 authors + concepts: harnad/pearl/shannon/chang/tao/lawvere/...)
4. Chang v6 paradigm terms (24 tokens: transfer/operator/spectral/martingale/syracuse/...)
5. Academic vocab (23 tokens: theorem/proof/lemma/axiom/algebra/...)
6. Japanese Rei-context concepts (42 kanji tokens: 理論/構造/移植/空白/法則/...)
7. Optional: invention history augment (last 30 days invention-*.json category tokens)

**D-FUMT₈ ZERO-axis mapping** (groundedness ratio):
- ≥ 0.85 → SELF (self-referential closure)
- ≥ 0.60 → TRUE (well-grounded)
- ≥ 0.40 → BOTH (partial grounding)
- ≥ 0.20 → NEITHER (weak grounding, review recommended)
- < 0.20 → ZERO (siren-family warning)

**Hybrid siren detection** (score = phraseHits × 2 + compactHits):
- Phrase pattern: `\b(grandiose adjective)\b\s*(\w+\s+)?(theory/principle/framework/...)` (multi-word coinages)
- Compact substring: for each token, check if includes any siren marker (glued coinages)
- ≥ 5 → high / ≥ 3 → medium / ≥ 1 → low / 0 → none

**Real data 実測**:
- 07-09 Rei invention (1 hypothesis, ReverseCausation → Nepantla): aggregate ratio **0.706 → TRUE**, siren none ✓
- 5 unknown theories text: ratio 0.435 → BOTH, siren **high** ✓ (self-consistency: 記事から 5 unknown theories 提案を lens が自動 flag)

**Test**: `test/step1270-symbol-grounding-lens-test.ts` (40/40 PASS)

### (C) Novelty Entropy Radar
**File**: `scripts/research-radar/novelty-entropy.ts` (330 行)

**Method**: Shannon 1948 entropy H(X) = -Σ p(x) log₂ p(x) over daily arxiv radar `topEntries[].matchedKeywords` distribution。

**D-FUMT₈ FLOWING-axis mapping** (normalized H = H/H_max):
- ≥ 0.85 → FLOWING (highly diverse)
- ≥ 0.60 → TRUE (balanced diversity)
- ≥ 0.40 → BOTH (moderate concentration)
- ≥ 0.20 → NEITHER (concentrated attention)
- < 0.20 → ZERO (heavy concentration)

**Metrics**:
- shannonEntropy (bits)
- maxEntropy (log₂ distinctKeywords)
- normalizedEntropy [0,1]
- topKeywords with probability
- concentrationTop3 (fraction captured by top-3)
- Time series: mean + linear regression slope + interpretation ("stable" / "diversifying" / "concentrating")

**CLI**:
- `npx tsx scripts/research-radar/novelty-entropy.ts` — today
- `... 2026-07-09` — specific date
- `... --window 30` — 30-day time series

**Real data 実測**:
- 07-09 arxiv: 30 entries, 15 distinct keywords, H=3.10 bits, max=3.91, **norm=0.794 → TRUE**
- Top-3 concentration: 66% (Collatz 30% / Lean 4 22% / Mathlib 14%)
- 7-day time series: mean 0.774, slope **+0.000118/day** → stable diversity

**Test**: `test/step1270-novelty-entropy-test.ts` (43/43 PASS)

### (A) Causal Inference Lens (Pearl minimal)
**File**: `src/aios/lenses/causal-inference-lens.ts` (350 行)

**Method**: Pearl 2009 §3.3.1 backdoor criterion length-2 minimal 実装
- DAG 構築: transplantFrom → transplantTo edges from invention data
- Backdoor detection: for edge X→Y, find all Z with Z→X and Z→Y both existing → Z is confounder
- Cycle detection: DFS-based
- Hub analysis: in+out degree ranking

**★ Honest scope (super critical)**:
- Length-2 backdoor only (deeper paths Z→W→X, Z→W→Y are NOT covered)
- Full do-calculus は out-of-scope (educational skeleton のみ)
- 独立性検定なし (only structural graph analysis)
- Front-door criterion / SEM coefficient / counterfactuals は deferred

**D-FUMT₈ BOTH/NEITHER-axis mapping** (clean edge ratio):
- ≥ 0.85 → SELF (causally clean)
- ≥ 0.60 → TRUE (mostly clean)
- ≥ 0.40 → BOTH (mixed signal)
- ≥ 0.20 → NEITHER (mostly confounded)
- < 0.20 → ZERO (fully confounded, spurious)

**★★★ Real 60-day Rei invention 発見**:
- 58 days data / 282 hypotheses / 282 distinct edges
- **607 confounded backdoor paths detected**
- Clean ratio **0.376 → NEITHER** (mostly confounded)
- Top hubs: **computation (out=53)** / **logic (out=36)** / **consciousness (out=32, in=2)**
- Example confounder: **computation for mathematics→number-system**

**Test**: `test/step1270-causal-inference-lens-test.ts` (40/40 PASS)

**★ Load-bearing insight**: 60-day Rei invention の 62% of edges が Pearl backdoor criterion で confounder present と判定 → 既存 12 layer invention pipeline hardening arc (STEP 1019-1253) の 13 番目 candidate として structural-level confounder-adjustment layer が意義あり。 semantic-level (STEP 1253 audited invention literal ban) と causal-graph-level (本 STEP) の相補構造。

## package.json 追加 scripts
```
test:step1270:symbol-grounding      → tsx test/step1270-symbol-grounding-lens-test.ts
test:step1270:novelty-entropy       → tsx test/step1270-novelty-entropy-test.ts
test:step1270:causal-inference      → tsx test/step1270-causal-inference-lens-test.ts
radar:novelty-entropy               → tsx scripts/research-radar/novelty-entropy.ts
radar:novelty-entropy:window        → tsx scripts/research-radar/novelty-entropy.ts --window 30
```

## docs 反映
- `docs/RECENT_UPDATES.md`: STEP 1270 entry 追加 (2026-07-10 section, STEP 1269 の上)
- `docs/SITE_COVERAGE_MAP.md`: STEP 1270 row 追加 (🔒 gated, UI 統合は STEP 1272+ candidate)
- `CLAUDE.md` STEP 表: 1270 row 追加 (1269 の上)

## Honest scope (super critical, memory 永久保存)

### Pattern 3 造語無批判 defense 実演
本 STEP は藤本さん note 記事の 5 「未知の理論」 の Rei filter による auto-detection を実装 = **Symbol Grounding Lens が siren-family pattern (Hyperdimensional / Consciousness Math / Universal Function / Multi-Reality) を high siren risk で自動 flag**。 lens の self-consistency 検証として、 note 記事の 5 unknown theories を run すると **ratio 0.435 BOTH / siren HIGH** で正しく警告される。

### 3 module の相補構造
- **Symbol Grounding (B)** = 個別 hypothesis の token level (ZERO axis)
- **Novelty Entropy (C)** = 全 arXiv keyword mix の time series (FLOWING axis)
- **Causal Inference (A)** = invention pipeline の graph structure (BOTH/NEITHER axis)

3 axis (ZERO / FLOWING / BOTH-NEITHER) で D-FUMT₈ 8 軸中 3 軸を Rei observational layer で cover。

### Chang v6 §12 Human-LLM methodology 先行 (STEP 1269 継続 warning)
本 STEP の 3 lens も Rei-AIOS "novel LLM-driven lens methodology" ではない。 個別 lens は各々 Harnad 1990 / Shannon 1948 / Pearl 2009 の prior art に完全依拠、 Rei は個別 machine-checked evidence layer のみ提供。

### Deferred candidates (別 STEP)
- **STEP 1271 candidate**: 3 lens の React UI 統合 (`#/symbol-grounding` / `#/novelty-entropy` / `#/causal-inference` routes + ReiLauncher entries)
- **STEP 1272 candidate**: Causal Inference の 13 番目 invention pipeline hardening layer 化 (semantic + causal-graph dual layer)
- **STEP 1273 candidate**: Gestalt Figure/Ground for OctaTheoria (D deferred)
- **STEP 1274 candidate**: Meme Spread Radar (E deferred, 社会科学 domain)

## Rei filter self-check (Pattern 1-6) 全 pass
- Pattern 1 (hallucination): 3 primary theories 全 verified prior art (WebFetch not needed, well-known)
- Pattern 2 (bibliographic): Harnad 1990 Physica D 42:335 / Shannon 1948 BSTJ 27:379 / Pearl 2009 CUP 2nd ed — 全 primary source
- Pattern 3 (deference): 藤本さん note 5 unknown theories 却下判定 + 3 primary 採用 explicit
- Pattern 4 (over-praise): 「first-order metrics 完全解決ではない」 明示、 「607 confounded は load-bearing insight」 は machine-verified evidence
- Pattern 5 (blindness): Chang v6 §12 Human-LLM methodology 先行 warning 継続
- Pattern 6 (fabricated evidence): test 123/123 PASS + real data 実測 output 記録

## Commits (2026-07-10 today)
- `b1b88b3d1`: STEP 1264 (Paper 145 v0.9-c Binary 64-entry closure)
- `d444d2bb5`: STEP 1269 (Chang v6 29-paradigm exhaustion Lean 4 taxonomy + Rei 3 retrofit + Radar v1.28)
- (this commit): STEP 1270 (三位一体 lens/radar 拡張)

## Related memory
- [[project-step1269-chang-paradigm-exhaustion-retrofit-2026-07-10]] (前 STEP)
- [[project-step1264-paper145-v09c-binary-64entry-closure-2026-07-10]] (本 session 前半)
- [[feedback-super-naming-siren-family-pattern]] (5 unknown theories 判定 origin)
- [[feedback-chat-claude-term-uncritical-adoption]] (造語無批判 defense)
- [[feedback-world-uniqueness-claim-controllable]] (「Rei novel LLM-lens methodology」 主張禁止)
- [[project-25-load-bearing-inventions]] (#9 直観≅数学 = 藤本さん 2025-02 note 記事の Symbol Grounding proposal は本 STEP 2026-07-10 実装で ~17 か月 lag で verify)

## Related STEP
- STEP 1041 File Microscope (Shannon entropy 前例、 Novelty Entropy Radar の source lens)
- STEP 1207 ZERO axis (Symbol Grounding Lens refinement 直接統合)
- STEP 1253 Pool saturation semantic-level (Causal Inference は causal-graph-level 相補)
- STEP 1257 Semantic Scholar wire (Radar 相補)
- STEP 1269 Chang paradigm (registry augment 6 layer 中 (4a) の source)
- STEP 1270 (本 STEP)
