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

Theorem fvprmselgcd1 15692
 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 2686 . . . . . . . 8 (𝑚 = 𝑋 → (𝑚 ∈ ℙ ↔ 𝑋 ∈ ℙ))
4 id 22 . . . . . . . 8 (𝑚 = 𝑋𝑚 = 𝑋)
53, 4ifbieq1d 4087 . . . . . . 7 (𝑚 = 𝑋 → if(𝑚 ∈ ℙ, 𝑚, 1) = if(𝑋 ∈ ℙ, 𝑋, 1))
6 iftrue 4070 . . . . . . . 8 (𝑋 ∈ ℙ → if(𝑋 ∈ ℙ, 𝑋, 1) = 𝑋)
76ad2antrr 761 . . . . . . 7 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑋 ∈ ℙ, 𝑋, 1) = 𝑋)
85, 7sylan9eqr 2677 . . . . . 6 ((((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑋) → if(𝑚 ∈ ℙ, 𝑚, 1) = 𝑋)
9 elfznn 12328 . . . . . . . 8 (𝑋 ∈ (1...𝑁) → 𝑋 ∈ ℕ)
1093ad2ant1 1080 . . . . . . 7 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → 𝑋 ∈ ℕ)
1110adantl 482 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℕ)
12 simpll 789 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℙ)
132, 8, 11, 12fvmptd 6255 . . . . 5 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑋) = 𝑋)
14 eleq1 2686 . . . . . . . 8 (𝑚 = 𝑌 → (𝑚 ∈ ℙ ↔ 𝑌 ∈ ℙ))
15 id 22 . . . . . . . 8 (𝑚 = 𝑌𝑚 = 𝑌)
1614, 15ifbieq1d 4087 . . . . . . 7 (𝑚 = 𝑌 → if(𝑚 ∈ ℙ, 𝑚, 1) = if(𝑌 ∈ ℙ, 𝑌, 1))
17 iftrue 4070 . . . . . . . 8 (𝑌 ∈ ℙ → if(𝑌 ∈ ℙ, 𝑌, 1) = 𝑌)
1817ad2antlr 762 . . . . . . 7 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑌 ∈ ℙ, 𝑌, 1) = 𝑌)
1916, 18sylan9eqr 2677 . . . . . 6 ((((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑌) → if(𝑚 ∈ ℙ, 𝑚, 1) = 𝑌)
20 elfznn 12328 . . . . . . . 8 (𝑌 ∈ (1...𝑁) → 𝑌 ∈ ℕ)
21203ad2ant2 1081 . . . . . . 7 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → 𝑌 ∈ ℕ)
2221adantl 482 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℕ)
23 simplr 791 . . . . . 6 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℙ)
242, 19, 22, 23fvmptd 6255 . . . . 5 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑌) = 𝑌)
2513, 24oveq12d 6633 . . . 4 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = (𝑋 gcd 𝑌))
26 prmrp 15367 . . . . . . 7 ((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → ((𝑋 gcd 𝑌) = 1 ↔ 𝑋𝑌))
2726biimprcd 240 . . . . . 6 (𝑋𝑌 → ((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → (𝑋 gcd 𝑌) = 1))
28273ad2ant3 1082 . . . . 5 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → (𝑋 gcd 𝑌) = 1))
2928impcom 446 . . . 4 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝑋 gcd 𝑌) = 1)
3025, 29eqtrd 2655 . . 3 (((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
3130ex 450 . 2 ((𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1))
321a1i 11 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1)))
336ad2antrr 761 . . . . . . 7 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑋 ∈ ℙ, 𝑋, 1) = 𝑋)
345, 33sylan9eqr 2677 . . . . . 6 ((((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑋) → if(𝑚 ∈ ℙ, 𝑚, 1) = 𝑋)
3510adantl 482 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℕ)
36 simpll 789 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℙ)
3732, 34, 35, 36fvmptd 6255 . . . . 5 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑋) = 𝑋)
38 iffalse 4073 . . . . . . . 8 𝑌 ∈ ℙ → if(𝑌 ∈ ℙ, 𝑌, 1) = 1)
3938ad2antlr 762 . . . . . . 7 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑌 ∈ ℙ, 𝑌, 1) = 1)
4016, 39sylan9eqr 2677 . . . . . 6 ((((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑌) → if(𝑚 ∈ ℙ, 𝑚, 1) = 1)
4121adantl 482 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℕ)
42 1nn 10991 . . . . . . 7 1 ∈ ℕ
4342a1i 11 . . . . . 6 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 1 ∈ ℕ)
4432, 40, 41, 43fvmptd 6255 . . . . 5 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑌) = 1)
4537, 44oveq12d 6633 . . . 4 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = (𝑋 gcd 1))
46 prmz 15332 . . . . . 6 (𝑋 ∈ ℙ → 𝑋 ∈ ℤ)
47 gcd1 15192 . . . . . 6 (𝑋 ∈ ℤ → (𝑋 gcd 1) = 1)
4846, 47syl 17 . . . . 5 (𝑋 ∈ ℙ → (𝑋 gcd 1) = 1)
4948ad2antrr 761 . . . 4 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝑋 gcd 1) = 1)
5045, 49eqtrd 2655 . . 3 (((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
5150ex 450 . 2 ((𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) → ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1))
521a1i 11 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1)))
53 iffalse 4073 . . . . . . . 8 𝑋 ∈ ℙ → if(𝑋 ∈ ℙ, 𝑋, 1) = 1)
5453ad2antrr 761 . . . . . . 7 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑋 ∈ ℙ, 𝑋, 1) = 1)
555, 54sylan9eqr 2677 . . . . . 6 ((((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑋) → if(𝑚 ∈ ℙ, 𝑚, 1) = 1)
5610adantl 482 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℕ)
5742a1i 11 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 1 ∈ ℕ)
5852, 55, 56, 57fvmptd 6255 . . . . 5 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑋) = 1)
5917ad2antlr 762 . . . . . . 7 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑌 ∈ ℙ, 𝑌, 1) = 𝑌)
6016, 59sylan9eqr 2677 . . . . . 6 ((((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑌) → if(𝑚 ∈ ℙ, 𝑚, 1) = 𝑌)
6121adantl 482 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℕ)
62 simplr 791 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℙ)
6352, 60, 61, 62fvmptd 6255 . . . . 5 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑌) = 𝑌)
6458, 63oveq12d 6633 . . . 4 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = (1 gcd 𝑌))
65 prmz 15332 . . . . . 6 (𝑌 ∈ ℙ → 𝑌 ∈ ℤ)
66 1gcd 15197 . . . . . 6 (𝑌 ∈ ℤ → (1 gcd 𝑌) = 1)
6765, 66syl 17 . . . . 5 (𝑌 ∈ ℙ → (1 gcd 𝑌) = 1)
6867ad2antlr 762 . . . 4 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (1 gcd 𝑌) = 1)
6964, 68eqtrd 2655 . . 3 (((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
7069ex 450 . 2 ((¬ 𝑋 ∈ ℙ ∧ 𝑌 ∈ ℙ) → ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1))
711a1i 11 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, 𝑚, 1)))
7253ad2antrr 761 . . . . . . 7 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑋 ∈ ℙ, 𝑋, 1) = 1)
735, 72sylan9eqr 2677 . . . . . 6 ((((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑋) → if(𝑚 ∈ ℙ, 𝑚, 1) = 1)
7410adantl 482 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑋 ∈ ℕ)
7542a1i 11 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 1 ∈ ℕ)
7671, 73, 74, 75fvmptd 6255 . . . . 5 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑋) = 1)
7738ad2antlr 762 . . . . . . 7 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → if(𝑌 ∈ ℙ, 𝑌, 1) = 1)
7816, 77sylan9eqr 2677 . . . . . 6 ((((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) ∧ 𝑚 = 𝑌) → if(𝑚 ∈ ℙ, 𝑚, 1) = 1)
7921adantl 482 . . . . . 6 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → 𝑌 ∈ ℕ)
8071, 78, 79, 75fvmptd 6255 . . . . 5 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (𝐹𝑌) = 1)
8176, 80oveq12d 6633 . . . 4 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = (1 gcd 1))
82 1z 11367 . . . . 5 1 ∈ ℤ
83 1gcd 15197 . . . . 5 (1 ∈ ℤ → (1 gcd 1) = 1)
8482, 83mp1i 13 . . . 4 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → (1 gcd 1) = 1)
8581, 84eqtrd 2655 . . 3 (((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) ∧ (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌)) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
8685ex 450 . 2 ((¬ 𝑋 ∈ ℙ ∧ ¬ 𝑌 ∈ ℙ) → ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1))
8731, 51, 70, 864cases 989 1 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑋𝑌) → ((𝐹𝑋) gcd (𝐹𝑌)) = 1)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 384   ∧ w3a 1036   = wceq 1480   ∈ wcel 1987   ≠ wne 2790  ifcif 4064   ↦ cmpt 4683  ‘cfv 5857  (class class class)co 6615  1c1 9897  ℕcn 10980  ℤcz 11337  ...cfz 12284   gcd cgcd 15159  ℙcprime 15328 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914  ax-cnex 9952  ax-resscn 9953  ax-1cn 9954  ax-icn 9955  ax-addcl 9956  ax-addrcl 9957  ax-mulcl 9958  ax-mulrcl 9959  ax-mulcom 9960  ax-addass 9961  ax-mulass 9962  ax-distr 9963  ax-i2m1 9964  ax-1ne0 9965  ax-1rid 9966  ax-rnegex 9967  ax-rrecex 9968  ax-cnre 9969  ax-pre-lttri 9970  ax-pre-lttrn 9971  ax-pre-ltadd 9972  ax-pre-mulgt0 9973  ax-pre-sup 9974 This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2913  df-rex 2914  df-reu 2915  df-rmo 2916  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3898  df-if 4065  df-pw 4138  df-sn 4156  df-pr 4158  df-tp 4160  df-op 4162  df-uni 4410  df-int 4448  df-iun 4494  df-br 4624  df-opab 4684  df-mpt 4685  df-tr 4723  df-eprel 4995  df-id 4999  df-po 5005  df-so 5006  df-fr 5043  df-we 5045  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-pred 5649  df-ord 5695  df-on 5696  df-lim 5697  df-suc 5698  df-iota 5820  df-fun 5859  df-fn 5860  df-f 5861  df-f1 5862  df-fo 5863  df-f1o 5864  df-fv 5865  df-riota 6576  df-ov 6618  df-oprab 6619  df-mpt2 6620  df-om 7028  df-1st 7128  df-2nd 7129  df-wrecs 7367  df-recs 7428  df-rdg 7466  df-1o 7520  df-2o 7521  df-oadd 7524  df-er 7702  df-en 7916  df-dom 7917  df-sdom 7918  df-fin 7919  df-sup 8308  df-inf 8309  df-pnf 10036  df-mnf 10037  df-xr 10038  df-ltxr 10039  df-le 10040  df-sub 10228  df-neg 10229  df-div 10645  df-nn 10981  df-2 11039  df-3 11040  df-n0 11253  df-z 11338  df-uz 11648  df-rp 11793  df-fz 12285  df-seq 12758  df-exp 12817  df-cj 13789  df-re 13790  df-im 13791  df-sqrt 13925  df-abs 13926  df-dvds 14927  df-gcd 15160  df-prm 15329 This theorem is referenced by:  prmodvdslcmf  15694
 Copyright terms: Public domain W3C validator