Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck 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 ∥x∥p for rational p≥1, and ∥x∥∞).

[L2]

For every real t, ∣sin⁡t∣≤1 and sin⁡2t+cos⁡2t=1 (Parity and the Pythagorean identity for sine and cosine).

[L3]

The functions sin⁡ and cos⁡ are differentiable on R, with (sin⁡t)′=cos⁡t and (cos⁡t)′=−sin⁡t; also sin⁡0=0 and cos⁡0=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)∣/∥h∥2→0 as h→0 through nonzero vectors (The total (Fréchet) derivative Df(a) as the linear first-order approximation with o(∥h∥2) 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)′=12u−1/2 (Continuity and derivatives of positive-base real powers).

[L9]

If a>0 and q∈Q, 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+π)=−sin⁡t and cos⁡(t+π)=−cos⁡t (Quarter-turn values and shifts by pi/2 and pi).

[L13]

For every real ε>0 there is a natural n≥1 with 1/n<ε (For every ε>0 in a complete ordered field there is a natural n≥1 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.1givenL1L2algebra

For r>0, ∣F(x,y)∣/r=r∣sin⁡(1/r)∣≤r; hence this quotient tends to zero as (x,y)→(0,0).

1.2L13L14algebra

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

1.3givenL4L5L8L9L10algebra

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.

1.4L3L4L5algebra

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

2.1step 1.1L6L7L15

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

2.2step 1.3step 1.4L7

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).

3.1step 1.2step 2.2L3L11L12algebra

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).

4.1step 2.1step 1.2step 3.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.

Remarks

The factor r2 is strong enough to make F(h)=o(∥h∥2) 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