Setup: Consider $X = \lbrace 0,1\rbrace ^{\mathbb{R}}$ with the product topology, which we might freely identify with the powerset of $\mathbb{R}$ through characteristic functions.
Let $D \subseteq X$ be the subset consisting of characteristic functions of finite Boolean combinations of intervals with rational endpoints. (I don't expect that the exact definition matters much, but in case it does: an “interval” here is allowed to be open, closed or half-open, and can even be a singleton or a half-line or the full real line. Equivalently, $D$ consists of functions $\mathbb{R} \to \lbrace 0,1\rbrace$ which are continuous — i.e., constant — outside of at most finitely many rationals.)
We give $D$ the topology it inherits as a subspace of $X$. Note that $D$ is countable, and that it is dense in $X$ (it is dense because any finite set of conditions of the form $h(x)=0$ or $h(x)=1$ for finitely many $x\in\mathbb{R}$ is satisfied by an element of $D$). For what it's worth, one might also note that $D$ embeds in $\lbrace 0,1\rbrace ^{\mathbb{Q}}$, and, as such, it is metrizable and, in fact, ultrametrizable. [Correction (2024-09-07): while it is true that $D$ can be seen as a subset of $\lbrace 0,1\rbrace ^{\mathbb{Q}}$, the induced topology is not the same.]
THE QUESTION: which of the following conditions, in which we have (1)⇔(2)⇔(3) ⇒ (4)⇔(5), are in fact true?
Any bounded continuous function $D\to\mathbb{R}$ extends (obviously uniquely) to all of $X$.
The Stone-Čech map $\beta D \to X$ associated to the subspace inclusion $D \to X$ is a homeomorphism.
The Stone-Čech map $\beta D \to X$ associated to the subspace inclusion $D \to X$ is injective.
The Boolean algebra $\operatorname{Clop}(D)$ of clopen subsets of $D$ is the free Boolean algebra generated by $(e_x)_{x\in\mathbb{R}}$, where $e_x$ is associated with the clopen subset $\lbrace h\in D : h(x)=1\rbrace$ of $D$.
Every clopen subset of $D$ is a finite Boolean combination of those of the form $\lbrace h\in D : h(x)=1\rbrace$ for $x\in\mathbb{R}$.
[Correction (2024-09-07): I had initially written the question thinking they were all equivalent (and indeed I would be surprised if it turned out that (4)/(5) are true but (1)/(2)/(3) are not), but my proof of (4)⇒(2) rested on the assertion that $D$ is strongly zero-dimensional, for which my proof was flawed, so I must correct this.]
Proof of the equivalences: The equivalence (1)⇔(2) follows from Gillman & Jerison, Rings of Continuous Functions, theorem 6.5(II). That (2)⇒(3) is trivial, and that (3)⇒(2) follows from the fact that $\beta D \to X$ is surjective (its image is closed because $\beta D$ is compact, and dense because $D$ is dense) and that a continuous bijection between compact spaces is a homeomorphism.
To see that (2)⇒(4), note that $X$ is the Stone space of the free Boolean algebra over $(e_x)_{x\in\mathbb{R}}$; and $\beta D$ is a compact subset of $X$, so it is a Stone space as well; so now we can apply Stone duality for Boolean algebras. Also note that $\operatorname{Clop}(D) = \operatorname{Clop}(\beta D)$ (this is the set of idempotents of the ring $C ^ *(D) = C ^ *(\beta D)$ of bounded continuous functions on $D$). Stone duality tells us that $\beta D \to X$ is an isomorphism iff $\operatorname{Clop}(X) \to \operatorname{Clop}(D)$ is one, which gives the implication (2)⇒(4). Finally, (5) tells us that $\operatorname{Clop}(X) \to \operatorname{Clop}(D)$ is surjective, and it is injective since $D$ is dense in $X$, so in fact (5)⇔(4). ∎
Motivation of the question: a standard proof of the fact that $\operatorname{card}(\beta\mathbb{N}) = 2^{2^{\aleph_0}}$ goes as follows. That $\operatorname{card}(\beta\mathbb{N}) \leq 2^{2^{\aleph_0}}$ is easy, so the point is to prove that $\operatorname{card}(\beta\mathbb{N}) \geq 2^{2^{\aleph_0}}$. For this, it is enough to construct a surjection $\beta\mathbb{N} \to X$ (where $X = \lbrace 0,1\rbrace ^{\mathbb{R}}$ is as above); but since $D$ is countable, we have a surjection $\mathbb{N} \to D$ which composed with the inclusion $D \to X$ gives a map $\mathbb{N} \to X$ whose associated Stone-Čech map $\beta\mathbb{N} \to X$ is surjective (for the same reason as in the proof above: the image is closed and dense). ∎ ❧ Now this proof involves the maps $\beta\mathbb{N} \to \beta D \to X$, both of which are surjective, and it is a natural question in this context to wonder whether the second is in fact a homeomorphism, which is what I ask here.
Given the above equivalences I feel like this should be a fairly straightforward matter to decide, but I only managed to find myself turning in circles, so I suspect I must have missed something obvious.