Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-generatedSession-authored (Fable 5 assisted)precheck 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.

The trigonometry-free oscillator ψ(x)=infnZxn\psi(x) = \inf_{n \in \mathbb{Z}} |x - n| is well defined and attained at a nearest integer, takes values in [0,1/2][0, 1/2], vanishes exactly on Z\mathbb{Z}, equals 1/21/2 at half-integers, and is 11-periodic

Example

Identify Z\mathbb{Z} with its canonical copy in R\mathbb{R} (The integers as equivalence classes of pairs of naturals, The integers embed in the rationals, The rationals embed densely in the reals) and for xRx \in \mathbb{R} put

D(x)  :=  {xn : nZ},ψ(x)  :=  infD(x)D(x) \;:=\; \{\, |x - n| \ : \ n \in \mathbb{Z} \,\}, \qquad \psi(x) \;:=\; \inf D(x)

(Greatest lower bound (infimum)). Write m:=xm := \lfloor x \rfloor for the integer part of xx (Integer part: for every real xx there is exactly one integer mm with mx<m+1m \le x < m + 1) and t:=xmt := x - m, so 0t<10 \le t < 1. Then:

  1. Existence and attainment. ψ(x)\psi(x) exists and is attained: ψ(x)  =  min{t, 1t}  =  min{xm, x(m+1)},\psi(x) \;=\; \min\{\, t,\ 1 - t \,\} \;=\; \min\bigl\{\, |x - m|,\ |x - (m+1)| \,\bigr\} , so ψ(x)=xn\psi(x) = |x - n| for n=mn = m or n=m+1n = m + 1, and ψ(x)=minD(x)\psi(x) = \min D(x) (Maximum and minimum of a set).
  2. Range. 0ψ(x)1/20 \le \psi(x) \le 1/2 for every real xx, and every value in [0,1/2][0, 1/2] occurs: the range of ψ\psi is exactly the interval [0,1/2][0, 1/2] (Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length).
  3. Zero set. ψ(x)=0\psi(x) = 0 if and only if xZx \in \mathbb{Z}.
  4. Half-integers. ψ(m+1/2)=1/2\psi(m + 1/2) = 1/2 for every mZm \in \mathbb{Z}.
  5. Periodicity. ψ(x+1)=ψ(x)\psi(x + 1) = \psi(x) for every real xx.

What this function is for. It is the elementary, trigonometry-free substitute for sin\sin: it is bounded, it oscillates, and on every punctured neighbourhood of 00 the composite ψ(1/x)\psi(1/x) attains both the value 00 and the value 1/21/2. Claims 3 and 4 are exactly what the companion counterexample ψ(1/x)\psi(1/x) has no limit at 00: two sequences tending to 00 give values constantly 00 and constantly 1/21/2 evaluates, and claim 2 is what the squeeze argument of xψ(1/x)0x\,\psi(1/x) \to 0 as x0x \to 0, by the squeeze theorem uses.

Facts & Assumptions

Given: A real xx; the set D(x)={xn:nZ}D(x) = \{\, |x - n| : n \in \mathbb{Z} \,\}; the integer m:=xm := \lfloor x \rfloor and the real t:=xmt := x - m. Integers are identified with their canonical copies in R\mathbb{R}.

[L1]

Integer part: for every real xx there is exactly one integer mm with mx<m+1m \le x < m + 1 (Integer part: for every real xx there is exactly one integer mm with mx<m+1m \le x < m + 1). Hence 0t<10 \le t < 1 and 0<1t10 < 1 - t \le 1, where 1t=(m+1)x1 - t = (m+1) - x.

[L2]

Integers in R\mathbb{R}: the embeddings NZQR\mathbb{N} \to \mathbb{Z} \to \mathbb{Q} \to \mathbb{R} are injective and preserve 00, 11, addition and order; Z\mathbb{Z} is a totally ordered commutative ring, closed under nn+1n \mapsto n + 1 and nn1n \mapsto n - 1; every integer 0\ge 0 is the image of a unique natural; and a natural j0j \ne 0 satisfies j1j \ge 1, so an integer >0> 0 is 1\ge 1 and consequently, for integers n<nn < n', one has n+1nn + 1 \le n' (The integers as equivalence classes of pairs of naturals, The naturals embed in the integers, The integers embed in the rationals, The rationals embed densely in the reals, The integers form a totally ordered ring, The integers form a commutative ring, Discreteness: σ(n)\sigma(n) is the immediate successor, The natural numbers N\mathbb{N} (von Neumann)).

[L3]

Infimum: =infS\ell = \inf S when s\ell \le s for every sSs \in S and \ell' \le \ell for every lower bound \ell' of SS. So a lower bound of SS that belongs to SS is the infimum, and is then also the minimum of SS (Greatest lower bound (infimum), Maximum and minimum of a set, Lower bound, bounded below, bounded set).

[L4]

Absolute value: u0|u| \ge 0; u=0|u| = 0 exactly when u=0u = 0; u=u|u| = u for u0u \ge 0 and u=u|u| = -u for u0u \le 0 (Basic properties of the absolute value, Absolute value in an ordered field).

[L5]

Order and field arithmetic in R\mathbb{R}: the order is total and trichotomy holds; translation invariance and adding inequalities (Order is preserved by adding a constant and by adding inequalities); 0<10 < 1 (The multiplicative identity is positive), so 2>02 > 0, 1/2>01/2 > 0 (Inverses of positives are positive, and reciprocation reverses order), 1/2<11/2 < 1 and 11/2=1/21 - 1/2 = 1/2 (Sign rules for products and monotonicity of multiplication, Field); and the minimum of a two-element set of reals (Maximum and minimum of a set, Ordered field).

Verification

technique · direct
1.1

D(x)D(x) is nonempty and 00 is a lower bound of it: the integer 00 gives x0D(x)|x - 0| \in D(x), and xn0|x - n| \ge 0 for every nZn \in \mathbb{Z}.

L2L4
1.2

By [L1] the integer m=xm = \lfloor x \rfloor satisfies mx<m+1m \le x < m + 1, so t=xmt = x - m satisfies 0t<10 \le t < 1, and (m+1)x=1t(m+1) - x = 1 - t satisfies 0<1t10 < 1 - t \le 1.

L1L5
2.1

Every element of D(x)D(x) is at least min{t,1t}\min\{t, 1-t\}. Let nZn \in \mathbb{Z}. By [L2] and totality either nmn \le m or m<nm < n, and in the second case m+1nm + 1 \le n. If nmn \le m then xnxm=t0x - n \ge x - m = t \ge 0, so xn=xnt|x - n| = x - n \ge t. If m+1nm + 1 \le n then nx(m+1)x=1t>0n - x \ge (m+1) - x = 1 - t > 0, so xn=nx1t|x - n| = n - x \ge 1 - t. In both cases xnmin{t,1t}|x - n| \ge \min\{t, 1-t\}.

step 1.2L2L4L5
2.2

Both tt and 1t1 - t belong to D(x)D(x): since t0t \ge 0 we have t=xmt = |x - m|, and since 1t>01 - t > 0 we have 1t=x(m+1)1 - t = |x - (m+1)|, with mm and m+1m+1 in Z\mathbb{Z}.

step 1.2L2L4
3.1

Hence min{t,1t}\min\{t, 1-t\} is a lower bound of D(x)D(x) belonging to D(x)D(x), so by [L3] it is the greatest lower bound and also the minimum: ψ(x)=min{t,1t}=min{xm,x(m+1)}\psi(x) = \min\{t, 1-t\} = \min\{|x - m|, |x - (m+1)|\}, attained at n=mn = m or at n=m+1n = m+1. This is claim 1.

step 2.1step 2.2L3L5
4.1

Claim 2, the inclusion. ψ(x)0\psi(x) \ge 0, since t0t \ge 0 and 1t>01 - t > 0; and ψ(x)1/2\psi(x) \le 1/2: if t1/2t \le 1/2 then ψ(x)t1/2\psi(x) \le t \le 1/2, while if 1/2<t1/2 < t then 1t<11/2=1/21 - t < 1 - 1/2 = 1/2 and ψ(x)1t<1/2\psi(x) \le 1 - t < 1/2. So 0ψ(x)1/20 \le \psi(x) \le 1/2 for every real xx.

step 1.2step 3.1L5
4.2

Claim 3. If ψ(x)=0\psi(x) = 0 then min{t,1t}=0\min\{t, 1-t\} = 0; since 1t>01 - t > 0 this forces t=0t = 0, that is x=mZx = m \in \mathbb{Z}. Conversely if xZx \in \mathbb{Z} then xx=0|x - x| = 0 lies in D(x)D(x) and 00 is a lower bound of D(x)D(x) by step 1.1, so ψ(x)=0\psi(x) = 0 by [L3].

step 1.1step 1.2step 3.1L3L4L5
4.3

Claim 4. Let mZm \in \mathbb{Z} and x:=m+1/2x := m + 1/2. Since 0<1/2<10 < 1/2 < 1 we have mx<m+1m \le x < m + 1, so the uniqueness in [L1] gives x=m\lfloor x \rfloor = m and t=1/2t = 1/2; then step 3.1 gives ψ(x)=min{1/2, 11/2}=min{1/2,1/2}=1/2\psi(x) = \min\{1/2,\ 1 - 1/2\} = \min\{1/2, 1/2\} = 1/2.

step 3.1L1L5
4.4

Claim 5. The map nn+1n \mapsto n + 1 is a bijection of Z\mathbb{Z} onto itself, with inverse nn1n \mapsto n - 1 [L2]; so, substituting n=n+1n = n' + 1, D(x+1)={(x+1)n:nZ}={xn:nZ}=D(x).D(x+1) = \{\, |(x+1) - n| : n \in \mathbb{Z} \,\} = \{\, |x - n'| : n' \in \mathbb{Z} \,\} = D(x) . Being infima of the same set, ψ(x+1)\psi(x+1) and ψ(x)\psi(x) are equal by step 3.1 applied at x+1x + 1 and at xx.

step 3.1L2L3
5.1

Claim 2, the exact range. Every value of ψ\psi lies in [0,1/2][0,1/2] by step 4.1. Conversely let ss satisfy 0s1/20 \le s \le 1/2; then 0s<10 \le s < 1, so 0s<0+10 \le s < 0 + 1 and the uniqueness in [L1] gives s=0\lfloor s \rfloor = 0 and t=st = s; and s1/21ss \le 1/2 \le 1 - s because 2s12s \le 1, so step 3.1 gives ψ(s)=min{s,1s}=s\psi(s) = \min\{s, 1-s\} = s. Hence the range of ψ\psi is exactly [0,1/2][0,1/2].

step 3.1step 4.1L1L5
6.1

So ψ\psi is defined at every real, is attained at a nearest integer, has range exactly [0,1/2][0,1/2], vanishes exactly on Z\mathbb{Z}, takes the value 1/21/2 at every half-integer, and is 11-periodic.

step 3.1step 4.1step 4.2step 4.3step 4.4step 5.1

Remarks

  • No completeness of R\mathbb{R} is needed for the infimum here. The general existence theorem Every nonempty set bounded below has an infimum would supply infD(x)\inf D(x) from the least-upper-bound property, but step 3.1 does not use it: the infimum is produced by exhibiting an element of D(x)D(x) that is also a lower bound, which is Greatest lower bound (infimum) read directly. Completeness does enter, once, through Integer part: for every real xx there is exactly one integer mm with mx<m+1m \le x < m + 1, whose existence half is the Archimedean property.

  • Why min{t,1t}\min\{t, 1-t\} and not "the distance to the nearest integer". The phrase presupposes that a nearest integer exists, which is exactly what step 2.2 establishes and what the picture cannot. When t=1/2t = 1/2 there are two nearest integers, mm and m+1m+1, and the formula is indifferent to which is chosen, so nothing has to be selected.

  • ψ\psi is the triangle wave of amplitude 1/21/2 and period 11 — not the sawtooth xxx - \lfloor x \rfloor, which drops discontinuously at every integer: on [0,1/2][0, 1/2] it is ψ(s)=s\psi(s) = s by step 5.1, and periodicity and the reflection ψ(x)=ψ(x)\psi(-x) = \psi(x) — immediate from D(x)={xn:nZ}={x+n:nZ}=D(x)D(-x) = \{\, |-x - n| : n \in \mathbb{Z} \,\} = \{\, |x + n| : n \in \mathbb{Z} \,\} = D(x), using u=u|-u| = |u| and the bijection nnn \mapsto -n of Z\mathbb{Z} — determine it everywhere.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 85 results over 32 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources