| Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > zlmodzxzsub | Structured version Visualization version GIF version | ||
| Description: The subtraction of the ℤ-module ℤ × ℤ. (Contributed by AV, 22-May-2019.) (Revised by AV, 10-Jun-2019.) |
| Ref | Expression |
|---|---|
| zlmodzxz.z | ⊢ 𝑍 = (ℤring freeLMod {0, 1}) |
| zlmodzxzsub.m | ⊢ − = (-g‘𝑍) |
| Ref | Expression |
|---|---|
| zlmodzxzsub | ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({〈0, 𝐴〉, 〈1, 𝐶〉} − {〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | zsubcl 12664 | . . . . 5 ⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 − 𝐵) ∈ ℤ) | |
| 2 | simpr 490 | . . . . 5 ⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → 𝐵 ∈ ℤ) | |
| 3 | 1, 2 | jca 521 | . . . 4 ⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ((𝐴 − 𝐵) ∈ ℤ ∧ 𝐵 ∈ ℤ)) |
| 4 | zsubcl 12664 | . . . . 5 ⊢ ((𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ) → (𝐶 − 𝐷) ∈ ℤ) | |
| 5 | simpr 490 | . . . . 5 ⊢ ((𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ) → 𝐷 ∈ ℤ) | |
| 6 | 4, 5 | jca 521 | . . . 4 ⊢ ((𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ) → ((𝐶 − 𝐷) ∈ ℤ ∧ 𝐷 ∈ ℤ)) |
| 7 | zlmodzxz.z | . . . . 5 ⊢ 𝑍 = (ℤring freeLMod {0, 1}) | |
| 8 | eqid 2762 | . . . . 5 ⊢ (+g‘𝑍) = (+g‘𝑍) | |
| 9 | 7, 8 | zlmodzxzadd 49296 | . . . 4 ⊢ ((((𝐴 − 𝐵) ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ ((𝐶 − 𝐷) ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} (+g‘𝑍){〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, ((𝐴 − 𝐵) + 𝐵)〉, 〈1, ((𝐶 − 𝐷) + 𝐷)〉}) |
| 10 | 3, 6, 9 | syl2an 608 | . . 3 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} (+g‘𝑍){〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, ((𝐴 − 𝐵) + 𝐵)〉, 〈1, ((𝐶 − 𝐷) + 𝐷)〉}) |
| 11 | zcn 12624 | . . . . . . 7 ⊢ (𝐴 ∈ ℤ → 𝐴 ∈ ℂ) | |
| 12 | zcn 12624 | . . . . . . 7 ⊢ (𝐵 ∈ ℤ → 𝐵 ∈ ℂ) | |
| 13 | npcan 11494 | . . . . . . 7 ⊢ ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → ((𝐴 − 𝐵) + 𝐵) = 𝐴) | |
| 14 | 11, 12, 13 | syl2an 608 | . . . . . 6 ⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ((𝐴 − 𝐵) + 𝐵) = 𝐴) |
| 15 | 14 | adantr 486 | . . . . 5 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ((𝐴 − 𝐵) + 𝐵) = 𝐴) |
| 16 | 15 | opeq2d 4843 | . . . 4 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 〈0, ((𝐴 − 𝐵) + 𝐵)〉 = 〈0, 𝐴〉) |
| 17 | zcn 12624 | . . . . . . 7 ⊢ (𝐶 ∈ ℤ → 𝐶 ∈ ℂ) | |
| 18 | zcn 12624 | . . . . . . 7 ⊢ (𝐷 ∈ ℤ → 𝐷 ∈ ℂ) | |
| 19 | npcan 11494 | . . . . . . 7 ⊢ ((𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ) → ((𝐶 − 𝐷) + 𝐷) = 𝐶) | |
| 20 | 17, 18, 19 | syl2an 608 | . . . . . 6 ⊢ ((𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ) → ((𝐶 − 𝐷) + 𝐷) = 𝐶) |
| 21 | 20 | adantl 487 | . . . . 5 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ((𝐶 − 𝐷) + 𝐷) = 𝐶) |
| 22 | 21 | opeq2d 4843 | . . . 4 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 〈1, ((𝐶 − 𝐷) + 𝐷)〉 = 〈1, 𝐶〉) |
| 23 | 16, 22 | preq12d 4705 | . . 3 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {〈0, ((𝐴 − 𝐵) + 𝐵)〉, 〈1, ((𝐶 − 𝐷) + 𝐷)〉} = {〈0, 𝐴〉, 〈1, 𝐶〉}) |
| 24 | 10, 23 | eqtrd 2797 | . 2 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} (+g‘𝑍){〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, 𝐴〉, 〈1, 𝐶〉}) |
| 25 | 7 | zlmodzxzlmod 49292 | . . . 4 ⊢ (𝑍 ∈ LMod ∧ ℤring = (Scalar‘𝑍)) |
| 26 | lmodgrp 21057 | . . . . 5 ⊢ (𝑍 ∈ LMod → 𝑍 ∈ Grp) | |
| 27 | 26 | adantr 486 | . . . 4 ⊢ ((𝑍 ∈ LMod ∧ ℤring = (Scalar‘𝑍)) → 𝑍 ∈ Grp) |
| 28 | 25, 27 | mp1i 14 | . . 3 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 𝑍 ∈ Grp) |
| 29 | 7 | zlmodzxzel 49293 | . . . 4 ⊢ ((𝐴 ∈ ℤ ∧ 𝐶 ∈ ℤ) → {〈0, 𝐴〉, 〈1, 𝐶〉} ∈ (Base‘𝑍)) |
| 30 | 29 | ad2ant2r 760 | . . 3 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {〈0, 𝐴〉, 〈1, 𝐶〉} ∈ (Base‘𝑍)) |
| 31 | 7 | zlmodzxzel 49293 | . . . 4 ⊢ ((𝐵 ∈ ℤ ∧ 𝐷 ∈ ℤ) → {〈0, 𝐵〉, 〈1, 𝐷〉} ∈ (Base‘𝑍)) |
| 32 | 2, 5, 31 | syl2an 608 | . . 3 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {〈0, 𝐵〉, 〈1, 𝐷〉} ∈ (Base‘𝑍)) |
| 33 | 7 | zlmodzxzel 49293 | . . . 4 ⊢ (((𝐴 − 𝐵) ∈ ℤ ∧ (𝐶 − 𝐷) ∈ ℤ) → {〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} ∈ (Base‘𝑍)) |
| 34 | 1, 4, 33 | syl2an 608 | . . 3 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} ∈ (Base‘𝑍)) |
| 35 | eqid 2762 | . . . 4 ⊢ (Base‘𝑍) = (Base‘𝑍) | |
| 36 | zlmodzxzsub.m | . . . 4 ⊢ − = (-g‘𝑍) | |
| 37 | 35, 8, 36 | grpsubadd 19157 | . . 3 ⊢ ((𝑍 ∈ Grp ∧ ({〈0, 𝐴〉, 〈1, 𝐶〉} ∈ (Base‘𝑍) ∧ {〈0, 𝐵〉, 〈1, 𝐷〉} ∈ (Base‘𝑍) ∧ {〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} ∈ (Base‘𝑍))) → (({〈0, 𝐴〉, 〈1, 𝐶〉} − {〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} ↔ ({〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} (+g‘𝑍){〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, 𝐴〉, 〈1, 𝐶〉})) |
| 38 | 28, 30, 32, 34, 37 | syl13anc 1399 | . 2 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (({〈0, 𝐴〉, 〈1, 𝐶〉} − {〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} ↔ ({〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉} (+g‘𝑍){〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, 𝐴〉, 〈1, 𝐶〉})) |
| 39 | 24, 38 | mpbird 260 | 1 ⊢ (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({〈0, 𝐴〉, 〈1, 𝐶〉} − {〈0, 𝐵〉, 〈1, 𝐷〉}) = {〈0, (𝐴 − 𝐵)〉, 〈1, (𝐶 − 𝐷)〉}) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 = wceq 1570 ∈ wcel 2145 {cpr 4589 〈cop 4593 ‘cfv 6537 (class class class)co 7417 ℂcc 11126 0cc0 11128 1c1 11129 + caddc 11131 − cmin 11469 ℤcz 12619 Basecbs 17307 +gcplusg 17348 Scalarcsca 17351 Grpcgrp 19063 -gcsg 19065 LModclmod 21050 ℤringczring 21665 freeLMod cfrlm 21965 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2215 ax-ext 2734 ax-rep 5236 ax-sep 5255 ax-nul 5267 ax-pow 5334 ax-pr 5402 ax-un 7740 ax-cnex 11184 ax-resscn 11185 ax-1cn 11186 ax-icn 11187 ax-addcl 11188 ax-addrcl 11189 ax-mulcl 11190 ax-mulrcl 11191 ax-mulcom 11192 ax-addass 11193 ax-mulass 11194 ax-distr 11195 ax-i2m1 11196 ax-1ne0 11197 ax-1rid 11198 ax-rnegex 11199 ax-rrecex 11200 ax-cnre 11201 ax-pre-lttri 11202 ax-pre-lttrn 11203 ax-pre-ltadd 11204 ax-pre-mulgt0 11205 ax-addf 11207 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-nfc 2911 df-ne 2958 df-nel 3064 df-ral 3079 df-rex 3089 df-rmo 3367 df-reu 3368 df-rab 3415 df-v 3455 df-sbc 3743 df-csb 3851 df-dif 3905 df-un 3907 df-in 3909 df-ss 3919 df-pss 3922 df-nul 4283 df-if 4486 df-pw 4562 df-sn 4588 df-pr 4590 df-tp 4592 df-op 4594 df-uni 4871 df-iun 4956 df-br 5108 df-opab 5172 df-mpt 5191 df-tr 5217 df-id 5554 df-eprel 5559 df-po 5567 df-so 5568 df-fr 5612 df-we 5614 df-xp 5665 df-rel 5666 df-cnv 5667 df-co 5668 df-dm 5669 df-rn 5670 df-res 5671 df-ima 5672 df-pred 6303 df-ord 6364 df-on 6365 df-lim 6366 df-suc 6367 df-iota 6493 df-fun 6539 df-fn 6540 df-f 6541 df-f1 6542 df-fo 6543 df-f1o 6544 df-fv 6545 df-riota 7374 df-ov 7420 df-oprab 7421 df-mpo 7422 df-of 7682 df-om 7867 df-1st 7990 df-2nd 7991 df-supp 8163 df-frecs 8284 df-wrecs 8315 df-recs 8364 df-rdg 8403 df-1o 8459 df-2o 8460 df-er 8700 df-map 8832 df-ixp 8909 df-en 8957 df-dom 8958 df-sdom 8959 df-fin 8960 df-fsupp 9336 df-sup 9416 df-pnf 11273 df-mnf 11274 df-xr 11275 df-ltxr 11276 df-le 11277 df-sub 11471 df-neg 11472 df-nn 12262 df-2 12331 df-3 12332 df-4 12333 df-5 12334 df-6 12335 df-7 12336 df-8 12337 df-9 12338 df-n0 12533 df-z 12620 df-dec 12741 df-uz 12892 df-fz 13566 df-struct 17245 df-sets 17262 df-slot 17280 df-ndx 17292 df-base 17308 df-ress 17329 df-plusg 17361 df-mulr 17362 df-starv 17363 df-sca 17364 df-vsca 17365 df-ip 17366 df-tset 17367 df-ple 17368 df-ds 17370 df-unif 17371 df-hom 17372 df-cco 17373 df-0g 17532 df-prds 17538 df-pws 17540 df-mgm 18736 df-sgrp 18827 df-mnd 18843 df-grp 19066 df-minusg 19067 df-sbg 19068 df-subg 19252 df-cmn 19915 df-abl 19916 df-mgp 20280 df-rng 20294 df-ur 20327 df-ring 20380 df-cring 20381 df-subrng 20714 df-subrg 20738 df-lmod 21052 df-lss 21122 df-sra 21363 df-rgmod 21364 df-cnfld 21592 df-zring 21666 df-dsmm 21951 df-frlm 21966 |
| This theorem is used by: zlmodzxzequa 49434 |
| Copyright terms: Public domain | W3C validator |