# 無茶苦茶数式の篩 STEP 1 (Boolean/Nand) — 実測レポート

- STEP: **2576**
- Timestamp: `2026-11-13T20:47:31.997Z`
- Elapsed: 7295 ms (k = 1..6)
- System: nand-boolean
- Variables: a, b, c
- Target equation: `LHS = c`
- Hand-off basis for stages 6-7: **stage-2a-or-raw**

> Stages 6-7 (= Prover9/Mace4, single-axiom search with uninterpreted '•') must receive candidates from the stage 2a basis (syntactic equivalence: rename + overall mirror) or from the raw enumeration. Stage 2b collapses Nand-commutative pairs and is unsound to hand off. PRECONDITION (藤本さん directive 2026-11-14 post-close): the stage 2a identification by overall mirror is sound only when the TARGET SYSTEM IS CLOSED UNDER LEFT-RIGHT REFLECTION. Boolean/Nand is commutative so the precondition holds here; when switching the target system to 3-ary, 4-ary, or the eight-valued (D-FUMT₈) extension, this precondition must be re-verified every time before the stage 2a canonical count is trusted.

## 式数照合 (= Catalan(k) × 3^(k+1))

| k | 実測 raw | 期待 Catalan(k)×3^(k+1) | match |
|---|---------:|-------------------------:|:-----:|
| 1 | 9 | 9 | ✓ |
| 2 | 54 | 54 | ✓ |
| 3 | 405 | 405 | ✓ |
| 4 | 3,402 | 3,402 | ✓ |
| 5 | 30,618 | 30,618 | ✓ |
| 6 | 288,684 | 288,684 | ✓ |

## 段 2 二分: 2a (構文的) vs 2b (Nand 意味)

- **段 2a** = rename + 全体一斉鏡像 のみ (= `•` を 未解釈 と した 構文的 同値、 段 6-7 への hand-off 基準)
- **段 2b** = rename + 各ノード個別鏡像 (= Nand の 可換性 を 各 node で 独立 に 利用、 段 6-7 に 渡す と 不健全)

| k | raw | 2a canonical | 2a 削減率 | 2b canonical | 2b 削減率 | 2a / 2b 比 |
|---|----:|-------------:|----------:|-------------:|----------:|-----------:|
| 1 | 9 | 4 | 55.556% | 4 | 55.556% | 1.000 |
| 2 | 54 | 14 | 74.074% | 10 | 81.481% | 1.400 |
| 3 | 405 | 107 | 73.580% | 41 | 89.877% | 2.610 |
| 4 | 3,402 | 854 | 74.897% | 172 | 94.944% | 4.965 |
| 5 | 30,618 | 7,692 | 74.878% | 828 | 97.296% | 9.290 |
| 6 | 288,684 | 72,204 | 74.989% | 4,140 | 98.566% | 17.441 |

## 段 5 (= Nand LHS = c の 8-assignment 当てはめ) 通過数

| k | raw 通過 | 2a 基準 通過 | 2a 通過率 (/raw) | 2b 基準 通過 | 2b 通過率 (/raw) |
|---|---------:|-------------:|-----------------:|-------------:|-----------------:|
| 1 | 0 | 0 | 0.000% | 0 | 0.000% |
| 2 | 0 | 0 | 0.000% | 0 | 0.000% |
| 3 | 9 | 3 | 0.741% | 2 | 0.494% |
| 4 | 124 | 32 | 0.941% | 8 | 0.235% |
| 5 | 744 | 188 | 0.614% | 23 | 0.075% |
| 6 | 8,764 | 2,200 | 0.762% | 142 | 0.049% |

- **raw 通過** = 全列挙式 で 段 5 (LHS = c Nand tautology) を 通過 した 数 (directive 試算 「6 個 で 8,764 式」 の 対応 軸、 dedup 無し)
- **2a 基準 通過** = 段 2a (構文的 dedup) 後 の 代表式 で 段 5 を 通過 した 数 = **段 6-7 候補 (hand-off 対象)**
- **2b 基準 通過** = 段 2b (Nand 可換 dedup) 後 の 代表式 で 段 5 を 通過 した 数 = Nand 既知 解釈 下 の 下限 近傍 (reference)

## Wolfram の 公理 の trace

- Expression: `(((a•b)•c)•(a•((a•c)•a)))`
- Operator count: 6
- **2a canonical** = `(((a•(c•a))•a)•(c•(b•a)))`
- **2b canonical** = `((((a•c)•a)•a)•((a•b)•c))`

| 段 | label | survived | note |
|----|-------|:--------:|------|
| 1 | 生成 | ✓ | operator count = 6, variables ⊂ {a,b,c} |
| 2 | 正規化 2a (構文的: rename + 全体一斉鏡像) | ✓ | canonical 2a form = (((a•(c•a))•a)•(c•(b•a))) |
| 2 | 正規化 2b (Nand 意味: rename + 各ノード鏡像) | ✓ | canonical 2b form = ((((a•c)•a)•a)•((a•b)•c)) |
| 3 | 構文 | ✓ | pure Nand AST over {a,b,c} |
| 4 | 型・意味 | ✓ | single sort Bool, binary Nand |
| 5 | 小さな値の表 当てはめ | ✓ | evaluated at all 8 assignments: LHS = c in every case |

## 段 6-7 scaffold 状態

- Stage 6 (Mace4 counter-model): **scaffold**
- Stage 7 (Prover9 proof from basis): **scaffold**
- Note: Stages 6-7 are scaffold-only in STEP 2576. Prover9/Mace4 binary install deferred to a later STEP pending review of stage 1-5 output.

## McCune の 既知結果 と の 整合

- McCune 2000s: Sheffer 言語 (= Nand のみ) で は 長 さ < 15 の 一行公理 は 存在 しない (3 元 Nand で は これ以下 の size で 単一公理化 不能)。
- 段 5 を 通過 しても 「単一公理」 を 意味 しない (= Nand tautology LHS=c であること のみ 保証)。 段 6-7 で 「公理 と して ブール代数 全体 を 導けるか」 を 分離 して 検証 する ため、 本 STEP の 段 5 survivors の 存在 は McCune 結果 と 矛盾 しない。
- 段 6-7 の 判定 は **段 2a 基準** の survivors (= 本 table の 「2a 基準 通過」 列) または raw survivors (= 「raw 通過」 列) に 対して 行う。 段 2b 基準 の survivors は Nand の 可換性 を 既に 使って 代表形 を 畳んで いる ため、 「• を 未解釈 と した 一行公理」 の 判定 に は 持ち込め ない。
