MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  repsco Structured version   Visualization version   GIF version

Theorem repsco 13585
Description: Mapping of words commutes with the "repeated symbol" operation. (Contributed by AV, 11-Nov-2018.)
Assertion
Ref Expression
repsco ((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) → (𝐹 ∘ (𝑆 repeatS 𝑁)) = ((𝐹𝑆) repeatS 𝑁))

Proof of Theorem repsco
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 simpl1 1064 . . . . 5 (((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) ∧ 𝑥 ∈ (0..^𝑁)) → 𝑆𝐴)
2 simpl2 1065 . . . . 5 (((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) ∧ 𝑥 ∈ (0..^𝑁)) → 𝑁 ∈ ℕ0)
3 simpr 477 . . . . 5 (((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) ∧ 𝑥 ∈ (0..^𝑁)) → 𝑥 ∈ (0..^𝑁))
4 repswsymb 13521 . . . . 5 ((𝑆𝐴𝑁 ∈ ℕ0𝑥 ∈ (0..^𝑁)) → ((𝑆 repeatS 𝑁)‘𝑥) = 𝑆)
51, 2, 3, 4syl3anc 1326 . . . 4 (((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) ∧ 𝑥 ∈ (0..^𝑁)) → ((𝑆 repeatS 𝑁)‘𝑥) = 𝑆)
65fveq2d 6195 . . 3 (((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) ∧ 𝑥 ∈ (0..^𝑁)) → (𝐹‘((𝑆 repeatS 𝑁)‘𝑥)) = (𝐹𝑆))
76mpteq2dva 4744 . 2 ((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) → (𝑥 ∈ (0..^𝑁) ↦ (𝐹‘((𝑆 repeatS 𝑁)‘𝑥))) = (𝑥 ∈ (0..^𝑁) ↦ (𝐹𝑆)))
8 simp3 1063 . . 3 ((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) → 𝐹:𝐴𝐵)
9 repsf 13520 . . . 4 ((𝑆𝐴𝑁 ∈ ℕ0) → (𝑆 repeatS 𝑁):(0..^𝑁)⟶𝐴)
1093adant3 1081 . . 3 ((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) → (𝑆 repeatS 𝑁):(0..^𝑁)⟶𝐴)
11 fcompt 6400 . . 3 ((𝐹:𝐴𝐵 ∧ (𝑆 repeatS 𝑁):(0..^𝑁)⟶𝐴) → (𝐹 ∘ (𝑆 repeatS 𝑁)) = (𝑥 ∈ (0..^𝑁) ↦ (𝐹‘((𝑆 repeatS 𝑁)‘𝑥))))
128, 10, 11syl2anc 693 . 2 ((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) → (𝐹 ∘ (𝑆 repeatS 𝑁)) = (𝑥 ∈ (0..^𝑁) ↦ (𝐹‘((𝑆 repeatS 𝑁)‘𝑥))))
13 fvexd 6203 . . . . 5 (𝑆𝐴 → (𝐹𝑆) ∈ V)
1413anim1i 592 . . . 4 ((𝑆𝐴𝑁 ∈ ℕ0) → ((𝐹𝑆) ∈ V ∧ 𝑁 ∈ ℕ0))
15143adant3 1081 . . 3 ((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) → ((𝐹𝑆) ∈ V ∧ 𝑁 ∈ ℕ0))
16 reps 13517 . . 3 (((𝐹𝑆) ∈ V ∧ 𝑁 ∈ ℕ0) → ((𝐹𝑆) repeatS 𝑁) = (𝑥 ∈ (0..^𝑁) ↦ (𝐹𝑆)))
1715, 16syl 17 . 2 ((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) → ((𝐹𝑆) repeatS 𝑁) = (𝑥 ∈ (0..^𝑁) ↦ (𝐹𝑆)))
187, 12, 173eqtr4d 2666 1 ((𝑆𝐴𝑁 ∈ ℕ0𝐹:𝐴𝐵) → (𝐹 ∘ (𝑆 repeatS 𝑁)) = ((𝐹𝑆) repeatS 𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  w3a 1037   = wceq 1483  wcel 1990  Vcvv 3200  cmpt 4729  ccom 5118  wf 5884  cfv 5888  (class class class)co 6650  0cc0 9936  0cn0 11292  ..^cfzo 12465   repeatS creps 13298
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-reps 13306
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator