Score digit
ProvedEOSWidth.score_digitaether-catalogtropical
Formal statement of EOSWidth.score_digit from the Aether Catalog (Tropical). The mathematical content is given by the Lean statement below; a human-readable write-up is pending.
theorem EOSWidth.score_digit{N D : ℕ} (hDN : D ≤ N) (w : TVec N) (j : Fin D) :
score w (digit N D j) = w (Fin.castLE hDN j) := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Tropical/NeuralNetworks/EOSWidthTropicalSeparation.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Tropical/NeuralNetworks/EOSWidthTropicalSeparation.lean
import Mathlib
import Definitions.Def_Tropical_NeuralNetworks_EOSWidthTropicalSeparation
/-!
# Tropical separation theory of boundary tokens ("EOS width")
This file gives a max-plus (tropical) model of the empirical phenomenon
recorded in round NET-26 (*EOS-WIDTH-DISTRIBUTION-SHIFT*): a boundary
("end-of-sequence") input of width `E` cures a recurrent carry-wall failure
robustly exactly when it owns dimensions that no digit token uses, and is
seed-fragile when its width sits inside the digit subspace (`E ≤ D`).
The formal claim isolated here is that the *control variable is
representational distinctness, not width*:
* `eos_mem_digitSpan_iff` — a boundary vector lies in the tropical (max-plus)
span of the one-hot digit atoms **iff** it has no exclusive dimension.
* `score_supported_eq_tropComb_of_digitScores` — if it has no exclusive
dimension, then for **every** max-plus readout `w` the boundary response is a
fixed tropical combination of the digit responses: the readout cannot tell the
boundary from a digit step except through digit-controlled quantities.
* `margin_le_of_no_exclusive_dim` — consequently the boundary-vs-digit margin is
bounded by the boundary's own coefficients, uniformly in `w`.
* `exclusive_dim_unbounded_margin` — with one exclusive dimension the margin
becomes unbounded (indeed the digit responses can be driven to the tropical
zero `⊥`), and
* `exclusive_dim_margin_robust` — the separation survives arbitrary bounded
perturbations of the readout weights.
Everything is stated over the max-plus semiring on `WithBot ℝ`
(`⊕ = max = ⊔`, `⊙ = +`, tropical zero `⊥ = -∞`, tropical one `0`).
-/
open EOSWidth
open Finset
/-! ## Part 1: which boundary vectors are tropically indistinguishable -/
/-! ## Part 2: max-plus readouts cannot separate a span member -/Formal statement
theorem EOSWidth.score_digit{N D : ℕ} (hDN : D ≤ N) (w : TVec N) (j : Fin D) :
score w (digit N D j) = w (Fin.castLE hDN j) := by sorrySource