| Mathbox for Steven Nguyen |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > flt4lem3 | Structured version Visualization version GIF version | ||
| Description: Equivalent to pythagtriplem4 16827. Show that 𝐶 + 𝐴 and 𝐶 − 𝐴 are coprime. (Contributed by SN, 22-Aug-2024.) |
| Ref | Expression |
|---|---|
| flt4lem3.a | ⊢ (𝜑 → 𝐴 ∈ ℕ) |
| flt4lem3.b | ⊢ (𝜑 → 𝐵 ∈ ℕ) |
| flt4lem3.c | ⊢ (𝜑 → 𝐶 ∈ ℕ) |
| flt4lem3.1 | ⊢ (𝜑 → 2 ∥ 𝐴) |
| flt4lem3.2 | ⊢ (𝜑 → (𝐴 gcd 𝐶) = 1) |
| flt4lem3.3 | ⊢ (𝜑 → ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2)) |
| Ref | Expression |
|---|---|
| flt4lem3 | ⊢ (𝜑 → ((𝐶 + 𝐴) gcd (𝐶 − 𝐴)) = 1) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | flt4lem3.c | . . . . 5 ⊢ (𝜑 → 𝐶 ∈ ℕ) | |
| 2 | 1 | nnzd 12580 | . . . 4 ⊢ (𝜑 → 𝐶 ∈ ℤ) |
| 3 | flt4lem3.a | . . . . 5 ⊢ (𝜑 → 𝐴 ∈ ℕ) | |
| 4 | 3 | nnzd 12580 | . . . 4 ⊢ (𝜑 → 𝐴 ∈ ℤ) |
| 5 | 2, 4 | zaddcld 12667 | . . 3 ⊢ (𝜑 → (𝐶 + 𝐴) ∈ ℤ) |
| 6 | 2, 4 | zsubcld 12668 | . . 3 ⊢ (𝜑 → (𝐶 − 𝐴) ∈ ℤ) |
| 7 | 5, 6 | gcdcomd 16520 | . 2 ⊢ (𝜑 → ((𝐶 + 𝐴) gcd (𝐶 − 𝐴)) = ((𝐶 − 𝐴) gcd (𝐶 + 𝐴))) |
| 8 | flt4lem3.b | . . . 4 ⊢ (𝜑 → 𝐵 ∈ ℕ) | |
| 9 | flt4lem3.1 | . . . . 5 ⊢ (𝜑 → 2 ∥ 𝐴) | |
| 10 | flt4lem3.2 | . . . . 5 ⊢ (𝜑 → (𝐴 gcd 𝐶) = 1) | |
| 11 | flt4lem3.3 | . . . . 5 ⊢ (𝜑 → ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2)) | |
| 12 | 3, 8, 1, 9, 10, 11 | flt4lem2 43167 | . . . 4 ⊢ (𝜑 → ¬ 2 ∥ 𝐵) |
| 13 | 2nn0 12484 | . . . . . 6 ⊢ 2 ∈ ℕ0 | |
| 14 | 13 | a1i 11 | . . . . 5 ⊢ (𝜑 → 2 ∈ ℕ0) |
| 15 | 3, 8, 1, 10, 11 | fltabcoprm 43162 | . . . . 5 ⊢ (𝜑 → (𝐴 gcd 𝐵) = 1) |
| 16 | 3, 8, 1, 14, 11, 15 | fltbccoprm 43161 | . . . 4 ⊢ (𝜑 → (𝐵 gcd 𝐶) = 1) |
| 17 | 8 | nnsqcld 14243 | . . . . . . 7 ⊢ (𝜑 → (𝐵↑2) ∈ ℕ) |
| 18 | 17 | nncnd 12212 | . . . . . 6 ⊢ (𝜑 → (𝐵↑2) ∈ ℂ) |
| 19 | 3 | nnsqcld 14243 | . . . . . . 7 ⊢ (𝜑 → (𝐴↑2) ∈ ℕ) |
| 20 | 19 | nncnd 12212 | . . . . . 6 ⊢ (𝜑 → (𝐴↑2) ∈ ℂ) |
| 21 | 18, 20 | addcomd 11371 | . . . . 5 ⊢ (𝜑 → ((𝐵↑2) + (𝐴↑2)) = ((𝐴↑2) + (𝐵↑2))) |
| 22 | 21, 11 | eqtrd 2787 | . . . 4 ⊢ (𝜑 → ((𝐵↑2) + (𝐴↑2)) = (𝐶↑2)) |
| 23 | 8, 3, 1, 12, 16, 22 | flt4lem1 43166 | . . 3 ⊢ (𝜑 → ((𝐵 ∈ ℕ ∧ 𝐴 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐵↑2) + (𝐴↑2)) = (𝐶↑2) ∧ ((𝐵 gcd 𝐴) = 1 ∧ ¬ 2 ∥ 𝐵))) |
| 24 | pythagtriplem4 16827 | . . 3 ⊢ (((𝐵 ∈ ℕ ∧ 𝐴 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐵↑2) + (𝐴↑2)) = (𝐶↑2) ∧ ((𝐵 gcd 𝐴) = 1 ∧ ¬ 2 ∥ 𝐵)) → ((𝐶 − 𝐴) gcd (𝐶 + 𝐴)) = 1) | |
| 25 | 23, 24 | syl 17 | . 2 ⊢ (𝜑 → ((𝐶 − 𝐴) gcd (𝐶 + 𝐴)) = 1) |
| 26 | 7, 25 | eqtrd 2787 | 1 ⊢ (𝜑 → ((𝐶 + 𝐴) gcd (𝐶 − 𝐴)) = 1) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 398 ∧ w3a 1095 = wceq 1550 ∈ wcel 2132 class class class wbr 5090 (class class class)co 7381 1c1 11060 + caddc 11062 − cmin 11400 ℕcn 12196 2c2 12258 ℕ0cn0 12467 ↑cexp 14060 ∥ cdvds 16258 gcd cgcd 16500 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1805 ax-4 1819 ax-5 1920 ax-6 1977 ax-7 2018 ax-8 2134 ax-9 2142 ax-10 2165 ax-11 2181 ax-12 2202 ax-ext 2724 ax-sep 5236 ax-nul 5246 ax-pow 5312 ax-pr 5380 ax-un 7703 ax-cnex 11115 ax-resscn 11116 ax-1cn 11117 ax-icn 11118 ax-addcl 11119 ax-addrcl 11120 ax-mulcl 11121 ax-mulrcl 11122 ax-mulcom 11123 ax-addass 11124 ax-mulass 11125 ax-distr 11126 ax-i2m1 11127 ax-1ne0 11128 ax-1rid 11129 ax-rnegex 11130 ax-rrecex 11131 ax-cnre 11132 ax-pre-lttri 11133 ax-pre-lttrn 11134 ax-pre-ltadd 11135 ax-pre-mulgt0 11136 ax-pre-sup 11137 |
| This theorem depends on definitions: df-bi 209 df-an 399 df-or 857 df-3or 1096 df-3an 1097 df-tru 1553 df-fal 1563 df-ex 1790 df-nf 1794 df-sb 2081 df-mo 2556 df-eu 2586 df-clab 2731 df-cleq 2744 df-clel 2827 df-nfc 2901 df-ne 2948 df-nel 3052 df-ral 3067 df-rex 3077 df-rmo 3357 df-reu 3358 df-rab 3405 df-v 3446 df-sbc 3736 df-csb 3844 df-dif 3898 df-un 3900 df-in 3902 df-ss 3912 df-pss 3915 df-nul 4277 df-if 4471 df-pw 4547 df-sn 4573 df-pr 4575 df-op 4579 df-uni 4856 df-iun 4941 df-br 5091 df-opab 5153 df-mpt 5172 df-tr 5198 df-id 5531 df-eprel 5536 df-po 5544 df-so 5545 df-fr 5589 df-we 5591 df-xp 5642 df-rel 5643 df-cnv 5644 df-co 5645 df-dm 5646 df-rn 5647 df-res 5648 df-ima 5649 df-pred 6273 df-ord 6334 df-on 6335 df-lim 6336 df-suc 6337 df-iota 6462 df-fun 6508 df-fn 6509 df-f 6510 df-f1 6511 df-fo 6512 df-f1o 6513 df-fv 6514 df-riota 7338 df-ov 7384 df-oprab 7385 df-mpo 7386 df-om 7832 df-1st 7955 df-2nd 7956 df-frecs 8246 df-wrecs 8277 df-recs 8326 df-rdg 8365 df-1o 8421 df-2o 8422 df-er 8662 df-en 8913 df-dom 8914 df-sdom 8915 df-fin 8916 df-sup 9374 df-inf 9375 df-pnf 11204 df-mnf 11205 df-xr 11206 df-ltxr 11207 df-le 11208 df-sub 11402 df-neg 11403 df-div 11831 df-nn 12197 df-2 12266 df-3 12267 df-n0 12468 df-z 12555 df-uz 12826 df-rp 12980 df-fz 13499 df-fl 13788 df-mod 13866 df-seq 14001 df-exp 14061 df-cj 15098 df-re 15099 df-im 15100 df-sqrt 15234 df-abs 15235 df-dvds 16259 df-gcd 16501 df-prm 16678 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |