Relu of nonpos
ProvedHyperAwareness11D.relu_of_nonposaether-catalogmachinelearning
Formal statement of HyperAwareness11D.relu_of_nonpos from the Aether Catalog (MachineLearning). The mathematical content is given by the Lean statement below; a human-readable write-up is pending.
theorem HyperAwareness11D.relu_of_nonpos{t : ℝ} (h : t ≤ 0) : relu t = 0 := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/HyperAwareness11D/Injectivity.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/Injectivity.lean import Mathlib import Definitions.Def_MachineLearning_HyperAwareness11D_Injectivity /-! # Hyper-Awareness I: the exact width threshold for lossless 11-dimensional ReLU perception This file answers, *exactly*, the central question of the research mission: > How wide must a single ReLU layer be in order to process an 11-dimensional perception > vector **without any dimensional reduction loss** (i.e. injectively)? The answer proved here is **22 = 2 · 11**, and both directions are established: * `HyperAwareness11D.two_mul_le_card_of_injective` — *lower bound.* If a ReLU layer `x ↦ (relu (⟪wᵢ, x⟫ + bᵢ))ᵢ` on `ℝⁿ` is injective, then the number of output units is at least `2n`. Specialised: an injective ReLU perception layer on `ℝ¹¹` needs `≥ 22` units. * `HyperAwareness11D.doubleLayer_injective` — *upper bound.* The "positive/negative split" layer `x ↦ (x⁺, x⁻)` with exactly `2n` units is injective, and is even *linearly* invertible (`HyperAwareness11D.doubleLayer_reconstruct`). * `HyperAwareness11D.isLeast_width_11` — combining the two: `22` is the *least* width of an injective ReLU layer on 11-dimensional perception vectors. ## Structure of the lower bound proof The argument is a hybrid of linear algebra, elementary real analysis and a finite combinatorial duality step, and it avoids any measure theory: 1. `exists_generic_direction` (algebra: one-variable polynomials over an infinite field): there is a direction `u` with `⟪wᵢ, u⟫ ≠ 0` for every nonzero row `wᵢ`, obtained by evaluating the product of the row polynomials `∑ⱼ wᵢⱼ Xʲ` off its finite root set. 2. `card_activeRows_ge` (linear algebra + a perturbation argument): at any point `x` where no nonzero row is exactly at its kink, the *active* rows must have rank `n`; otherwise a kernel vector `v` of the active rows can be added to `x` (scaled small enough that the inactive rows stay inactive) without changing the output, contradicting injectivity. Rank `n` forces at least `n` active rows. 3. `two_mul_le_card_of_injective` (duality): far out along `±u` the active sets are exactly the rows with `⟪wᵢ, u⟫ > 0` resp. `< 0`; these two sets are **disjoint** and each has at least `n` elements, so the layer has at least `2n` units. Step 3 is where the factor `2` — and hence the sharp constant `22` in dimension `11` — comes from: a ReLU unit can only "see" one half-space, so a full 11-dimensional percept needs a complete positive *and* a complete negative frame. -/ open HyperAwareness11D open Finset noncomputable section open scoped Classical /-! ## Basic definitions -/
Formal statement
theorem HyperAwareness11D.relu_of_nonpos{t : ℝ} (h : t ≤ 0) : relu t = 0 := by sorrySource