How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Feedforward networks and single-hidden-layer universality
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Approximation and Compactness in C(K)
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Choice Strength in Baire, Urysohn, Stone, and Tychonoff
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Density Separability and Convolution in Lᵖ
- Determinants of Matrices over a Commutative Ring
- Distributions Test Functions and Differentiation
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Function Space Topologies and the Exponential Law
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Outward rounded interval and ball arithmetic
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Schwartz Space and the Plancherel Theorem
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Stone–Weierstrass in General
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Inverse and Implicit Function Theorems
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Maximal Function and Lebesgue Differentiation
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
Finite feedforward computation graphs and layered MLPs
Definition
Fix integers . A finite feedforward computation graph from to consists of a finite directed graph with no directed cycle; pairwise disjoint input, hidden, and output vertex sets whose union is ; exactly input vertices and output vertices; and a specified ordering of in which the tail of every directed edge precedes its head. The input vertices are labelled bijectively by the coordinates , and input vertex has value for . Each non-input vertex has a real bias , a real weight for every edge , and a real activation function . In the specified order, its value is
The network output is the vector of values at . A layered multilayer perceptron is the specialization with layers , where , , and every edge goes from to for some ; the hidden vertices use a shared activation and the output vertices use the identity activation. A fully connected layered perceptron includes every edge between consecutive layers. The fixed ordering makes the recursive evaluation unambiguous and is part of the graph data.
The diagram shows the edge direction and evaluation convention for a fully connected scalar-output perceptron with one hidden layer. Each circle is one scalar-valued node; the hidden nodes apply and the output node is linear. The diagram illustrates the definition and is not used in any proof.
diagram failed to render:
\begin{tikzpicture}[>=stealth, node distance=1.5cm]
\node[draw,circle] (x1) {$x_1$};
\node[draw,circle,below of=x1] (x2) {$x_2$};
\node[draw,circle,right of=x1,yshift=-0.35cm] (h1) {$\sigma$};
\node[draw,circle,below of=h1] (h2) {$\sigma$};
\node[draw,circle,right of=h1,yshift=-0.35cm] (y) {$y$};
\draw[->] (x1) -- (h1);
\draw[->] (x1) -- (h2);
\draw[->] (x2) -- (h1);
\draw[->] (x2) -- (h2);
\draw[->] (h1) -- (y);
\draw[->] (h2) -- (y);
\end{tikzpicture}Locally essentially bounded activations with null discontinuity closure
Definition
Assume Countable Choice for the Lebesgue-measure convention. A real-valued function belongs to the activation class when it is Lebesgue measurable, is locally essentially bounded, and the closure of its discontinuity set has one-dimensional Lebesgue measure zero. Here locally essentially bounded means that for every compact interval there is a finite such that for Lebesgue-almost every . The discontinuity set is . The function is a polynomial almost everywhere when there is a real algebraic polynomial such that outside a Lebesgue-null set.
The subclass consists of those that are also pointwise locally bounded: for every compact interval . This extra condition distinguishes pointwise uniform approximation from approximation in the essential-supremum norm.
Polynomial ridge functions are dense on compact sets
Statement
Let and let be compact. Let be the real linear span of the functions with and , using the convention for every real . Then the restrictions are uniformly dense in .
Statement references
Facts & Assumptions
Given: An integer and a compact set .
Every unital point-separating real function algebra on a compact Hausdorff space is uniformly dense in the continuous real-valued functions (Real Stone–Weierstrass theorem for compact Hausdorff spaces).
Proof
Fix and linear forms for . Expanding the powers and summing signs gives the polarization identity . Indeed, in the multinomial expansion, a monomial has sign sum , which is zero unless every is odd. Since , the only surviving tuple is , with coefficient . Thus every product of linear forms lies in .
Every coordinate monomial of positive total degree is a product of coordinate linear forms, with repeated times. Step 1.1 puts it in . Constants lie in by , so every real polynomial restricts to an element of .
The restrictions to of real polynomials form a unital real function algebra: sums, scalar multiples, and products are polynomials, and the constant-one polynomial is a unit. If are distinct, some coordinate differs, so the corresponding coordinate polynomial separates them. By [F1] these polynomial restrictions are uniformly dense in . Since step 2.1 places them inside , the latter is dense as well.
Nonconstant affine ridge pullbacks preserve Lebesgue nullity
Statement
Assume Countable Choice. Let , , , and let have Lebesgue outer measure zero. Then
is Lebesgue measurable and has -dimensional Lebesgue measure zero. Consequently, if two Lebesgue measurable real functions on agree outside a null set, their compositions with the same nonconstant affine form agree almost everywhere on .
Statement references
Facts & Assumptions
Given: Countable Choice, , a nonzero vector , a real , and a null set .
Under Countable Choice, every null subset of is contained in a Borel null set: outer regularity supplies open covers of arbitrarily small measure, and their countable intersection is Borel; Borel sets are Lebesgue measurable and completeness makes the resulting outer-null set measurable and null (Assuming countable choice, the Lebesgue outer measure of an arbitrary subset of is the infimum of the measures of the open sets containing it, Assuming countable choice, every Borel subset of is Lebesgue measurable, Assuming countable choice, is a sigma-algebra containing every elementary set and is a complete measure extending elementary volume).
The product of two sigma-finite measures satisfies Tonelli's theorem for nonnegative measurable functions (Tonelli's theorem for nonnegative measurable functions on a sigma-finite product).
Product Lebesgue measure agrees with Euclidean Lebesgue measure on Borel subsets of a Euclidean product (On Borel subsets of R^{m+n}, the product lambda_m times lambda_n agrees with lambda_{m+n}).
Invertible linear maps scale Lebesgue measure by the absolute determinant; in particular an orthogonal map preserves it (A linear map of sends Lebesgue measurable sets to Lebesgue measurable sets, with when is invertible and Lebesgue null when it is not).
Translation and nonzero scalar dilation preserve Lebesgue nullity (Lebesgue outer measure, Lebesgue measurability and Lebesgue measure are unchanged by translation, A linear map of sends Lebesgue measurable sets to Lebesgue measurable sets, with when is invertible and Lebesgue null when it is not).
Lebesgue measure is complete under Countable Choice, so every subset of a measurable null set is measurable and null (Assuming countable choice, is a sigma-algebra containing every elementary set and is a complete measure extending elementary volume).
Under Countable Choice every Borel subset of is Lebesgue measurable (Assuming countable choice, every Borel subset of is Lebesgue measurable).
Under Countable Choice, Lebesgue measure in every positive dimension is -finite: , and each box has finite measure (A box in with parameters is Lebesgue measurable of measure , whichever of its faces are included).
A countable union of measurable null sets is measurable and null, by the measure property in [F6] and countable subadditivity (Finite and countable subadditivity of measures).
Countable Choice means every sequence of nonempty sets has a function choosing one element from each (The Axiom of Countable Choice ()).
Proof
Put . For , start with and inspect the standard basis vectors in their finite order; for each , subtract its orthogonal projection onto the span of the vectors already retained, and append and normalize the residual exactly when it is nonzero. Since the standard basis spans , this finite Gram–Schmidt procedure produces an orthonormal basis whose first vector is . Let be the associated orthogonal coordinate map. If , take . In either case the first coordinate of is , and [F4] says preserves Lebesgue measure.
Fix an integer . Since is a finite matrix, choose greater than times the largest sum of absolute entries in any row; then . Since has outer measure zero, [F1] makes it Lebesgue measurable and null. Thus is a one-dimensional measurable null set by [F5]. By [F1], choose a Borel null set . If , the image under of the set in the Statement intersected with is contained in . If , that image is contained in .
If , the bounded pullback image is contained in the Borel null set , and the inverse orthogonal map preserves nullity by [F4]. If , the Borel set is Lebesgue measurable by [F7]; both Lebesgue factors are -finite by [F8], so Tonelli [F2] gives it product measure zero because its one-dimensional section factor has measure zero, and [F3] identifies that product measure with . Applying the inverse orthogonal map preserves nullity by [F4]. In either case the ridge pullback inside is contained in a Borel null set.
The full pullback is the countable union of its intersections with , . Each intersection is a subset of the Borel null set from step 3.1, hence is measurable and null by [F6]. The full pullback is measurable by [F6] and null by countable subadditivity [F9]. If two functions differ only on , their compositions differ only on this pullback, proving the consequence.
A fixed-support smooth test-function space is separable
Statement
Let with . Let be the real-valued smooth functions that vanish outside , with seminorms
and metric
Then is separable in this metric.
Statement references
Facts & Assumptions
Given: A nondegenerate compact interval .
The fixed-support test-function space has the derivative seminorms and metric displayed in the Statement (Fixed support test function frechet space).
The function , where for and for , is smooth, equals zero on , and equals one on ; its flatness at the endpoints follows from the explicit construction (Explicit compactly supported smooth cutoffs, proof step 2.1).
Every continuous real function on is uniformly approximated by real polynomials (Polynomials are uniformly dense in for every closed interval).
Taylor's formula with a Lagrange remainder bounds a smooth function whose first endpoint derivatives vanish by a constant times the th power of the distance to that endpoint (Taylor's Lagrange remainder follows from repeated Rolle steps).
For a continuously differentiable real function on an interval, the integral of its derivative equals the endpoint difference (The fundamental theorem of calculus and integration by parts).
For every there is an integer with (For every in a complete ordered field there is a natural with ).
A continuous real function on a compact interval is bounded (Continuous functions on a closed interval attain their extrema); the chain and product rules hold (Sum, product, quotient, and chain rules from difference quotients).
The natural numbers are unbounded in , so integers above the fixed cutoff can tend to infinity (Every complete ordered field is Archimedean).
Proof
For each integer define ; such integers exist by [F6], and can tend to infinity by [F8]. By [F2], is smooth, vanishes off , and equals one on . Every derivative of is continuous and vanishes outside in positive order, so [F7] bounds it on ; repeated chain and product rules [F7] bound by a constant times . For every , all derivatives of its zero extension vanish at and . Fix . Taylor's formula [F4] gives, for every and each , bounds near and near . Applying the product rule on the two boundary strips, and taking , shows .
Fix and . By [F3], choose a real polynomial uniformly approximating on , and integrate it times while matching the values for to obtain a polynomial . Put . Then and for . Repeated application of [F5], inducting downward from , gives for the error is just . Thus sufficiently accurate approximation at order makes every derivative through order uniformly close. Approximating the finitely many coefficients of by rational numbers gives with the same approximation to any prescribed tolerance. Since the finitely many derivatives of are bounded on , the product rule makes arbitrarily small. Thus approximates in .
The set is countable. Given a metric neighborhood of , the summable metric weights reduce it to finitely many seminorms, bounded by for the largest index. Choose in step 1.1 so that is less than half the target tolerance, then choose in step 1.2 so that is less than the other half. The triangle inequality places in the neighborhood. Hence this countable set is dense.
A distribution with a vanishing derivative is a polynomial
Statement
Assume Countable Choice. Let and let be a distribution on the connected open set . Test functions are complex-valued and distributions are complex-linear; here, real distribution means that for every real-valued test function . If is a real distribution and its st distributional derivative is zero, then there is a real algebraic polynomial of degree at most whose regular distribution equals .
Statement references
Facts & Assumptions
Given: Countable Choice, , and a real distribution with .
A distribution on a connected open set whose first derivative vanishes is a constant regular distribution, under Countable Choice (A distribution with zero derivatives on a connected open set is constant).
The distributional derivative acts by signed differentiation of test functions; derivatives preserve realness because derivatives of real-valued tests are real-valued (Distributional derivative).
A smooth regular distribution differentiates to the regular distribution of its classical derivative, under Countable Choice (Distributional differentiation is continuous and commutes).
The formal derivative of is for , and its th derivative is (The formal derivative of a polynomial).
Countable Choice means every sequence of nonempty sets has a function choosing one element from each (The Axiom of Countable Choice ()); it is assumed by the supplied regular-distribution derivative theorem.
A compact subset of an open set admits a nonnegative smooth cutoff equal to one near it; for this gives a real test function with positive finite integral (positivity follows from the positive measure of an interval), which can be normalized to have integral one (Test function cutoffs and euclidean localization, A box in with parameters is Lebesgue measurable of measure , whichever of its faces are included).
Proof
Base case : the hypothesis is , so [F1] gives a constant regular distribution with some value . Choose a real test function with integral one by [F5]. Since and is real, . Thus is represented by a real polynomial of degree at most zero.
Inductive step: let and assume the result for . The distribution satisfies and is real by [F2]. By [F1], is the constant distribution with some value . Choose a real test function with integral one by [F5]. Since and is real, .
The smooth polynomial has as a regular distribution by [F3] and [F4]. Thus satisfies . The induction hypothesis applied with index gives a polynomial of degree at most whose regular distribution is .
The polynomial has degree at most and its regular distribution is , since regular distributions and distributional derivatives are linear. This completes the induction.
Continuous functions are dense in Lp for compactly supported finite measures
Statement
Let be a finite regular Borel measure on concentrated on a compact set , and let . Form the real space using the Borel -algebra. Then restrictions to of real-valued compactly supported continuous functions on are dense in .
Statement references
Facts & Assumptions
Given: A finite regular Borel measure concentrated on compact , an exponent , a real-valued Borel class , and .
consists of measurable functions with finite , with functions identified when equal -almost everywhere (The function space for , The space as the quotient by null functions).
A measure is a nonnegative countably additive set function on a sigma-algebra, and regularity here means Borel sets can be approximated from inside by compact sets and outside by open sets with arbitrarily small measure excess (Measures on sigma-algebras); regularity is the hypothesis on .
If is compact and is open with , there is a smooth compactly supported cutoff with , near , and (Test function cutoffs and euclidean localization).
Dominated convergence applies to and almost everywhere (Dominated convergence).
For , the quotient has a norm whose triangle inequality is Minkowski's inequality (The norm descends to the quotient and makes a normed space for ).
Proof
Choose a measurable representative of . Truncate it to . Since and pointwise wherever is finite, [F4] makes for some large . Partition into finitely many intervals of length at most and replace each value of by a fixed endpoint of its interval. If , choose with ; if , any suffices. The resulting finite-valued Borel simple function satisfies pointwise, so . By [F5] and the triangle inequality, . Since is concentrated on , replace by : this finite Borel simple function represents the same class and admits a representation with every set . Thus such supported simple functions are dense in .
Write such a simple function as with Borel . For any , regularity [F2] gives compact and open with . By [F3] choose with and on . Outside the functions and agree; everywhere their difference has magnitude at most one. Therefore .
The triangle inequality [F5] gives . Choose small enough that this is below , and choose from step 1.1 within of . Then the compactly supported continuous function is within of in .
The zero set of a nonzero real polynomial is Lebesgue null
Statement
Assume Countable Choice. For every integer , if
is a nonzero real polynomial with finitely many nonzero coefficients, then its zero set is Lebesgue measurable and has -dimensional Lebesgue measure zero.
Statement references
Facts & Assumptions
Given: Countable Choice, , and a nonzero real polynomial in variables.
A nonzero univariate real polynomial has only finitely many distinct real roots (A nonzero real polynomial of degree has no more than distinct real roots).
Tonelli's theorem computes the measure of a Borel set by integrating the measures of its coordinate sections (Tonelli's theorem for nonnegative measurable functions on a sigma-finite product).
Product Lebesgue measure agrees with Euclidean Lebesgue measure on Borel sets (On Borel subsets of R^{m+n}, the product lambda_m times lambda_n agrees with lambda_{m+n}).
Countable subsets of Euclidean space are Lebesgue null under Countable Choice, and Lebesgue measure is countably subadditive (Every at most countable subset of is Lebesgue null; in particular , Finite and countable subadditivity of measures).
Under Countable Choice every Borel subset of is Lebesgue measurable (Assuming countable choice, every Borel subset of is Lebesgue measurable).
Under Countable Choice, Lebesgue measure in every positive dimension is -finite: , and each box has finite measure (A box in with parameters is Lebesgue measurable of measure , whichever of its faces are included).
Countable Choice means every sequence of nonempty sets has a function choosing one element from each (The Axiom of Countable Choice ()).
Proof
Base case : [F1] makes the zero set finite, hence countable and null by [F4].
Inductive step: let and assume the claim in dimension . Write , where and the highest coefficient is a nonzero polynomial. By the induction hypothesis, is null. For every , the section is a nonzero univariate polynomial, so its zero set is finite by [F1] and null by [F4].
Fix . The set is Borel because is continuous. Its section has measure at most when and measure zero otherwise. Both Lebesgue factors are -finite by [F6], so Tonelli [F2] shows that its product measure is zero, since is null; [F3] identifies this with its Euclidean Lebesgue measure.
The full zero set is the countable union of these Borel null intersections over integers . Countable subadditivity [F4] makes it measurable and null. The base case and induction step prove the assertion for every .
Polynomial activation convolutions have a common degree bound
Statement
Assume Countable Choice. Let and, for every real smooth test function supported in , define
If every is a real polynomial, then there is one integer such that every has degree at most .
Statement references
Facts & Assumptions
Given: Countable Choice and such that every displayed convolution is a polynomial.
Each is measurable and essentially bounded on compact intervals, hence locally integrable; its regular distribution is defined by integration and embeds into distributions under Countable Choice (Locally essentially bounded activations with null discontinuity closure, Regular distribution from a locally integrable function, Locally integrable functions embed in distributions).
The complex fixed-support test-function space is complete; its real-valued subspace is closed because uniform limits of real-valued functions are real, and is therefore complete with the induced metric (Fixed support test function frechet space, Fixed support test function spaces are complete).
This fixed-support test-function space is separable (A fixed-support smooth test-function space is separable).
A separable complete metric space is Baire in ZF (Separable complete metric spaces are Baire in ZF).
Convolution of a distribution with a test function is smooth, differentiates by moving derivatives to the test function, and agrees with the displayed integral for the regular distribution of (Convolution with a test function is smooth, Convolution of a distribution with a test function, Regular distribution from a locally integrable function).
A differentiable real function with zero derivative on an interval is constant there, by the mean-value theorem (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ).
Countable Choice means every sequence of nonempty sets has a function choosing one element from each (The Axiom of Countable Choice ()); it is assumed for the Lebesgue-integral realization of .
Proof
Let with its fixed-support Fréchet topology. For each , set . Linearity of convolution makes a linear subspace. For fixed , its defining functional is continuous: on the compact interval , local essential boundedness of gives a finite bound , and . Thus , an intersection of kernels of continuous functionals, is closed.
If a smooth function has st derivative zero, [F6] first makes constant; subtracting its corresponding multiple of leaves an th derivative equal to zero. Repeating this argument down to order zero shows is a polynomial of degree at most . Conversely every such polynomial has st derivative zero. Thus the hypothesis gives .
By [F2]–[F4], the Baire theorem applies to . Therefore some closed subspace has nonempty interior; otherwise the closed sets would all be nowhere dense and their countable union could not equal . A linear subspace with nonempty interior contains a neighborhood of zero, and scaling any vector into that neighborhood shows it is the whole space. Hence .
Membership says for every test function supported in . Repeated application of [F6] then makes every a polynomial of degree at most , as claimed.
Polynomial activations have a bounded-degree obstruction
Statement
Assume Countable Choice. Let , , and let be measurable and equal almost everywhere to a polynomial of degree at most (including the zero polynomial). For every finite single-hidden-layer network with activation , its restriction to the segment cannot approximate the target uniformly with error less than
Consequently these networks are not uniformly dense in .
Statement references
Facts & Assumptions
Given: Countable Choice, , a measurable activation outside a Lebesgue-null set , and a finite network .
A single-hidden-layer network is with finite width and arbitrary real parameters (Single-hidden-layer network realization).
For , the pullback of a one-dimensional Lebesgue-null set under is Lebesgue null (Nonconstant affine ridge pullbacks preserve Lebesgue nullity).
Every nondegenerate interval has positive one-dimensional Lebesgue measure (A box in with parameters is Lebesgue measurable of measure , whichever of its faces are included).
A finite union of measurable null sets is null by finite subadditivity (Finite and countable subadditivity of measures).
Countable Choice means every sequence of nonempty sets has a function choosing one element from each (The Axiom of Countable Choice ()); it is assumed in [F2].
Proof
Restrict each unit of to . If its first weight coordinate is zero, that unit is constant in . If that coordinate is nonzero, [F2] says the set of for which its preactivation lies in is null. There are finitely many units, so their union is null by [F4] and cannot contain a nondegenerate interval by [F3]. Every nonempty relatively open subset of contains a nondegenerate interval, so the complement is dense in . On this dense complement every nonconstant unit equals . Thus agrees there with a polynomial of degree at most ; the constant units are absorbed into its constant term.
Suppose . On the dense subset from step 1.1, ; continuity of both polynomials extends the weak bound to all of .
Put and evaluate the st forward difference at . Its nodes are for , all in . The forward-difference operation lowers the degree of every nonconstant polynomial by one and multiplies its leading coefficient by its degree times . Iterating it times therefore annihilates and gives on . The approximation bound [step 2.1] makes the absolute value of the resulting error sum at most , since the binomial coefficients sum to . But this is half of by the definition of , a contradiction.
Hence no network attains the stated error on this target, so the family is not uniformly dense on . The argument includes , where it says constants cannot approximate to arbitrary accuracy.
Smooth nonpolynomial activations are dense on compact sets
Statement
Let be infinitely differentiable and not a polynomial. For every and compact , scalar networks with one hidden layer, activation , arbitrary affine hidden inputs and linear output are uniformly dense in .
Statement references
Facts & Assumptions
Given: A smooth nonpolynomial function , an integer , a compact set , and .
A one-hidden-layer network has arbitrary affine hidden inputs and an output bias (Single-hidden-layer network realization).
Polynomial ridge functions have linear span uniformly dense in (Polynomial ridge functions are dense on compact sets).
Every compact subset of is bounded; each coordinate is bounded by the Euclidean norm, so is bounded on (Heine-Borel in : with the Euclidean metric a subset of is compact if and only if it is closed and bounded, and the proof by bisection uses no choice principle; the same holds on the real line).
A real function continuous on a closed interval and differentiable in its interior satisfies the mean value theorem (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ).
Proof
Fix and . If a smooth function has , induction on shows it is a polynomial of degree at most : for , [F4] makes it constant; for , [F4] makes constant , and subtracting reduces to the induction hypothesis. Since is not a polynomial, choose with . For , repeated application of [F4] gives the finite-difference identity for some between and , where . Indeed, the case is [F4]; for the induction step apply [F4] to between and , then apply the induction hypothesis to at the resulting point. The binomial expansion of is . For , define a finite linear combination of units from [F1]. If then . Otherwise the identity with gives By [F3], choose with on . Continuity of at makes uniformly over as , since . Therefore uniformly on .
Constants belong to the network family through its output bias. Step 1.1 puts every positive-degree polynomial ridge function in the uniform closure of the family; finite sums of such approximants are still finite networks. By [F2], that closure contains a dense subspace of .
Given , first choose a polynomial ridge combination within of by [F2], then approximate its finitely many ridge terms closely enough using step 1.1 that their total error is below . The resulting one-hidden-layer network is within of .
Networks approximate smooth convolutions of the activation
Statement
Assume Countable Choice. Let , let , and let be compact. Define the convolution
Then and are each uniform limits on of finite sums with real coefficients, hence of single-hidden-layer networks with activation . In particular, if is real-valued, then itself is such a uniform limit.
Statement references
Facts & Assumptions
Given: Countable Choice, , a test function , and a compact interval containing .
The activation is pointwise bounded on compact intervals and its discontinuity set lies in a closed null set (Locally essentially bounded activations with null discontinuity closure).
A bounded function on a compact interval whose discontinuity set is null is Riemann integrable under Countable Choice, and its Riemann and Lebesgue integrals agree (A bounded function on a closed bounded interval, or on a closed nondegenerate rectangle, is Riemann integrable exactly when its discontinuity set has Lebesgue measure zero, A bounded Riemann integrable function on a closed bounded interval is Lebesgue measurable and has the same integral).
A compact null set has open covers of arbitrarily small measure, and Lebesgue measure is translation invariant (Assuming countable choice, the Lebesgue outer measure of an arbitrary subset of is the infimum of the measures of the open sets containing it, Lebesgue outer measure, Lebesgue measurability and Lebesgue measure are unchanged by translation).
A finite sum is a network from [F1] with input weight in each unit (Single-hidden-layer network realization).
Every continuous real function on a compact subset of is uniformly continuous (Heine-Cantor in : a continuous real function on a compact subset of is uniformly continuous).
Compact subsets of are bounded, so a compact interval can contain (Heine-Borel in : with the Euclidean metric a subset of is compact if and only if it is closed and bounded, and the proof by bisection uses no choice principle; the same holds on the real line).
Reciprocals tend to zero, and for every positive mesh tolerance there is an integer with , so has uniform partitions of arbitrarily small mesh (For every in a complete ordered field there is a natural with ).
Countable Choice means every sequence of nonempty sets has a function choosing one element from each (The Axiom of Countable Choice ()); it is used by [F2] for Lebesgue integration.
Under Countable Choice, Lebesgue measure is complete: every subset of a measurable null set is measurable and null (Assuming countable choice, is a sigma-algebra containing every elementary set and is a complete measure extending elementary volume).
The invertible linear map has absolute determinant one, so it preserves Lebesgue measurability and measure under Countable Choice (A linear map of sends Lebesgue measurable sets to Lebesgue measurable sets, with when is invertible and Lebesgue null when it is not).
Proof
Write with real-valued smooth compactly supported components, and put and , so . Choose with and a compact interval containing by [F6]. Put , where is the discontinuity set of . Then is compact and null. Reflection [F9] makes measurable and null, and translation invariance [F3] makes measurable and null for every . The discontinuities on of each bounded real function , , lie in and hence are measurable and null by completeness [F8]. By [F2], its Riemann integral equals the Lebesgue integral defining .
Fix . By [F3] and compactness, cover by a finite union of open intervals with total length less than . On the compact set , is continuous and therefore uniformly continuous by [F5]; it is also bounded on by [F1]. Both and are uniformly continuous by [F5]. Hence the two products , , have a common modulus of continuity on every grid cell for which , uniformly over .
For each integer , use [F3] and compactness to cover by a finite union of open intervals with ; Countable Choice selects this sequence of covers. Let be the number of component intervals. For each , use [F7] to choose a uniform partition of with mesh , midpoint tags , and define . For fixed , cells whose translate meets have total length at most . Their total integral and sum error is at most twice this length times . On all other cells the common modulus from step 2.1 bounds the total error by times that modulus at . Choose the mesh sufficiently small that the terms involving and the modulus are below . Thus for both components the uniform error is bounded by a constant times , and tends to zero. Each is a finite sum of translates.
Each term is a hidden unit with bias and real output weight . Hence every is a network by [F4], proving the claim for both components; for real , .
Polynomial convolutions force activation polynomiality almost everywhere
Statement
Assume Countable Choice. Let . If every convolution
is a polynomial, then agrees almost everywhere with a polynomial. Equivalently, if is not polynomial almost everywhere, at least one such test function has a nonpolynomial convolution.
Statement references
Facts & Assumptions
Given: Countable Choice and a measurable, locally essentially bounded activation .
Such an activation is locally integrable, and its regular distribution is defined by integration against test functions (Locally essentially bounded activations with null discontinuity closure, Regular distribution from a locally integrable function).
If every convolution with a real-valued test function supported in is polynomial, their degrees have a common finite bound (Polynomial activation convolutions have a common degree bound).
Unit-mass mollifications converge locally in distribution pairings under Countable Choice (Mollifier approximation in distributions, The mollifier family generated by a unit-mass smooth bump).
A distribution whose st derivative vanishes is a polynomial distribution of degree at most (A distribution with a vanishing derivative is a polynomial).
The map from locally integrable functions modulo almost-everywhere equality to regular distributions is injective under Countable Choice (Locally integrable functions embed in distributions).
The distributional derivative of a polynomial's regular distribution is its classical derivative, so the derivative of order of a degree-at-most- polynomial vanishes (The formal derivative of a polynomial, Distributional differentiation is continuous and commutes).
A nonnegative smooth cutoff supported in and positive near zero can be normalized by its finite positive integral to obtain a unit-mass bump supported in (Test function cutoffs and euclidean localization).
Distributional derivatives are defined by (Distributional derivative).
Since is real-valued and , its regular distribution takes real values on every real-valued test function and is therefore a real distribution under the convention of A distribution with a vanishing derivative is a polynomial (Locally essentially bounded activations with null discontinuity closure, Regular distribution from a locally integrable function).
Countable Choice means every sequence of nonempty sets has a function choosing one element from each (The Axiom of Countable Choice ()); it is assumed by [F3] and [F5].
Proof
Let be the regular distribution induced by . It is real by [F9]. The hypothesis of the Statement includes all real-valued test functions. Applying [F2] to that subclass gives such that every real-test convolution supported in is a polynomial of degree at most . By [F7], choose a nonnegative smooth bump supported in and divide by its positive finite integral to obtain the real unit-mass test . Its rescalings for remain supported in , so is a polynomial of degree at most .
By [F3], the regular distributions induced by converge to on every test function. For every , the definition [F8] and this convergence give , because [F6] makes each integral zero for the polynomial of degree at most . Thus .
By [F4], is the regular distribution of a polynomial . Since both and are locally integrable, injectivity [F5] implies almost everywhere. This proves the forward implication; its contrapositive is the equivalent existence assertion.
Rough nonpolynomial activations are dense on compact sets
Statement
Assume Countable Choice. Let , let be compact, and let not agree almost everywhere with any polynomial. Then the finite scalar single-hidden-layer networks with activation are uniformly dense in .
Statement references
Facts & Assumptions
Given: Countable Choice, , compact , nonpolynomial almost everywhere, , and .
Countable Choice is the axiom used in the convolution and distribution suppliers (The Axiom of Countable Choice ()).
Single-hidden-layer networks allow arbitrary affine hidden inputs and a linear output with bias (Single-hidden-layer network realization).
If every compactly supported test convolution of were polynomial, then would be polynomial almost everywhere (Polynomial convolutions force activation polynomiality almost everywhere).
Convolution of a locally integrable function with a test function is smooth (Convolution with a test function is smooth).
A smooth nonpolynomial activation generates a uniformly dense network family on every compact subset of (Smooth nonpolynomial activations are dense on compact sets).
For a real test function and a compact interval, its real convolution with is a uniform limit of finite real translates of ; this is the real-valued special case of the component conclusion for complex tests (Networks approximate smooth convolutions of the activation).
The class consists of activations in that are also pointwise locally bounded (Locally essentially bounded activations with null discontinuity closure).
Proof
By [F2] and the hypothesis on , some real test function supported in has a nonpolynomial convolution . Indeed, if every real test had polynomial convolution, then for every complex test both real convolutions would be polynomials, making every complex convolution polynomial; [F2] would then imply that is polynomial almost everywhere. By [F3], is smooth. The activation hypothesis has the content in [F6].
By [F4], choose a finite -network with . For each with and , the set is compact and lies in a compact interval .
By [F5], for each such choose a finite sum of translates of uniformly within of on . Composing with gives a finite sum of units ; units with contribute only constants and are absorbed into the output bias. Summing the finitely many approximants yields a -network with .
The triangle inequality gives . Hence the -network family is uniformly dense on .
4 · Examples, counterexamples and false statements
None yet.
Sources
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, §2
- Goodfellow, Bengio, and Courville, Deep Learning, §6.4.1
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, Definitions 3–5 and §4
- Moreau, Dynamical Neural Networks and Composition Networks for System Modeling, Chapter 2 §2.3
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, proof of Theorem 1, Step 2
- Terence Tao, An Introduction to Measure Theory, product-measure and change-of-variables results
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, §6
- Semyon Dyatlov, Lecture Notes for 18.155, fixed-support test-function topology
- L. Hörmander, The Analysis of Linear Partial Differential Operators I, Chapter 2
- Semyon Dyatlov, Lecture Notes for 18.155, distributions and derivatives
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, proof of Theorem 1, Lp part
- Kurt Hornik, Approximation Capabilities of Multilayer Feedforward Networks, §2
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, proof of Theorem 1, Step 1
- Hornik, Approximation Capabilities of Multilayer Feedforward Networks, §2
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, proof of Theorem 1, Step 6
- Semyon Dyatlov, Lecture Notes for 18.155, fixed-support test functions and Baire category
- Yves Moreau, Dynamical Neural Networks and Composition Networks for System Modeling, Chapter 2 §2.3
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, proof of Theorem 1, convolution and Riemann-sum step
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, proof of Theorem 1, Step 7
- Semyon Dyatlov, Lecture Notes for 18.155, mollifier approximation and regular distributions
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, proof of Theorem 1, Steps 3–7
- Leshno, Lin, Pinkus, and Schocken, Multilayer Feedforward Networks With a Non-Polynomial Activation Function Can Approximate Any Function, Definitions 3–5, Theorem 1, and complete proof in §6
- Kurt Hornik, Approximation Capabilities of Multilayer Feedforward Networks, Theorems 1–2 and complete proofs
- Ian Goodfellow, Yoshua Bengio, and Aaron Courville, Deep Learning, §6.4.1