Alphabeta Math
ExampleConstruction: AI-adaptedVerification: 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.

The trigonometry-free oscillator ψ(x)=inf⁡n∈Z∣x−n∣ is well defined and attained at a nearest integer, takes values in [0,1/2], vanishes exactly on Z, equals 1/2 at half-integers, and is 1-periodic

Example

Identify Z with its canonical copy in 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 x∈R put

D(x)  :=  { ∣x−n∣ : n∈Z },ψ(x)  :=  inf⁡D(x)

(Greatest lower bound (infimum)). Write m:=⌊x⌋ for the integer part of x (Integer part: for every real x there is exactly one integer m with m≤x<m+1) and t:=x−m, so 0≤t<1. Then:

  1. Existence and attainment. ψ(x) exists and is attained: ψ(x)  =  min⁡{ t, 1−t }  =  min⁡{ ∣x−m∣, ∣x−(m+1)∣ }, so ψ(x)=∣x−n∣ for n=m or n=m+1, and ψ(x)=min⁡D(x) (Maximum and minimum of a set).
  2. Range. 0≤ψ(x)≤1/2 for every real x, and every value in [0,1/2] occurs: the range of ψ is exactly the interval [0,1/2] (Intervals of R: the nine order-convex forms, nondegeneracy, and length).
  3. Zero set. ψ(x)=0 if and only if x∈Z.
  4. Half-integers. ψ(m+1/2)=1/2 for every m∈Z.
  5. Periodicity. ψ(x+1)=ψ(x) for every real x.

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

Facts & Assumptions

Given: A real x; the set D(x)={ ∣x−n∣:n∈Z }; the integer m:=⌊x⌋ and the real t:=x−m. Integers are identified with their canonical copies in R.

[L1]

Integer part: for every real x there is exactly one integer m with m≤x<m+1 (Integer part: for every real x there is exactly one integer m with m≤x<m+1). Hence 0≤t<1 and 0<1−t≤1, where 1−t=(m+1)−x.

[L2]

Integers in R: the embeddings N→Z→Q→R are injective and preserve 0, 1, addition and order; Z is a totally ordered commutative ring, closed under n↦n+1 and n↦n−1; every integer ≥0 is the image of a unique natural; and a natural j≠0 satisfies j≥1, so an integer >0 is ≥1 and consequently, for integers n<n′, one has n+1≤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) is the immediate successor, The natural numbers N (von Neumann)).

[L3]

Infimum: ℓ=inf⁡S when ℓ≤s for every s∈S and ℓ′≤ℓ for every lower bound ℓ′ of S. So a lower bound of S that belongs to S is the infimum, and is then also the minimum of S (Greatest lower bound (infimum), Maximum and minimum of a set, Lower bound, bounded below, bounded set).

[L4]

Absolute value: ∣u∣≥0; ∣u∣=0 exactly when u=0; ∣u∣=u for u≥0 and ∣u∣=−u for u≤0 (Basic properties of the absolute value, Absolute value in an ordered field).

[L5]

Order and field arithmetic in 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<1 (The multiplicative identity is positive), so 2>0, 1/2>0 (Inverses of positives are positive, and reciprocation reverses order), 1/2<1 and 1−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) is nonempty and 0 is a lower bound of it: the integer 0 gives ∣x−0∣∈D(x), and ∣x−n∣≥0 for every n∈Z.

L2L4
1.2

By [L1] the integer m=⌊x⌋ satisfies m≤x<m+1, so t=x−m satisfies 0≤t<1, and (m+1)−x=1−t satisfies 0<1−t≤1.

L1L5
2.1

Every element of D(x) is at least min⁡{t,1−t}. Let n∈Z. By [L2] and totality either n≤m or m<n, and in the second case m+1≤n. If n≤m then x−n≥x−m=t≥0, so ∣x−n∣=x−n≥t. If m+1≤n then n−x≥(m+1)−x=1−t>0, so ∣x−n∣=n−x≥1−t. In both cases ∣x−n∣≥min⁡{t,1−t}.

step 1.2L2L4L5
2.2

Both t and 1−t belong to D(x): since t≥0 we have t=∣x−m∣, and since 1−t>0 we have 1−t=∣x−(m+1)∣, with m and m+1 in Z.

step 1.2L2L4
3.1

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

step 2.1step 2.2L3L5
4.1

Claim 2, the inclusion. ψ(x)≥0, since t≥0 and 1−t>0; and ψ(x)≤1/2: if t≤1/2 then ψ(x)≤t≤1/2, while if 1/2<t then 1−t<1−1/2=1/2 and ψ(x)≤1−t<1/2. So 0≤ψ(x)≤1/2 for every real x.

step 1.2step 3.1L5
4.2

Claim 3. If ψ(x)=0 then min⁡{t,1−t}=0; since 1−t>0 this forces t=0, that is x=m∈Z. Conversely if x∈Z then ∣x−x∣=0 lies in D(x) and 0 is a lower bound of D(x) by step 1.1, so ψ(x)=0 by [L3].

step 1.1step 1.2step 3.1L3L4L5
4.3

Claim 4. Let m∈Z and x:=m+1/2. Since 0<1/2<1 we have m≤x<m+1, so the uniqueness in [L1] gives ⌊x⌋=m and t=1/2; then step 3.1 gives ψ(x)=min⁡{1/2, 1−1/2}=min⁡{1/2,1/2}=1/2.

step 3.1L1L5
4.4

Claim 5. The map n↦n+1 is a bijection of Z onto itself, with inverse n↦n−1 [L2]; so, substituting n=n′+1, D(x+1)={ ∣(x+1)−n∣:n∈Z }={ ∣x−n′∣:n′∈Z }=D(x). Being infima of the same set, ψ(x+1) and ψ(x) are equal by step 3.1 applied at x+1 and at x.

step 3.1L2L3
5.1

Claim 2, the exact range. Every value of ψ lies in [0,1/2] by step 4.1. Conversely let s satisfy 0≤s≤1/2; then 0≤s<1, so 0≤s<0+1 and the uniqueness in [L1] gives ⌊s⌋=0 and t=s; and s≤1/2≤1−s because 2s≤1, so step 3.1 gives ψ(s)=min⁡{s,1−s}=s. Hence the range of ψ is exactly [0,1/2].

step 3.1step 4.1L1L5
6.1

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

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

Remarks

  • No completeness of R is needed for the infimum here. The general existence theorem Every nonempty set bounded below has an infimum would supply 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) that is also a lower bound, which is Greatest lower bound (infimum) read directly. Completeness does enter, once, through Integer part: for every real x there is exactly one integer m with m≤x<m+1, whose existence half is the Archimedean property.

  • Why 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/2 there are two nearest integers, m and m+1, and the formula is indifferent to which is chosen, so nothing has to be selected.

  • ψ is the triangle wave of amplitude 1/2 and period 1 — not the sawtooth x−⌊x⌋, which drops discontinuously at every integer: on [0,1/2] it is ψ(s)=s by step 5.1, and periodicity and the reflection ψ(−x)=ψ(x) — immediate from D(−x)={ ∣−x−n∣:n∈Z }={ ∣x+n∣:n∈Z }=D(x), using ∣−u∣=∣u∣ and the bijection n↦−n of Z — determine it everywhere.

Depends on

Used by

Dependency tree · two levels

64 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