For an introduction to set theory from the point of view of a computer professional using ASCII see [ intro_sets.html ] , For the traditional notation see [ sets.html ]
The purpose of recording the above is to point out that if you allow the idea of a mapping or function then you also allow the set of functions/mappings that will have the properties of sets.
Zermelo-Fraenkel Axiomatic Set Theory vs MATHs Sets
Some ZF axioms can not be expressed in correctly in MATHS. The MATHS system disallows some of the more infinite constructions. We can however use MATH to talk about the ZF language by encapsulating its statements:
Notice that the above net merely labels the formulas without actually asserting any of them.
Some of these can be mapped into theorems, one can not be expressed, and one becomes a meta_linguistic definition.
With T, T1,T2,... as generic types, the following are theorems in MATHS:
The ZF Axiom of Replacement is equivalent to the definition of (above) |-{ f(x) || x:T1(W(x) ) } ::= {y:T2 || for some x:T1( W(x) and y=f(x) ) for any f:T1->T2, x:a list of variables and W(x) : any well formed formula in these variables.
The ZF Axiom of Infinity can not be expressed in standard MATHs because it requires the existence of a set that has elements that are both in a type and subsets of a type. It is therefore not possible to tell what is the type of the elements in the set. This destroys a key requirement for the language of MATHS - that all elements of a set are of the same type.
The meta_level construct of co-product (or multi-verse) lets form a mixture of different types of elements by tagging them with the names of the types. For example if M=\/{ T1, T2, ... , T[n] } then for all m:M, there is a unique t:{ T1, T2, ... , T[n] } and an x:t such that m=x.t. For each m this t is symbolized as type(m). These allow us to define mixed universes like
But see Plotkin Power domains.
Proofs follow a natural deduction style that start with assumptions ("Let") and continue to a consequence ("Close Let") and then discard the assumptions and deduce a conclusion. Look here [ Block Structure in logic_25_Proofs ] for more on the structure and rules.
The notation also allows you to create a new network of variables and constraints. A "Net" has a number of variables (including none) and a number of properties (including none) that connect variables. You can give them a name and then reuse them. The schema, formal system, or an elementary piece of documentation starts with "Net" and finishes "End of Net". For more, see [ notn_13_Docn_Syntax.html ] for these ways of defining and reusing pieces of logic and algebra in your documents. A quick example: a circle = Net{radius:Positive Real, center:Point}.
For a complete listing of pages in this part of my site by topic see [ home.html ]
Notes on the Underlying Logic of MATHS
The notation used here is a formal language with syntax
and a semantics described using traditional formal logic
[ logic_0_Intro.html ]
plus sets, functions, relations, and other mathematical extensions.
For a more rigorous description of the standard notations see