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

Theorem pythagtriplem4 15448
 Description: Lemma for pythagtrip 15463. 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 1088 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ 2 ∥ 𝐴)
2 nnz 11343 . . . . . . . . . . . . 13 (𝐶 ∈ ℕ → 𝐶 ∈ ℤ)
3 nnz 11343 . . . . . . . . . . . . 13 (𝐵 ∈ ℕ → 𝐵 ∈ ℤ)
4 zsubcl 11363 . . . . . . . . . . . . 13 ((𝐶 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐶𝐵) ∈ ℤ)
52, 3, 4syl2anr 495 . . . . . . . . . . . 12 ((𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶𝐵) ∈ ℤ)
653adant1 1077 . . . . . . . . . . 11 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶𝐵) ∈ ℤ)
763ad2ant1 1080 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶𝐵) ∈ ℤ)
8 simp13 1091 . . . . . . . . . . . 12 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℕ)
9 simp12 1090 . . . . . . . . . . . 12 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℕ)
108, 9nnaddcld 11011 . . . . . . . . . . 11 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ∈ ℕ)
1110nnzd 11425 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ∈ ℤ)
12 gcddvds 15149 . . . . . . . . . 10 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵)))
137, 11, 12syl2anc 692 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵)))
1413simprd 479 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵))
15 breq1 4616 . . . . . . . . 9 (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵) ↔ 2 ∥ (𝐶 + 𝐵)))
1615biimpd 219 . . . . . . . 8 (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (𝐶 + 𝐵) → 2 ∥ (𝐶 + 𝐵)))
1714, 16mpan9 486 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ (𝐶 + 𝐵))
18 simpl13 1136 . . . . . . . . . 10 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℕ)
1918nnzd 11425 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℤ)
20 simpl12 1135 . . . . . . . . . 10 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℕ)
2120nnzd 11425 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℤ)
2219, 21zaddcld 11430 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐶 + 𝐵) ∈ ℤ)
2319, 21zsubcld 11431 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐶𝐵) ∈ ℤ)
24 2z 11353 . . . . . . . . 9 2 ∈ ℤ
25 dvdsmultr1 14943 . . . . . . . . 9 ((2 ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ) → (2 ∥ (𝐶 + 𝐵) → 2 ∥ ((𝐶 + 𝐵) · (𝐶𝐵))))
2624, 25mp3an1 1408 . . . . . . . 8 (((𝐶 + 𝐵) ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ) → (2 ∥ (𝐶 + 𝐵) → 2 ∥ ((𝐶 + 𝐵) · (𝐶𝐵))))
2722, 23, 26syl2anc 692 . . . . . . 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 10980 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐶 ∈ ℂ)
3020nncnd 10980 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐵 ∈ ℂ)
31 subsq 12912 . . . . . . 7 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶↑2) − (𝐵↑2)) = ((𝐶 + 𝐵) · (𝐶𝐵)))
3229, 30, 31syl2anc 692 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐶↑2) − (𝐵↑2)) = ((𝐶 + 𝐵) · (𝐶𝐵)))
3328, 32breqtrrd 4641 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ ((𝐶↑2) − (𝐵↑2)))
34 simpl2 1063 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2))
3534oveq1d 6619 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (((𝐴↑2) + (𝐵↑2)) − (𝐵↑2)) = ((𝐶↑2) − (𝐵↑2)))
36 simpl11 1134 . . . . . . . . 9 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐴 ∈ ℕ)
3736nnsqcld 12969 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐴↑2) ∈ ℕ)
3837nncnd 10980 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐴↑2) ∈ ℂ)
3920nnsqcld 12969 . . . . . . . 8 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐵↑2) ∈ ℕ)
4039nncnd 10980 . . . . . . 7 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (𝐵↑2) ∈ ℂ)
4138, 40pncand 10337 . . . . . 6 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → (((𝐴↑2) + (𝐵↑2)) − (𝐵↑2)) = (𝐴↑2))
4235, 41eqtr3d 2657 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → ((𝐶↑2) − (𝐵↑2)) = (𝐴↑2))
4333, 42breqtrd 4639 . . . 4 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 2 ∥ (𝐴↑2))
44 nnz 11343 . . . . . . . 8 (𝐴 ∈ ℕ → 𝐴 ∈ ℤ)
45443ad2ant1 1080 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → 𝐴 ∈ ℤ)
46453ad2ant1 1080 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐴 ∈ ℤ)
4746adantr 481 . . . . 5 ((((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2) → 𝐴 ∈ ℤ)
48 2prm 15329 . . . . . 6 2 ∈ ℙ
49 2nn 11129 . . . . . 6 2 ∈ ℕ
50 prmdvdsexp 15351 . . . . . 6 ((2 ∈ ℙ ∧ 𝐴 ∈ ℤ ∧ 2 ∈ ℕ) → (2 ∥ (𝐴↑2) ↔ 2 ∥ 𝐴))
5148, 49, 50mp3an13 1412 . . . . 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 690 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2)
55 neg1z 11357 . . . . . . . . 9 -1 ∈ ℤ
56 gcdaddm 15170 . . . . . . . . 9 ((-1 ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
5755, 56mp3an1 1408 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
587, 11, 57syl2anc 692 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))))
598nncnd 10980 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℂ)
609nncnd 10980 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℂ)
61 pnncan 10266 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) − (𝐶𝐵)) = (𝐵 + 𝐵))
62613anidm23 1382 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) − (𝐶𝐵)) = (𝐵 + 𝐵))
63 subcl 10224 . . . . . . . . . . . . 13 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐶𝐵) ∈ ℂ)
6463mulm1d 10426 . . . . . . . . . . . 12 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (-1 · (𝐶𝐵)) = -(𝐶𝐵))
6564oveq2d 6620 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = ((𝐶 + 𝐵) + -(𝐶𝐵)))
66 addcl 9962 . . . . . . . . . . . 12 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐶 + 𝐵) ∈ ℂ)
6766, 63negsubd 10342 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + -(𝐶𝐵)) = ((𝐶 + 𝐵) − (𝐶𝐵)))
6865, 67eqtrd 2655 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = ((𝐶 + 𝐵) − (𝐶𝐵)))
69 2times 11089 . . . . . . . . . . 11 (𝐵 ∈ ℂ → (2 · 𝐵) = (𝐵 + 𝐵))
7069adantl 482 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (2 · 𝐵) = (𝐵 + 𝐵))
7162, 68, 703eqtr4d 2665 . . . . . . . . 9 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (-1 · (𝐶𝐵))) = (2 · 𝐵))
7271oveq2d 6620 . . . . . . . 8 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐵)))
7359, 60, 72syl2anc 692 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (-1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐵)))
7458, 73eqtrd 2655 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd (2 · 𝐵)))
759nnzd 11425 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐵 ∈ ℤ)
76 zmulcl 11370 . . . . . . . . 9 ((2 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (2 · 𝐵) ∈ ℤ)
7724, 75, 76sylancr 694 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · 𝐵) ∈ ℤ)
78 gcddvds 15149 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (2 · 𝐵) ∈ ℤ) → (((𝐶𝐵) gcd (2 · 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵)))
797, 77, 78syl2anc 692 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (2 · 𝐵)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵)))
8079simprd 479 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (2 · 𝐵)) ∥ (2 · 𝐵))
8174, 80eqbrtrd 4635 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵))
82 1z 11351 . . . . . . . . 9 1 ∈ ℤ
83 gcdaddm 15170 . . . . . . . . 9 ((1 ∈ ℤ ∧ (𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
8482, 83mp3an1 1408 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
857, 11, 84syl2anc 692 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))))
86 ppncan 10267 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ ∧ 𝐶 ∈ ℂ) → ((𝐶 + 𝐵) + (𝐶𝐵)) = (𝐶 + 𝐶))
87863anidm13 1381 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (𝐶𝐵)) = (𝐶 + 𝐶))
8863mulid2d 10002 . . . . . . . . . . 11 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (1 · (𝐶𝐵)) = (𝐶𝐵))
8988oveq2d 6620 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = ((𝐶 + 𝐵) + (𝐶𝐵)))
90 2times 11089 . . . . . . . . . . 11 (𝐶 ∈ ℂ → (2 · 𝐶) = (𝐶 + 𝐶))
9190adantr 481 . . . . . . . . . 10 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (2 · 𝐶) = (𝐶 + 𝐶))
9287, 89, 913eqtr4d 2665 . . . . . . . . 9 ((𝐶 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = (2 · 𝐶))
9359, 60, 92syl2anc 692 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶 + 𝐵) + (1 · (𝐶𝐵))) = (2 · 𝐶))
9493oveq2d 6620 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd ((𝐶 + 𝐵) + (1 · (𝐶𝐵)))) = ((𝐶𝐵) gcd (2 · 𝐶)))
9585, 94eqtrd 2655 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) = ((𝐶𝐵) gcd (2 · 𝐶)))
968nnzd 11425 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → 𝐶 ∈ ℤ)
97 zmulcl 11370 . . . . . . . . 9 ((2 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (2 · 𝐶) ∈ ℤ)
9824, 96, 97sylancr 694 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · 𝐶) ∈ ℤ)
99 gcddvds 15149 . . . . . . . 8 (((𝐶𝐵) ∈ ℤ ∧ (2 · 𝐶) ∈ ℤ) → (((𝐶𝐵) gcd (2 · 𝐶)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶)))
1007, 98, 99syl2anc 692 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (((𝐶𝐵) gcd (2 · 𝐶)) ∥ (𝐶𝐵) ∧ ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶)))
101100simprd 479 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (2 · 𝐶)) ∥ (2 · 𝐶))
10295, 101eqbrtrd 4635 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶))
103 nnaddcl 10986 . . . . . . . . . . . . . 14 ((𝐶 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐶 + 𝐵) ∈ ℕ)
104103nnne0d 11009 . . . . . . . . . . . . 13 ((𝐶 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
105104ancoms 469 . . . . . . . . . . . 12 ((𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
1061053adant1 1077 . . . . . . . . . . 11 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶 + 𝐵) ≠ 0)
1071063ad2ant1 1080 . . . . . . . . . 10 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐶 + 𝐵) ≠ 0)
108107neneqd 2795 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ (𝐶 + 𝐵) = 0)
109108intnand 961 . . . . . . . 8 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ¬ ((𝐶𝐵) = 0 ∧ (𝐶 + 𝐵) = 0))
110 gcdn0cl 15148 . . . . . . . 8 ((((𝐶𝐵) ∈ ℤ ∧ (𝐶 + 𝐵) ∈ ℤ) ∧ ¬ ((𝐶𝐵) = 0 ∧ (𝐶 + 𝐵) = 0)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ)
1117, 11, 109, 110syl21anc 1322 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ)
112111nnzd 11425 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℤ)
113 dvdsgcd 15185 . . . . . 6 ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℤ ∧ (2 · 𝐵) ∈ ℤ ∧ (2 · 𝐶) ∈ ℤ) → ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶))))
114112, 77, 98, 113syl3anc 1323 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐵) ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ (2 · 𝐶)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶))))
11581, 102, 114mp2and 714 . . . 4 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ ((2 · 𝐵) gcd (2 · 𝐶)))
116 2nn0 11253 . . . . . . 7 2 ∈ ℕ0
117 mulgcd 15189 . . . . . . 7 ((2 ∈ ℕ0𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
118116, 117mp3an1 1408 . . . . . 6 ((𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
11975, 96, 118syl2anc 692 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((2 · 𝐵) gcd (2 · 𝐶)) = (2 · (𝐵 gcd 𝐶)))
120 pythagtriplem3 15447 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (𝐵 gcd 𝐶) = 1)
121120oveq2d 6620 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · (𝐵 gcd 𝐶)) = (2 · 1))
122 2t1e2 11120 . . . . . 6 (2 · 1) = 2
123121, 122syl6eq 2671 . . . . 5 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → (2 · (𝐵 gcd 𝐶)) = 2)
124119, 123eqtrd 2655 . . . 4 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((2 · 𝐵) gcd (2 · 𝐶)) = 2)
125115, 124breqtrd 4639 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2) ∧ ((𝐴 gcd 𝐵) = 1 ∧ ¬ 2 ∥ 𝐴)) → ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ 2)
126 dvdsprime 15324 . . . 4 ((2 ∈ ℙ ∧ ((𝐶𝐵) gcd (𝐶 + 𝐵)) ∈ ℕ) → (((𝐶𝐵) gcd (𝐶 + 𝐵)) ∥ 2 ↔ (((𝐶𝐵) gcd (𝐶 + 𝐵)) = 2 ∨ ((𝐶𝐵) gcd (𝐶 + 𝐵)) = 1)))
12748, 111, 126sylancr 694 . . 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 397 . 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 383   ∧ wa 384   ∧ w3a 1036   = wceq 1480   ∈ wcel 1987   ≠ wne 2790   class class class wbr 4613  (class class class)co 6604  ℂcc 9878  0cc0 9880  1c1 9881   + caddc 9883   · cmul 9885   − cmin 10210  -cneg 10211  ℕcn 10964  2c2 11014  ℕ0cn0 11236  ℤcz 11321  ↑cexp 12800   ∥ cdvds 14907   gcd cgcd 15140  ℙcprime 15309 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 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902  ax-cnex 9936  ax-resscn 9937  ax-1cn 9938  ax-icn 9939  ax-addcl 9940  ax-addrcl 9941  ax-mulcl 9942  ax-mulrcl 9943  ax-mulcom 9944  ax-addass 9945  ax-mulass 9946  ax-distr 9947  ax-i2m1 9948  ax-1ne0 9949  ax-1rid 9950  ax-rnegex 9951  ax-rrecex 9952  ax-cnre 9953  ax-pre-lttri 9954  ax-pre-lttrn 9955  ax-pre-ltadd 9956  ax-pre-mulgt0 9957  ax-pre-sup 9958 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 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-om 7013  df-1st 7113  df-2nd 7114  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-1o 7505  df-2o 7506  df-oadd 7509  df-er 7687  df-en 7900  df-dom 7901  df-sdom 7902  df-fin 7903  df-sup 8292  df-inf 8293  df-pnf 10020  df-mnf 10021  df-xr 10022  df-ltxr 10023  df-le 10024  df-sub 10212  df-neg 10213  df-div 10629  df-nn 10965  df-2 11023  df-3 11024  df-n0 11237  df-z 11322  df-uz 11632  df-rp 11777  df-fz 12269  df-fl 12533  df-mod 12609  df-seq 12742  df-exp 12801  df-cj 13773  df-re 13774  df-im 13775  df-sqrt 13909  df-abs 13910  df-dvds 14908  df-gcd 15141  df-prm 15310 This theorem is referenced by:  pythagtriplem6  15450  pythagtriplem7  15451
 Copyright terms: Public domain W3C validator