Assumptions:
TeX:
\left(\left|a\right| \ne \left|b\right| \;\mathbin{\operatorname{and}}\; \left|b\right| \ne \left|2 d\right|\right) \;\implies\; \left(2 d \left|u\right| < \left|b\right|\right)\; \text{ where } \left(d, u, v\right) = \operatorname{xgcd}\!\left(a, b\right) a \in \mathbb{Z} \setminus \left\{0\right\} \;\mathbin{\operatorname{and}}\; b \in \mathbb{Z} \setminus \left\{0\right\}
Definitions:
Fungrim symbol | Notation | Short description |
---|---|---|
Abs | Absolute value | |
XGCD | Extended greatest common divisor | |
ZZ | Integers |
Source code for this entry:
Entry(ID("da7d00"), Formula(Where(Implies(And(NotEqual(Abs(a), Abs(b)), NotEqual(Abs(b), Abs(Mul(2, d)))), Less(Mul(Mul(2, d), Abs(u)), Abs(b))), Equal(Tuple(d, u, v), XGCD(a, b)))), Variables(a, b), Assumptions(And(Element(a, SetMinus(ZZ, Set(0))), Element(b, SetMinus(ZZ, Set(0))))))