| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > flt4lem3 | Structured version Visualization version GIF version | ||
| Description: Equivalent to pythagtriplem4 17044. 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 12759 | . . . 4 ⊢ (𝜑 → 𝐶 ∈ ℤ) |
| 3 | flt4lem3.a | . . . . 5 ⊢ (𝜑 → 𝐴 ∈ ℕ) | |
| 4 | 3 | nnzd 12759 | . . . 4 ⊢ (𝜑 → 𝐴 ∈ ℤ) |
| 5 | 2, 4 | zaddcld 12847 | . . 3 ⊢ (𝜑 → (𝐶 + 𝐴) ∈ ℤ) |
| 6 | 2, 4 | zsubcld 12848 | . . 3 ⊢ (𝜑 → (𝐶 − 𝐴) ∈ ℤ) |
| 7 | 5, 6 | gcdcomd 16729 | . 2 ⊢ (𝜑 → ((𝐶 + 𝐴) gcd (𝐶 − 𝐴)) = ((𝐶 − 𝐴) gcd (𝐶 + 𝐴))) |
| 8 | flt4lem3.b | . . 3 ⊢ (𝜑 → 𝐵 ∈ ℕ) | |
| 9 | 8 | nnsqcld 14429 | . . . . . 6 ⊢ (𝜑 → (𝐵↑2) ∈ ℕ) |
| 10 | 9 | nncnd 12391 | . . . . 5 ⊢ (𝜑 → (𝐵↑2) ∈ ℂ) |
| 11 | 3 | nnsqcld 14429 | . . . . . 6 ⊢ (𝜑 → (𝐴↑2) ∈ ℕ) |
| 12 | 11 | nncnd 12391 | . . . . 5 ⊢ (𝜑 → (𝐴↑2) ∈ ℂ) |
| 13 | 10, 12 | addcomd 11551 | . . . 4 ⊢ (𝜑 → ((𝐵↑2) + (𝐴↑2)) = ((𝐴↑2) + (𝐵↑2))) |
| 14 | flt4lem3.3 | . . . 4 ⊢ (𝜑 → ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2)) | |
| 15 | 13, 14 | eqtrd 2801 | . . 3 ⊢ (𝜑 → ((𝐵↑2) + (𝐴↑2)) = (𝐶↑2)) |
| 16 | 8 | nnzd 12759 | . . . . 5 ⊢ (𝜑 → 𝐵 ∈ ℤ) |
| 17 | 16, 4 | gcdcomd 16729 | . . . 4 ⊢ (𝜑 → (𝐵 gcd 𝐴) = (𝐴 gcd 𝐵)) |
| 18 | flt4lem3.2 | . . . 4 ⊢ (𝜑 → (𝐴 gcd 𝐵) = 1) | |
| 19 | 17, 18 | eqtrd 2801 | . . 3 ⊢ (𝜑 → (𝐵 gcd 𝐴) = 1) |
| 20 | flt4lem3.1 | . . . 4 ⊢ (𝜑 → 2 ∥ 𝐴) | |
| 21 | 3, 8, 20, 18 | flt4lem2 28037 | . . 3 ⊢ (𝜑 → ¬ 2 ∥ 𝐵) |
| 22 | pythagtriplem4 17044 | . . 3 ⊢ (((𝐵 ∈ ℕ ∧ 𝐴 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐵↑2) + (𝐴↑2)) = (𝐶↑2) ∧ ((𝐵 gcd 𝐴) = 1 ∧ ¬ 2 ∥ 𝐵)) → ((𝐶 − 𝐴) gcd (𝐶 + 𝐴)) = 1) | |
| 23 | 8, 3, 1, 15, 19, 21, 22 | syl312anc 1421 | . 2 ⊢ (𝜑 → ((𝐶 − 𝐴) gcd (𝐶 + 𝐴)) = 1) |
| 24 | 7, 23 | eqtrd 2801 | 1 ⊢ (𝜑 → ((𝐶 + 𝐴) gcd (𝐶 − 𝐴)) = 1) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 = wceq 1572 ∈ wcel 2150 class class class wbr 5107 (class class class)co 7451 1c1 11240 + caddc 11242 − cmin 11580 ℕcn 12375 2c2 12437 ↑cexp 14244 ∥ cdvds 16465 gcd cgcd 16707 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2152 ax-9 2160 ax-10 2183 ax-11 2200 ax-12 2219 ax-ext 2738 ax-sep 5254 ax-nul 5265 ax-pow 5333 ax-pr 5397 ax-un 7783 ax-cnex 11295 ax-resscn 11296 ax-1cn 11297 ax-icn 11298 ax-addcl 11299 ax-addrcl 11300 ax-mulcl 11301 ax-mulrcl 11302 ax-mulcom 11303 ax-addass 11304 ax-mulass 11305 ax-distr 11306 ax-i2m1 11307 ax-1ne0 11308 ax-1rid 11309 ax-rnegex 11310 ax-rrecex 11311 ax-cnre 11312 ax-pre-lttri 11313 ax-pre-lttrn 11314 ax-pre-ltadd 11315 ax-pre-mulgt0 11316 ax-pre-sup 11317 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1105 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2104 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2842 df-nfc 2916 df-ne 2963 df-nel 3069 df-ral 3084 df-rex 3094 df-rmo 3368 df-reu 3369 df-rab 3416 df-v 3455 df-sbc 3742 df-csb 3851 df-ss 3900 df-pss 4016 df-dif 4049 df-in 4093 df-un 4153 df-nul 4281 df-if 4485 df-pw 4561 df-sn 4588 df-pr 4590 df-op 4840 df-uni 4872 df-iun 4957 df-br 5108 df-opab 5173 df-mpt 5192 df-tr 5218 df-id 5552 df-eprel 5557 df-po 5565 df-so 5566 df-fr 5610 df-we 5612 df-xp 5663 df-rel 5664 df-cnv 5665 df-co 5666 df-dm 5667 df-rn 5668 df-res 5669 df-ima 5670 df-pred 6330 df-ord 6391 df-on 6392 df-lim 6393 df-suc 6394 df-iota 6520 df-fun 6568 df-fn 6569 df-f 6570 df-f1 6571 df-fo 6572 df-f1o 6573 df-fv 6574 df-riota 7408 df-ov 7454 df-oprab 7455 df-mpo 7456 df-om 7912 df-1st 8035 df-2nd 8036 df-frecs 8337 df-wrecs 8368 df-recs 8417 df-rdg 8456 df-1o 8514 df-2o 8515 df-er 8755 df-en 9012 df-dom 9013 df-sdom 9014 df-fin 9015 df-sup 9471 df-inf 9472 df-pnf 11384 df-mnf 11385 df-xr 11386 df-ltxr 11387 df-le 11388 df-sub 11582 df-neg 11583 df-div 12014 df-nn 12376 df-2 12445 df-3 12446 df-n0 12647 df-z 12734 df-uz 13006 df-rp 13161 df-fz 13680 df-fl 13972 df-mod 14050 df-seq 14185 df-exp 14245 df-cj 15309 df-re 15310 df-im 15311 df-sqrt 15445 df-abs 15446 df-dvds 16466 df-gcd 16708 df-prm 16891 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |