Les $A$ be an integral domain[1] and $S\subset A$. The set $gcd(S)$ is the set of elements $\delta$ satisfying the two following properties :
- $\delta|s$ for all $s\in S$
- if $d|s$ for all $s\in S$, then $d|\delta$.
Let $a\in A$. I want to prove the set equality $a gcd(S)=gcd(aS)$.
I am okay with the inclusion $gcd(aS)\subset a\, gcd(S)$. For the reverse inclusion, let $\delta\in gcd(S)$. In want to prove that $a\delta\in gcd(aS)$.
For each $s\in S$, since $\delta|s$, we have $a\delta|s$. So $a\delta$ checks the first property.
Now let $d\in A$ such that $d|as$ for every $s\in S$.
QUESTION: how to prove that $d|a\delta$ ?
[1] Or a unique factorization domain ? What is the most general in which my property is true ?
EDIT : This question is different from that one : Prove that $(ma, mb) = |m|(a, b)\ $ [GCD & LCM Distributive Law] In this question we empathize the fact that the gcd is a set, not a number. The given answers are more general.