| Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > gpg3kgrtriexlem5 | Structured version Visualization version GIF version | ||
| Description: Lemma 5 for gpg3kgrtriex 48831. (Contributed by AV, 1-Oct-2025.) |
| Ref | Expression |
|---|---|
| gpg3kgrtriex.n | ⊢ 𝑁 = (3 · 𝐾) |
| Ref | Expression |
|---|---|
| gpg3kgrtriexlem5 | ⊢ (𝐾 ∈ ℕ → (𝐾 mod 𝑁) ≠ (-𝐾 mod 𝑁)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 3nn 12321 | . . . . . . 7 ⊢ 3 ∈ ℕ | |
| 2 | 1 | a1i 11 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → 3 ∈ ℕ) |
| 3 | 2eluzge1 12907 | . . . . . . . . 9 ⊢ 2 ∈ (ℤ≥‘1) | |
| 4 | eluzfz2 13561 | . . . . . . . . 9 ⊢ (2 ∈ (ℤ≥‘1) → 2 ∈ (1...2)) | |
| 5 | 3, 4 | ax-mp 5 | . . . . . . . 8 ⊢ 2 ∈ (1...2) |
| 6 | 3m1e2 12369 | . . . . . . . . 9 ⊢ (3 − 1) = 2 | |
| 7 | 6 | oveq2i 7423 | . . . . . . . 8 ⊢ (1...(3 − 1)) = (1...2) |
| 8 | 5, 7 | eleqtrri 2862 | . . . . . . 7 ⊢ 2 ∈ (1...(3 − 1)) |
| 9 | 8 | a1i 11 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → 2 ∈ (1...(3 − 1))) |
| 10 | fzm1ndvds 16381 | . . . . . 6 ⊢ ((3 ∈ ℕ ∧ 2 ∈ (1...(3 − 1))) → ¬ 3 ∥ 2) | |
| 11 | 2, 9, 10 | syl2anc 595 | . . . . 5 ⊢ (𝐾 ∈ ℕ → ¬ 3 ∥ 2) |
| 12 | 3z 12628 | . . . . . . 7 ⊢ 3 ∈ ℤ | |
| 13 | 12 | a1i 11 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → 3 ∈ ℤ) |
| 14 | 2z 12627 | . . . . . . 7 ⊢ 2 ∈ ℤ | |
| 15 | 14 | a1i 11 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → 2 ∈ ℤ) |
| 16 | nnz 12613 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → 𝐾 ∈ ℤ) | |
| 17 | nnne0 12271 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → 𝐾 ≠ 0) | |
| 18 | dvdsmulcr 16344 | . . . . . 6 ⊢ ((3 ∈ ℤ ∧ 2 ∈ ℤ ∧ (𝐾 ∈ ℤ ∧ 𝐾 ≠ 0)) → ((3 · 𝐾) ∥ (2 · 𝐾) ↔ 3 ∥ 2)) | |
| 19 | 13, 15, 16, 17, 18 | syl112anc 1401 | . . . . 5 ⊢ (𝐾 ∈ ℕ → ((3 · 𝐾) ∥ (2 · 𝐾) ↔ 3 ∥ 2)) |
| 20 | 11, 19 | mtbird 328 | . . . 4 ⊢ (𝐾 ∈ ℕ → ¬ (3 · 𝐾) ∥ (2 · 𝐾)) |
| 21 | gpg3kgrtriex.n | . . . . 5 ⊢ 𝑁 = (3 · 𝐾) | |
| 22 | 21 | breq1i 5117 | . . . 4 ⊢ (𝑁 ∥ (2 · 𝐾) ↔ (3 · 𝐾) ∥ (2 · 𝐾)) |
| 23 | 20, 22 | sylnibr 332 | . . 3 ⊢ (𝐾 ∈ ℕ → ¬ 𝑁 ∥ (2 · 𝐾)) |
| 24 | id 23 | . . . . . . 7 ⊢ (𝐾 ∈ ℕ → 𝐾 ∈ ℕ) | |
| 25 | 2, 24 | nnmulcld 12290 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → (3 · 𝐾) ∈ ℕ) |
| 26 | 21, 25 | eqeltrid 2867 | . . . . 5 ⊢ (𝐾 ∈ ℕ → 𝑁 ∈ ℕ) |
| 27 | 2nn 12315 | . . . . . . . 8 ⊢ 2 ∈ ℕ | |
| 28 | 27 | a1i 11 | . . . . . . 7 ⊢ (𝐾 ∈ ℕ → 2 ∈ ℕ) |
| 29 | 28, 24 | nnmulcld 12290 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → (2 · 𝐾) ∈ ℕ) |
| 30 | 29 | nnzd 12618 | . . . . 5 ⊢ (𝐾 ∈ ℕ → (2 · 𝐾) ∈ ℤ) |
| 31 | dvdsval3 16315 | . . . . 5 ⊢ ((𝑁 ∈ ℕ ∧ (2 · 𝐾) ∈ ℤ) → (𝑁 ∥ (2 · 𝐾) ↔ ((2 · 𝐾) mod 𝑁) = 0)) | |
| 32 | 26, 30, 31 | syl2anc 595 | . . . 4 ⊢ (𝐾 ∈ ℕ → (𝑁 ∥ (2 · 𝐾) ↔ ((2 · 𝐾) mod 𝑁) = 0)) |
| 33 | nncn 12242 | . . . . . . 7 ⊢ (𝐾 ∈ ℕ → 𝐾 ∈ ℂ) | |
| 34 | 33 | 2timesd 12488 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → (2 · 𝐾) = (𝐾 + 𝐾)) |
| 35 | 34 | oveq1d 7427 | . . . . 5 ⊢ (𝐾 ∈ ℕ → ((2 · 𝐾) mod 𝑁) = ((𝐾 + 𝐾) mod 𝑁)) |
| 36 | 35 | eqeq1d 2765 | . . . 4 ⊢ (𝐾 ∈ ℕ → (((2 · 𝐾) mod 𝑁) = 0 ↔ ((𝐾 + 𝐾) mod 𝑁) = 0)) |
| 37 | summodnegmod 16345 | . . . . 5 ⊢ ((𝐾 ∈ ℤ ∧ 𝐾 ∈ ℤ ∧ 𝑁 ∈ ℕ) → (((𝐾 + 𝐾) mod 𝑁) = 0 ↔ (𝐾 mod 𝑁) = (-𝐾 mod 𝑁))) | |
| 38 | 16, 16, 26, 37 | syl3anc 1398 | . . . 4 ⊢ (𝐾 ∈ ℕ → (((𝐾 + 𝐾) mod 𝑁) = 0 ↔ (𝐾 mod 𝑁) = (-𝐾 mod 𝑁))) |
| 39 | 32, 36, 38 | 3bitrd 308 | . . 3 ⊢ (𝐾 ∈ ℕ → (𝑁 ∥ (2 · 𝐾) ↔ (𝐾 mod 𝑁) = (-𝐾 mod 𝑁))) |
| 40 | 23, 39 | mtbid 327 | . 2 ⊢ (𝐾 ∈ ℕ → ¬ (𝐾 mod 𝑁) = (-𝐾 mod 𝑁)) |
| 41 | 40 | neqned 2965 | 1 ⊢ (𝐾 ∈ ℕ → (𝐾 mod 𝑁) ≠ (-𝐾 mod 𝑁)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 209 = wceq 1570 ∈ wcel 2143 ≠ wne 2958 class class class wbr 5110 ‘cfv 6538 (class class class)co 7412 0cc0 11101 1c1 11102 + caddc 11104 · cmul 11106 − cmin 11442 -cneg 11443 ℕcn 12234 2c2 12296 3c3 12297 ℤcz 12592 ℤ≥cuz 12863 ...cfz 13536 mod cmo 13904 ∥ cdvds 16311 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-sep 5258 ax-nul 5270 ax-pow 5338 ax-pr 5406 ax-un 7734 ax-cnex 11157 ax-resscn 11158 ax-1cn 11159 ax-icn 11160 ax-addcl 11161 ax-addrcl 11162 ax-mulcl 11163 ax-mulrcl 11164 ax-mulcom 11165 ax-addass 11166 ax-mulass 11167 ax-distr 11168 ax-i2m1 11169 ax-1ne0 11170 ax-1rid 11171 ax-rnegex 11172 ax-rrecex 11173 ax-cnre 11174 ax-pre-lttri 11175 ax-pre-lttrn 11176 ax-pre-ltadd 11177 ax-pre-mulgt0 11178 ax-pre-sup 11179 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-nel 3065 df-ral 3080 df-rex 3090 df-rmo 3369 df-reu 3370 df-rab 3417 df-v 3457 df-sbc 3746 df-csb 3855 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-pss 3926 df-nul 4288 df-if 4489 df-pw 4565 df-sn 4591 df-pr 4593 df-op 4597 df-uni 4874 df-iun 4959 df-br 5111 df-opab 5175 df-mpt 5194 df-tr 5220 df-id 5558 df-eprel 5563 df-po 5571 df-so 5572 df-fr 5616 df-we 5618 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-rn 5674 df-res 5675 df-ima 5676 df-pred 6304 df-ord 6365 df-on 6366 df-lim 6367 df-suc 6368 df-iota 6494 df-fun 6540 df-fn 6541 df-f 6542 df-f1 6543 df-fo 6544 df-f1o 6545 df-fv 6546 df-riota 7369 df-ov 7415 df-oprab 7416 df-mpo 7417 df-om 7864 df-1st 7987 df-2nd 7988 df-frecs 8279 df-wrecs 8310 df-recs 8359 df-rdg 8398 df-er 8695 df-en 8945 df-dom 8946 df-sdom 8947 df-sup 9403 df-inf 9404 df-pnf 11246 df-mnf 11247 df-xr 11248 df-ltxr 11249 df-le 11250 df-sub 11444 df-neg 11445 df-div 11873 df-nn 12235 df-2 12304 df-3 12305 df-n0 12506 df-z 12593 df-uz 12864 df-rp 13018 df-fz 13537 df-fl 13827 df-mod 13905 df-dvds 16312 |
| This theorem is referenced by: gpg3kgrtriex 48831 |
| Copyright terms: Public domain | W3C validator |