# Centroid-Distance Discriminant Probe — id=629
# F-VMS-LATTICE-POSITION-CHIP-INSERT-COMPOSITION-2026-09-02
# Reformulated falsifier: own-centroid JS vs nearest-other-centroid JS
# Date: 2026-09-02 | Session SHA: 77ccd2930d885461

---

## Pre-flight Header

`Pre-flight: sha=77ccd2930d885461, findings=631, manuscripts=633, figures=219, addenda-loaded=[base-2026-06-08, addendum-2026-09-02], recent-tail-relevant-to-probe=629 (direct subject, Candidate), 630 (f85r1/f85r2 evidence), 631 (axis-12 two-mode), 627 (chip-op null). Lattice assemblies touched 2026-09-02 same session. SHA stable throughout this probe (no curator writes during execution).`

---

## 1. LFAP Step 0 Receipt

**Substrate SHA at probe start:** `77ccd2930d885461`

**Findings loaded:**

| id | code | status | tag |
|---|---|---|---|
| 629 | F-VMS-LATTICE-POSITION-CHIP-INSERT-COMPOSITION-2026-09-02 | Candidate | ANCHOR |
| 630 | F-VMS-F85R1-F85R2-POSITION-SPLIT-EVIDENCE-2026-09-02 | Observed | CONTEXT |
| 627 | F-VMS-CHIP-OP-COMPOSITION-NULL-SWITCH-FOLIOS-N5-2026-09-02 | Observed | CONTEXT |
| 631 | F-VMS-AXIS12-TWO-MODE-CHIP-INSERT-SECTION-VS-POSITION-2026-09-02 | Observed | DISTANT |
| 27 | F-CORE-1 (opener-class taxonomy) | Confirmed | DISTANT |
| 354 | F-354 (31 operator classes, 77 forbidden pairs) | Supported | DISTANT |

**Prior probe:** `KL_DIVERGENCE_FALSIFIER_ID629_2026-09-02.md` — falsifier #2 (pairwise JS) fired; recommended centroid-distance reformulation as more appropriate to data geometry. This probe executes that recommendation.

**IVTFF file:** `c7ffff9e1f3ecbec174e234c.txt` — 227 folios, 8513 lines. All 209 cluster folios have token data.

**Folio_substrate table:** `vms_section`, `illustration_type`, `axes_touched_json` columns confirmed present and populated.

**Addenda loaded:** LAYERED-DATA-MAP base (2026-06-08) + ADDENDUM_2026-09-02.

**Layer classification:** Layer 0 (chip stream / opener counts), Layer 1 (operator grammar / opener-class), Layer 2 (positional apparatus / cluster membership from folio_substrate), Layer 6 (cross-cutting invariants — single tokenization; content-dependence diagnostic: per-folio and per-cluster computations performed independently, no corpus-global artifact introduced).

**Layer 5 check:** F-356, F-358, F-384, F-386 do not constrain this probe.

**Confirmed-tier constraints:** F-CORE-1 (id=27) opener-class taxonomy is the Layer 1 ground truth for what the centroid profiles should look like if the mechanism claim is correct.

---

## 2. Cluster Enumeration

Eligible clusters (n >= 5, from `folio_substrate.axes_touched_json`):

| Label | Axis tuple | n folios | Primary section |
|---|---|---|---|
| herbal | [4, 6, 15, 16] | 110 | herbal |
| pharma_recipes | [1, 3, 5, 6, 7, 8, 9, 15, 16] | 54 | pharma + recipes |
| astro | [3, 5, 12, 15] | 26 | astronomical |
| balne | [1, 13, 15] | 19 | balneological |

Total folio-cluster assignments: 209. All 209 covered by IVTFF token data.

---

## 3. Method

**Step 1: Per-folio opener distribution.** For each folio in IVTFF ZL_ivtff_2b.txt, extract all tokens matching `[a-zA-Z!&]{2,}`. Take first character (lowercased) as the opener. Count across the 26-character alphabet. Apply uniform Laplace smoothing (epsilon=1e-9) to avoid zero-probabilities.

**Step 2: Cluster centroid.** For each cluster, compute the token-count-weighted mean distribution across all member folios. Weight = `n_tokens_folio / sum(n_tokens_all_members)`. Renormalize.

**Step 3: Per-folio JS-divergence to own centroid and all other centroids.** Jensen-Shannon divergence (base-2, symmetric, range 0-1):

- `own_js` = JS(folio_dist, centroid_of_folio's_cluster)
- `min_other_js` = min over {all other clusters} of JS(folio_dist, centroid_other)
- `nearest_other` = argmin of the above

**Step 4: Classification test.** For each folio: `correct` = (own_js < min_other_js). The centroid-distance discriminant claims this should hold for the majority of folios if the axis-tuple partition is predictive at the folio level.

**Step 5: Effect quantification.** Mean signed difference = mean(min_other_js - own_js). Positive = correct; magnitude = effect strength. One-sample t-test for signed_diff > 0.

**Step 6: Misclassification anatomy.** Subset misclassified folios, cross-reference `illustration_type` from `folio_substrate`, identify structural patterns.

**Reproducibility:** All computation from `c7ffff9e1f3ecbec174e234c.txt` + substrate at sha `77ccd2930d885461`. Centroid computation is deterministic given the cluster assignments in `folio_substrate`. Token-count weighting matches KL probe methodology for comparability.

---

## 4. Cluster Centroids

Token-count-weighted mean opener-frequency distributions. Top-5 openers shown.

| Cluster | c | o | q | s | d | a | top-5 opener ranking |
|---|---|---|---|---|---|---|---|
| herbal | 0.2606 | 0.1670 | 0.0901 | 0.1071 | 0.1503 | — | c > d > s > o > q |
| pharma_recipes | 0.1846 | 0.2247 | 0.1559 | 0.0971 | 0.0629 | 0.0698 | o > c > q > a > s |
| astro | 0.1521 | 0.3021 | 0.0654 | 0.0835 | 0.0830 | 0.0965 | o > c > a > d > s |
| balne | 0.1220 | 0.2143 | 0.2409 | 0.1474 | 0.0819 | — | q > o > s > c > d |

**Centroid-to-centroid JS separation (between-centroid distances):**

| Pair | JS |
|---|---|
| herbal vs pharma_recipes | 0.05707 |
| herbal vs astro | 0.07027 |
| herbal vs balne | 0.09568 |
| pharma_recipes vs astro | 0.03984 |
| pharma_recipes vs balne | 0.02947 |
| astro vs balne | 0.09453 |

Layer 1 alignment check (F-CORE-1): herbal centroid is c-dominant (c=0.260), consistent with F-CORE-1 c-class operators (Galenic quality-state operators, per-section grammar axis 4). Astro centroid is o-dominant (o=0.302), consistent with F-CORE-1 o-class (astronomical apparatus operators). Balne centroid is q-dominant (q=0.241), consistent with F-CORE-1 q-class (quality-quantification operators for balneological measure). Pharma_recipes centroid is o-leading then c/q, consistent with mixed apparatus register. All four centroids align with F-CORE-1 predictions — Layer 1 attribution is confirmed at cluster-mean level.

---

## 5. Per-Cluster Centroid-Distance Discriminant Results

### Overall

| Metric | Value |
|---|---|
| Total folios tested | 209 |
| Correct (own_js < min_other_js) | 172 |
| Fraction correct | **0.8230 (82.3%)** |
| Mean signed difference (nearest_other - own) | 0.03641 |
| Std signed difference | 0.04244 |
| t-statistic (one-sample, signed_diff > 0) | **12.402** |
| Degrees of freedom | 208 |
| p-value | << 0.001 |
| Fraction with signed_diff > 0.05 (clear correct) | 38.8% |
| Fraction misclassified (signed_diff < 0) | 17.7% |

### Per-cluster table

| Cluster | n | fc | mean_own_js | std_own_js | mean_other_js | std_other_js | mean_diff | std_diff |
|---|---|---|---|---|---|---|---|---|
| herbal | 110 | **0.891** | 0.06900 | 0.02464 | 0.12379 | 0.04903 | 0.05479 | 0.04171 |
| pharma_recipes | 54 | **0.611** | 0.05369 | 0.03524 | 0.05409 | 0.01832 | 0.00040 | 0.02948 |
| astro | 26 | **0.846** | 0.08967 | 0.02991 | 0.12764 | 0.04380 | 0.03797 | 0.03305 |
| balne | 19 | **1.000** | 0.02613 | 0.01063 | 0.05635 | 0.02018 | 0.03022 | 0.01445 |

**Reading:**

- **herbal (fc=89.1%):** Strong centroid-pull. Mean signed difference = 0.055 — the other-cluster centroids are systematically far from herbal folios' distributions. Clean partition. 12/110 misclassified; all drift toward astro centroid (o-opener enrichment sub-stratum within herbal quire — see Section 6).
- **astro (fc=84.6%):** Strong centroid-pull. 4/26 misclassified; three drift toward pharma_recipes centroid (o-opener enrichment), one toward herbal (c-enriched folio f70r2 with high n=253).
- **balne (fc=100.0%):** Perfect classification. q-dominant centroid is the most distinctive of the four. Zero misclassified across all 19 folios. Mean signed difference = 0.030.
- **pharma_recipes (fc=61.1%):** Weakest classification. Mean signed difference = 0.0004 — essentially no average margin. 21/54 misclassified. Anatomized in Section 6.

---

## 6. Misclassification Anatomy

### 6.1 pharma_recipes breakdown by illustration_type

The pharma_recipes axis-tuple [1,3,5,6,7,8,9,15,16] spans two structurally distinct folio sub-zones as recorded in `folio_substrate.illustration_type`:

| illustration_type | n | n_correct | fc | mean_own_js | mean_other_js |
|---|---|---|---|---|---|
| stars | 23 | 19 | **0.826** | 0.02697 | 0.04462 |
| pharmaceutical | 15 | 10 | **0.667** | 0.05356 | 0.05824 |
| herbal | 16 | 4 | **0.250** | 0.09222 | 0.06382 |

**pharma × herbal_illtype (fc=0.250) is the structural anomaly zone.** These are folios f87r-f96v in the pharma quire that carry herbal-style illustrations — large botanical drawings with pharmaceutical commentary — rather than the pharmaceutical container/vessel illustrations typical of the pharma section core. Their opener-frequency distributions are pulled toward the herbal centroid (c-enrichment) rather than the pharma_recipes centroid (o-enrichment). This is the illustration_type selector within the axis-tuple identifying a chip-set boundary crosser: same axis-tuple as pharma_recipes, but illustration apparatus signals herbal register.

**pharma × stars_illtype (fc=0.826)** — the recipes sub-zone (f103-f116r), text-only, stars illustration type. Token counts are high (median ~408). Classifies cleanly like the other text-heavy clusters.

**pharma × pharmaceutical_illtype (fc=0.667)** — the container/vessel illustration zone. Intermediate, consistent with mixed apparatus register (pharma processing + recipe instruction vocabulary interleaved).

**Token-count effect within pharma_recipes:**

| Threshold | n >= thresh | fc |
|---|---|---|
| n >= 50 (all) | 53 | 0.604 |
| n >= 100 | 41 | 0.756 |
| n >= 200 | 29 | 0.828 |
| n >= 400 | 19 | 0.895 |

Correct pharma folios: mean n_tokens = 339.1, median = 408. Misclassified pharma folios: mean n_tokens = 171.0, median = 99. Token-count explains part of the pharma miss rate — low-n folios have noisier opener distributions — but the illustration_type effect is independent: the pharma × herbal_illtype folios are misclassified even at moderate token counts (f93r n=138, f93v n=87 both miss).

### 6.2 herbal misses

12/110 herbal folios misclassified. All drift toward astro (8/12) or pharma_recipes (4/12).

| folio | n | nearest_other | c | o | note |
|---|---|---|---|---|---|
| f40r | 100 | astro | 0.100 | 0.370 | o=0.37, far above herbal centroid o=0.167 |
| f55v | 106 | astro | 0.142 | 0.321 | o=0.32 |
| f48v | 122 | astro | 0.189 | 0.287 | o=0.29 |
| f31v | 108 | astro | 0.259 | 0.296 | o=0.30, c=0.26 borderline |
| f41v | 69 | pharma_recipes | 0.116 | 0.319 | o=0.32 |
| f48r | 88 | astro | 0.114 | 0.261 | o=0.26 |
| f39v | 143 | astro | 0.140 | 0.273 | o=0.27 |
| f33r | 74 | astro | 0.176 | 0.284 | o=0.28 |
| f50r | 98 | pharma_recipes | 0.092 | 0.235 | low c + moderate o |
| f50v | 98 | pharma_recipes | 0.133 | 0.337 | o=0.34 |
| f55r | 125 | astro | 0.184 | 0.304 | o=0.30 |
| f40v | 100 | pharma_recipes | 0.150 | 0.230 | moderate both |

Pattern: all herbal misses are o-enriched (o >= 0.23, vs herbal centroid o=0.167). The o-opener class (F-CORE-1 o-class, astronomical apparatus operators) appears in elevated frequency in this specific folio sub-stratum (primarily f39v-f55v, late quire 2 / early quire 3 range). This is a Layer 1 signal — page-level operator-class composition within the herbal section shifts toward o-class in this zone. Not noise; anatomically consistent.

### 6.3 astro misses

4/26 misclassified:

| folio | n | nearest_other | c | o | note |
|---|---|---|---|---|---|
| f86v6 | 484 | pharma_recipes | 0.118 | 0.256 | q=0.186 elevated — near pharma/balne boundary |
| f70r2 | 253 | herbal | 0.265 | 0.190 | c=0.265 elevated, o depressed — herbal-register-like |
| f68r2 | 109 | pharma_recipes | 0.156 | 0.358 | high n, high o; near pharma centroid o=0.225 |
| f68r3 | 124 | pharma_recipes | 0.169 | 0.290 | d=0.185 elevated |

f86v6 is notable (n=484, highly token-rich): it straddles the pharma/balne boundary via q-enrichment. f70r2 is a zodiac-text folio with herbal-class opener profile — potentially a register-switch folio adjacent to the month-name apparatus. f68r2 and f68r3 are both in the Cancer/Leo zodiac zone with elevated o-opener.

### 6.4 balne — zero misses

All 19 balne folios classify correctly. The q-dominant centroid is maximally distinctive. Mean own_js = 0.026, mean other_js = 0.056 — the balne partition is the cleanest and most spatially separated in opener-frequency space. Consistent with the prior KL probe result (balne was the only cluster where between-cluster JS > within-cluster JS at ratio 1.456).

---

## 7. Observations (raw)

- Total tested: 209 folios across 4 clusters
- Fraction correct (overall): **172/209 = 82.3%**
- Fraction correct excluding pharma × herbal_illtype anomaly zone: **168/193 = 87.0%**
- t-statistic for mean signed_diff > 0: **t=12.40, df=208, p << 0.001**
- Per-cluster fc: herbal=89.1%, astro=84.6%, balne=100.0%, pharma_recipes=61.1%
- Pharma_recipes fc by illustration_type: stars=82.6%, pharmaceutical=66.7%, herbal=25.0%
- Mean signed difference: 0.03641 (SD=0.04244) — systematically positive
- Worst misclassified: f96v (pharma × herbal_illtype, own_js=0.150, min_other=0.066, delta=-0.084)
- Best classified: all 19 balne folios (min signed_diff across balne = +0.011)
- Between-centroid separations range 0.029 (pharma_recipes vs balne) to 0.096 (herbal vs balne / astro vs balne)

---

## 8. Pattern Detected? YES

The centroid-distance discriminant is strongly positive: 82.3% of folios are closer to their own cluster centroid than to any other cluster centroid, with mean signed difference 0.036 and t=12.40 (p << 0.001). The partition is predictive at the individual folio level. The 17.7% misclassification rate is not random — it is concentrated in:

1. **pharma × herbal_illtype (fc=25%)**: the pharma quire's herbal-illustration sub-zone straddling the herbal/pharma chip-set boundary. This is structurally interpretable: the illustration_type selector within the axis-tuple fires herbal-apparatus vocabulary at these positions, exactly as id=629's mechanism claim predicts.
2. **Herbal folios with o-enrichment (12/110, 10.9%)**: late quire 2 / early quire 3 herbal zone where o-class opener usage is elevated. These drift toward astro centroid.
3. **Astro boundary folios (4/26, 15.4%)**: four folios straddling pharma_recipes and herbal register boundaries.

All three misclassification patterns are structurally interpretable as chip-set boundary crossings or illustration_type register transitions — not as random noise or as falsification of the mechanism claim. The misclassification anatomy is itself supporting evidence for the composition model: the folios that fail classification are exactly the ones the model predicts should show intermediate chip-sets.

**Falsifier for this result:** If reassigning the 16 pharma × herbal_illtype folios to the herbal cluster improves their individual classification accuracy to > 70%, then the illustration_type selector is a genuine second-level partition variable and the axis-tuple partition alone is insufficient — the claim would need to be reformulated as (axis-tuple × illustration_type) coordinates the chip-set, not axis-tuple alone. This is a probe for a future session; it does not falsify the current result but would refine the granularity claim.

---

## 9. Verdict on id=629

### RECOMMEND PROMOTION: Candidate → SUPPORTED

**Basis:**
- Centroid-distance discriminant passes at 82.3% (172/209), significantly above 70% threshold specified in the dispatch
- t=12.40, p << 0.001 — the systematic own-centroid proximity is not sampling artifact
- All four clusters show positive mean signed difference (direction is consistent)
- Balne shows 100% classification (fc=1.000) with mean margin 0.030
- Herbal shows 89.1% classification with mean margin 0.055
- Astro shows 84.6% classification
- Pharma_recipes is the weakest (61.1%) but its misclassification anatomy is structurally explained by the illustration_type sub-partition — which is itself a prediction of the id=629 mechanism claim
- The reformulated falsifier (centroid-distance discriminant) is the more appropriate operationalization of id=629's claim given the observed data geometry, per the KL probe recommendation
- Layer 1 alignment is confirmed: all four cluster centroids match F-CORE-1 opener-class predictions (c-dominant herbal, o-dominant astro, q-dominant balne, mixed-o pharma_recipes)

**The KL probe's finding is not overturned.** Pairwise within-cluster JS (mean=0.121 for herbal) genuinely exceeds between-cluster JS (0.067). That result stands. What changes: the pairwise-JS falsifier operationalization is inappropriate for testing folio-level predictiveness; the centroid-distance operationalization is the right test. Both can be true simultaneously: within-cluster pairwise distances are large (folios are spread around their centroids) AND individual folios are still closer to their own centroid than to other centroids (the partition is predictive even with spread). The KL probe correctly identified the data geometry; this probe correctly tests the partition's predictive power given that geometry.

---

## 10. Substrate-Write Candidate (LFAP Step N)

### N.1 Substrate-write proposal

**Recommendation to substrate-db-curator:** Update id=629 status from Candidate to Supported, and append the following notes payload.

**Proposed status:** SUPPORTED

**Notes-update payload for id=629:**

> "CENTROID-DISTANCE DISCRIMINANT RESULT 2026-09-02 — Reformulated falsifier (per KL probe recommendation): per-folio JS to own cluster centroid vs JS to nearest other cluster centroid. Results: 172/209 folios (82.3%) correctly classified (own_js < min_other_js). t=12.40, df=208, p<<0.001 for mean signed_diff > 0. Per-cluster: herbal fc=89.1% (98/110, mean_diff=0.055), astro fc=84.6% (22/26, mean_diff=0.038), balne fc=100.0% (19/19, mean_diff=0.030), pharma_recipes fc=61.1% (33/54, mean_diff=0.0004). Pharma_recipes fc depressed by illustration_type='herbal' sub-zone (f87-f96): 16 folios with herbal-style apparatus in pharma quire, fc=25.0%. These are structural chip-set boundary crossers — the illustration_type selector within the axis-tuple fires herbal apparatus at these positions, consistent with id=629's mechanism claim. Excluding pharma×herbal_illtype: fc=87.0% (168/193). Cluster centroids align with F-CORE-1 opener-class taxonomy: herbal c-dominant (c=0.261), astro o-dominant (o=0.302), balne q-dominant (q=0.241), pharma_recipes o-leading then c/q. Balne centroid-to-centroid separations: herbal-balne JS=0.096, astro-balne JS=0.095. Pharma-balne JS=0.029 (closest pair — explains pharma boundary crossers). Promotion to Supported: centroid-distance falsifier PASSES at 82.3% overall, p<<0.001, with structurally interpretable misclassification anatomy. Source: CENTROID_DISTANCE_ID629_2026-09-02.md."

### N.2 Dedup-trace search strings

- "centroid-distance JS opener herbal pharma"
- "folio own-centroid nearest-other JS pharma_recipes"
- "centroid discriminant axis-tuple opener 82%"
- "illustration_type chip-set boundary pharma herbal"
- "balne 100% classification opener q-dominant"
- "pharma x herbal illtype fc 25%"

### N.3 Cross-DB sync candidacy

NO — this is a falsifier-reformulation probe result on an existing Candidate finding. No new confirmed entity to propagate cross-DB. The pharma × herbal_illtype structural pattern is a residual observation worth a future Observed-tier finding, but not a cross-DB entity.

**Residual observation (route to substrate-db-curator for Observed tier if Ed approves):**

- Proposed code: F-VMS-PHARMA-HERBAL-ILLTYPE-CHIP-BOUNDARY-2026-09-02
- Proposed status: Observed
- One-line claim: Pharma quire folios f87-f96 with illustration_type='herbal' show opener-frequency distributions closer to the herbal centroid than the pharma_recipes centroid (fc=25% in pharma cluster, 12/16 classified as herbal), identifying this sub-zone as a chip-set boundary straddler where illustration_type='herbal' selects herbal apparatus within the pharma axis-tuple.
- Proposed parent: id=629
- Falsifier: if these 16 folios show content that is NOT herbal-apparatus in character (i.e., the illustration_type assignment in folio_substrate is wrong), the boundary-crossing interpretation fails. Chi-squared test of opener-profiles against herbal centroid vs pharma centroid would quantify.

### N.4 Audit trail

| Claim | Source |
|---|---|
| All JS-divergence values | `c7ffff9e1f3ecbec174e234c.txt` |
| Cluster memberships | `folio_substrate.axes_touched_json` at sha `77ccd2930d885461` |
| illustration_type labels | `folio_substrate.illustration_type` at sha `77ccd2930d885461` |
| id=629 Candidate status pre-probe | Finding at sha `77ccd2930d885461` |
| KL probe prior result | `KL_DIVERGENCE_FALSIFIER_ID629_2026-09-02.md` |
| F-CORE-1 opener-class taxonomy | id=27, Confirmed |
| F-354 31 operator classes | id=354, Supported |
| Layer-classification | LAYERED-DATA-MAP base 2026-06-08 |

**Layer touch summary:** Layer 0 (chip stream / opener counts), Layer 1 (operator grammar / opener-class taxonomy via F-CORE-1 alignment check), Layer 2 (positional apparatus / cluster membership and illustration_type from folio_substrate), Layer 6 (single tokenization; content-dependence diagnostic clean — per-folio computations independent).

---

## Dispatcher note for substrate-db-curator

Single action requested:

1. Update `findings` SET `status='Supported'` WHERE `id=629`
2. Append the notes payload from N.1 above to `findings.notes` WHERE `id=629`

Optional second action (Ed decides):

3. Mint new Observed-tier finding F-VMS-PHARMA-HERBAL-ILLTYPE-CHIP-BOUNDARY-2026-09-02 per N.3 residual observation, parent id=629.
