I've been self-studying ZFC set theory by following the book "The Joy of Sets". I've also learned that ZFC axioms are expressed in the language of first order logic, but I have ever been trained in logic and philosophy. Since the book I've been following does not contain any introduction to logic, I was trying to grasp some basic knowledge of logic from this wikipedia page and some links found from google.
So far, I've learned that first order logic is built upon zeroth order logic, which has three axiom schemes:
- $P\rightarrow(Q\rightarrow P)$,
- $(P\rightarrow(Q\rightarrow R))\rightarrow(P\rightarrow Q)\rightarrow(P\rightarrow R)$,
- $(\neg P\rightarrow\neg Q)\rightarrow(Q\rightarrow P)$.
where $P$, $Q$, and $R$ are well-formed formulas in the language $\mathscr{L}$. The above axioms are obvious to me. I can see that they are ubiquitous in everyday mathematics.
The first order logic has, in addition, the following extra axiom schemes:
- If $x$ does not occur free in $P$, then ($\forall x$)$P\rightarrow P$,
- If $P(x)$ is a well-formed formula and $t$ is free for $x$ in $P(x)$, then $(\forall x)P(x)\rightarrow P(t)$,
- If $P$ contains no free occurrence of $x$, then $(\forall x)(P\rightarrow Q)\rightarrow(P\rightarrow(\forall x)Q)$.
In addition, in mathematics, one also need the following axioms for equality:
- For each variable $x$, $x=x$.
- $(t_{k}=x)\rightarrow(f_{i}^{n}(t_{1},\cdots,t_{k},\cdots,t_{n})=f_{i}^{n}(t_{1},\cdots,x,\cdots,t_{n}))$, where $t_{1},\cdots$, $t_{n}$, and $x$ are any terms, and $f_{i}^{n}$ is any $n$-ary function letter of the language $\mathscr{L}$.
- $(t_{k}=x)\rightarrow(A_{i}^{n}(t_{1},\cdots,t_{k},\cdots,t_{n})\rightarrow A_{i}^{n}(t_{1},\cdots,x,\cdots,t_{n}))$, where $t_{1},\cdots$, $t_{n}$, and $x$ are any terms, and $A_{i}^{n}$ is any predicate symbol in $\mathscr{L}$.
The axioms $4$, $5$, $6$, $7$, $8$, and $9$ look trivially true to me, but I have no impression that I have ever used these axioms in mathematics. If ZFC set theory is expressed in the language of first order logic, then I believe it is necessary to use these axioms in giving ZFC axioms.
Can anyone give me examples of how these axioms are used in expressing ZFC axioms?