Alphabeta Math
PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12
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.

Basic arithmetic operations and bounded quantification are primitive recursive

Statement

The following total functions are primitive recursive:

  • addition and multiplication on N,
  • predecessor p(0)=0, p(n+1)=n,
  • truncated subtraction m−∙n:=max⁡(m−n,0),
  • the characteristic functions of 0, equality, and order,
  • for every primitive recursive g:Nk+1→N, the bounded sum and bounded product Σg(n,x):=∑y≤ng(y,x),Πg(n,x):=∏y≤ng(y,x),
  • and therefore bounded existential and universal quantifiers of primitive-recursive predicates.

Facts & Assumptions

Given: The closure clauses in Primitive recursive functions.

[L1]

Primitive recursive functions are exactly the total functions obtained from the initial arithmetic functions by finitely many compositions and primitive recursions, by Primitive recursive functions.

Proof

technique · direct
1.1L1givenconstruct

Addition is obtained by primitive recursion from the clauses add⁡(0,n)=n and add⁡(m+1,n)=S(add⁡(m,n)). Multiplication is then obtained by primitive recursion from 0 and addition via mul⁡(0,n)=0 and mul⁡(m+1,n)=add⁡(mul⁡(m,n),n). By [L1], both functions are primitive recursive.

2.1L1step 1.1construct

The predecessor function is primitive recursive from p(0)=0 and p(n+1)=P12(n,p(n)). Then truncated subtraction is primitive recursive by m−∙0=m and m−∙(n+1)=p(m−∙n). From this, the zero-test χ0 is primitive recursive via χ0(0)=1 and χ0(n+1)=0, the sign function sg⁡(n)=1−χ0(n) is primitive recursive, equality is given by χ=(m,n)=χ0((m−∙n)+(n−∙m)), and order is given by χ≤(m,n)=χ0(m−∙n). So the listed basic arithmetic and characteristic functions are primitive recursive by [L1].

2.2L1step 1.1construct

If g:Nk+1→N is primitive recursive, then bounded sums and products are obtained by primitive recursion through Σg(0,x)=g(0,x), Σg(n+1,x)=Σg(n,x)+g(n+1,x), Πg(0,x)=g(0,x), and Πg(n+1,x)=Πg(n,x)⋅g(n+1,x). Hence Σg and Πg are primitive recursive by [L1].

3.1step 2.1step 2.2algebra

If r(y,x)∈{0,1} is a primitive-recursive characteristic function, then χ∃y≤n r(y,x)=1(n,x)=sg⁡(Σr(n,x)) and χ∀y≤n r(y,x)=1(n,x)=Πr(n,x). Thus bounded existential and bounded universal quantification preserve primitive recursiveness.

4.1step 1.1step 2.1step 3.1∎

The displayed constructions establish every operation and quantifier listed in the statement.

Depends on

Used by

Dependency tree · two levels

3 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