I am taking an independent study where I organize and present weekly material on algebraic number theory to my professor and receive feedback. Next week I am going to cover some miscellaneous topics, including localization. This note is alluring in that it is short and sweet and uses technology I have just gotten to at this point. I started going through the argument though and I am stuck at the very beginning on the equation labelled $(\star)$.
I wish to prove that if $R$ is Dedekind and $R\subset A\subset K$ where $K$ is the fraction field of $R$, then $$A=\bigcap_{{\frak p}A\ne A}R_{\frak p} \tag{$\star$}$$
[Edit: with the additional hypothesis that $R$'s fractional ideal classes have finite order.]
where $R_{\frak p}$ is the localization $(R\setminus{\frak p})^{-1}R$ which I define via $S^{-1}R=\min\{T\subseteq K\mid S\subseteq T^\times\}$. I can prove that $S^{-1}R=$"$R[S^{-1}]$" so all elements of $S^{-1}R$ can be written with a denominator in $S$ and conversely any fraction with a denominator in $S$ is in $S^{-1}R$. I can also argue that every $x\in K$ (and hence in $A$) can be written in the form $a/b$ where $a,b\in R$ and $a\not\in(b)$, or even more strongly where $a,b$ share no common factor (which in terms of ideals means $(a,b)\triangleleft R$ is not divisible by any nontrivial principal ideal, if that's worth anything).
To show the LHS is contained in the RHS, I must show ${\frak p}A\ne A\Rightarrow A\subseteq R_{\frak p}$, which means ${\frak p}A<A$ (strictly) implies all $x\in A$ can be written as $a/b$ with $a\in R$, $b\in R\setminus\frak p$. I am not sure how to achieve this though. I am also having trouble with the other inclusion. My first idea was to say $a/b$ is in the intersection, factor $bR={\frak q}_1\cdots{\frak q}_e$, argue ${\frak q}_iA\ne A$ was not possible since then, combined with $b\in{\frak p}_i$, it would follow $a/b\not\in R_{{\frak q}_{\large i}}$, a contradiction, hence ${\frak q}_iA=A$ for each $i$ and then we have the resulting equality $bA=bRA={\frak q}_1\cdots{\frak q}_eA=A\ni 1$ hence $b^{-1}\in A$.
However I am not able to prove $b\in{\frak q}_i\Rightarrow a/b\not\in R_{{\frak q}_{\large i}}$: I need to show that if $a/b$ in simplest terms has $b\in\frak p$ then it cannot be rewritten into another form that has a denominator not in $\frak p$. I would generate ideals at this point and consider exponents of $\frak p$ in factorizations, but I'm not certain $a\not\in\frak p$. (It is possible for both numerator and denominator to be in a prime ideal but still in simplest form: take the ratio of two generators of a nonprincipal ideal for example.)
It'd also be nice to know if $(\star)$ does not hold for non-Dedekind domains, and if so what's a domain and an overring in which it fails (and why).
Going back to the original claim of the note, it'd be nice also to know of simple Dedekind domains that have fractional ideal classes of infinite order. I did a rudimentary google search but the only direct mention involved ideas like Picard groups and elliptic curves, which I haven't covered yet.