Foundations — Universal approximation theorem
Before you can read the parent note without tripping, you need to earn every symbol it throws at you. Below, each symbol appears once, with (1) its plain-words meaning, (2) the picture it stands for, and (3) why the theorem cannot do without it. Read top to bottom — each one leans on the one above.
1. The input and the domain
The little box means "all numbers from 0 to 1, endpoints included". Stacking of these boxes gives , the unit cube in dimensions.
The picture: in 1-D it is just a line segment from 0 to 1. In 2-D it is a filled square. In 3-D a solid cube. Everything the theorem promises happens inside this box.
Why the theorem needs it: the box is closed (it includes its edges) and bounded (it doesn't run off to infinity). Those two words together will later be renamed compact, and compactness is the secret engine of the whole proof.

Recall Why "closed and bounded" both matter
Closed ::: the endpoints (like ) are part of the domain — no sneaky open edge where the function can misbehave. Bounded ::: the domain doesn't stretch to infinity — you can fit it inside a finite ruler.
2. The target function and "continuous"
Continuous means: the curve has no teleports. If you nudge a tiny bit, only moves a tiny bit — you can draw it without lifting your pen.
The picture: a smooth pen-stroke versus a broken one with a sudden jump. The theorem can copy the smooth stroke; it gives up on the one that teleports.

3. The tolerance and the
So reads: "even at the single worst point, the copy is off by less than ."
The picture: draw a fat ribbon of thickness centred on the true curve. The promise is that your copy stays entirely inside the ribbon — never pokes out anywhere. This "everywhere at once" guarantee is called uniform approximation.
Why the theorem needs it: "close on average" would allow big spikes of error hidden by good behaviour elsewhere. The forbids every spike — a much stronger, more useful promise.

Recall sup vs average
Why use sup and not average error? ::: Average could hide a huge error at one point behind tiny errors elsewhere; sup controls the worst point, so the copy is good everywhere.
4. The activation
The picture: an S-shaped curve that starts flat near on the far left, rises through at , and flattens near on the far right. It is a "soft switch" that goes from off (0) to on (1).
The parent note needs to be non-constant, bounded, continuous — meaning it actually moves (non-constant), stays trapped between two heights (bounded, here 0 and 1), and has no jumps (continuous). See Sigmoid activation function for the full profile, and ReLU activation for the modern alternative.

Recall Read the sigmoid limits
::: (far left, switch off). ::: (far right, switch on). ::: (the midpoint of the rise).
5. Weight , bias , and the argument
- Big squeezes the S into a near-vertical step — a sharp switch. This is why the proof can turn a soft sigmoid into a hard step.
- decides where the switch flips. Increasing moves the flip to a new location.
The picture: in 1-D there is no list, so is just — plain multiplication. The only earns its keep in higher dimensions, where it is the machinery that lets a neuron respond to a direction in space.

6. Output weights and the sum
The picture: separate S-curves, each stretched, slid, and scaled, then stacked on top of each other. Two of them subtracted ( and ) form one bump; many bumps side by side form a staircase that hugs the target . is the width — the neuron count. More neurons → finer staircase → smaller (this is the Depth vs Width tradeoff).
Recall The three knobs of one neuron
::: steepness of the switch (how sharp the step is). ::: horizontal position of the switch. ::: the height/sign of that neuron's output.
7. The hidden concept: uniform continuity
Why the theorem needs it: the proof chops into intervals and puts one flat bump on each. Uniform continuity guarantees a single interval width makes every bump's height error smaller than simultaneously — so the whole staircase fits inside the -ribbon. Without it, one bad region could ruin the . Full story in Uniform continuity.
Prerequisite map
Everything on the left of must be understood before the parent note 3.1.07 Universal approximation theorem (Hinglish) makes sense. Downstream ideas — how the weights are actually learned (Backpropagation) and whether the fit generalizes (Overfitting and generalization) — are separate stories the theorem does not cover.
Equipment checklist
Test yourself — cover the right side and answer before revealing.