Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  frlmfzoccat Structured version   Visualization version   GIF version

Theorem frlmfzoccat 43573
Description: The concatenation of two vectors of dimension 𝑁 and 𝑀 forms a vector of dimension 𝑁 + 𝑀. (Contributed by SN, 31-Aug-2023.)
Hypotheses
Ref Expression
frlmfzoccat.w 𝑊 = (𝐾 freeLMod (0..^𝐿))
frlmfzoccat.x 𝑋 = (𝐾 freeLMod (0..^𝑀))
frlmfzoccat.y 𝑌 = (𝐾 freeLMod (0..^𝑁))
frlmfzoccat.b 𝐵 = (Base‘𝑊)
frlmfzoccat.c 𝐶 = (Base‘𝑋)
frlmfzoccat.d 𝐷 = (Base‘𝑌)
frlmfzoccat.k (𝜑 → 𝐾 ∈ 𝑍)
frlmfzoccat.l (𝜑 → (𝑀 + 𝑁) = 𝐿)
frlmfzoccat.m (𝜑 → 𝑀 ∈ ℕ0)
frlmfzoccat.n (𝜑 → 𝑁 ∈ ℕ0)
frlmfzoccat.u (𝜑 → 𝑈 ∈ 𝐶)
frlmfzoccat.v (𝜑 → 𝑉 ∈ 𝐷)
Assertion
Ref Expression
frlmfzoccat (𝜑 → (𝑈 ++ 𝑉) ∈ 𝐵)

Proof of Theorem frlmfzoccat
StepHypRef Expression
1 frlmfzoccat.u . . . 4 (𝜑 → 𝑈 ∈ 𝐶)
2 frlmfzoccat.x . . . . 5 𝑋 = (𝐾 freeLMod (0..^𝑀))
3 frlmfzoccat.c . . . . 5 𝐶 = (Base‘𝑋)
4 eqid 2760 . . . . 5 (Base‘𝐾) = (Base‘𝐾)
52, 3, 4frlmfzowrd 43570 . . . 4 (𝑈 ∈ 𝐶 → 𝑈 ∈ Word (Base‘𝐾))
61, 5syl 18 . . 3 (𝜑 → 𝑈 ∈ Word (Base‘𝐾))
7 frlmfzoccat.v . . . 4 (𝜑 → 𝑉 ∈ 𝐷)
8 frlmfzoccat.y . . . . 5 𝑌 = (𝐾 freeLMod (0..^𝑁))
9 frlmfzoccat.d . . . . 5 𝐷 = (Base‘𝑌)
108, 9, 4frlmfzowrd 43570 . . . 4 (𝑉 ∈ 𝐷 → 𝑉 ∈ Word (Base‘𝐾))
117, 10syl 18 . . 3 (𝜑 → 𝑉 ∈ Word (Base‘𝐾))
12 ccatcl 14719 . . 3 ((𝑈 ∈ Word (Base‘𝐾) ∧ 𝑉 ∈ Word (Base‘𝐾)) → (𝑈 ++ 𝑉) ∈ Word (Base‘𝐾))
136, 11, 12syl2anc 596 . 2 (𝜑 → (𝑈 ++ 𝑉) ∈ Word (Base‘𝐾))
14 ccatlen 14720 . . . 4 ((𝑈 ∈ Word (Base‘𝐾) ∧ 𝑉 ∈ Word (Base‘𝐾)) → (♯‘(𝑈 ++ 𝑉)) = ((♯‘𝑈) + (♯‘𝑉)))
156, 11, 14syl2anc 596 . . 3 (𝜑 → (♯‘(𝑈 ++ 𝑉)) = ((♯‘𝑈) + (♯‘𝑉)))
16 frlmfzoccat.m . . . . 5 (𝜑 → 𝑀 ∈ ℕ0)
17 ovexd 7455 . . . . . 6 (𝜑 → (0..^𝑀) ∈ V)
182, 4, 3frlmbasf 22066 . . . . . 6 (((0..^𝑀) ∈ V ∧ 𝑈 ∈ 𝐶) → 𝑈:(0..^𝑀)⟶(Base‘𝐾))
1917, 1, 18syl2anc 596 . . . . 5 (𝜑 → 𝑈:(0..^𝑀)⟶(Base‘𝐾))
20 fnfzo0hash 14595 . . . . 5 ((𝑀 ∈ ℕ0 ∧ 𝑈:(0..^𝑀)⟶(Base‘𝐾)) → (♯‘𝑈) = 𝑀)
2116, 19, 20syl2anc 596 . . . 4 (𝜑 → (♯‘𝑈) = 𝑀)
22 frlmfzoccat.n . . . . 5 (𝜑 → 𝑁 ∈ ℕ0)
23 ovexd 7455 . . . . . 6 (𝜑 → (0..^𝑁) ∈ V)
248, 4, 9frlmbasf 22066 . . . . . 6 (((0..^𝑁) ∈ V ∧ 𝑉 ∈ 𝐷) → 𝑉:(0..^𝑁)⟶(Base‘𝐾))
2523, 7, 24syl2anc 596 . . . . 5 (𝜑 → 𝑉:(0..^𝑁)⟶(Base‘𝐾))
26 fnfzo0hash 14595 . . . . 5 ((𝑁 ∈ ℕ0 ∧ 𝑉:(0..^𝑁)⟶(Base‘𝐾)) → (♯‘𝑉) = 𝑁)
2722, 25, 26syl2anc 596 . . . 4 (𝜑 → (♯‘𝑉) = 𝑁)
2821, 27oveq12d 7438 . . 3 (𝜑 → ((♯‘𝑈) + (♯‘𝑉)) = (𝑀 + 𝑁))
29 frlmfzoccat.l . . 3 (𝜑 → (𝑀 + 𝑁) = 𝐿)
3015, 28, 293eqtrd 2799 . 2 (𝜑 → (♯‘(𝑈 ++ 𝑉)) = 𝐿)
31 frlmfzoccat.k . . 3 (𝜑 → 𝐾 ∈ 𝑍)
3216, 22nn0addcld 12671 . . . 4 (𝜑 → (𝑀 + 𝑁) ∈ ℕ0)
3329, 32eqeltrrd 2861 . . 3 (𝜑 → 𝐿 ∈ ℕ0)
34 frlmfzoccat.w . . . 4 𝑊 = (𝐾 freeLMod (0..^𝐿))
35 frlmfzoccat.b . . . 4 𝐵 = (Base‘𝑊)
3634, 35, 4frlmfzowrdb 43572 . . 3 ((𝐾 ∈ 𝑍 ∧ 𝐿 ∈ ℕ0) → ((𝑈 ++ 𝑉) ∈ 𝐵 ↔ ((𝑈 ++ 𝑉) ∈ Word (Base‘𝐾) ∧ (♯‘(𝑈 ++ 𝑉)) = 𝐿)))
3731, 33, 36syl2anc 596 . 2 (𝜑 → ((𝑈 ++ 𝑉) ∈ 𝐵 ↔ ((𝑈 ++ 𝑉) ∈ Word (Base‘𝐾) ∧ (♯‘(𝑈 ++ 𝑉)) = 𝐿)))
3813, 30, 37mpbir2and 726 1 (𝜑 → (𝑈 ++ 𝑉) ∈ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⟶wf 6534  ‘cfv 6538  (class class class)co 7420  0cc0 11200   + caddc 11203  ℕ0cn0 12606  ..^cfzo 13788  ♯chash 14474  Word cword 14658   ++ cconcat 14715  Basecbs 17387   freeLMod cfrlm 22052
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-tp 4588  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  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 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-supp 8178  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-er 8717  df-map 8849  df-ixp 8926  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-fsupp 9354  df-sup 9434  df-card 10020  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-nn 12336  df-2 12405  df-3 12406  df-4 12407  df-5 12408  df-6 12409  df-7 12410  df-8 12411  df-9 12412  df-n0 12607  df-z 12694  df-dec 12815  df-uz 12966  df-fz 13640  df-fzo 13789  df-hash 14475  df-word 14659  df-concat 14716  df-struct 17325  df-sets 17342  df-slot 17360  df-ndx 17372  df-base 17388  df-ress 17409  df-plusg 17441  df-mulr 17442  df-sca 17444  df-vsca 17445  df-ip 17446  df-tset 17447  df-ple 17448  df-ds 17450  df-hom 17452  df-cco 17453  df-0g 17612  df-prds 17618  df-pws 17620  df-sra 21448  df-rgmod 21449  df-dsmm 22038  df-frlm 22053
This theorem is used by:  frlmvscadiccat  43574
  Copyright terms: Public domain W3C validator