ReLU has infinite disagreement with every polynomial: for any
ProvedAlgebraicNeural.relu_infinite_disagreementaether-catalogmachinelearning
ReLU has infinite disagreement with every polynomial: for any polynomial p, the set {x | ReLU x ≠ p(x)} is infinite. Bridge: connects Algebra (polynomial root theory) to MachineLearning (universal approximation via non-polynomiality).
theorem AlgebraicNeural.relu_infinite_disagreement(p : Polynomial ℝ) :
Set.Infinite {x : ℝ | ReLU x ≠ p.eval x} := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/Neural/AlgebraicNeuralArchitecture.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from MachineLearning/Neural/AlgebraicNeuralArchitecture.lean import Mathlib import Definitions.Def_MachineLearning_Neural_AlgebraicNeuralArchitecture /-! # Algebraic Neural Architecture: Module-Theoretic Framework This file formalizes the algebraic foundations of neural network theory over commutative rings, establishing connections between: - **Commutative Algebra**: ideal theory, module theory, prime spectrum - **Machine Learning**: network architecture, activation functions, approximation - **Tropical Geometry**: max-plus algebra, piecewise-linear functions ## Main Definitions * `AlgebraicNeural.ReLU` — ReLU activation on linearly ordered types * `AlgebraicNeural.ActivationNonPolynomial` — non-polynomial activation condition * `AlgebraicNeural.TranscendentalOnProperIdeals` — ring-aware transcendence condition * `AlgebraicNeural.NeuralLayer` — single layer of a module neural network * `AlgebraicNeural.ModuleNetwork` — multi-layer module neural network structure * `AlgebraicNeural.TropicalNeuron` — tropical (max-plus) neuron * `AlgebraicNeural.SpectralWidthBound` — prime-spectral width bound type ## Main Results 1. ReLU is idempotent, 1-Lipschitz, and non-polynomial (Sections 1, 2) 2. Linear layers without activation collapse to a single linear map (Section 3) 3. Parameter count formulas and width-depth tradeoff bounds (Section 4) 4. Tropical specialization: ReLU decomposes identity and absolute value (Section 5, 9) 5. Deep network Lipschitz bounds compose multiplicatively (Section 6) 6. Certified adversarial robustness radius from Lipschitz constants (Section 8) ## Bridge: Commutative Algebra ↔ Machine Learning ↔ Tropical Geometry The key insight: universal approximation is fundamentally an *algebraic* property of activation functions. Over a field, non-polynomiality (transcendence) suffices. Over a general Noetherian ring, we need transcendence relative to every proper ideal, and the approximation error stratifies across the prime spectrum via localization. -/ noncomputable section open Finset BigOperators open AlgebraicNeural /-! ## Section 1: ReLU Activation and Algebraic Properties -/ /-! ## Section 2: Non-Polynomial Activation (Transcendence Condition) -/
Formal statement
theorem AlgebraicNeural.relu_infinite_disagreement(p : Polynomial ℝ) :
Set.Infinite {x : ℝ | ReLU x ≠ p.eval x} := by sorrySource