Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27
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.

Intermediate value theorem, by bisection with a canonical left-half rule: a continuous function on [a,b] takes every value between f(a) and f(b)

Statement

Let a,b∈R with a≤b, let f:[a,b]→R be continuous on the closed bounded interval [a,b] (Intervals of R: the nine order-convex forms, nondegeneracy, and length, Continuity of f:A→R at a point of A and on A: the ε-δ condition, its agreement with lim⁡x→cf(x)=f(c) at a limit point, and continuity at an isolated point), and let y∈R satisfy

f(a)≤y≤f(b)orf(b)≤y≤f(a).

Then there is c∈[a,b] with f(c)=y.

The construction is canonical, so no choice principle is used. The bisection below tests the left half first and takes the right half only when the left one has been ruled out, so the passage from one interval to the next is a function of that interval, and The recursion theorem applies with nothing selected. This is the same discipline the library uses wherever a sequence is built one term at a time.

Completeness of R is what does the work. The bisection produces a nested sequence of closed bounded intervals whose lengths tend to 0, and it is A nested sequence of nonempty closed bounded intervals has nonempty intersection, and the intersection is a single point exactly when the lengths tend to 0 — hence the least-upper-bound property — that supplies the point. Over an ordered field that is not complete the theorem fails; the witness for that, stated for an arbitrary ordered field and worked over Q, is On a closed interval of Q there is a continuous unbounded function, a bounded one with no maximum, and one without the intermediate value property, which states its own ε-δ continuity inline and is not an instance of this page's definition.

Facts & Assumptions

Given: Reals a≤b, a function f:[a,b]→R continuous on [a,b], and a real y with f(a)≤y≤f(b) or f(b)≤y≤f(a).

[L2]

Recursion: for a set X, an element x0∈X and a function F:X→X there is a unique g:N→X with g(0)=x0 and g(k+1)=F(g(k)) for every k (The recursion theorem).

[L3]

Nested intervals: if Ik=[ak,bk] with ak≤bk and Ik+1⊆Ik for every k∈N, then ⋂kIk is nonempty, and it is a single point exactly when the lengths bk−ak tend to 0 (A nested sequence of nonempty closed bounded intervals has nonempty intersection, and the intersection is a single point exactly when the lengths tend to 0, Intervals of R: the nine order-convex forms, nondegeneracy, and length, Limits and Cauchy sequences of reals).

[L5]

Powers: (2−1)k=(2k)−1 for every k∈N (Laws of integer exponents, Integer powers am).

[L7]

Limits preserve non-strict inequalities (Limits preserve non-strict inequalities).

[L8]

Order and field arithmetic in R: trichotomy and totality, so exactly one of f(m)≥y and f(m)<y holds; halving and the ordered-field identities (Ordered field, Complete ordered field (least-upper-bound property)); and ∣t∣≤s whenever −s≤t≤s (Basic properties of the absolute value).

Proof

technique · constructive
1.1

Reduction. It is enough to prove the theorem under the hypothesis f(a)≤y≤f(b). Indeed, in the remaining case f(b)≤y≤f(a), put h:=(−1)f and z:=−y; then h is continuous on [a,b] by [L1] and h(a)=−f(a)≤−y=z≤−f(b)=h(b), so a point c∈[a,b] with h(c)=z is a point with f(c)=y.

L1L8suffices: assume f(a) le y le f(b)
1.2

The bisection map. Assume f(a)≤y≤f(b) and put X  :=  { (u,v)∈R×R : a≤u≤v≤b, f(u)≤y≤f(v) }, so (a,b)∈X. For (u,v)∈X write m:=(u+v)/2, which satisfies a≤u≤m≤v≤b and so lies in [a,b], and define F(u,v)  :=  {(u, m)if f(m)≥y,(m, v)if f(m)<y. By trichotomy exactly one clause applies, so F is a function on X; and F(u,v)∈X in both clauses, since in the first f(u)≤y≤f(m) and in the second f(m)≤y≤f(v). The left half is tested first and the right half is taken only when the left is excluded, so nothing is selected.

L8construct
2.1

The nested sequence. By [L2] applied to X, the element (a,b) and the map F, there is a unique g:N→X with g(0)=(a,b) and g(k+1)=F(g(k)). Write g(k)=(ak,bk) and Ik:=[ak,bk]. Then for every k: a≤ak≤bk≤b and f(ak)≤y≤f(bk), because g(k)∈X; and Ik+1⊆Ik, since in either clause of the definition of F the new endpoints lie in [ak,bk] and the new interval is [ak,mk] or [mk,bk] with mk=(ak+bk)/2.

step 1.2L2L8
3.1

The lengths. In both clauses the new length is mk−ak=(bk−ak)/2 or bk−mk=(bk−ak)/2, so bk+1−ak+1=(bk−ak)/2; with b0−a0=b−a an induction on k gives bk−ak=(b−a) (2−1)k for every k∈N, that is (b−a)/2k by [L5]. Since ∣2−1∣<1, [L4] gives (2−1)k→0 and hence bk−ak→0.

step 2.1L4L5L8
4.1

The point. By [L3] applied to the nested family (Ik), whose lengths tend to 0 by step 3.1, the intersection ⋂kIk is a single point; call it c. Then c∈I0=[a,b] and ak≤c≤bk for every k.

step 2.1step 3.1L3construct
5.1

The endpoints converge to c. Let a rational ε>0 be given. By step 3.1 there is K with bk−ak<ε for all k≥K. For such k, from ak≤c≤bk we get −(bk−ak)≤ak−c≤0 and 0≤bk−c≤bk−ak, so ∣ak−c∣≤bk−ak<ε and ∣bk−c∣≤bk−ak<ε by [L8]. Hence ak→c and bk→c.

step 3.1step 4.1L8
6.1

Passing to the limit. The point c lies in [a,b], so f is continuous at c, and [L6] applied to the two sequences of step 5.1 gives f(ak)→f(c) and f(bk)→f(c).

step 4.1step 5.1L6
7.1

By step 2.1, f(ak)≤y for every k; the constant sequence with value y converges to y by [L4], so [L7] gives f(c)≤y. Likewise y≤f(bk) for every k gives y≤f(c). Hence f(c)=y.

step 2.1step 6.1L4L7L8
8.1

A point c∈[a,b] with f(c)=y has therefore been constructed, under the reduction of step 1.1 and hence in both cases of the hypothesis.

step 1.1step 4.1step 7.1discharge-construct: c is the unique point of the nested intersection∎

Remarks

  • Why the left half is tested first. The bisection has to choose one of two halves at every stage, and if the rule were "choose a half in which the sign change persists" the construction would be a dependent choice, not a recursion. Testing f(m)≥y and taking the left half in that case makes the successor a function of its predecessor, so The recursion theorem applies verbatim. The same device is used in Every nonempty perfect subset of R is uncountable and in the bisection proof of Heine-Borel.

  • What the theorem does not say. It does not say that c is unique, and it does not say that the set of solutions is an interval; f may take the value y on a complicated set. It also does not say that a function with the intermediate value property is continuous — that converse is false, and the witness for it needs machinery that is not available at this point in the reading order.

  • Only the choice-free direction of the sequential criterion is used. Step 6.1 turns a convergent sequence into a convergent image sequence, which is the implication proved in ZF (f is continuous at c∈A if and only if f(xk)→f(c) for every sequence in A converging to c, the converse direction costing countable choice); the converse, which spends countable choice, is never invoked here.

Depends on

Used by

Dependency tree · two levels

69 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources