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 43763
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 2763 . . . . 5 (Base‘𝐾) = (Base‘𝐾)
52, 3, 4frlmfzowrd 43760 . . . 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 43760 . . . 4 (𝑉 ∈ 𝐷 → 𝑉 ∈ Word (Base‘𝐾))
117, 10syl 18 . . 3 (𝜑 → 𝑉 ∈ Word (Base‘𝐾))
12 ccatcl 14743 . . 3 ((𝑈 ∈ Word (Base‘𝐾) ∧ 𝑉 ∈ Word (Base‘𝐾)) → (𝑈 ++ 𝑉) ∈ Word (Base‘𝐾))
136, 11, 12syl2anc 596 . 2 (𝜑 → (𝑈 ++ 𝑉) ∈ Word (Base‘𝐾))
14 ccatlen 14744 . . . 4 ((𝑈 ∈ Word (Base‘𝐾) ∧ 𝑉 ∈ Word (Base‘𝐾)) → (♯‘(𝑈 ++ 𝑉)) = ((♯‘𝑈) + (♯‘𝑉)))
156, 11, 14syl2anc 596 . . 3 (𝜑 → (♯‘(𝑈 ++ 𝑉)) = ((♯‘𝑈) + (♯‘𝑉)))
16 frlmfzoccat.m . . . . 5 (𝜑 → 𝑀 ∈ ℕ0)
17 ovexd 7475 . . . . . 6 (𝜑 → (0..^𝑀) ∈ V)
182, 4, 3frlmbasf 22093 . . . . . 6 (((0..^𝑀) ∈ V ∧ 𝑈 ∈ 𝐶) → 𝑈:(0..^𝑀)⟶(Base‘𝐾))
1917, 1, 18syl2anc 596 . . . . 5 (𝜑 → 𝑈:(0..^𝑀)⟶(Base‘𝐾))
20 fnfzo0hash 14619 . . . . 5 ((𝑀 ∈ ℕ0 ∧ 𝑈:(0..^𝑀)⟶(Base‘𝐾)) → (♯‘𝑈) = 𝑀)
2116, 19, 20syl2anc 596 . . . 4 (𝜑 → (♯‘𝑈) = 𝑀)
22 frlmfzoccat.n . . . . 5 (𝜑 → 𝑁 ∈ ℕ0)
23 ovexd 7475 . . . . . 6 (𝜑 → (0..^𝑁) ∈ V)
248, 4, 9frlmbasf 22093 . . . . . 6 (((0..^𝑁) ∈ V ∧ 𝑉 ∈ 𝐷) → 𝑉:(0..^𝑁)⟶(Base‘𝐾))
2523, 7, 24syl2anc 596 . . . . 5 (𝜑 → 𝑉:(0..^𝑁)⟶(Base‘𝐾))
26 fnfzo0hash 14619 . . . . 5 ((𝑁 ∈ ℕ0 ∧ 𝑉:(0..^𝑁)⟶(Base‘𝐾)) → (♯‘𝑉) = 𝑁)
2722, 25, 26syl2anc 596 . . . 4 (𝜑 → (♯‘𝑉) = 𝑁)
2821, 27oveq12d 7458 . . 3 (𝜑 → ((♯‘𝑈) + (♯‘𝑉)) = (𝑀 + 𝑁))
29 frlmfzoccat.l . . 3 (𝜑 → (𝑀 + 𝑁) = 𝐿)
3015, 28, 293eqtrd 2802 . 2 (𝜑 → (♯‘(𝑈 ++ 𝑉)) = 𝐿)
31 frlmfzoccat.k . . 3 (𝜑 → 𝐾 ∈ 𝑍)
3216, 22nn0addcld 12695 . . . 4 (𝜑 → (𝑀 + 𝑁) ∈ ℕ0)
3329, 32eqeltrrd 2865 . . 3 (𝜑 → 𝐿 ∈ ℕ0)
34 frlmfzoccat.w . . . 4 𝑊 = (𝐾 freeLMod (0..^𝐿))
35 frlmfzoccat.b . . . 4 𝐵 = (Base‘𝑊)
3634, 35, 4frlmfzowrdb 43762 . . 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 1570   ∈ wcel 2147  Vcvv 3454  ⟶wf 6551  ‘cfv 6555  (class class class)co 7440  0cc0 11224   + caddc 11227  ℕ0cn0 12630  ..^cfzo 13812  ♯chash 14498  Word cword 14682   ++ cconcat 14739  Basecbs 17413   freeLMod cfrlm 22079
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-cnex 11280  ax-resscn 11281  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300  ax-pre-mulgt0 11301
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-om 7899  df-1st 8022  df-2nd 8023  df-supp 8202  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  df-1o 8501  df-er 8742  df-map 8874  df-ixp 8951  df-en 8999  df-dom 9000  df-sdom 9001  df-fin 9002  df-fsupp 9379  df-sup 9458  df-card 10044  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-nn 12360  df-2 12429  df-3 12430  df-4 12431  df-5 12432  df-6 12433  df-7 12434  df-8 12435  df-9 12436  df-n0 12631  df-z 12718  df-dec 12839  df-uz 12990  df-fz 13664  df-fzo 13813  df-hash 14499  df-word 14683  df-concat 14740  df-struct 17351  df-sets 17368  df-slot 17386  df-ndx 17398  df-base 17414  df-ress 17435  df-plusg 17467  df-mulr 17468  df-sca 17470  df-vsca 17471  df-ip 17472  df-tset 17473  df-ple 17474  df-ds 17476  df-hom 17478  df-cco 17479  df-0g 17638  df-prds 17644  df-pws 17646  df-sra 21475  df-rgmod 21476  df-dsmm 22065  df-frlm 22080
This theorem is used by:  frlmvscadiccat  43764
  Copyright terms: Public domain W3C validator