MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fvprmselgcd1 Structured version   Visualization version   GIF version

Theorem fvprmselgcd1 15529
Description: The greatest common divisor of two values of the prime selection function for different arguments is 1. (Contributed by AV, 19-Aug-2020.)
Hypothesis
Ref Expression
fvprmselelfz.f 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1))
Assertion
Ref Expression
fvprmselgcd1 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
Distinct variable groups:   𝑚,𝑁   𝑚,𝑋   𝑚,𝑌
Allowed substitution hint:   𝐹(𝑚)

Proof of Theorem fvprmselgcd1
StepHypRef Expression
1 fvprmselelfz.f . . . . . . 7 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1))
21a1i 11 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1)))
3 eleq1 2671 . . . . . . . 8 (𝑚 = 𝑋 → (𝑚 ∈ ℙ ↔ 𝑋 ∈ ℙ))
4 id 22 . . . . . . . 8 (𝑚 = 𝑋𝑚 = 𝑋)
53, 4ifbieq1d 4054 . . . . . . 7 (𝑚 = 𝑋 → if(𝑚 ∈ ℙ, 𝑚, 1) = if(𝑋 ∈ ℙ, 𝑋, 1))
6 iftrue 4037 . . . . . . . 8 (𝑋 ∈ ℙ → if(𝑋 ∈ ℙ, 𝑋, 1) = 𝑋)
76ad2antrr 757 . . . . . . 7 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑋 ∈ ℙ, 𝑋, 1) = 𝑋)
85, 7sylan9eqr 2661 . . . . . 6 ((((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑋) → if(𝑚 ∈ ℙ, 𝑚, 1) = 𝑋)
9 elfznn 12192 . . . . . . . 8 (𝑋 ∈ (1...𝑁) → 𝑋 ∈ ℕ)
1093ad2ant1 1074 . . . . . . 7 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → 𝑋 ∈ ℕ)
1110adantl 480 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℕ)
12 simpll 785 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℙ)
132, 8, 11, 12fvmptd 6178 . . . . 5 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑋) = 𝑋)
14 eleq1 2671 . . . . . . . 8 (𝑚 = 𝑌 → (𝑚 ∈ ℙ ↔ 𝑌 ∈ ℙ))
15 id 22 . . . . . . . 8 (𝑚 = 𝑌𝑚 = 𝑌)
1614, 15ifbieq1d 4054 . . . . . . 7 (𝑚 = 𝑌 → if(𝑚 ∈ ℙ, 𝑚, 1) = if(𝑌 ∈ ℙ, 𝑌, 1))
17 iftrue 4037 . . . . . . . 8 (𝑌 ∈ ℙ → if(𝑌 ∈ ℙ, 𝑌, 1) = 𝑌)
1817ad2antlr 758 . . . . . . 7 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑌 ∈ ℙ, 𝑌, 1) = 𝑌)
1916, 18sylan9eqr 2661 . . . . . 6 ((((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑌) → if(𝑚 ∈ ℙ, 𝑚, 1) = 𝑌)
20 elfznn 12192 . . . . . . . 8 (𝑌 ∈ (1...𝑁) → 𝑌 ∈ ℕ)
21203ad2ant2 1075 . . . . . . 7 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → 𝑌 ∈ ℕ)
2221adantl 480 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℕ)
23 simplr 787 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℙ)
242, 19, 22, 23fvmptd 6178 . . . . 5 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑌) = 𝑌)
2513, 24oveq12d 6541 . . . 4 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = (𝑋 gcd 𝑌))
26 prmrp 15204 . . . . . . 7 ((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → ((𝑋 gcd 𝑌) = 1 ↔ 𝑋𝑌))
2726biimprcd 238 . . . . . 6 (𝑋𝑌 → ((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → (𝑋 gcd 𝑌) = 1))
28273ad2ant3 1076 . . . . 5 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → (𝑋 gcd 𝑌) = 1))
2928impcom 444 . . . 4 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝑋 gcd 𝑌) = 1)
3025, 29eqtrd 2639 . . 3 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
3130ex 448 . 2 ((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1))
321a1i 11 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1)))
336ad2antrr 757 . . . . . . 7 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑋 ∈ ℙ, 𝑋, 1) = 𝑋)
345, 33sylan9eqr 2661 . . . . . 6 ((((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑋) → if(𝑚 ∈ ℙ, 𝑚, 1) = 𝑋)
3510adantl 480 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℕ)
36 simpll 785 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℙ)
3732, 34, 35, 36fvmptd 6178 . . . . 5 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑋) = 𝑋)
38 iffalse 4040 . . . . . . . 8 𝑌 ∈ ℙ → if(𝑌 ∈ ℙ, 𝑌, 1) = 1)
3938ad2antlr 758 . . . . . . 7 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑌 ∈ ℙ, 𝑌, 1) = 1)
4016, 39sylan9eqr 2661 . . . . . 6 ((((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑌) → if(𝑚 ∈ ℙ, 𝑚, 1) = 1)
4121adantl 480 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℕ)
42 1nn 10874 . . . . . . 7 1 ∈ ℕ
4342a1i 11 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 1 ∈ ℕ)
4432, 40, 41, 43fvmptd 6178 . . . . 5 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑌) = 1)
4537, 44oveq12d 6541 . . . 4 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = (𝑋 gcd 1))
46 prmz 15169 . . . . . 6 (𝑋 ∈ ℙ → 𝑋 ∈ ℤ)
47 gcd1 15029 . . . . . 6 (𝑋 ∈ ℤ → (𝑋 gcd 1) = 1)
4846, 47syl 17 . . . . 5 (𝑋 ∈ ℙ → (𝑋 gcd 1) = 1)
4948ad2antrr 757 . . . 4 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝑋 gcd 1) = 1)
5045, 49eqtrd 2639 . . 3 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
5150ex 448 . 2 ((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) → ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1))
521a1i 11 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1)))
53 iffalse 4040 . . . . . . . 8 𝑋 ∈ ℙ → if(𝑋 ∈ ℙ, 𝑋, 1) = 1)
5453ad2antrr 757 . . . . . . 7 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑋 ∈ ℙ, 𝑋, 1) = 1)
555, 54sylan9eqr 2661 . . . . . 6 ((((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑋) → if(𝑚 ∈ ℙ, 𝑚, 1) = 1)
5610adantl 480 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℕ)
5742a1i 11 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 1 ∈ ℕ)
5852, 55, 56, 57fvmptd 6178 . . . . 5 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑋) = 1)
5917ad2antlr 758 . . . . . . 7 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑌 ∈ ℙ, 𝑌, 1) = 𝑌)
6016, 59sylan9eqr 2661 . . . . . 6 ((((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑌) → if(𝑚 ∈ ℙ, 𝑚, 1) = 𝑌)
6121adantl 480 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℕ)
62 simplr 787 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℙ)
6352, 60, 61, 62fvmptd 6178 . . . . 5 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑌) = 𝑌)
6458, 63oveq12d 6541 . . . 4 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = (1 gcd 𝑌))
65 prmz 15169 . . . . . 6 (𝑌 ∈ ℙ → 𝑌 ∈ ℤ)
66 1gcd 15034 . . . . . 6 (𝑌 ∈ ℤ → (1 gcd 𝑌) = 1)
6765, 66syl 17 . . . . 5 (𝑌 ∈ ℙ → (1 gcd 𝑌) = 1)
6867ad2antlr 758 . . . 4 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (1 gcd 𝑌) = 1)
6964, 68eqtrd 2639 . . 3 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
7069ex 448 . 2 ((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1))
711a1i 11 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1)))
7253ad2antrr 757 . . . . . . 7 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑋 ∈ ℙ, 𝑋, 1) = 1)
735, 72sylan9eqr 2661 . . . . . 6 ((((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑋) → if(𝑚 ∈ ℙ, 𝑚, 1) = 1)
7410adantl 480 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℕ)
7542a1i 11 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 1 ∈ ℕ)
7671, 73, 74, 75fvmptd 6178 . . . . 5 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑋) = 1)
7738ad2antlr 758 . . . . . . 7 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑌 ∈ ℙ, 𝑌, 1) = 1)
7816, 77sylan9eqr 2661 . . . . . 6 ((((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑌) → if(𝑚 ∈ ℙ, 𝑚, 1) = 1)
7921adantl 480 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℕ)
8071, 78, 79, 75fvmptd 6178 . . . . 5 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑌) = 1)
8176, 80oveq12d 6541 . . . 4 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = (1 gcd 1))
82 1z 11236 . . . . 5 1 ∈ ℤ
83 1gcd 15034 . . . . 5 (1 ∈ ℤ → (1 gcd 1) = 1)
8482, 83mp1i 13 . . . 4 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (1 gcd 1) = 1)
8581, 84eqtrd 2639 . . 3 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
8685ex 448 . 2 ((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) → ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1))
8731, 51, 70, 864cases 986 1 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 382  w3a 1030   = wceq 1474  wcel 1975  wne 2775  ifcif 4031  cmpt 4633  cfv 5786  (class class class)co 6523  1c1 9789  cn 10863  cz 11206  ...cfz 12148   gcd cgcd 14996  cprime 15165
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1711  ax-4 1726  ax-5 1825  ax-6 1873  ax-7 1920  ax-8 1977  ax-9 1984  ax-10 2004  ax-11 2019  ax-12 2031  ax-13 2228  ax-ext 2585  ax-sep 4699  ax-nul 4708  ax-pow 4760  ax-pr 4824  ax-un 6820  ax-cnex 9844  ax-resscn 9845  ax-1cn 9846  ax-icn 9847  ax-addcl 9848  ax-addrcl 9849  ax-mulcl 9850  ax-mulrcl 9851  ax-mulcom 9852  ax-addass 9853  ax-mulass 9854  ax-distr 9855  ax-i2m1 9856  ax-1ne0 9857  ax-1rid 9858  ax-rnegex 9859  ax-rrecex 9860  ax-cnre 9861  ax-pre-lttri 9862  ax-pre-lttrn 9863  ax-pre-ltadd 9864  ax-pre-mulgt0 9865  ax-pre-sup 9866
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1866  df-eu 2457  df-mo 2458  df-clab 2592  df-cleq 2598  df-clel 2601  df-nfc 2735  df-ne 2777  df-nel 2778  df-ral 2896  df-rex 2897  df-reu 2898  df-rmo 2899  df-rab 2900  df-v 3170  df-sbc 3398  df-csb 3495  df-dif 3538  df-un 3540  df-in 3542  df-ss 3549  df-pss 3551  df-nul 3870  df-if 4032  df-pw 4105  df-sn 4121  df-pr 4123  df-tp 4125  df-op 4127  df-uni 4363  df-int 4401  df-iun 4447  df-br 4574  df-opab 4634  df-mpt 4635  df-tr 4671  df-eprel 4935  df-id 4939  df-po 4945  df-so 4946  df-fr 4983  df-we 4985  df-xp 5030  df-rel 5031  df-cnv 5032  df-co 5033  df-dm 5034  df-rn 5035  df-res 5036  df-ima 5037  df-pred 5579  df-ord 5625  df-on 5626  df-lim 5627  df-suc 5628  df-iota 5750  df-fun 5788  df-fn 5789  df-f 5790  df-f1 5791  df-fo 5792  df-f1o 5793  df-fv 5794  df-riota 6485  df-ov 6526  df-oprab 6527  df-mpt2 6528  df-om 6931  df-1st 7032  df-2nd 7033  df-wrecs 7267  df-recs 7328  df-rdg 7366  df-1o 7420  df-2o 7421  df-oadd 7424  df-er 7602  df-en 7815  df-dom 7816  df-sdom 7817  df-fin 7818  df-sup 8204  df-inf 8205  df-pnf 9928  df-mnf 9929  df-xr 9930  df-ltxr 9931  df-le 9932  df-sub 10115  df-neg 10116  df-div 10530  df-nn 10864  df-2 10922  df-3 10923  df-n0 11136  df-z 11207  df-uz 11516  df-rp 11661  df-fz 12149  df-seq 12615  df-exp 12674  df-cj 13629  df-re 13630  df-im 13631  df-sqrt 13765  df-abs 13766  df-dvds 14764  df-gcd 14997  df-prm 15166
This theorem is referenced by:  prmodvdslcmf  15531
  Copyright terms: Public domain W3C validator