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 43765
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 43762 . . . 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 43762 . . . 4 (𝑉 ∈ 𝐷 → 𝑉 ∈ Word (Base‘𝐾))
117, 10syl 18 . . 3 (𝜑 → 𝑉 ∈ Word (Base‘𝐾))
12 ccatcl 14746 . . 3 ((𝑈 ∈ Word (Base‘𝐾) ∧ 𝑉 ∈ Word (Base‘𝐾)) → (𝑈 ++ 𝑉) ∈ Word (Base‘𝐾))
136, 11, 12syl2anc 596 . 2 (𝜑 → (𝑈 ++ 𝑉) ∈ Word (Base‘𝐾))
14 ccatlen 14747 . . . 4 ((𝑈 ∈ Word (Base‘𝐾) ∧ 𝑉 ∈ Word (Base‘𝐾)) → (♯‘(𝑈 ++ 𝑉)) = ((♯‘𝑈) + (♯‘𝑉)))
156, 11, 14syl2anc 596 . . 3 (𝜑 → (♯‘(𝑈 ++ 𝑉)) = ((♯‘𝑈) + (♯‘𝑉)))
16 frlmfzoccat.m . . . . 5 (𝜑 → 𝑀 ∈ ℕ0)
17 ovexd 7478 . . . . . 6 (𝜑 → (0..^𝑀) ∈ V)
182, 4, 3frlmbasf 22096 . . . . . 6 (((0..^𝑀) ∈ V ∧ 𝑈 ∈ 𝐶) → 𝑈:(0..^𝑀)⟶(Base‘𝐾))
1917, 1, 18syl2anc 596 . . . . 5 (𝜑 → 𝑈:(0..^𝑀)⟶(Base‘𝐾))
20 fnfzo0hash 14622 . . . . 5 ((𝑀 ∈ ℕ0 ∧ 𝑈:(0..^𝑀)⟶(Base‘𝐾)) → (♯‘𝑈) = 𝑀)
2116, 19, 20syl2anc 596 . . . 4 (𝜑 → (♯‘𝑈) = 𝑀)
22 frlmfzoccat.n . . . . 5 (𝜑 → 𝑁 ∈ ℕ0)
23 ovexd 7478 . . . . . 6 (𝜑 → (0..^𝑁) ∈ V)
248, 4, 9frlmbasf 22096 . . . . . 6 (((0..^𝑁) ∈ V ∧ 𝑉 ∈ 𝐷) → 𝑉:(0..^𝑁)⟶(Base‘𝐾))
2523, 7, 24syl2anc 596 . . . . 5 (𝜑 → 𝑉:(0..^𝑁)⟶(Base‘𝐾))
26 fnfzo0hash 14622 . . . . 5 ((𝑁 ∈ ℕ0 ∧ 𝑉:(0..^𝑁)⟶(Base‘𝐾)) → (♯‘𝑉) = 𝑁)
2722, 25, 26syl2anc 596 . . . 4 (𝜑 → (♯‘𝑉) = 𝑁)
2821, 27oveq12d 7461 . . 3 (𝜑 → ((♯‘𝑈) + (♯‘𝑉)) = (𝑀 + 𝑁))
29 frlmfzoccat.l . . 3 (𝜑 → (𝑀 + 𝑁) = 𝐿)
3015, 28, 293eqtrd 2802 . 2 (𝜑 → (♯‘(𝑈 ++ 𝑉)) = 𝐿)
31 frlmfzoccat.k . . 3 (𝜑 → 𝐾 ∈ 𝑍)
3216, 22nn0addcld 12698 . . . 4 (𝜑 → (𝑀 + 𝑁) ∈ ℕ0)
3329, 32eqeltrrd 2865 . . 3 (𝜑 → 𝐿 ∈ ℕ0)
34 frlmfzoccat.w . . . 4 𝑊 = (𝐾 freeLMod (0..^𝐿))
35 frlmfzoccat.b . . . 4 𝐵 = (Base‘𝑊)
3634, 35, 4frlmfzowrdb 43764 . . 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 6554  ‘cfv 6558  (class class class)co 7443  0cc0 11227   + caddc 11230  ℕ0cn0 12633  ..^cfzo 13815  ♯chash 14501  Word cword 14685   ++ cconcat 14742  Basecbs 17416   freeLMod cfrlm 22082
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 7775  ax-cnex 11283  ax-resscn 11284  ax-1cn 11285  ax-icn 11286  ax-addcl 11287  ax-addrcl 11288  ax-mulcl 11289  ax-mulrcl 11290  ax-mulcom 11291  ax-addass 11292  ax-mulass 11293  ax-distr 11294  ax-i2m1 11295  ax-1ne0 11296  ax-1rid 11297  ax-rnegex 11298  ax-rrecex 11299  ax-cnre 11300  ax-pre-lttri 11301  ax-pre-lttrn 11302  ax-pre-ltadd 11303  ax-pre-mulgt0 11304
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 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-riota 7400  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-1st 8025  df-2nd 8026  df-supp 8205  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-1o 8504  df-er 8745  df-map 8877  df-ixp 8954  df-en 9002  df-dom 9003  df-sdom 9004  df-fin 9005  df-fsupp 9382  df-sup 9461  df-card 10047  df-pnf 11372  df-mnf 11373  df-xr 11374  df-ltxr 11375  df-le 11376  df-sub 11570  df-neg 11571  df-nn 12363  df-2 12432  df-3 12433  df-4 12434  df-5 12435  df-6 12436  df-7 12437  df-8 12438  df-9 12439  df-n0 12634  df-z 12721  df-dec 12842  df-uz 12993  df-fz 13667  df-fzo 13816  df-hash 14502  df-word 14686  df-concat 14743  df-struct 17354  df-sets 17371  df-slot 17389  df-ndx 17401  df-base 17417  df-ress 17438  df-plusg 17470  df-mulr 17471  df-sca 17473  df-vsca 17474  df-ip 17475  df-tset 17476  df-ple 17477  df-ds 17479  df-hom 17481  df-cco 17482  df-0g 17641  df-prds 17647  df-pws 17649  df-sra 21478  df-rgmod 21479  df-dsmm 22068  df-frlm 22083
This theorem is used by:  frlmvscadiccat  43766
  Copyright terms: Public domain W3C validator