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

Theorem pythagtriplem4 15615
Description: Lemma for pythagtrip 15630. 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 1163 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ 2 ∥ 𝐴)
2 nnz 11480 . . . . . . . . . . . . 13 (𝐶 ∈ ℕ → 𝐶 ∈ ℤ)
3 nnz 11480 . . . . . . . . . . . . 13 (𝐵 ∈ ℕ → 𝐵 ∈ ℤ)
4 zsubcl 11500 . . . . . . . . . . . . 13 ((𝐶 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐶𝐵) ∈ ℤ)
52, 3, 4syl2anr 496 . . . . . . . . . . . 12 ((𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶𝐵) ∈ ℤ)
653adant1 1122 . . . . . . . . . . 11 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶𝐵) ∈ ℤ)
763ad2ant1 1125 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶𝐵) ∈ ℤ)
8 simp13 1166 . . . . . . . . . . . 12 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℕ)
9 simp12 1165 . . . . . . . . . . . 12 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℕ)
108, 9nnaddcld 11148 . . . . . . . . . . 11 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ∈ ℕ)
1110nnzd 11562 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ∈ ℤ)
12 gcddvds 15316 . . . . . . . . . 10 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵)))
137, 11, 12syl2anc 696 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵)))
1413simprd 482 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵))
15 breq1 4731 . . . . . . . . 9 (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵) ↔ 2 ∥ (𝐶 + 𝐵)))
1615biimpd 219 . . . . . . . 8 (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵) → 2 ∥ (𝐶 + 𝐵)))
1714, 16mpan9 487 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ (𝐶 + 𝐵))
18 simpl13 1211 . . . . . . . . . 10 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℕ)
1918nnzd 11562 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℤ)
20 simpl12 1210 . . . . . . . . . 10 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℕ)
2120nnzd 11562 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℤ)
2219, 21zaddcld 11567 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐶 + 𝐵) ∈ ℤ)
2319, 21zsubcld 11568 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐶𝐵) ∈ ℤ)
24 2z 11490 . . . . . . . . 9 2 ∈ ℤ
25 dvdsmultr1 15110 . . . . . . . . 9 ((2 ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ) → (2 ∥ (𝐶 + 𝐵) → 2 ∥ ((𝐶 + 𝐵) · (𝐶𝐵))))
2624, 25mp3an1 1492 . . . . . . . 8 (((𝐶 + 𝐵) ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ) → (2 ∥ (𝐶 + 𝐵) → 2 ∥ ((𝐶 + 𝐵) · (𝐶𝐵))))
2722, 23, 26syl2anc 696 . . . . . . 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 11117 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℂ)
3020nncnd 11117 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℂ)
31 subsq 13055 . . . . . . 7 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶↑2) − (𝐵↑2)) = ((𝐶 + 𝐵) · (𝐶𝐵)))
3229, 30, 31syl2anc 696 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐶↑2) − (𝐵↑2)) = ((𝐶 + 𝐵) · (𝐶𝐵)))
3328, 32breqtrrd 4756 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ ((𝐶↑2) − (𝐵↑2)))
34 simpl2 1147 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2))
3534oveq1d 6748 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (((𝐴↑2) + (𝐵↑2)) − (𝐵↑2)) = ((𝐶↑2) − (𝐵↑2)))
36 simpl11 1209 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐴 ∈ ℕ)
3736nnsqcld 13112 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐴↑2) ∈ ℕ)
3837nncnd 11117 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐴↑2) ∈ ℂ)
3920nnsqcld 13112 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐵↑2) ∈ ℕ)
4039nncnd 11117 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐵↑2) ∈ ℂ)
4138, 40pncand 10474 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (((𝐴↑2) + (𝐵↑2)) − (𝐵↑2)) = (𝐴↑2))
4235, 41eqtr3d 2728 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐶↑2) − (𝐵↑2)) = (𝐴↑2))
4333, 42breqtrd 4754 . . . 4 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ (𝐴↑2))
44 nnz 11480 . . . . . . . 8 (𝐴 ∈ ℕ → 𝐴 ∈ ℤ)
45443ad2ant1 1125 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → 𝐴 ∈ ℤ)
46453ad2ant1 1125 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐴 ∈ ℤ)
4746adantr 472 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐴 ∈ ℤ)
48 2prm 15496 . . . . . 6 2 ∈ ℙ
49 2nn 11266 . . . . . 6 2 ∈ ℕ
50 prmdvdsexp 15518 . . . . . 6 ((2 ∈ ℙ ∧ 𝐴 ∈ ℤ ∧ 2 ∈ ℕ) → (2 ∥ (𝐴↑2) ↔ 2 ∥ 𝐴))
5148, 49, 50mp3an13 1496 . . . . 5 (𝐴 ∈ ℤ → (2 ∥ (𝐴↑2) ↔ 2 ∥ 𝐴))
5247, 51syl 17 . . . 4 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (2 ∥ (𝐴↑2) ↔ 2 ∥ 𝐴))
5343, 52mpbid 222 . . 3 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ 𝐴)
541, 53mtand 694 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2)
55 neg1z 11494 . . . . . . . . 9 -1 ∈ ℤ
56 gcdaddm 15337 . . . . . . . . 9 ((-1 ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
5755, 56mp3an1 1492 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
587, 11, 57syl2anc 696 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
598nncnd 11117 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℂ)
609nncnd 11117 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℂ)
61 pnncan 10403 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) − (𝐶𝐵)) = (𝐵 + 𝐵))
62613anidm23 1466 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) − (𝐶𝐵)) = (𝐵 + 𝐵))
63 subcl 10361 . . . . . . . . . . . . 13 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐶𝐵) ∈ ℂ)
6463mulm1d 10563 . . . . . . . . . . . 12 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (-1 · (𝐶𝐵)) = -(𝐶𝐵))
6564oveq2d 6749 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = ((𝐶 + 𝐵) + -(𝐶𝐵)))
66 addcl 10099 . . . . . . . . . . . 12 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐶 + 𝐵) ∈ ℂ)
6766, 63negsubd 10479 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + -(𝐶𝐵)) = ((𝐶 + 𝐵) − (𝐶𝐵)))
6865, 67eqtrd 2726 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = ((𝐶 + 𝐵) − (𝐶𝐵)))
69 2times 11226 . . . . . . . . . . 11 (𝐵 ∈ ℂ → (2 · 𝐵) = (𝐵 + 𝐵))
7069adantl 473 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (2 · 𝐵) = (𝐵 + 𝐵))
7162, 68, 703eqtr4d 2736 . . . . . . . . 9 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = (2 · 𝐵))
7271oveq2d 6749 . . . . . . . 8 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐵)))
7359, 60, 72syl2anc 696 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐵)))
7458, 73eqtrd 2726 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd (2 · 𝐵)))
759nnzd 11562 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℤ)
76 zmulcl 11507 . . . . . . . . 9 ((2 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (2 · 𝐵) ∈ ℤ)
7724, 75, 76sylancr 698 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · 𝐵) ∈ ℤ)
78 gcddvds 15316 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (2 · 𝐵) ∈ ℤ) → (((𝐶𝐵) gcd (2 · 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵)))
797, 77, 78syl2anc 696 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (2 · 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵)))
8079simprd 482 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵))
8174, 80eqbrtrd 4750 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵))
82 1z 11488 . . . . . . . . 9 1 ∈ ℤ
83 gcdaddm 15337 . . . . . . . . 9 ((1 ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
8482, 83mp3an1 1492 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
857, 11, 84syl2anc 696 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
86 ppncan 10404 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ ∧ 𝐶 ∈ ℂ) → ((𝐶 + 𝐵) + (𝐶𝐵)) = (𝐶 + 𝐶))
87863anidm13 1465 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (𝐶𝐵)) = (𝐶 + 𝐶))
8863mulid2d 10139 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (1 · (𝐶𝐵)) = (𝐶𝐵))
8988oveq2d 6749 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = ((𝐶 + 𝐵) + (𝐶𝐵)))
90 2times 11226 . . . . . . . . . . 11 (𝐶 ∈ ℂ → (2 · 𝐶) = (𝐶 + 𝐶))
9190adantr 472 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (2 · 𝐶) = (𝐶 + 𝐶))
9287, 89, 913eqtr4d 2736 . . . . . . . . 9 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = (2 · 𝐶))
9359, 60, 92syl2anc 696 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = (2 · 𝐶))
9493oveq2d 6749 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐶)))
9585, 94eqtrd 2726 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd (2 · 𝐶)))
968nnzd 11562 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℤ)
97 zmulcl 11507 . . . . . . . . 9 ((2 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (2 · 𝐶) ∈ ℤ)
9824, 96, 97sylancr 698 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · 𝐶) ∈ ℤ)
99 gcddvds 15316 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (2 · 𝐶) ∈ ℤ) → (((𝐶𝐵) gcd (2 · 𝐶)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶)))
1007, 98, 99syl2anc 696 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (2 · 𝐶)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶)))
101100simprd 482 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶))
10295, 101eqbrtrd 4750 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶))
103 nnaddcl 11123 . . . . . . . . . . . . . 14 ((𝐶 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐶 + 𝐵) ∈ ℕ)
104103nnne0d 11146 . . . . . . . . . . . . 13 ((𝐶 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
105104ancoms 468 . . . . . . . . . . . 12 ((𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
1061053adant1 1122 . . . . . . . . . . 11 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
1071063ad2ant1 1125 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ≠ 0)
108107neneqd 2869 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ (𝐶 + 𝐵) = 0)
109108intnand 1000 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ ((𝐶𝐵) = 0 ∧ (𝐶 + 𝐵) = 0))
110 gcdn0cl 15315 . . . . . . . 8 ((((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) ∧ ¬ ((𝐶𝐵) = 0 ∧ (𝐶 + 𝐵) = 0)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ)
1117, 11, 109, 110syl21anc 1406 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ)
112111nnzd 11562 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℤ)
113 dvdsgcd 15352 . . . . . 6 ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℤ ∧ (2 · 𝐵) ∈ ℤ ∧ (2 · 𝐶) ∈ ℤ) → ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶))))
114112, 77, 98, 113syl3anc 1407 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶))))
11581, 102, 114mp2and 717 . . . 4 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶)))
116 2nn0 11390 . . . . . . 7 2 ∈ ℕ0
117 mulgcd 15356 . . . . . . 7 ((2 ∈ ℕ0𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
118116, 117mp3an1 1492 . . . . . 6 ((𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
11975, 96, 118syl2anc 696 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
120 pythagtriplem3 15614 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐵 gcd 𝐶) = 1)
121120oveq2d 6749 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · (𝐵 gcd 𝐶)) = (2 · 1))
122 2t1e2 11257 . . . . . 6 (2 · 1) = 2
123121, 122syl6eq 2742 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · (𝐵 gcd 𝐶)) = 2)
124119, 123eqtrd 2726 . . . 4 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((2 · 𝐵) gcd (2 · 𝐶)) = 2)
125115, 124breqtrd 4754 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ 2)
126 dvdsprime 15491 . . . 4 ((2 ∈ ℙ ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ 2 ↔ (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 ∨ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1)))
12748, 111, 126sylancr 698 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ 2 ↔ (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 ∨ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1)))
128125, 127mpbid 222 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 ∨ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1))
129 orel1 396 . 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 196  wo 382  wa 383  w3a 1072   = wceq 1564  wcel 2071  wne 2864   class class class wbr 4728  (class class class)co 6733  cc 10015  0cc0 10017  1c1 10018   + caddc 10020   · cmul 10022  cmin 10347  -cneg 10348  cn 11101  2c2 11151  0cn0 11373  cz 11458  cexp 12943  cdvds 15071   gcd cgcd 15307  cprime 15476
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1818  ax-5 1920  ax-6 1986  ax-7 2022  ax-8 2073  ax-9 2080  ax-10 2100  ax-11 2115  ax-12 2128  ax-13 2323  ax-ext 2672  ax-sep 4857  ax-nul 4865  ax-pow 4916  ax-pr 4979  ax-un 7034  ax-cnex 10073  ax-resscn 10074  ax-1cn 10075  ax-icn 10076  ax-addcl 10077  ax-addrcl 10078  ax-mulcl 10079  ax-mulrcl 10080  ax-mulcom 10081  ax-addass 10082  ax-mulass 10083  ax-distr 10084  ax-i2m1 10085  ax-1ne0 10086  ax-1rid 10087  ax-rnegex 10088  ax-rrecex 10089  ax-cnre 10090  ax-pre-lttri 10091  ax-pre-lttrn 10092  ax-pre-ltadd 10093  ax-pre-mulgt0 10094  ax-pre-sup 10095
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1567  df-ex 1786  df-nf 1791  df-sb 1979  df-eu 2543  df-mo 2544  df-clab 2679  df-cleq 2685  df-clel 2688  df-nfc 2823  df-ne 2865  df-nel 2968  df-ral 2987  df-rex 2988  df-reu 2989  df-rmo 2990  df-rab 2991  df-v 3274  df-sbc 3510  df-csb 3608  df-dif 3651  df-un 3653  df-in 3655  df-ss 3662  df-pss 3664  df-nul 3992  df-if 4163  df-pw 4236  df-sn 4254  df-pr 4256  df-tp 4258  df-op 4260  df-uni 4513  df-iun 4598  df-br 4729  df-opab 4789  df-mpt 4806  df-tr 4829  df-id 5096  df-eprel 5101  df-po 5107  df-so 5108  df-fr 5145  df-we 5147  df-xp 5192  df-rel 5193  df-cnv 5194  df-co 5195  df-dm 5196  df-rn 5197  df-res 5198  df-ima 5199  df-pred 5761  df-ord 5807  df-on 5808  df-lim 5809  df-suc 5810  df-iota 5932  df-fun 5971  df-fn 5972  df-f 5973  df-f1 5974  df-fo 5975  df-f1o 5976  df-fv 5977  df-riota 6694  df-ov 6736  df-oprab 6737  df-mpt2 6738  df-om 7151  df-1st 7253  df-2nd 7254  df-wrecs 7495  df-recs 7556  df-rdg 7594  df-1o 7648  df-2o 7649  df-er 7830  df-en 8041  df-dom 8042  df-sdom 8043  df-fin 8044  df-sup 8432  df-inf 8433  df-pnf 10157  df-mnf 10158  df-xr 10159  df-ltxr 10160  df-le 10161  df-sub 10349  df-neg 10350  df-div 10766  df-nn 11102  df-2 11160  df-3 11161  df-n0 11374  df-z 11459  df-uz 11769  df-rp 11915  df-fz 12409  df-fl 12676  df-mod 12752  df-seq 12885  df-exp 12944  df-cj 13927  df-re 13928  df-im 13929  df-sqrt 14063  df-abs 14064  df-dvds 15072  df-gcd 15308  df-prm 15477
This theorem is referenced by:  pythagtriplem6  15617  pythagtriplem7  15618
  Copyright terms: Public domain W3C validator