I guess I'm officially halfway. I just finished chapter 4 and there are 4 more chapters to go.
Chapter 4 focuses on continuity. Compared to the first 3 chapters, I felt like I was able to finish the exercises more quickly. I don't know if it's because I'm getting better as I am gaining more knowledge, or because of the materials. So far, I generally found that I have been struggling with materials related to set theory and topology. I think the hardest chapter so far was chapter 3, the chapter before this one, where the concepts of open set, closed set, limit point, compactness, connected-ness, open cover etc. were introduced. I still found them non-intuitive. On the contrary, I already studied continuity, albeit not with the $\epsilon-\delta$ definition, when I was in secondary school. Since we're still in the realm of real numbers and single variable functions, I can draw graphs and pictures to help myself understand a lot of the concepts.
The chapter started with the Dirichlet's function, which I've seen when I was in secondary school. So no surprise. I always wonder what US students would feel if they were only learning this for the first time. Pretty shocking, I would imagine. But the Tomae's function was new. It was one of the most impressive things in this chapter (the other one was the classification of the set of discontinuities) because the function is discontinuous on rational numbers only. The author then posed a question of whether we can construct a function that is discontinuous at every irrational and only irrationals. It was extremely satisfying to arrive at the proof in the last chapter (no, it's impossible).
I really love this book because the author would from time to time throw in bits of mathematical history. For example, the Intermediate Value Theorem was not rigorously proven until the early 19th century. It reminds me again that huge progress in math was actually made quite recently. I still consider Newton and Leibniz's invention of calculus as the biggest turning point after Euclid.
Back to the question of whether there's a function discontinuous at only the irrationals. The book did not give the proof but instead presented it as a guided exercise. The most important idea is $\alpha$-continuity, which is a slight relaxation of the continuity definition. It is very interesting that by relaxing a requirement, or creating a slightly weaker version of a definition can lead to some powerful results. If I only have the strict continuity definition, I could imagine that it'd be hard to classify the set of discontinuities for all functions. But through a weaker definition of continuity, $\alpha$-continuity, it's actually quite straightforward to show that the set of discontinuities must be an $F_{\sigma}$ set.
(Click to enlarge)
This is an amazing result. Think about it: it's not just for a specific function but ANY real value function must obey! Again, so much talk about AI conquering the math landscape but I wonder if AI can come up with such an idea. Maybe it can because in this case it feels natural to go from strict continuity to $\alpha$-continuity. But maybe not. I don't know.Speaking about AI, I got an email from Google recently that Gemini Pro will be restricted to Google Pro tier customers starting mid-November. Unless I pay double the amount I'm paying now (I'm on Google Plus tier) I'll soon lose access to Gemini Pro. I know I said it earlier that I would be willing to pay because Gemini Pro has been so good, but because I've recently decided to pay for YouTube Premium, I'm very hesitant to commit to another subscription. And so I tried out Gemini Flash with their High Thinking mode for the last 2 sections of chapter 4 to test out how it compares to Pro. My initial impression has been very good. I feel like it's powerful enough for my self-study. The experience is actually quite similar to the time when I was using DeepSeek, though Gemini Flash is more polished in my opinion. But it's only slightly better. Will be interesting to see how it goes for the next few chapters.
Next chapter is about derivatives. I know how to apply L'Hospital's Rule but I've never seen a proof all these years. I'm really looking forward to it.

