Alphabeta Math
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck 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.

Over Q there is a nonconstant differentiable function with identically zero derivative, so Rolle and the mean value theorem both fail

Statement refuted

The notion of derivative used here is stated in full, and is not imported. Let F be an ordered field, D⊆F, φ:D→F and c∈D a point that is not isolated in D, meaning that for every δ>0 in F there is x∈D with 0<∣x−c∣<δ. Say φ is differentiable at c with derivative L∈F when

for every ε>0 in F there is δ>0 in F with ∣φ(x)−φ(c)x−c−L∣<ε for all x∈D with 0<∣x−c∣<δ,

and write φ′(c)=L. This is the ordinary difference-quotient condition, read entirely inside F. Nothing below cites a definition of the derivative from elsewhere in this library, because there is none yet.

Refuted claim: over every ordered field F, if φ:[a,b]F→F with a<b is differentiable at every point of [a,b]F (Sequences, convergence, Cauchyness, monotonicity, boundedness and closed intervals in an arbitrary ordered field), then

  1. (Rolle) φ(a)=φ(b) implies φ′(c)=0 for some c∈[a,b]F, and
  2. (Mean value) φ(b)−φ(a)=φ′(c) (b−a) for some c∈[a,b]F.

The witness is F=Q and D=[0,2]Q with

φ(x)  =  {0x2<2,1x2>2,andρ(x)  =  φ(x)−x2.

φ is well defined on D because no rational squares to 2 (FALSE: some rational number squares to 2). It is locally constant, hence differentiable everywhere on D with φ′≡0, and it is not constant, since φ(0)=0 and φ(2)=1; that refutes clause 2. And ρ satisfies ρ(0)=ρ(2)=0 while ρ′(c)=−1/2 for every c; that refutes clause 1.

Facts & Assumptions

Given: The ordered field Q; D:=[0,2]Q; the functions φ and ρ above.

[L3]

For all x,c∈D: ∣x2−c2∣≤4 ∣x−c∣, which is step 1.4 of 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.

[L4]

Absolute value: ∣u∣≥0, ∣u∣=u for u≥0, ∣uv∣=∣u∣∣v∣, and ∣u∣<c exactly when −c<u<c (Basic properties of the absolute value); powers (Integer powers am, Monotonicity of x↦xn and of n↦an).

[L5]

Order arithmetic: a positive element is invertible with positive inverse (Inverses of positives are positive, and reciprocation reverses order); for c>0, a<b if and only if ac<bc (Sign rules for products and monotonicity of multiplication); adding a constant preserves the order and inequalities add (Order is preserved by adding a constant and by adding inequalities); 2⋅1>0 and 8⋅1>0 (Canonical naturals are positive and strictly increasing); the order is total and transitive (Ordered field).

Counterexample

technique · direct
1.1

Every x∈D has x2≠2, so exactly one of x2<2, x2>2 holds and φ is well defined on D; moreover 02=0<2 and 12=1<2 and 22=4>2, so φ(0)=φ(1)=0 and φ(2)=1, and φ is not constant on D.

L1L2L5
1.2

For all x,c∈D one has ∣x2−c2∣≤4∣x−c∣.

L3
1.3

No point of D is isolated in D: given c∈D and δ>0, let η be the smaller of δ and 1, and take x:=c+η/2 if c≤1 and x:=c−η/2 otherwise; then x∈D and 0<∣x−c∣<δ.

L1L5
2.1

φ is differentiable at every c∈D with φ′(c)=0. Put A:=∣c2−2∣>0 and δ0:=A (8)−1>0. For x∈D with ∣x−c∣<δ0 step 1.2 gives ∣x2−c2∣<A (2)−1; so if c2<2, that is A=2−c2, then x2<c2+A(2)−1=(c2+2)(2)−1<2, while if c2>2, that is A=c2−2, then x2>c2−A(2)−1=(c2+2)(2)−1>2. In either case φ(x)=φ(c), so the difference quotient is 0 for every such x with x≠c, and ∣0−0∣<ε for every ε>0; the same δ0 serves for every ε.

step 1.1step 1.2step 1.3L4L5
3.1

ρ is differentiable at every c∈D with ρ′(c)=−1/2: with δ0 as in step 2.1, every x∈D with 0<∣x−c∣<δ0 has (ρ(x)−ρ(c))(x−c)−1=(φ(x)−φ(c))(x−c)−1−(2)−1=−(2)−1, so the quotient is constantly −1/2 near c; and ρ(0)=0, ρ(2)=1−1=0, ρ(1)=−1/2.

step 1.1step 2.1L5
3.2

The mean value clause fails for φ on D: φ(2)−φ(0)=1 while φ′(c)(2−0)=0 for every c∈D, and 1≠0.

step 1.1step 2.1L5
4.1

The Rolle clause fails for ρ on D: ρ is differentiable at every point of D, ρ(0)=ρ(2), and yet ρ′(c)=−1/2≠0 for every c∈D.

step 3.1L5
5.1

So over the ordered field Q, on the closed interval D=[0,2]Q, both clauses of the claim are false, and Q is an ordered field without the least-upper-bound property.

step 1.1step 3.2step 4.1L2∎

Remarks

  • Where the classical proof breaks. Rolle's theorem is proved by taking a point where the function attains its maximum and showing the derivative vanishes there. Over Q the maximum need not exist: that 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, proved on the same interval and by the same missing 2. So this counterexample is not independent of that one, it is its consequence for the differential calculus.

  • A locally constant function need not be constant when the domain is disconnected, and D is disconnected in exactly the way Q is: the sets {x∈D:x2<2} and {x∈D:x2>2} are disjoint, nonempty, cover D, and each is open in the ε-δ sense. Over R no such split of an interval exists, and that is the connectedness that the mean value theorem really rests on.

  • The derivative here is genuinely a derivative, not a degenerate reading: the difference quotient is not merely small near c, it is exactly 0 for φ and exactly −1/2 for ρ on a whole punctured neighbourhood, so the limit exists in the strongest possible sense.

  • This item does not use, and does not need, a general theory of differentiation. The difference-quotient condition is stated in the Statement refuted and every use of it above is a direct verification, so the item is self-contained and nothing here waits on a later page. As with 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, that is deliberate: the claim refuted is a claim about an arbitrary ordered field and is refuted over Q, so a derivative defined for real functions on subsets of R would not apply to it. The condition above is the ordinary difference-quotient one read inside F, and it specialises to the real-variable definition at F=R.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

49 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