Fix and put . For each pair , choose whose errors at these two points are smaller than . By continuity, there is a neighborhood of on which . For a fixed , these neighborhoods cover the compact space . Choose a finite subcover and form
Then everywhere, while , because every chosen function has error smaller than at . Since is continuous, there is a neighborhood of on which .
A second use of compactness supplies covering . Set
Every is above , so their minimum is also above it. At each point at least one is below , and hence so is their minimum. This proves . The two finite operations are the essential mechanism in lattice approximation from two-point approximation; no closure under addition or multiplication has been assumed.
For the corollary take to consist of all continuous piecewise linear functions on . On a common finite partition, the maximum or minimum of two affine pieces can change which piece it selects only at their crossing. Adding those finitely many crossings to the partition shows that is closed under both operations. For two distinct points, the affine polynomial through the two prescribed values belongs to and matches exactly there; for equal points use a constant function. The proved criterion therefore gives density of continuous piecewise linear functions in in the supremum norm. Concretely, interpolation on a partition of maximum gap also gives error at most by uniform continuity.
The Weierstrass approximation theorem asserts that every real continuous function on a compact interval is a uniform limit of polynomials. An affine change of variable reduces the interval to . There are two complementary routes: construct positive approximation operators, or construct an algebra dense enough to approximate absolute values and hence pointwise maxima and minima.
For the first route, the Korovkin theorem reduces convergence of positive linear operators on continuous functions to the three tests . Here is its proof. Given and , uniform continuity supplies a such that for . For all one then has
Apply positivity to the two real inequalities obtained from this bound. At this gives
The expression in brackets is nonnegative and tends uniformly to zero by the three test assumptions. Also uniformly. Taking the upper limit of the supremum norm and then letting proves convergence for every . This is the quadratic barrier estimate for positive approximation operators.
The Bernstein polynomial supplies the constructive corollary
The binomial theorem makes its nonnegative weights sum to one. Differentiating the binomial theorem, or using the first two binomial distribution moments, gives
The Korovkin theorem proves uniformly, and each is a polynomial, proving the Weierstrass approximation theorem. The same criterion gives the Schoenberg spline operator convergence in Solution 3. For periodic functions its counterpart uses : the nonnegative barrier is bounded away from zero outside any fixed small arc. This periodic Korovkin test set gives convergence of the normalized Fejér sums and density of trigonometric polynomials.
The Lebesgue convergence criterion for approximation operators addresses stability. Suppose bounded linear operators converge to the identity on every polynomial. Then they converge on every continuous function if and only if . Sufficiency is the extension of approximation operators from a dense subspace: for a polynomial with and a common bound ,
First let , then . Necessity follows from the Uniform boundedness principle, since a convergent is bounded for every . Applied to approximation projectors, the Lebesgue inequality for approximation projectors is
Indeed makes ; take the infimum. Thus density of the ranges and a uniform bound on the Lebesgue constants of interpolation imply convergence. Density alone does not control a sequence of interpolation projectors.
There is also a kernel version of this stability criterion, useful for trigonometric polynomial approximation. If integrable periodic kernels have uniformly bounded norms, their integrals tend to one, and for every , then convolution with converges uniformly to every continuous periodic function. Subtract and split the error into a small arc, bounded by , and its complement, bounded by . The remaining mass error tends to zero. This approximate identity argument shows directly why nonnegative unit-mass Fejér kernels work even though ordinary Fourier partial sums need not converge uniformly for every continuous target.
Lebesgue's constructive approach to the Weierstrass approximation theorem starts instead with the absolute value. On define the polynomial recurrence for the absolute value
Induction gives , monotonicity, and
The pointwise limit satisfies and is nonnegative, hence equals . Dini's theorem makes the convergence uniform. More explicitly, the continuous decreasing errors have, for any positive tolerance, open sublevel sets covering the compact interval; a finite subcover supplies one index valid everywhere. Every continuous piecewise linear function has the form
The are its changes in slope. Scaling and translating the absolute-value approximation shows that is uniformly approximable by polynomials. Solution 4, or polygonal interpolation and uniform continuity, makes these piecewise linear functions dense in . Approximating first by and then by a polynomial is another complete proof of the Weierstrass approximation theorem.
The Stone-Weierstrass theorem generalizes from intervals to a compact Hausdorff space : a real subalgebra containing the constants and separating points is uniformly dense. Its proof uses the same absolute-value mechanism. The uniform closure of a function algebra is an algebra. If belongs to this closure, approximation of by polynomials on a bounded interval containing its range proves that also belongs to the closure. Therefore the closure contains
Point separation and constants allow exact interpolation of any two real values: choose with and solve for in . The lattice approximation from two-point approximation proved in Solution 4 now makes the closure all of .
The complex version requires a unital, point-separating subalgebra closed under complex conjugation. Its real-valued members separate points using real or imaginary parts, so the real result approximates both parts of every complex target. Conjugation closure is essential: polynomials in alone on the closed unit disk cannot approximate uniformly, because whereas .
Among the corollaries are density of multivariate polynomials on compact subsets of real Euclidean space, since coordinates separate points, and density of trigonometric polynomials on the circle, since sine and cosine separate points there. On a compact interval, polynomials with rational coefficients are a countable dense family, giving separability of . The real and complex approximation results above concern uniform approximation of continuous targets; neither asserts convergence of arbitrary interpolation schemes or arbitrary Fourier series.
Fix a clamped nondecreasing spline knot sequence on , with and . For continuous splines assume interior multiplicities at most , and assume . An order- spline has degree at most on each nonempty knot interval; at a knot of multiplicity it has continuous derivatives. Its dimension is , and a normalized B-spline basis has local support, nonnegative values and sum one on .
These properties are visible in the Cox-de Boor recurrence. Starting with interval indicators at order one, set
with a term of zero denominator defined to be zero. On each contributing support the weights are nonnegative, and summing the recurrence makes the coefficients of each lower-order B-spline add to one. This gives partition of unity and , with endpoint values defined by limits.
At distinct ordered sites , interpolation is the linear system
It has a unique solution for every data vector exactly when the B-spline collocation matrix is invertible. The Schoenberg–Whitney theorem characterizes this by for every ; away from clamped endpoints this is . At the clamped endpoints the first and last B-splines have value one, so the endpoint version uses this positive-value formulation rather than the strict inequalities. Both ordering and the support conditions matter. A spline space with interior knots is generally not a Chebyshev system on the entire interval: a locally supported B-spline vanishes on an interval. Thus arbitrary distinct nodes need not permit interpolation. Merely specifying all data sites as knots also need not fix the remaining freedom; for example, cubic interpolation with simple interior knots at data sites has dimension , and two extra boundary conditions are needed to interpolate values uniquely.
The positivity governing this existence theorem is total nonnegativity of B-spline collocation matrices: every square minor with increasing row and column indices is nonnegative. In spline terminology this is often called total positivity, but it permits zero minors caused by disjoint supports. It is not the stronger assertion that every minor is strictly positive. A useful proof uses knot insertion. Each refinement step changes coefficients by
with the unchanged endpoint pieces. The refinement matrix is nonnegative bidiagonal, and its minors are nonnegative: any nonzero determinant has its allowed diagonal matching and is a product of nonnegative entries. Products preserve this property by the Cauchy–Binet formula. Insert each sampling site to full multiplicity, so evaluation at that site becomes selection of an ordered refined coefficient. The collocation matrix is then an ordered row submatrix of the refinement product, proving total nonnegativity. The strict support criterion is the strict part of this argument: an ordered path through the consecutive support intervals exists exactly when every diagonal B-spline value is positive, giving the Schoenberg–Whitney theorem determinant criterion.
If is invertible, its determinant is positive and the adjugate identity yields
This checkerboard inverse of a totally nonnegative matrix is the central stability fact. With alternating data , the absolute row sums satisfy
For general data, the cardinal splines are . The spline interpolation operator and its exact Lebesgue constant of interpolation are
The equality for the operator norm follows by extending the signs at distinct sites to a continuous unit-norm data function, as in Solution 2. That solution also shows the last inequality can be very strict. Stability concerns the range function as well as its coefficients.
An optimal interpolation set must be specified relative to an objective. For the normalized B-spline coefficients, every admissible sampling set satisfies
since and sampling cannot increase the supremum norm. If a unit-norm spline has ordered alternating extrema at admissible sites, the checkerboard identity gives
Taking the largest row shows , so equality holds. This proves the optimal spline coefficient interpolation sites property and the Chebyshev spline coefficient and dual norm equality. In particular, for the cubic space of Solution 1 the alternating extrema satisfy the support conditions. Its coefficients have maximum magnitude , so these sites are optimal for coefficient recovery and
The argument proves optimality whenever this admissible equioscillating spline is available; it does not identify extrema of an arbitrary spline as optimal sites, or transfer coefficient optimality automatically to the Lebesgue constant of interpolation.
For the intrinsic interpolation objective, minimize itself. There is a minimizer for a fixed finite-dimensional continuous spline space. Indeed the sites lie in a compact ordered simplex. On admissible sets, inverse entries and hence vary continuously. As a collocation matrix tends to a singular one, its inverse norm diverges. The uniform-norm stability of a B-spline basis gives the complementary bound
choose sample signs attaining a largest inverse row, extend them to a continuous unit-norm function, and use . Thus a minimizing sequence with bounded Lebesgue constants of interpolation cannot approach a singular site set. A convergent subsequence has an admissible limit attaining the minimum.
Fekete interpolation sites for a continuous function space offer another useful, constructive criterion: maximize the absolute evaluation determinant. A nonzero maximum exists by compactness and linear independence. Replacing one row by evaluation at multiplies the determinant by the corresponding cardinal function, so maximality gives , and therefore . These sites are determinant-optimal, with a proven interpolation bound; one should not claim without further argument that they minimize . Greville abscissae provide inexpensive admissible sites for the usual continuous clamped spline spaces of order at least two. Admissibility alone does not give the best stability bound.
Finally, the coefficient condition number of a normalized B-spline basis is bounded by a constant depending only on order. To see the mechanism, for each coefficient choose a longest nonempty knot cell in that B-spline's support. If its length is and the support width is , then . On that cell the spline is a degree-at-most- polynomial; repeated Markov polynomial inequalities bound its th derivative by . In the De Boor–Fix spline coefficient functional, the accompanying derivative of the knot polynomial is bounded by . Each term is consequently at most , yielding independently of the number and spacing of knots. This is basis stability; it does not bound at arbitrarily poor sampling sites.
For approximation, reproduction gives the Lebesgue inequality for approximation projectors
As the maximum knot gap tends to zero with fixed order, spline quasi-interpolation gives an approximant with error at most , so the infimum tends to zero. A sequence of uniformly bounded interpolation linear operators therefore converges to every continuous target. Local support and a stable choice of sites make spline interpolation effective; mesh refinement without control of the interpolation operator norm is not by itself a convergence proof.
Write , , and . We first prove a constant-version spherical isoperimetric inequality directly, including regions with several boundary components.
If , the arithmetic bound already gives . If , a region with smooth boundary is empty or the whole connected sphere up to boundary-null changes, and its area product is zero. For , write the smooth boundary as finitely many disjoint simple closed curves of lengths . Fix a point on each curve. The shorter boundary arc from to any other point has length at most , so is contained in the closed geodesic ball of radius about .
The complement of that small ball is connected and lies entirely on one side of . The Jordan curve theorem therefore gives a disk bounded by contained in the ball. Its area satisfies
The indicator function of and the sum have the same jumps modulo two across every boundary curve. Their difference modulo two is consequently constant throughout the sphere off the boundary. Thus either or its complement lies in , up to its area-zero boundary. This also handles nested curves and disconnected regions. It follows that
Combining the cases, one valid universal choice is . Sharpness is not required.
For the inclusion estimate put , and . Splitting into its portions inside and outside gives
Because and , this expression lies between and . Apply the preceding spherical isoperimetric inequality to and divide by :
Thus the constant in the spherical inclusion area discrepancy is independent of the nonempty open set .
Let and be the old and new smooth Riemannian metrics. Their area forms satisfy
The determinant ratio is invariant under changes of coordinates, so is a globally defined smooth function. The layer cake representation follows from and Tonelli's theorem:
Smoothness makes every open. Compactness of the sphere gives . Multiply the inclusion bound by before integrating; for empty the resulting bound is trivially zero. For , and the discrepancy is exactly zero; for , is empty. Therefore
Dividing by proves
This constant depends only on the two metrics. If is constant the normalized areas agree exactly, as the bound also shows.
Use the reduced-denominator function unbounded on every interval:
Every value is a finite real number. In any nondegenerate interval , its interior contains infinitely many rational numbers, whereas there are only finitely many reduced fractions in with denominator at most any fixed . Some rational number in therefore has denominator exceeding . Hence the function is unbounded on every such interval. It reverses the positive values of the Thomae function rather than requiring an infinite value at any point.
The mean value theorem states that, if is continuous on and differentiable on , with , there is such that
To deduce it from Rolle's theorem, subtract the secant line: . This function has the same continuity and differentiability properties and satisfies . Rolle's theorem gives an interior point with , which is precisely the required equality.
If on , apply the mean value theorem on any with . It gives . Hence is constant.
For the differential equation, the product rule gives
The preceding result makes this product constant. Thus all solutions are , and differentiation verifies every such solution.
For the integral assertion, continuity ensures that is Riemann integrable on every finite closed interval. Use the usual orientation for an integral with negative upper endpoint. For , additivity of the integral gives
The absolute value of this expression is at most the supremum of on the segment joining and . Continuity at makes this bound tend to zero for either sign of . Consequently , proving this form of the fundamental theorem of calculus.
Finally, a differentiable solution of the integral equation is continuous, so the fundamental theorem of calculus yields ; setting gives . The differential-equation calculation above now forces
Conversely, , so this function satisfies the original integral equation. It is unique because every differentiable solution has already been forced to this form and this initial condition.
For a function with continuous derivatives through order on the interval between and , the Taylor formula with integral remainder is
This is Taylor's theorem about zero; translation gives the formula about any other point. To prove it, the case is the fundamental theorem of calculus. For , integration by parts gives
Substitution into the formula at order proves the formula at order by induction. The integral estimate, valid also for negative , is
For the smooth function satisfying , each fixed derivative is continuous on and hence is bounded there by the extreme value theorem. Thus a bound exists for every . Differentiating the differential equation repeatedly gives . Only the three functions are needed: take to be the maximum of their absolute-value bounds on . Then simultaneously for every and .
At zero the derivatives consequently repeat the values . Taylor's theorem therefore gives
The last limit of a sequence follows because the ratio of consecutive majorants is , eventually less than . Since is arbitrary, Taylor expansion from a periodic derivative equation proves
This proves convergence to the function using a remainder bound; it does not assume beforehand that a smooth function equals its Taylor series.
If is a monomorphism, each function given by postcomposition with is injective. Consequently, if two natural transformations into become equal after , their components are equal, and the transformations themselves are equal. This proves that is a monomorphism in the presheaf category.
Conversely, suppose is a monomorphism and satisfy . Then . Cancellation gives , and faithfulness of the Yoneda embedding gives . Hence is monic exactly when is monic.
For a presheaf of sets on a topological space , define and . Then the adjoints to constant presheaves on open sets are
To prove the first adjunction, a natural transformation must satisfy by naturality at the inclusion . Hence it is uniquely determined by a function . Every such function defines a natural transformation by this formula, because restriction maps compose. This gives .
For the second adjunction, a natural transformation satisfies , so it is uniquely determined by a function . Every such function defines the remaining components by restriction, giving . Evaluation acts on presheaf morphisms componentwise, so these object assignments are indeed functors. The use of is essential: a constant presheaf of sets has value there, whereas a sheaf has a singleton value there. No sheaf condition is imposed in this question.
Use Church numerals
Explicit lambda terms for the successor and zero test are
Direct beta reduction gives , and the Church numeral zero test returns exactly at zero. For the predecessor, use the Church pair operations
and set
After iterations this pair holds : the initial pair gives the case , and one step moves the old first coordinate into the second and increments the first. This proves the predecessor equation, including .
A total function is a lambda-definable function when a closed lambda term sends each tuple of numerals to the numeral of its value. Suppose represent total , and
For lambda definition of primitive recursion by pair iteration, put
On numeral inputs, induction gives the pair after iterations. The base case is the equation for , and the induction step is exactly the equation for . Hence represents , proving closure of total lambda-definable functions under primitive recursion.
For unbounded minimization, the careful closure statement is partial: if total is lambda-definable, then
is a lambda-definable partial function, defined when a zero exists and otherwise undefined. It need not be total. With representing , use a fixed-point combinator to define
Each test terminates because is total. Normal-order beta reduction chooses the return branch at the first zero and does not evaluate the discarded branch. If there is no zero, the required head computation passes through tests for all , never exposing a numeral; standardization theorem for beta reduction rules out a hidden numeral reduct. For partial , the usual mu operator is defined only if all earlier tests terminate and the successful test is zero. This stronger partial closure requires representatives that diverge on undefined inputs, or an explicit strict evaluator; the weaker condition of producing no numeral on undefined inputs alone must not be used as a test for convergence.
The zero function, successor, and projections have immediate numeral representations; function composition in recursion theory is implemented by substitution on total inputs. Thus every primitive recursive function is lambda-definable. The Kleene normal form theorem writes every partial recursive function as a total primitive-recursive decoding after a single minimization of a total primitive-recursive computation-history predicate. The search above consequently represents every partial recursive function, diverging when no successful history exists. Conversely a machine can effectively enumerate the beta reductions of a fixed representing lambda term on numeral inputs until it finds a Church numeral; distinct numerals cannot be beta-equivalent by the Church-Rosser theorem. It computes exactly the represented partial function. Therefore lambda-definable partial functions are precisely partial computable functions, and the total ones are precisely total computable functions.
This also gives the full partial minimization closure without assuming that an arbitrary weak representative diverges on every undefined input. Run its effective numeral evaluator successively at ; stop at the first zero, and run forever if an earlier evaluation fails to terminate or no zero is found. This is exactly the sequential-domain convention for the mu operator. The resulting partial computable function has a lambda representation by the construction just proved. Thus partial lambda-definable functions are closed under partial minimization; a minimized function belongs to the total family only when the required successful search exists for every input.