TheoremBase

The sum is the value of the addition map at the pair term, and the difference is expressed by a formula asserting membership of ((t, z), s) in the addition.

Proof

Terms under Ξ³\gamma, their values and terms of a type are as in Terms and Typed Terms under a Guard (i) and Terms and Typed Terms under a Guard (ii); throughout, the parameters have their fixed values, as in Conditions Expressed by a Predicative Formula, and Guards (i).

Proof of (i). The addition ++ of N0\mathbb{N}_{0} is a binary operation on the set N0\mathbb{N}_{0}, that is, a map +:N0Γ—N0β†’N0+:\mathbb{N}_{0}\times\mathbb{N}_{0}\to\mathbb{N}_{0}, by Addition on Omega (i), The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (ii) and The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (iv). By Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (iv), (s,t)(s,t) is a term of type N0Γ—N0\mathbb{N}_{0}\times\mathbb{N}_{0} under Ξ³\gamma; so by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (iii), with ++ for FF, +((s,t))+((s,t)) is a term of type N0\mathbb{N}_{0} under Ξ³\gamma, and its value is the sum of the values of ss and tt by Binary Operations on a Set (ii). Now let ss and tt be of type N\mathbb{N}. They are of type N0\mathbb{N}_{0}, since their values lie in NβŠ†N0\mathbb{N}\subseteq\mathbb{N}_{0} by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (ii) and the condition of Terms and Typed Terms under a Guard (iv) does not involve the type; so s+ts+t is of type N0\mathbb{N}_{0}, as just shown. Its value lies in N\mathbb{N} by Natural Numbers Are the Successors in Omega: One Is Least and Not a Successor of a Natural Number, the Successor Is Injective, and N Is Closed under Addition and Multiplication (vi), so Terms and Typed Terms under a Guard (iii) holds for the type N\mathbb{N}, and Terms and Typed Terms under a Guard (iv) is the condition already obtained; so s+ts+t is of type N\mathbb{N}.

Proof of (ii). Values. Under an assignment satisfying Ξ³\gamma, the values of ss and tt lie in N0\mathbb{N}_{0} by Terms and Typed Terms under a Guard (iii), and t≀st\le s by hypothesis; so by The Difference of Two Natural Numbers with Zero (i) the value of sβˆ’ts-t is the unique j∈N0j\in\mathbb{N}_{0} with t+j=st+j=s. It is a set in N0\mathbb{N}_{0} determined by the values of ss and tt, hence by the sets assigned to x1,…,xkx_{1},\dots,x_{k} and the values of the parameters; so sβˆ’ts-t is a term under Ξ³\gamma satisfying Terms and Typed Terms under a Guard (iii) with N0\mathbb{N}_{0}.

The formula. Let zz be a set variable that is none of x1,…,xkx_{1},\dots,x_{k}, is not free in Ξ³\gamma and does not occur in sβˆ’ts-t, and let Y+Y_{+} be the parameter of sβˆ’ts-t with value ++. The set variables form an infinite list by Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations (i), so there are distinct set variables uu and vv that are none of x1,…,xkx_{1},\dots,x_{k} and zz and occur neither in Ξ³\gamma nor in sβˆ’ts-t. By Terms and Typed Terms under a Guard (iv) there are predicative formulas ψsu\psi_{s}^{u} and ψtv\psi_{t}^{v} expressing γ∧u=s\gamma\wedge u=s and γ∧v=t\gamma\wedge v=t; by Conditions Expressed by a Predicative Formula, and Guards (ii) their free variables are among x1,…,xkx_{1},\dots,x_{k}, uu, respectively vv, and the parameters of Ξ³\gamma, ss and tt, so zz is free in neither. Let ψ\psi be the formula

βˆƒuβ€‰βˆƒv (ψsu∧ψtv∧((v,z),u)∈Y+).\exists u\,\exists v\,\bigl(\psi_{s}^{u}\wedge\psi_{t}^{v}\wedge((v,z),u)\in Y_{+}\bigr).

The formula ((v,z),u)∈Y+((v,z),u)\in Y_{+} is predicative by Predicativity under Renaming of Set Variables by Variables, of Formulas with Ordered Pairs, and of Formulas for Relations, Functions, Maps, Injectivity, Surjectivity and Bijectivity (iv), so ψ\psi, which applies no quantifier to a class variable, is predicative by Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols (i); its free variables are among x1,…,xkx_{1},\dots,x_{k}, zz and the parameters of Ξ³\gamma and sβˆ’ts-t. Consider an assignment of sets to x1,…,xkx_{1},\dots,x_{k} and zz. As ++ is a binary operation on the set N0\mathbb{N}_{0}, as shown in the proof of (i), Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols (xi) gives that ((v,z),u)∈+((v,z),u)\in{+} holds if and only if v,z∈N0v,z\in\mathbb{N}_{0} and u=v+zu=v+z; so no separate condition z∈N0z\in\mathbb{N}_{0} is needed. By the properties of ψsu\psi_{s}^{u} and ψtv\psi_{t}^{v}, uu and vv must be the values of ss and tt; so ψ\psi holds if and only if Ξ³\gamma holds, z∈N0z\in\mathbb{N}_{0} and t+z=st+z=s. When Ξ³\gamma holds, t≀st\le s, and by The Difference of Two Natural Numbers with Zero (i) the elements z∈N0z\in\mathbb{N}_{0} with t+z=st+z=s are exactly z=sβˆ’tz=s-t. So ψ\psi expresses γ∧z=sβˆ’t\gamma\wedge z=s-t, Terms and Typed Terms under a Guard (iv) holds, and sβˆ’ts-t is of type N0\mathbb{N}_{0}.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…