Balanced activation at the optimum.
ProvedHyperAwareness11D.balanced_activation_at_optimumaether-catalogmachinelearning
Balanced activation at the optimum. An injective ReLU layer with exactly 2n units
admits two percepts whose active sets are disjoint, of size exactly n each, and together
exhaust all units.
theorem HyperAwareness11D.balanced_activation_at_optimum[Fintype ι] (W : ι → Fin n → ℝ) (b : ι → ℝ)
(hinj : Function.Injective (reluLayer W b)) (hcard : Fintype.card ι = 2 * n) :
∃ x y : Fin n → ℝ,
(ActiveRows W b x).card = n ∧ (ActiveRows W b y).card = n ∧
Disjoint (ActiveRows W b x) (ActiveRows W b y) ∧
∀ i, i ∈ ActiveRows W b x ∨ i ∈ ActiveRows W b y := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/HyperAwareness11D/BalancedFrame.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from MachineLearning/HyperAwareness11D/BalancedFrame.lean
import Mathlib
import Definitions.Def_MachineLearning_HyperAwareness11D_Injectivity
/-!
# Hyper-Awareness IV: rigidity at the optimum — width-`22` layers are perfectly balanced
`Injectivity.lean` shows that a lossless ReLU perception layer on `ℝ¹¹` needs at least `22`
units and that `22` suffice. This file shows that architectures *at* the optimum are
extremely rigid: no slack is left anywhere.
## Main results
* `HyperAwareness11D.balanced_activation_at_optimum` — if an injective ReLU layer on `ℝⁿ` has
exactly `2n` units, then there are two percepts whose active unit sets **partition** the
units into two blocks of size exactly `n`.
* `HyperAwareness11D.every_unit_essential` — consequently *every* unit of a width-optimal
lossless layer has a nonzero weight row: there are no dead or constant units, no
redundancy, and no unit can be deleted.
* `HyperAwareness11D.balanced_activation_11` / `every_unit_essential_11` — the statements in
the mission's dimension: a `22`-unit lossless 11-dimensional perception layer splits, at
suitable antipodal percepts, into two perfectly balanced halves of `11` active units.
Interpretation: at the information-theoretic optimum the layer behaves exactly like the
canonical positive/negative split — half the units carry the "positive half" of the percept
and half carry the "negative half" — even though no such structure was assumed.
-/
open HyperAwareness11D
open Finset
noncomputable section
open scoped Classical
variable {ι : Type*} {n : ℕ}Formal statement
theorem HyperAwareness11D.balanced_activation_at_optimum[Fintype ι] (W : ι → Fin n → ℝ) (b : ι → ℝ)
(hinj : Function.Injective (reluLayer W b)) (hcard : Fintype.card ι = 2 * n) :
∃ x y : Fin n → ℝ,
(ActiveRows W b x).card = n ∧ (ActiveRows W b y).card = n ∧
Disjoint (ActiveRows W b x) (ActiveRows W b y) ∧
∀ i, i ∈ ActiveRows W b x ∨ i ∈ ActiveRows W b y := by sorrySource