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

Theorem seqof 13708
Description: Distribute function operation through a sequence. Note that 𝐺(𝑧) is an implicit function on 𝑧. (Contributed by Mario Carneiro, 3-Mar-2015.)
Hypotheses
Ref Expression
seqof.1 (𝜑𝐴𝑉)
seqof.2 (𝜑𝑁 ∈ (ℤ𝑀))
seqof.3 ((𝜑𝑥 ∈ (𝑀...𝑁)) → (𝐹𝑥) = (𝑧𝐴 ↦ (𝐺𝑥)))
Assertion
Ref Expression
seqof (𝜑 → (seq𝑀( ∘f + , 𝐹)‘𝑁) = (𝑧𝐴 ↦ (seq𝑀( + , 𝐺)‘𝑁)))
Distinct variable groups:   𝑥,𝑧,𝐴   𝑥,𝐹,𝑧   𝑥,𝐺   𝑥,𝑀,𝑧   𝑥,𝑁,𝑧   𝑥, + ,𝑧   𝜑,𝑥,𝑧
Allowed substitution hints:   𝐺(𝑧)   𝑉(𝑥,𝑧)

Proof of Theorem seqof
Dummy variables 𝑦 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 seqof.2 . . . . 5 (𝜑𝑁 ∈ (ℤ𝑀))
2 fvex 6769 . . . . . . . . 9 (𝐺𝑥) ∈ V
32rgenw 3075 . . . . . . . 8 𝑧𝐴 (𝐺𝑥) ∈ V
4 eqid 2738 . . . . . . . . 9 (𝑧𝐴 ↦ (𝐺𝑥)) = (𝑧𝐴 ↦ (𝐺𝑥))
54fnmpt 6557 . . . . . . . 8 (∀𝑧𝐴 (𝐺𝑥) ∈ V → (𝑧𝐴 ↦ (𝐺𝑥)) Fn 𝐴)
63, 5mp1i 13 . . . . . . 7 ((𝜑𝑥 ∈ (𝑀...𝑁)) → (𝑧𝐴 ↦ (𝐺𝑥)) Fn 𝐴)
7 seqof.3 . . . . . . . 8 ((𝜑𝑥 ∈ (𝑀...𝑁)) → (𝐹𝑥) = (𝑧𝐴 ↦ (𝐺𝑥)))
87fneq1d 6510 . . . . . . 7 ((𝜑𝑥 ∈ (𝑀...𝑁)) → ((𝐹𝑥) Fn 𝐴 ↔ (𝑧𝐴 ↦ (𝐺𝑥)) Fn 𝐴))
96, 8mpbird 256 . . . . . 6 ((𝜑𝑥 ∈ (𝑀...𝑁)) → (𝐹𝑥) Fn 𝐴)
10 fvex 6769 . . . . . . 7 (𝐹𝑥) ∈ V
11 fneq1 6508 . . . . . . 7 (𝑧 = (𝐹𝑥) → (𝑧 Fn 𝐴 ↔ (𝐹𝑥) Fn 𝐴))
1210, 11elab 3602 . . . . . 6 ((𝐹𝑥) ∈ {𝑧𝑧 Fn 𝐴} ↔ (𝐹𝑥) Fn 𝐴)
139, 12sylibr 233 . . . . 5 ((𝜑𝑥 ∈ (𝑀...𝑁)) → (𝐹𝑥) ∈ {𝑧𝑧 Fn 𝐴})
14 simprl 767 . . . . . . . . 9 ((𝜑 ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) → 𝑥 Fn 𝐴)
15 simprr 769 . . . . . . . . 9 ((𝜑 ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) → 𝑦 Fn 𝐴)
16 seqof.1 . . . . . . . . . 10 (𝜑𝐴𝑉)
1716adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) → 𝐴𝑉)
18 inidm 4149 . . . . . . . . 9 (𝐴𝐴) = 𝐴
1914, 15, 17, 17, 18offn 7524 . . . . . . . 8 ((𝜑 ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) → (𝑥f + 𝑦) Fn 𝐴)
2019ex 412 . . . . . . 7 (𝜑 → ((𝑥 Fn 𝐴𝑦 Fn 𝐴) → (𝑥f + 𝑦) Fn 𝐴))
21 vex 3426 . . . . . . . . 9 𝑥 ∈ V
22 fneq1 6508 . . . . . . . . 9 (𝑧 = 𝑥 → (𝑧 Fn 𝐴𝑥 Fn 𝐴))
2321, 22elab 3602 . . . . . . . 8 (𝑥 ∈ {𝑧𝑧 Fn 𝐴} ↔ 𝑥 Fn 𝐴)
24 vex 3426 . . . . . . . . 9 𝑦 ∈ V
25 fneq1 6508 . . . . . . . . 9 (𝑧 = 𝑦 → (𝑧 Fn 𝐴𝑦 Fn 𝐴))
2624, 25elab 3602 . . . . . . . 8 (𝑦 ∈ {𝑧𝑧 Fn 𝐴} ↔ 𝑦 Fn 𝐴)
2723, 26anbi12i 626 . . . . . . 7 ((𝑥 ∈ {𝑧𝑧 Fn 𝐴} ∧ 𝑦 ∈ {𝑧𝑧 Fn 𝐴}) ↔ (𝑥 Fn 𝐴𝑦 Fn 𝐴))
28 ovex 7288 . . . . . . . 8 (𝑥f + 𝑦) ∈ V
29 fneq1 6508 . . . . . . . 8 (𝑧 = (𝑥f + 𝑦) → (𝑧 Fn 𝐴 ↔ (𝑥f + 𝑦) Fn 𝐴))
3028, 29elab 3602 . . . . . . 7 ((𝑥f + 𝑦) ∈ {𝑧𝑧 Fn 𝐴} ↔ (𝑥f + 𝑦) Fn 𝐴)
3120, 27, 303imtr4g 295 . . . . . 6 (𝜑 → ((𝑥 ∈ {𝑧𝑧 Fn 𝐴} ∧ 𝑦 ∈ {𝑧𝑧 Fn 𝐴}) → (𝑥f + 𝑦) ∈ {𝑧𝑧 Fn 𝐴}))
3231imp 406 . . . . 5 ((𝜑 ∧ (𝑥 ∈ {𝑧𝑧 Fn 𝐴} ∧ 𝑦 ∈ {𝑧𝑧 Fn 𝐴})) → (𝑥f + 𝑦) ∈ {𝑧𝑧 Fn 𝐴})
331, 13, 32seqcl 13671 . . . 4 (𝜑 → (seq𝑀( ∘f + , 𝐹)‘𝑁) ∈ {𝑧𝑧 Fn 𝐴})
34 fvex 6769 . . . . 5 (seq𝑀( ∘f + , 𝐹)‘𝑁) ∈ V
35 fneq1 6508 . . . . 5 (𝑧 = (seq𝑀( ∘f + , 𝐹)‘𝑁) → (𝑧 Fn 𝐴 ↔ (seq𝑀( ∘f + , 𝐹)‘𝑁) Fn 𝐴))
3634, 35elab 3602 . . . 4 ((seq𝑀( ∘f + , 𝐹)‘𝑁) ∈ {𝑧𝑧 Fn 𝐴} ↔ (seq𝑀( ∘f + , 𝐹)‘𝑁) Fn 𝐴)
3733, 36sylib 217 . . 3 (𝜑 → (seq𝑀( ∘f + , 𝐹)‘𝑁) Fn 𝐴)
38 dffn5 6810 . . 3 ((seq𝑀( ∘f + , 𝐹)‘𝑁) Fn 𝐴 ↔ (seq𝑀( ∘f + , 𝐹)‘𝑁) = (𝑧𝐴 ↦ ((seq𝑀( ∘f + , 𝐹)‘𝑁)‘𝑧)))
3937, 38sylib 217 . 2 (𝜑 → (seq𝑀( ∘f + , 𝐹)‘𝑁) = (𝑧𝐴 ↦ ((seq𝑀( ∘f + , 𝐹)‘𝑁)‘𝑧)))
40 fveq1 6755 . . . . . 6 (𝑤 = (seq𝑀( ∘f + , 𝐹)‘𝑁) → (𝑤𝑧) = ((seq𝑀( ∘f + , 𝐹)‘𝑁)‘𝑧))
41 eqid 2738 . . . . . 6 (𝑤 ∈ V ↦ (𝑤𝑧)) = (𝑤 ∈ V ↦ (𝑤𝑧))
42 fvex 6769 . . . . . 6 ((seq𝑀( ∘f + , 𝐹)‘𝑁)‘𝑧) ∈ V
4340, 41, 42fvmpt 6857 . . . . 5 ((seq𝑀( ∘f + , 𝐹)‘𝑁) ∈ V → ((𝑤 ∈ V ↦ (𝑤𝑧))‘(seq𝑀( ∘f + , 𝐹)‘𝑁)) = ((seq𝑀( ∘f + , 𝐹)‘𝑁)‘𝑧))
4434, 43mp1i 13 . . . 4 ((𝜑𝑧𝐴) → ((𝑤 ∈ V ↦ (𝑤𝑧))‘(seq𝑀( ∘f + , 𝐹)‘𝑁)) = ((seq𝑀( ∘f + , 𝐹)‘𝑁)‘𝑧))
4532adantlr 711 . . . . 5 (((𝜑𝑧𝐴) ∧ (𝑥 ∈ {𝑧𝑧 Fn 𝐴} ∧ 𝑦 ∈ {𝑧𝑧 Fn 𝐴})) → (𝑥f + 𝑦) ∈ {𝑧𝑧 Fn 𝐴})
4613adantlr 711 . . . . 5 (((𝜑𝑧𝐴) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝐹𝑥) ∈ {𝑧𝑧 Fn 𝐴})
471adantr 480 . . . . 5 ((𝜑𝑧𝐴) → 𝑁 ∈ (ℤ𝑀))
48 eqidd 2739 . . . . . . . . 9 (((𝜑 ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) ∧ 𝑧𝐴) → (𝑥𝑧) = (𝑥𝑧))
49 eqidd 2739 . . . . . . . . 9 (((𝜑 ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) ∧ 𝑧𝐴) → (𝑦𝑧) = (𝑦𝑧))
5014, 15, 17, 17, 18, 48, 49ofval 7522 . . . . . . . 8 (((𝜑 ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) ∧ 𝑧𝐴) → ((𝑥f + 𝑦)‘𝑧) = ((𝑥𝑧) + (𝑦𝑧)))
5150an32s 648 . . . . . . 7 (((𝜑𝑧𝐴) ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) → ((𝑥f + 𝑦)‘𝑧) = ((𝑥𝑧) + (𝑦𝑧)))
52 fveq1 6755 . . . . . . . . 9 (𝑤 = (𝑥f + 𝑦) → (𝑤𝑧) = ((𝑥f + 𝑦)‘𝑧))
53 fvex 6769 . . . . . . . . 9 ((𝑥f + 𝑦)‘𝑧) ∈ V
5452, 41, 53fvmpt 6857 . . . . . . . 8 ((𝑥f + 𝑦) ∈ V → ((𝑤 ∈ V ↦ (𝑤𝑧))‘(𝑥f + 𝑦)) = ((𝑥f + 𝑦)‘𝑧))
5528, 54ax-mp 5 . . . . . . 7 ((𝑤 ∈ V ↦ (𝑤𝑧))‘(𝑥f + 𝑦)) = ((𝑥f + 𝑦)‘𝑧)
56 fveq1 6755 . . . . . . . . . 10 (𝑤 = 𝑥 → (𝑤𝑧) = (𝑥𝑧))
57 fvex 6769 . . . . . . . . . 10 (𝑥𝑧) ∈ V
5856, 41, 57fvmpt 6857 . . . . . . . . 9 (𝑥 ∈ V → ((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑥) = (𝑥𝑧))
5958elv 3428 . . . . . . . 8 ((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑥) = (𝑥𝑧)
60 fveq1 6755 . . . . . . . . . 10 (𝑤 = 𝑦 → (𝑤𝑧) = (𝑦𝑧))
61 fvex 6769 . . . . . . . . . 10 (𝑦𝑧) ∈ V
6260, 41, 61fvmpt 6857 . . . . . . . . 9 (𝑦 ∈ V → ((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑦) = (𝑦𝑧))
6362elv 3428 . . . . . . . 8 ((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑦) = (𝑦𝑧)
6459, 63oveq12i 7267 . . . . . . 7 (((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑥) + ((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑦)) = ((𝑥𝑧) + (𝑦𝑧))
6551, 55, 643eqtr4g 2804 . . . . . 6 (((𝜑𝑧𝐴) ∧ (𝑥 Fn 𝐴𝑦 Fn 𝐴)) → ((𝑤 ∈ V ↦ (𝑤𝑧))‘(𝑥f + 𝑦)) = (((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑥) + ((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑦)))
6627, 65sylan2b 593 . . . . 5 (((𝜑𝑧𝐴) ∧ (𝑥 ∈ {𝑧𝑧 Fn 𝐴} ∧ 𝑦 ∈ {𝑧𝑧 Fn 𝐴})) → ((𝑤 ∈ V ↦ (𝑤𝑧))‘(𝑥f + 𝑦)) = (((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑥) + ((𝑤 ∈ V ↦ (𝑤𝑧))‘𝑦)))
67 fveq1 6755 . . . . . . . 8 (𝑤 = (𝐹𝑥) → (𝑤𝑧) = ((𝐹𝑥)‘𝑧))
68 fvex 6769 . . . . . . . 8 ((𝐹𝑥)‘𝑧) ∈ V
6967, 41, 68fvmpt 6857 . . . . . . 7 ((𝐹𝑥) ∈ V → ((𝑤 ∈ V ↦ (𝑤𝑧))‘(𝐹𝑥)) = ((𝐹𝑥)‘𝑧))
7010, 69ax-mp 5 . . . . . 6 ((𝑤 ∈ V ↦ (𝑤𝑧))‘(𝐹𝑥)) = ((𝐹𝑥)‘𝑧)
717adantlr 711 . . . . . . . 8 (((𝜑𝑧𝐴) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝐹𝑥) = (𝑧𝐴 ↦ (𝐺𝑥)))
7271fveq1d 6758 . . . . . . 7 (((𝜑𝑧𝐴) ∧ 𝑥 ∈ (𝑀...𝑁)) → ((𝐹𝑥)‘𝑧) = ((𝑧𝐴 ↦ (𝐺𝑥))‘𝑧))
73 simplr 765 . . . . . . . 8 (((𝜑𝑧𝐴) ∧ 𝑥 ∈ (𝑀...𝑁)) → 𝑧𝐴)
744fvmpt2 6868 . . . . . . . 8 ((𝑧𝐴 ∧ (𝐺𝑥) ∈ V) → ((𝑧𝐴 ↦ (𝐺𝑥))‘𝑧) = (𝐺𝑥))
7573, 2, 74sylancl 585 . . . . . . 7 (((𝜑𝑧𝐴) ∧ 𝑥 ∈ (𝑀...𝑁)) → ((𝑧𝐴 ↦ (𝐺𝑥))‘𝑧) = (𝐺𝑥))
7672, 75eqtrd 2778 . . . . . 6 (((𝜑𝑧𝐴) ∧ 𝑥 ∈ (𝑀...𝑁)) → ((𝐹𝑥)‘𝑧) = (𝐺𝑥))
7770, 76eqtrid 2790 . . . . 5 (((𝜑𝑧𝐴) ∧ 𝑥 ∈ (𝑀...𝑁)) → ((𝑤 ∈ V ↦ (𝑤𝑧))‘(𝐹𝑥)) = (𝐺𝑥))
7845, 46, 47, 66, 77seqhomo 13698 . . . 4 ((𝜑𝑧𝐴) → ((𝑤 ∈ V ↦ (𝑤𝑧))‘(seq𝑀( ∘f + , 𝐹)‘𝑁)) = (seq𝑀( + , 𝐺)‘𝑁))
7944, 78eqtr3d 2780 . . 3 ((𝜑𝑧𝐴) → ((seq𝑀( ∘f + , 𝐹)‘𝑁)‘𝑧) = (seq𝑀( + , 𝐺)‘𝑁))
8079mpteq2dva 5170 . 2 (𝜑 → (𝑧𝐴 ↦ ((seq𝑀( ∘f + , 𝐹)‘𝑁)‘𝑧)) = (𝑧𝐴 ↦ (seq𝑀( + , 𝐺)‘𝑁)))
8139, 80eqtrd 2778 1 (𝜑 → (seq𝑀( ∘f + , 𝐹)‘𝑁) = (𝑧𝐴 ↦ (seq𝑀( + , 𝐺)‘𝑁)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  {cab 2715  wral 3063  Vcvv 3422  cmpt 5153   Fn wfn 6413  cfv 6418  (class class class)co 7255  f cof 7509  cuz 12511  ...cfz 13168  seqcseq 13649
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-seq 13650
This theorem is referenced by:  seqof2  13709  mtest  25468  pserulm  25486  knoppcnlem7  34606
  Copyright terms: Public domain W3C validator