TheoremBase

Sums and Differences of Natural Numbers as Typed Terms

Sums of terms of type N0N_0 (or N) and differences s - t with t <= s of terms of type N0N_0 are again terms of type N0N_0 (or N) under a predicative guard.

Statement

This helper adopts the setting of Routine Facts Used Without Citation: Arithmetic, Maps, Predicativity and Indices; (i) and (ii) are statements of the metatheory about expressions. Let k≥0k\ge0, the distinct set variables x1,…,xkx_{1},\dots,x_{k}, the parameters with their fixed values, and assignments be as in Conditions Expressed by a Predicative Formula, and Guards (i); let γ\gamma be a guard; and let terms under γ\gamma and their values, and terms of type AA under γ\gamma for a class AA, be as in Terms and Typed Terms under a Guard (i) and Terms and Typed Terms under a Guard (ii). Sums, the order and differences of elements of N0\mathbb{N}_{0} are those of The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (iv), The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (v) and The Difference of Two Natural Numbers with Zero (i), formed in N0\mathbb{N}_{0}.

Let ss and tt be terms of type N0\mathbb{N}_{0} under γ\gamma, and let s+ts+t stand for the term +((s,t))+((s,t)) of Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (iii), written with a parameter ++ whose value is the addition of N0\mathbb{N}_{0}; its value under each assignment satisfying γ\gamma is the sum of the values of ss and tt. Then s+ts+t is a term of type N0\mathbb{N}_{0} under γ\gamma; and if ss and tt are terms of type N\mathbb{N} under γ\gamma, then s+ts+t is a term of type N\mathbb{N} under γ\gamma.

Let ss and tt be terms of type N0\mathbb{N}_{0} under γ\gamma such that t≤st\le s under every assignment satisfying γ\gamma, and let s−ts-t be the term under γ\gamma, written with ss, tt and a parameter whose value is the addition of N0\mathbb{N}_{0}, whose value under each assignment satisfying γ\gamma is the difference of the values of ss and tt. Then s−ts-t is a term of type N0\mathbb{N}_{0} under γ\gamma. That is, its value under every assignment satisfying γ\gamma lies in N0\mathbb{N}_{0}; and for every set variable zz that is none of x1,…,xkx_{1},\dots,x_{k}, is not free in γ\gamma and does not occur in s−ts-t, the condition γ∧z=s−t\gamma\wedge z=s-t on x1,…,xkx_{1},\dots,x_{k} and the displayed variable zz is expressed by a predicative formula.

Proofs

Log in to submit a proof.

Loading...

Citations

Loading…

Dependencies

Loading…

Related

0 relations

Curated associations between results. These are editable and subjective — they do not replace the dependency graph, which is derived from the references in the text.

No relations recorded yet.

Comments

Log in to comment.

Loading…