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

Theorem pythagtriplem4 15737
Description: Lemma for pythagtrip 15752. Show that 𝐶𝐵 and 𝐶 + 𝐵 are relatively prime. (Contributed by Scott Fenton, 12-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
pythagtriplem4 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1)

Proof of Theorem pythagtriplem4
StepHypRef Expression
1 simp3r 1252 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ 2 ∥ 𝐴)
2 nnz 11661 . . . . . . . . . . . . 13 (𝐶 ∈ ℕ → 𝐶 ∈ ℤ)
3 nnz 11661 . . . . . . . . . . . . 13 (𝐵 ∈ ℕ → 𝐵 ∈ ℤ)
4 zsubcl 11681 . . . . . . . . . . . . 13 ((𝐶 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐶𝐵) ∈ ℤ)
52, 3, 4syl2anr 586 . . . . . . . . . . . 12 ((𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶𝐵) ∈ ℤ)
653adant1 1153 . . . . . . . . . . 11 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶𝐵) ∈ ℤ)
763ad2ant1 1156 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶𝐵) ∈ ℤ)
8 simp13 1255 . . . . . . . . . . . 12 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℕ)
9 simp12 1254 . . . . . . . . . . . 12 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℕ)
108, 9nnaddcld 11349 . . . . . . . . . . 11 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ∈ ℕ)
1110nnzd 11743 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ∈ ℤ)
12 gcddvds 15440 . . . . . . . . . 10 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵)))
137, 11, 12syl2anc 575 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵)))
1413simprd 485 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵))
15 breq1 4843 . . . . . . . . 9 (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵) ↔ 2 ∥ (𝐶 + 𝐵)))
1615biimpd 220 . . . . . . . 8 (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵) → 2 ∥ (𝐶 + 𝐵)))
1714, 16mpan9 498 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ (𝐶 + 𝐵))
18 simpl13 1326 . . . . . . . . . 10 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℕ)
1918nnzd 11743 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℤ)
20 simpl12 1324 . . . . . . . . . 10 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℕ)
2120nnzd 11743 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℤ)
2219, 21zaddcld 11748 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐶 + 𝐵) ∈ ℤ)
2319, 21zsubcld 11749 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐶𝐵) ∈ ℤ)
24 2z 11671 . . . . . . . . 9 2 ∈ ℤ
25 dvdsmultr1 15238 . . . . . . . . 9 ((2 ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ) → (2 ∥ (𝐶 + 𝐵) → 2 ∥ ((𝐶 + 𝐵) · (𝐶𝐵))))
2624, 25mp3an1 1565 . . . . . . . 8 (((𝐶 + 𝐵) ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ) → (2 ∥ (𝐶 + 𝐵) → 2 ∥ ((𝐶 + 𝐵) · (𝐶𝐵))))
2722, 23, 26syl2anc 575 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (2 ∥ (𝐶 + 𝐵) → 2 ∥ ((𝐶 + 𝐵) · (𝐶𝐵))))
2817, 27mpd 15 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ ((𝐶 + 𝐵) · (𝐶𝐵)))
2918nncnd 11318 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℂ)
3020nncnd 11318 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℂ)
31 subsq 13191 . . . . . . 7 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶↑2) − (𝐵↑2)) = ((𝐶 + 𝐵) · (𝐶𝐵)))
3229, 30, 31syl2anc 575 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐶↑2) − (𝐵↑2)) = ((𝐶 + 𝐵) · (𝐶𝐵)))
3328, 32breqtrrd 4868 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ ((𝐶↑2) − (𝐵↑2)))
34 simpl2 1237 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2))
3534oveq1d 6886 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (((𝐴↑2) + (𝐵↑2)) − (𝐵↑2)) = ((𝐶↑2) − (𝐵↑2)))
36 simpl11 1322 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐴 ∈ ℕ)
3736nnsqcld 13248 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐴↑2) ∈ ℕ)
3837nncnd 11318 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐴↑2) ∈ ℂ)
3920nnsqcld 13248 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐵↑2) ∈ ℕ)
4039nncnd 11318 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐵↑2) ∈ ℂ)
4138, 40pncand 10675 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (((𝐴↑2) + (𝐵↑2)) − (𝐵↑2)) = (𝐴↑2))
4235, 41eqtr3d 2841 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐶↑2) − (𝐵↑2)) = (𝐴↑2))
4333, 42breqtrd 4866 . . . 4 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ (𝐴↑2))
44 nnz 11661 . . . . . . . 8 (𝐴 ∈ ℕ → 𝐴 ∈ ℤ)
45443ad2ant1 1156 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → 𝐴 ∈ ℤ)
46453ad2ant1 1156 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐴 ∈ ℤ)
4746adantr 468 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐴 ∈ ℤ)
48 2prm 15619 . . . . . 6 2 ∈ ℙ
49 2nn 11458 . . . . . 6 2 ∈ ℕ
50 prmdvdsexp 15640 . . . . . 6 ((2 ∈ ℙ ∧ 𝐴 ∈ ℤ ∧ 2 ∈ ℕ) → (2 ∥ (𝐴↑2) ↔ 2 ∥ 𝐴))
5148, 49, 50mp3an13 1569 . . . . 5 (𝐴 ∈ ℤ → (2 ∥ (𝐴↑2) ↔ 2 ∥ 𝐴))
5247, 51syl 17 . . . 4 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (2 ∥ (𝐴↑2) ↔ 2 ∥ 𝐴))
5343, 52mpbid 223 . . 3 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ 𝐴)
541, 53mtand 841 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2)
55 neg1z 11675 . . . . . . . . 9 -1 ∈ ℤ
56 gcdaddm 15461 . . . . . . . . 9 ((-1 ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
5755, 56mp3an1 1565 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
587, 11, 57syl2anc 575 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
598nncnd 11318 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℂ)
609nncnd 11318 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℂ)
61 pnncan 10604 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) − (𝐶𝐵)) = (𝐵 + 𝐵))
62613anidm23 1537 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) − (𝐶𝐵)) = (𝐵 + 𝐵))
63 subcl 10562 . . . . . . . . . . . . 13 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐶𝐵) ∈ ℂ)
6463mulm1d 10764 . . . . . . . . . . . 12 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (-1 · (𝐶𝐵)) = -(𝐶𝐵))
6564oveq2d 6887 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = ((𝐶 + 𝐵) + -(𝐶𝐵)))
66 addcl 10300 . . . . . . . . . . . 12 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐶 + 𝐵) ∈ ℂ)
6766, 63negsubd 10680 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + -(𝐶𝐵)) = ((𝐶 + 𝐵) − (𝐶𝐵)))
6865, 67eqtrd 2839 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = ((𝐶 + 𝐵) − (𝐶𝐵)))
69 2times 11424 . . . . . . . . . . 11 (𝐵 ∈ ℂ → (2 · 𝐵) = (𝐵 + 𝐵))
7069adantl 469 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (2 · 𝐵) = (𝐵 + 𝐵))
7162, 68, 703eqtr4d 2849 . . . . . . . . 9 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = (2 · 𝐵))
7271oveq2d 6887 . . . . . . . 8 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐵)))
7359, 60, 72syl2anc 575 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐵)))
7458, 73eqtrd 2839 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd (2 · 𝐵)))
759nnzd 11743 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℤ)
76 zmulcl 11688 . . . . . . . . 9 ((2 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (2 · 𝐵) ∈ ℤ)
7724, 75, 76sylancr 577 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · 𝐵) ∈ ℤ)
78 gcddvds 15440 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (2 · 𝐵) ∈ ℤ) → (((𝐶𝐵) gcd (2 · 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵)))
797, 77, 78syl2anc 575 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (2 · 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵)))
8079simprd 485 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵))
8174, 80eqbrtrd 4862 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵))
82 1z 11669 . . . . . . . . 9 1 ∈ ℤ
83 gcdaddm 15461 . . . . . . . . 9 ((1 ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
8482, 83mp3an1 1565 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
857, 11, 84syl2anc 575 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
86 ppncan 10605 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ ∧ 𝐶 ∈ ℂ) → ((𝐶 + 𝐵) + (𝐶𝐵)) = (𝐶 + 𝐶))
87863anidm13 1536 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (𝐶𝐵)) = (𝐶 + 𝐶))
8863mulid2d 10340 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (1 · (𝐶𝐵)) = (𝐶𝐵))
8988oveq2d 6887 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = ((𝐶 + 𝐵) + (𝐶𝐵)))
90 2times 11424 . . . . . . . . . . 11 (𝐶 ∈ ℂ → (2 · 𝐶) = (𝐶 + 𝐶))
9190adantr 468 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (2 · 𝐶) = (𝐶 + 𝐶))
9287, 89, 913eqtr4d 2849 . . . . . . . . 9 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = (2 · 𝐶))
9359, 60, 92syl2anc 575 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = (2 · 𝐶))
9493oveq2d 6887 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐶)))
9585, 94eqtrd 2839 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd (2 · 𝐶)))
968nnzd 11743 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℤ)
97 zmulcl 11688 . . . . . . . . 9 ((2 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (2 · 𝐶) ∈ ℤ)
9824, 96, 97sylancr 577 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · 𝐶) ∈ ℤ)
99 gcddvds 15440 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (2 · 𝐶) ∈ ℤ) → (((𝐶𝐵) gcd (2 · 𝐶)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶)))
1007, 98, 99syl2anc 575 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (2 · 𝐶)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶)))
101100simprd 485 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶))
10295, 101eqbrtrd 4862 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶))
103 nnaddcl 11324 . . . . . . . . . . . . . 14 ((𝐶 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐶 + 𝐵) ∈ ℕ)
104103nnne0d 11347 . . . . . . . . . . . . 13 ((𝐶 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
105104ancoms 448 . . . . . . . . . . . 12 ((𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
1061053adant1 1153 . . . . . . . . . . 11 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
1071063ad2ant1 1156 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ≠ 0)
108107neneqd 2982 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ (𝐶 + 𝐵) = 0)
109108intnand 478 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ ((𝐶𝐵) = 0 ∧ (𝐶 + 𝐵) = 0))
110 gcdn0cl 15439 . . . . . . . 8 ((((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) ∧ ¬ ((𝐶𝐵) = 0 ∧ (𝐶 + 𝐵) = 0)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ)
1117, 11, 109, 110syl21anc 857 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ)
112111nnzd 11743 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℤ)
113 dvdsgcd 15476 . . . . . 6 ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℤ ∧ (2 · 𝐵) ∈ ℤ ∧ (2 · 𝐶) ∈ ℤ) → ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶))))
114112, 77, 98, 113syl3anc 1483 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶))))
11581, 102, 114mp2and 682 . . . 4 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶)))
116 2nn0 11572 . . . . . . 7 2 ∈ ℕ0
117 mulgcd 15480 . . . . . . 7 ((2 ∈ ℕ0𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
118116, 117mp3an1 1565 . . . . . 6 ((𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
11975, 96, 118syl2anc 575 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
120 pythagtriplem3 15736 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐵 gcd 𝐶) = 1)
121120oveq2d 6887 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · (𝐵 gcd 𝐶)) = (2 · 1))
122 2t1e2 11450 . . . . . 6 (2 · 1) = 2
123121, 122syl6eq 2855 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · (𝐵 gcd 𝐶)) = 2)
124119, 123eqtrd 2839 . . . 4 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((2 · 𝐵) gcd (2 · 𝐶)) = 2)
125115, 124breqtrd 4866 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ 2)
126 dvdsprime 15614 . . . 4 ((2 ∈ ℙ ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ 2 ↔ (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 ∨ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1)))
12748, 111, 126sylancr 577 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ 2 ↔ (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 ∨ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1)))
128125, 127mpbid 223 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 ∨ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1))
129 orel1 904 . 2 (¬ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 → ((((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 ∨ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1))
13054, 128, 129sylc 65 1 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 197  wa 384  wo 865  w3a 1100   = wceq 1637  wcel 2158  wne 2977   class class class wbr 4840  (class class class)co 6871  cc 10216  0cc0 10218  1c1 10219   + caddc 10221   · cmul 10223  cmin 10548  -cneg 10549  cn 11302  2c2 11352  0cn0 11555  cz 11639  cexp 13079  cdvds 15199   gcd cgcd 15431  cprime 15599
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1880  ax-4 1897  ax-5 2004  ax-6 2070  ax-7 2106  ax-8 2160  ax-9 2167  ax-10 2187  ax-11 2203  ax-12 2216  ax-13 2422  ax-ext 2784  ax-sep 4971  ax-nul 4980  ax-pow 5032  ax-pr 5093  ax-un 7176  ax-cnex 10274  ax-resscn 10275  ax-1cn 10276  ax-icn 10277  ax-addcl 10278  ax-addrcl 10279  ax-mulcl 10280  ax-mulrcl 10281  ax-mulcom 10282  ax-addass 10283  ax-mulass 10284  ax-distr 10285  ax-i2m1 10286  ax-1ne0 10287  ax-1rid 10288  ax-rnegex 10289  ax-rrecex 10290  ax-cnre 10291  ax-pre-lttri 10292  ax-pre-lttrn 10293  ax-pre-ltadd 10294  ax-pre-mulgt0 10295  ax-pre-sup 10296
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3or 1101  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1865  df-sb 2063  df-eu 2636  df-mo 2637  df-clab 2792  df-cleq 2798  df-clel 2801  df-nfc 2936  df-ne 2978  df-nel 3081  df-ral 3100  df-rex 3101  df-reu 3102  df-rmo 3103  df-rab 3104  df-v 3392  df-sbc 3631  df-csb 3726  df-dif 3769  df-un 3771  df-in 3773  df-ss 3780  df-pss 3782  df-nul 4114  df-if 4277  df-pw 4350  df-sn 4368  df-pr 4370  df-tp 4372  df-op 4374  df-uni 4627  df-iun 4710  df-br 4841  df-opab 4903  df-mpt 4920  df-tr 4943  df-id 5216  df-eprel 5221  df-po 5229  df-so 5230  df-fr 5267  df-we 5269  df-xp 5314  df-rel 5315  df-cnv 5316  df-co 5317  df-dm 5318  df-rn 5319  df-res 5320  df-ima 5321  df-pred 5890  df-ord 5936  df-on 5937  df-lim 5938  df-suc 5939  df-iota 6061  df-fun 6100  df-fn 6101  df-f 6102  df-f1 6103  df-fo 6104  df-f1o 6105  df-fv 6106  df-riota 6832  df-ov 6874  df-oprab 6875  df-mpt2 6876  df-om 7293  df-1st 7395  df-2nd 7396  df-wrecs 7639  df-recs 7701  df-rdg 7739  df-1o 7793  df-2o 7794  df-er 7976  df-en 8190  df-dom 8191  df-sdom 8192  df-fin 8193  df-sup 8584  df-inf 8585  df-pnf 10358  df-mnf 10359  df-xr 10360  df-ltxr 10361  df-le 10362  df-sub 10550  df-neg 10551  df-div 10967  df-nn 11303  df-2 11360  df-3 11361  df-n0 11556  df-z 11640  df-uz 11901  df-rp 12043  df-fz 12546  df-fl 12813  df-mod 12889  df-seq 13021  df-exp 13080  df-cj 14058  df-re 14059  df-im 14060  df-sqrt 14194  df-abs 14195  df-dvds 15200  df-gcd 15432  df-prm 15600
This theorem is referenced by:  pythagtriplem6  15739  pythagtriplem7  15740
  Copyright terms: Public domain W3C validator