Definition
Multiplication ( Primitive Recursion)
Multiplication
, with , is primitive-recursive. Recursing over the first argument gives The base returns
; each step adds to the previous result. Thus Here,
is the unary zero function, is addition, and denotes a projection function.
Construction
The base function
The step function receives the previous index
Starting at
Example
Repeatedly adding
The second argument stays fixed while the first argument counts the additions: