Proposition

Let RSR \subseteq S be an inclusion of integral domains, with RR a PID. Let a,bRa, b \in R and let d=gcd(a,b)R.d = \gcd(a,b) \in R. Then dd is also a gcd(a,b)\gcd(a,b) in S.S.

Proof

Observe that, by definition of GCD, (a)+(b)(d).(a) + (b) \subseteq (d). Hence, we have p,qRp, q \in R such that dp=adp = a and dq=b.dq = b. Since RR is a PID, we also have u,vRu,v \in R such that d=au+bv.d = au + bv. Hence, (d)(a)+(b).(d) \subseteq (a) + (b). Thus (d)=(a)+(b).(d) = (a) + (b).

These equalities also hold in S,S, which is sufficient to demonstrate that no ideal smaller than (d)(d) can contain (a)+(b).(a)+(b).

\blacksquare