feat(builtin/num): add auxiliary definitions and theorems for proving the primitive recursion theorem

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>