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.
Terms under , 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 is a binary operation on the set , that is, a map , 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), is a term of type under ; 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 , is a term of type under , and its value is the sum of the values of and by Binary Operations on a Set (ii). Now let and be of type . They are of type , since their values lie in 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 is of type , as just shown. Its value lies in 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 , and Terms and Typed Terms under a Guard (iv) is the condition already obtained; so is of type .
Proof of (ii). Values. Under an assignment satisfying , the values of and lie in by Terms and Typed Terms under a Guard (iii), and by hypothesis; so by The Difference of Two Natural Numbers with Zero (i) the value of is the unique with . It is a set in determined by the values of and , hence by the sets assigned to and the values of the parameters; so is a term under satisfying Terms and Typed Terms under a Guard (iii) with .
The formula. Let be a set variable that is none of , is not free in and does not occur in , and let be the parameter of 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 and that are none of and and occur neither in nor in . By Terms and Typed Terms under a Guard (iv) there are predicative formulas and expressing and ; by Conditions Expressed by a Predicative Formula, and Guards (ii) their free variables are among , , respectively , and the parameters of , and , so is free in neither. Let be the formula
The formula 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 , 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 , and the parameters of and . Consider an assignment of sets to and . As is a binary operation on the set , 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 holds if and only if and ; so no separate condition is needed. By the properties of and , and must be the values of and ; so holds if and only if holds, and . When holds, , and by The Difference of Two Natural Numbers with Zero (i) the elements with are exactly . So expresses , Terms and Typed Terms under a Guard (iv) holds, and is of type .
Loadingβ¦