Description: Corollary 2 of Cancellability of Congruences: Two products with a common factor are congruent modulo a prime number not dividing the common factor iff the other factors are congruent modulo the prime number. (Contributed by AV, 13-Jul-2021)
Ref | Expression | ||
---|---|---|---|
Assertion | cncongrprm | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | prmnn | |
|
2 | 1 | ad2antrl | |
3 | coprm | |
|
4 | prmz | |
|
5 | gcdcom | |
|
6 | 4 5 | sylan | |
7 | 6 | eqeq1d | |
8 | 3 7 | bitrd | |
9 | 8 | ancoms | |
10 | 9 | biimpd | |
11 | 10 | expimpd | |
12 | 11 | 3ad2ant3 | |
13 | 12 | imp | |
14 | 2 13 | jca | |
15 | cncongrcoprm | |
|
16 | 14 15 | syldan | |