Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24
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.

r2sin(1/r) is differentiable at the origin with a discontinuous gradient

Example

For (x,y)R2 put r=x2+y2 and define

F(0,0)=0,F(x,y)=r2sin(1/r)when r>0.

Then F is totally differentiable at the origin with derivative zero. On the punctured plane,

F(x,y)=(2rsin(1/r)cos(1/r))(xr,yr),

and this gradient is not continuous at the origin.

Facts & Assumptions

Given: The function F in the Example and r=(x,y)2.

[L1]

For (x,y)R2, (x,y)2=x2+y2 (The p-norms xp for rational p1, and x).

[L2]

For every real t, sint1 and sin2t+cos2t=1 (Parity and the Pythagorean identity for sine and cosine).

[L3]

The functions sin and cos are differentiable on R, with (sint)=cost and (cost)=sint; also sin0=0 and cos0=1 (The derivatives of sine and cosine are cosine and minus sine).

[L6]

A map is totally differentiable at the origin with derivative zero when F(h)/h20 as h0 through nonzero vectors (The total (Fréchet) derivative Df(a) as the linear first-order approximation with o(h2) remainder).

[L7]

For a scalar function, the gradient is the vector of its coordinate partial derivatives (The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case).

[L8]

On (0,), (u1/2)=12u1/2 (Continuity and derivatives of positive-base real powers).

[L9]

If a>0 and qQ, then the real power aq agrees with the rational power; in particular this holds for q=1/2 (The exponential definition of real powers agrees with the existing rational powers).

[L11]

For every real t, sin(t+π)=sint and cos(t+π)=cost (Quarter-turn values and shifts by pi/2 and pi).

[L13]

For every real ε>0 there is a natural n1 with 1/n<ε (For every ε>0 in a complete ordered field there is a natural n1 with 1/n<ε).

[L14]
[L15]

If a map is totally differentiable at a point, then each partial derivative there equals the total derivative applied to the corresponding standard basis vector (A total derivative computes every directional derivative, and its matrix is the Jacobian).

Verification

technique · direct
1.1

For r>0, F(x,y)/r=rsin(1/r)r; hence this quotient tends to zero as (x,y)(0,0).

givenL1L2algebra
1.2

For k1 put ak=1/(2πk) and bk=1/((2k+1)π). Both are positive. Given ε>0, apply [L13] to 2πε>0 to obtain N1 with 1/N<2πε; then kN gives 0<bk<ak1/(2πN)<ε. Thus ak0 and bk0.

L13L14algebra
1.3

On the punctured plane, applying the derivative of the positive square root to r=(x2+y2)1/2 gives xr=x/r and yr=y/r.

givenL4L5L8L9L10algebra
1.4

For g(r)=r2sin(1/r) on (0,), the derivative rules give g(r)=2rsin(1/r)cos(1/r).

L3L4L5algebra
2.1

Therefore F is totally differentiable at the origin with derivative zero, and F(0,0)=(0,0).

step 1.1L6L7L15
2.2

Since F(x,y)=g(r) for r>0, steps 1.3 and 1.4 and the definition of the gradient give F(x,y)=(2rsin(1/r)cos(1/r))(x/r,y/r).

step 1.3step 1.4L7
3.1

Along the positive x-axis, periodicity gives F(ak,0)=(1,0), while periodicity followed by the shift through π gives F(bk,0)=(1,0).

step 1.2step 2.2L3L11L12algebra
4.1

Both point sequences in step 1.2 approach the origin but their gradient values in step 3.1 are distinct constants, so F has no limit at the origin and is not continuous there.

step 2.1step 1.2step 3.1

Remarks

The factor r2 is strong enough to make F(h)=o(h2) at the origin. Differentiation removes one radial power and exposes the undamped cosine oscillation, which is why the gradient behaves differently from the function.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

71 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