Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  zlmodzxzadd Structured version   Visualization version   GIF version

Theorem zlmodzxzadd 45321
Description: The addition of the -module ℤ × ℤ. (Contributed by AV, 22-May-2019.) (Revised by AV, 10-Jun-2019.)
Hypotheses
Ref Expression
zlmodzxz.z 𝑍 = (ℤring freeLMod {0, 1})
zlmodzxzadd.p + = (+g𝑍)
Assertion
Ref Expression
zlmodzxzadd (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩} + {⟨0, 𝐵⟩, ⟨1, 𝐷⟩}) = {⟨0, (𝐴 + 𝐵)⟩, ⟨1, (𝐶 + 𝐷)⟩})

Proof of Theorem zlmodzxzadd
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 zlmodzxz.z . . 3 𝑍 = (ℤring freeLMod {0, 1})
2 eqid 2734 . . 3 (Base‘𝑍) = (Base‘𝑍)
3 zringring 20410 . . . 4 ring ∈ Ring
43a1i 11 . . 3 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ℤring ∈ Ring)
5 prex 5314 . . . 4 {0, 1} ∈ V
65a1i 11 . . 3 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {0, 1} ∈ V)
7 simpl 486 . . . 4 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → 𝐴 ∈ ℤ)
8 simpl 486 . . . 4 ((𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ) → 𝐶 ∈ ℤ)
91zlmodzxzel 45318 . . . 4 ((𝐴 ∈ ℤ ∧ 𝐶 ∈ ℤ) → {⟨0, 𝐴⟩, ⟨1, 𝐶⟩} ∈ (Base‘𝑍))
107, 8, 9syl2an 599 . . 3 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {⟨0, 𝐴⟩, ⟨1, 𝐶⟩} ∈ (Base‘𝑍))
11 simpr 488 . . . 4 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → 𝐵 ∈ ℤ)
12 simpr 488 . . . 4 ((𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ) → 𝐷 ∈ ℤ)
131zlmodzxzel 45318 . . . 4 ((𝐵 ∈ ℤ ∧ 𝐷 ∈ ℤ) → {⟨0, 𝐵⟩, ⟨1, 𝐷⟩} ∈ (Base‘𝑍))
1411, 12, 13syl2an 599 . . 3 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {⟨0, 𝐵⟩, ⟨1, 𝐷⟩} ∈ (Base‘𝑍))
15 eqid 2734 . . 3 (+g‘ℤring) = (+g‘ℤring)
16 zlmodzxzadd.p . . 3 + = (+g𝑍)
171, 2, 4, 6, 10, 14, 15, 16frlmplusgval 20698 . 2 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩} + {⟨0, 𝐵⟩, ⟨1, 𝐷⟩}) = ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩} ∘f (+g‘ℤring){⟨0, 𝐵⟩, ⟨1, 𝐷⟩}))
18 c0ex 10810 . . . . . 6 0 ∈ V
19 1ex 10812 . . . . . 6 1 ∈ V
2018, 19pm3.2i 474 . . . . 5 (0 ∈ V ∧ 1 ∈ V)
2120a1i 11 . . . 4 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (0 ∈ V ∧ 1 ∈ V))
227, 8anim12i 616 . . . 4 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (𝐴 ∈ ℤ ∧ 𝐶 ∈ ℤ))
23 0ne1 11884 . . . . 5 0 ≠ 1
2423a1i 11 . . . 4 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 0 ≠ 1)
25 fnprg 6428 . . . 4 (((0 ∈ V ∧ 1 ∈ V) ∧ (𝐴 ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ 0 ≠ 1) → {⟨0, 𝐴⟩, ⟨1, 𝐶⟩} Fn {0, 1})
2621, 22, 24, 25syl3anc 1373 . . 3 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {⟨0, 𝐴⟩, ⟨1, 𝐶⟩} Fn {0, 1})
2711, 12anim12i 616 . . . 4 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (𝐵 ∈ ℤ ∧ 𝐷 ∈ ℤ))
28 fnprg 6428 . . . 4 (((0 ∈ V ∧ 1 ∈ V) ∧ (𝐵 ∈ ℤ ∧ 𝐷 ∈ ℤ) ∧ 0 ≠ 1) → {⟨0, 𝐵⟩, ⟨1, 𝐷⟩} Fn {0, 1})
2921, 27, 24, 28syl3anc 1373 . . 3 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {⟨0, 𝐵⟩, ⟨1, 𝐷⟩} Fn {0, 1})
306, 26, 29offvalfv 45305 . 2 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩} ∘f (+g‘ℤring){⟨0, 𝐵⟩, ⟨1, 𝐷⟩}) = (𝑥 ∈ {0, 1} ↦ (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥))))
3118a1i 11 . . . 4 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 0 ∈ V)
3219a1i 11 . . . 4 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 1 ∈ V)
33 ovexd 7237 . . . 4 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (𝐴(+g‘ℤring)𝐵) ∈ V)
34 ovexd 7237 . . . 4 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (𝐶(+g‘ℤring)𝐷) ∈ V)
35 fveq2 6706 . . . . . 6 (𝑥 = 0 → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥) = ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘0))
36 fveq2 6706 . . . . . 6 (𝑥 = 0 → ({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥) = ({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘0))
3735, 36oveq12d 7220 . . . . 5 (𝑥 = 0 → (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥)) = (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘0)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘0)))
387adantr 484 . . . . . . 7 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 𝐴 ∈ ℤ)
39 fvpr1g 6996 . . . . . . 7 ((0 ∈ V ∧ 𝐴 ∈ ℤ ∧ 0 ≠ 1) → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘0) = 𝐴)
4031, 38, 24, 39syl3anc 1373 . . . . . 6 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘0) = 𝐴)
4111adantr 484 . . . . . . 7 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 𝐵 ∈ ℤ)
42 fvpr1g 6996 . . . . . . 7 ((0 ∈ V ∧ 𝐵 ∈ ℤ ∧ 0 ≠ 1) → ({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘0) = 𝐵)
4331, 41, 24, 42syl3anc 1373 . . . . . 6 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘0) = 𝐵)
4440, 43oveq12d 7220 . . . . 5 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘0)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘0)) = (𝐴(+g‘ℤring)𝐵))
4537, 44sylan9eqr 2796 . . . 4 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) ∧ 𝑥 = 0) → (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥)) = (𝐴(+g‘ℤring)𝐵))
46 fveq2 6706 . . . . . 6 (𝑥 = 1 → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥) = ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘1))
47 fveq2 6706 . . . . . 6 (𝑥 = 1 → ({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥) = ({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘1))
4846, 47oveq12d 7220 . . . . 5 (𝑥 = 1 → (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥)) = (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘1)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘1)))
498adantl 485 . . . . . . 7 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 𝐶 ∈ ℤ)
50 fvpr2g 6997 . . . . . . 7 ((1 ∈ V ∧ 𝐶 ∈ ℤ ∧ 0 ≠ 1) → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘1) = 𝐶)
5132, 49, 24, 50syl3anc 1373 . . . . . 6 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘1) = 𝐶)
5212adantl 485 . . . . . . 7 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → 𝐷 ∈ ℤ)
53 fvpr2g 6997 . . . . . . 7 ((1 ∈ V ∧ 𝐷 ∈ ℤ ∧ 0 ≠ 1) → ({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘1) = 𝐷)
5432, 52, 24, 53syl3anc 1373 . . . . . 6 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘1) = 𝐷)
5551, 54oveq12d 7220 . . . . 5 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘1)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘1)) = (𝐶(+g‘ℤring)𝐷))
5648, 55sylan9eqr 2796 . . . 4 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) ∧ 𝑥 = 1) → (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥)) = (𝐶(+g‘ℤring)𝐷))
5731, 32, 33, 34, 45, 56fmptpr 6976 . . 3 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → {⟨0, (𝐴(+g‘ℤring)𝐵)⟩, ⟨1, (𝐶(+g‘ℤring)𝐷)⟩} = (𝑥 ∈ {0, 1} ↦ (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥))))
58 zringplusg 20414 . . . . . . 7 + = (+g‘ℤring)
5958eqcomi 2743 . . . . . 6 (+g‘ℤring) = +
6059oveqi 7215 . . . . 5 (𝐴(+g‘ℤring)𝐵) = (𝐴 + 𝐵)
6160opeq2i 4778 . . . 4 ⟨0, (𝐴(+g‘ℤring)𝐵)⟩ = ⟨0, (𝐴 + 𝐵)⟩
6259oveqi 7215 . . . . 5 (𝐶(+g‘ℤring)𝐷) = (𝐶 + 𝐷)
6362opeq2i 4778 . . . 4 ⟨1, (𝐶(+g‘ℤring)𝐷)⟩ = ⟨1, (𝐶 + 𝐷)⟩
6461, 63preq12i 4644 . . 3 {⟨0, (𝐴(+g‘ℤring)𝐵)⟩, ⟨1, (𝐶(+g‘ℤring)𝐷)⟩} = {⟨0, (𝐴 + 𝐵)⟩, ⟨1, (𝐶 + 𝐷)⟩}
6557, 64eqtr3di 2789 . 2 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → (𝑥 ∈ {0, 1} ↦ (({⟨0, 𝐴⟩, ⟨1, 𝐶⟩}‘𝑥)(+g‘ℤring)({⟨0, 𝐵⟩, ⟨1, 𝐷⟩}‘𝑥))) = {⟨0, (𝐴 + 𝐵)⟩, ⟨1, (𝐶 + 𝐷)⟩})
6617, 30, 653eqtrd 2778 1 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℤ)) → ({⟨0, 𝐴⟩, ⟨1, 𝐶⟩} + {⟨0, 𝐵⟩, ⟨1, 𝐷⟩}) = {⟨0, (𝐴 + 𝐵)⟩, ⟨1, (𝐶 + 𝐷)⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2110  wne 2935  Vcvv 3401  {cpr 4533  cop 4537  cmpt 5124   Fn wfn 6364  cfv 6369  (class class class)co 7202  f cof 7456  0cc0 10712  1c1 10713   + caddc 10715  cz 12159  Basecbs 16684  +gcplusg 16767  Ringcrg 19534  ringzring 20407   freeLMod cfrlm 20680
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2706  ax-rep 5168  ax-sep 5181  ax-nul 5188  ax-pow 5247  ax-pr 5311  ax-un 7512  ax-cnex 10768  ax-resscn 10769  ax-1cn 10770  ax-icn 10771  ax-addcl 10772  ax-addrcl 10773  ax-mulcl 10774  ax-mulrcl 10775  ax-mulcom 10776  ax-addass 10777  ax-mulass 10778  ax-distr 10779  ax-i2m1 10780  ax-1ne0 10781  ax-1rid 10782  ax-rnegex 10783  ax-rrecex 10784  ax-cnre 10785  ax-pre-lttri 10786  ax-pre-lttrn 10787  ax-pre-ltadd 10788  ax-pre-mulgt0 10789  ax-addf 10791  ax-mulf 10792
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-nfc 2882  df-ne 2936  df-nel 3040  df-ral 3059  df-rex 3060  df-reu 3061  df-rmo 3062  df-rab 3063  df-v 3403  df-sbc 3688  df-csb 3803  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-pss 3876  df-nul 4228  df-if 4430  df-pw 4505  df-sn 4532  df-pr 4534  df-tp 4536  df-op 4538  df-uni 4810  df-iun 4896  df-br 5044  df-opab 5106  df-mpt 5125  df-tr 5151  df-id 5444  df-eprel 5449  df-po 5457  df-so 5458  df-fr 5498  df-we 5500  df-xp 5546  df-rel 5547  df-cnv 5548  df-co 5549  df-dm 5550  df-rn 5551  df-res 5552  df-ima 5553  df-pred 6149  df-ord 6205  df-on 6206  df-lim 6207  df-suc 6208  df-iota 6327  df-fun 6371  df-fn 6372  df-f 6373  df-f1 6374  df-fo 6375  df-f1o 6376  df-fv 6377  df-riota 7159  df-ov 7205  df-oprab 7206  df-mpo 7207  df-of 7458  df-om 7634  df-1st 7750  df-2nd 7751  df-supp 7893  df-wrecs 8036  df-recs 8097  df-rdg 8135  df-1o 8191  df-er 8380  df-map 8499  df-ixp 8568  df-en 8616  df-dom 8617  df-sdom 8618  df-fin 8619  df-fsupp 8975  df-sup 9047  df-pnf 10852  df-mnf 10853  df-xr 10854  df-ltxr 10855  df-le 10856  df-sub 11047  df-neg 11048  df-nn 11814  df-2 11876  df-3 11877  df-4 11878  df-5 11879  df-6 11880  df-7 11881  df-8 11882  df-9 11883  df-n0 12074  df-z 12160  df-dec 12277  df-uz 12422  df-fz 13079  df-struct 16686  df-ndx 16687  df-slot 16688  df-base 16690  df-sets 16691  df-ress 16692  df-plusg 16780  df-mulr 16781  df-starv 16782  df-sca 16783  df-vsca 16784  df-ip 16785  df-tset 16786  df-ple 16787  df-ds 16789  df-unif 16790  df-hom 16791  df-cco 16792  df-0g 16918  df-prds 16924  df-pws 16926  df-mgm 18086  df-sgrp 18135  df-mnd 18146  df-grp 18340  df-minusg 18341  df-subg 18512  df-cmn 19144  df-mgp 19477  df-ur 19489  df-ring 19536  df-cring 19537  df-subrg 19770  df-sra 20181  df-rgmod 20182  df-cnfld 20336  df-zring 20408  df-dsmm 20666  df-frlm 20681
This theorem is referenced by:  zlmodzxzsub  45323  zlmodzxzequap  45467
  Copyright terms: Public domain W3C validator