Assumptions:
TeX:
\left\{ a x + b y : x \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; y \in \mathbb{Z} \right\} = \left\{ n d : n \in \mathbb{Z} \right\}\; \text{ where } d = \gcd\!\left(a, b\right)
a \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; b \in \mathbb{Z}Definitions:
| Fungrim symbol | Notation | Short description |
|---|---|---|
| ZZ | Integers | |
| GCD | Greatest common divisor |
Source code for this entry:
Entry(ID("965ac0"),
Formula(Where(Equal(Set(Add(Mul(a, x), Mul(b, y)), For(Tuple(x, y)), And(Element(x, ZZ), Element(y, ZZ))), Set(Mul(n, d), ForElement(n, ZZ))), Equal(d, GCD(a, b)))),
Variables(a, b),
Assumptions(And(Element(a, ZZ), Element(b, ZZ))))