I have been thinking about how one might build up mathematics from scratch. After a bit of thought I realised that I would have to develop logic, set theory, and functions before I could even begin to talk about what a number is.
I have defined the logical conjunction as a binary operator $\wedge: \{T, F\}^2 \to \{T, F\}$ satisfying $$T \wedge T = T, \ \ T \wedge F = F, \ \ F \wedge T = T, \ \ F \wedge F = F,$$ and I have defined the cartesian product as $$A \times B = \{(a, b) \ | \ a \in A \ \wedge \ b \in B\}.$$
However there is some circular reasoning here; the domain of the logical conjunction is $\{ T, F \}^2$ so it depends on the definition of the cartesian product, but the cartesian product depends itself on the logical conjunction.
I have already defined everything else I have used here (i.e. 'set', 'element', 'set membership', 'function', 'domain', 'codomain', 'ordered pair', 'variable', and 'predicate'), the only problem is with $\wedge$ and $\times$.
Can anyone think of a way of solving this problem? Perhaps defining $\wedge$ as a binary operator is overkill, and this is the cause of the problem, but if one wants to do everything proper, surely this is the right way to define it?
(P.S. please don't just say that my question is moot because of incompleteness and ZFC and so on; I'm just having some fun seeing how far I get can get building up mathematics.)
However then I realised that the catesian product is an operator from sets to sets. So if you denote the 'infinite set of all sets', whatever that supposedly means, by $\mathbb{S}$ - or even if choose some more agreeable domain $D$ - then we have $\times: D^2 \to D$, but $D^2 = D \times D$, so the cartesian product appears in its own definition!
– Joe Stephen Oct 18 '17 at 17:09