I am currently studying for a bachelor's degree in computer science.
I have learnt 2 courses which involve basic naive set theory.
I have also learnt a course in logic which I think is pretty standard.
Those courses felt basic in the sense that they both seem to work over this "definition" - "a 'set' is a set of 'things' ". Also, in the logic course, It was very unclear to me how they can prove theorems about proving, using what sometimes seems to be the very theorem they try to prove. Or,do things that to the knowledge-naked eye like mine can seem self referential. As an example, they defined the relation $"="$'s interpretation under a model M as:
$=^M = \{⟨a,a\rangle | a \in M\}$
Which was actually hilarious to me,I did not understand the (I hope existing) explanation of why this is not using $"="$'s interpretation in whatever is a model of set theory (which again I do not know what exactly is) to define an interpretation of "=" under a model of any theory, including, it's interpretation in any model of set theory... It seems like they have used here set 'equality' before being able to give meaning to a statement such as $A=B$ for two sets $A,B$ as there are in the definition (if indeed, those definitions are done in the framework of a model of set theory, again, whatever that is, and I just don't know.)
It all comes down to my understanding that for someone who knows what exactly is going on, there will be no problems reading the books I read as I am sure all those things have a rigorous foundation up to the level where you cannot possibly ask "but why?" or "but how?". But for me who is not familiar with it, the 'learning' experience was an actual nightmare.
I want to get to that level of knowledge of never needing to ask how or why or feel cringed by "definitions", because I know the rigour behind them. The idea of undoubtedly understanding the concepts of "set", "property", "number" and so on fascinates me. What or from who or where should I read to get this knowledge?
These roughly are the syllabuses for the courses I have learnt:
Naive set theory: operations on sets, relations with particular equivalence and order, functions, power sets and Cantor's theorem, some very basic arithmetic of cardinals
Logic: propositional calculus via Hilbert's system and proofs of completeness and consistency, first order languages - Henkin construction, consistency and completeness, second order languages. Some basic model theory - Löwenheim–Skolem theorem, compactness theorem. Peano's axioms and Gödel's incompleteness theorem.
$\langle a, a \rangle$
gives you $\langle a,a\rangle$, which is better than $<a,a>$. I'd recommend Richard E. Borcherds' ZF Axioms Playlist. It's short, clarifies a lot, like what the ZFC model is, and will help with further study – Ten O'Four Feb 22 '22 at 05:16