| Mathbox for Steven Nguyen |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > flt4lem2 | Structured version Visualization version GIF version | ||
| Description: If 𝐴 is even, 𝐵 is odd. (Contributed by SN, 22-Aug-2024.) |
| Ref | Expression |
|---|---|
| flt4lem2.a | ⊢ (𝜑 → 𝐴 ∈ ℕ) |
| flt4lem2.b | ⊢ (𝜑 → 𝐵 ∈ ℕ) |
| flt4lem2.c | ⊢ (𝜑 → 𝐶 ∈ ℕ) |
| flt4lem2.1 | ⊢ (𝜑 → 2 ∥ 𝐴) |
| flt4lem2.2 | ⊢ (𝜑 → (𝐴 gcd 𝐶) = 1) |
| flt4lem2.3 | ⊢ (𝜑 → ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2)) |
| Ref | Expression |
|---|---|
| flt4lem2 | ⊢ (𝜑 → ¬ 2 ∥ 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | flt4lem2.2 | . 2 ⊢ (𝜑 → (𝐴 gcd 𝐶) = 1) | |
| 2 | breq1 5117 | . . . . . . 7 ⊢ (𝑖 = 2 → (𝑖 ∥ 𝐴 ↔ 2 ∥ 𝐴)) | |
| 3 | breq1 5117 | . . . . . . 7 ⊢ (𝑖 = 2 → (𝑖 ∥ 𝐶 ↔ 2 ∥ 𝐶)) | |
| 4 | 2, 3 | anbi12d 643 | . . . . . 6 ⊢ (𝑖 = 2 → ((𝑖 ∥ 𝐴 ∧ 𝑖 ∥ 𝐶) ↔ (2 ∥ 𝐴 ∧ 2 ∥ 𝐶))) |
| 5 | 2z 12629 | . . . . . . . 8 ⊢ 2 ∈ ℤ | |
| 6 | uzid 12880 | . . . . . . . 8 ⊢ (2 ∈ ℤ → 2 ∈ (ℤ≥‘2)) | |
| 7 | 5, 6 | ax-mp 5 | . . . . . . 7 ⊢ 2 ∈ (ℤ≥‘2) |
| 8 | 7 | a1i 11 | . . . . . 6 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 2 ∈ (ℤ≥‘2)) |
| 9 | flt4lem2.1 | . . . . . . . 8 ⊢ (𝜑 → 2 ∥ 𝐴) | |
| 10 | 9 | adantr 485 | . . . . . . 7 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 2 ∥ 𝐴) |
| 11 | 5 | a1i 11 | . . . . . . . 8 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 2 ∈ ℤ) |
| 12 | flt4lem2.a | . . . . . . . . . . 11 ⊢ (𝜑 → 𝐴 ∈ ℕ) | |
| 13 | flt4lem2.b | . . . . . . . . . . 11 ⊢ (𝜑 → 𝐵 ∈ ℕ) | |
| 14 | gcdnncl 16568 | . . . . . . . . . . 11 ⊢ ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐴 gcd 𝐵) ∈ ℕ) | |
| 15 | 12, 13, 14 | syl2anc 595 | . . . . . . . . . 10 ⊢ (𝜑 → (𝐴 gcd 𝐵) ∈ ℕ) |
| 16 | 15 | nnzd 12620 | . . . . . . . . 9 ⊢ (𝜑 → (𝐴 gcd 𝐵) ∈ ℤ) |
| 17 | 16 | adantr 485 | . . . . . . . 8 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → (𝐴 gcd 𝐵) ∈ ℤ) |
| 18 | flt4lem2.c | . . . . . . . . . 10 ⊢ (𝜑 → 𝐶 ∈ ℕ) | |
| 19 | 18 | adantr 485 | . . . . . . . . 9 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 𝐶 ∈ ℕ) |
| 20 | 19 | nnzd 12620 | . . . . . . . 8 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 𝐶 ∈ ℤ) |
| 21 | simpr 489 | . . . . . . . . 9 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 2 ∥ 𝐵) | |
| 22 | 12 | adantr 485 | . . . . . . . . . . 11 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 𝐴 ∈ ℕ) |
| 23 | 22 | nnzd 12620 | . . . . . . . . . 10 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 𝐴 ∈ ℤ) |
| 24 | 13 | nnzd 12620 | . . . . . . . . . . 11 ⊢ (𝜑 → 𝐵 ∈ ℤ) |
| 25 | 24 | adantr 485 | . . . . . . . . . 10 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 𝐵 ∈ ℤ) |
| 26 | dvdsgcd 16605 | . . . . . . . . . 10 ⊢ ((2 ∈ ℤ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ((2 ∥ 𝐴 ∧ 2 ∥ 𝐵) → 2 ∥ (𝐴 gcd 𝐵))) | |
| 27 | 11, 23, 25, 26 | syl3anc 1396 | . . . . . . . . 9 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → ((2 ∥ 𝐴 ∧ 2 ∥ 𝐵) → 2 ∥ (𝐴 gcd 𝐵))) |
| 28 | 10, 21, 27 | mp2and 711 | . . . . . . . 8 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 2 ∥ (𝐴 gcd 𝐵)) |
| 29 | 2nn 12317 | . . . . . . . . . . 11 ⊢ 2 ∈ ℕ | |
| 30 | 29 | a1i 11 | . . . . . . . . . 10 ⊢ (𝜑 → 2 ∈ ℕ) |
| 31 | flt4lem2.3 | . . . . . . . . . 10 ⊢ (𝜑 → ((𝐴↑2) + (𝐵↑2)) = (𝐶↑2)) | |
| 32 | 12, 13, 18, 30, 31 | fltdvdsabdvdsc 43322 | . . . . . . . . 9 ⊢ (𝜑 → (𝐴 gcd 𝐵) ∥ 𝐶) |
| 33 | 32 | adantr 485 | . . . . . . . 8 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → (𝐴 gcd 𝐵) ∥ 𝐶) |
| 34 | 11, 17, 20, 28, 33 | dvdstrd 16356 | . . . . . . 7 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → 2 ∥ 𝐶) |
| 35 | 10, 34 | jca 520 | . . . . . 6 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → (2 ∥ 𝐴 ∧ 2 ∥ 𝐶)) |
| 36 | 4, 8, 35 | rspcedvdw 3592 | . . . . 5 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → ∃𝑖 ∈ (ℤ≥‘2)(𝑖 ∥ 𝐴 ∧ 𝑖 ∥ 𝐶)) |
| 37 | ncoprmgcdne1b 16711 | . . . . . 6 ⊢ ((𝐴 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (∃𝑖 ∈ (ℤ≥‘2)(𝑖 ∥ 𝐴 ∧ 𝑖 ∥ 𝐶) ↔ (𝐴 gcd 𝐶) ≠ 1)) | |
| 38 | 22, 19, 37 | syl2anc 595 | . . . . 5 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → (∃𝑖 ∈ (ℤ≥‘2)(𝑖 ∥ 𝐴 ∧ 𝑖 ∥ 𝐶) ↔ (𝐴 gcd 𝐶) ≠ 1)) |
| 39 | 36, 38 | mpbid 235 | . . . 4 ⊢ ((𝜑 ∧ 2 ∥ 𝐵) → (𝐴 gcd 𝐶) ≠ 1) |
| 40 | 39 | ex 417 | . . 3 ⊢ (𝜑 → (2 ∥ 𝐵 → (𝐴 gcd 𝐶) ≠ 1)) |
| 41 | 40 | necon2bd 2981 | . 2 ⊢ (𝜑 → ((𝐴 gcd 𝐶) = 1 → ¬ 2 ∥ 𝐵)) |
| 42 | 1, 41 | mpd 16 | 1 ⊢ (𝜑 → ¬ 2 ∥ 𝐵) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 400 = wceq 1568 ∈ wcel 2150 ≠ wne 2965 ∃wrex 3096 class class class wbr 5114 ‘cfv 6540 (class class class)co 7414 1c1 11104 + caddc 11106 ℕcn 12236 2c2 12298 ℤcz 12594 ℤ≥cuz 12865 ↑cexp 14100 ∥ cdvds 16313 gcd cgcd 16555 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1823 ax-4 1837 ax-5 1938 ax-6 1995 ax-7 2036 ax-8 2152 ax-9 2160 ax-10 2183 ax-11 2199 ax-12 2220 ax-ext 2742 ax-sep 5262 ax-nul 5274 ax-pow 5340 ax-pr 5408 ax-un 7736 ax-cnex 11159 ax-resscn 11160 ax-1cn 11161 ax-icn 11162 ax-addcl 11163 ax-addrcl 11164 ax-mulcl 11165 ax-mulrcl 11166 ax-mulcom 11167 ax-addass 11168 ax-mulass 11169 ax-distr 11170 ax-i2m1 11171 ax-1ne0 11172 ax-1rid 11173 ax-rnegex 11174 ax-rrecex 11175 ax-cnre 11176 ax-pre-lttri 11177 ax-pre-lttrn 11178 ax-pre-ltadd 11179 ax-pre-mulgt0 11180 ax-pre-sup 11181 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3or 1102 df-3an 1103 df-tru 1571 df-fal 1581 df-ex 1808 df-nf 1812 df-sb 2099 df-mo 2574 df-eu 2604 df-clab 2749 df-cleq 2762 df-clel 2845 df-nfc 2919 df-ne 2966 df-nel 3072 df-ral 3087 df-rex 3097 df-rmo 3376 df-reu 3377 df-rab 3424 df-v 3464 df-sbc 3753 df-csb 3862 df-dif 3916 df-un 3918 df-in 3920 df-ss 3930 df-pss 3933 df-nul 4295 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-iun 4963 df-br 5115 df-opab 5179 df-mpt 5198 df-tr 5224 df-id 5560 df-eprel 5565 df-po 5573 df-so 5574 df-fr 5618 df-we 5620 df-xp 5671 df-rel 5672 df-cnv 5673 df-co 5674 df-dm 5675 df-rn 5676 df-res 5677 df-ima 5678 df-pred 6306 df-ord 6367 df-on 6368 df-lim 6369 df-suc 6370 df-iota 6496 df-fun 6542 df-fn 6543 df-f 6544 df-f1 6545 df-fo 6546 df-f1o 6547 df-fv 6548 df-riota 7371 df-ov 7417 df-oprab 7418 df-mpo 7419 df-om 7866 df-2nd 7990 df-frecs 8281 df-wrecs 8312 df-recs 8361 df-rdg 8400 df-er 8697 df-en 8947 df-dom 8948 df-sdom 8949 df-sup 9405 df-inf 9406 df-pnf 11248 df-mnf 11249 df-xr 11250 df-ltxr 11251 df-le 11252 df-sub 11446 df-neg 11447 df-div 11875 df-nn 12237 df-2 12306 df-3 12307 df-n0 12508 df-z 12595 df-uz 12866 df-rp 13020 df-fl 13828 df-mod 13906 df-seq 14041 df-exp 14101 df-cj 15153 df-re 15154 df-im 15155 df-sqrt 15289 df-abs 15290 df-dvds 16314 df-gcd 16556 |
| This theorem is referenced by: flt4lem3 43332 flt4lem7 43343 nna4b4nsq 43344 |
| Copyright terms: Public domain | W3C validator |