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

Theorem seq1 13929
Description: Value of the sequence builder function at its initial value. (Contributed by Mario Carneiro, 24-Jun-2013.) (Revised by Mario Carneiro, 15-Sep-2013.)
Assertion
Ref Expression
seq1 (𝑀 ∈ ℤ → (seq𝑀( + , 𝐹)‘𝑀) = (𝐹𝑀))

Proof of Theorem seq1
Dummy variables 𝑥 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 seqeq1 13919 . . . 4 (𝑀 = if(𝑀 ∈ ℤ, 𝑀, 0) → seq𝑀( + , 𝐹) = seqif(𝑀 ∈ ℤ, 𝑀, 0)( + , 𝐹))
2 id 22 . . . 4 (𝑀 = if(𝑀 ∈ ℤ, 𝑀, 0) → 𝑀 = if(𝑀 ∈ ℤ, 𝑀, 0))
31, 2fveq12d 6854 . . 3 (𝑀 = if(𝑀 ∈ ℤ, 𝑀, 0) → (seq𝑀( + , 𝐹)‘𝑀) = (seqif(𝑀 ∈ ℤ, 𝑀, 0)( + , 𝐹)‘if(𝑀 ∈ ℤ, 𝑀, 0)))
4 fveq2 6847 . . 3 (𝑀 = if(𝑀 ∈ ℤ, 𝑀, 0) → (𝐹𝑀) = (𝐹‘if(𝑀 ∈ ℤ, 𝑀, 0)))
53, 4eqeq12d 2747 . 2 (𝑀 = if(𝑀 ∈ ℤ, 𝑀, 0) → ((seq𝑀( + , 𝐹)‘𝑀) = (𝐹𝑀) ↔ (seqif(𝑀 ∈ ℤ, 𝑀, 0)( + , 𝐹)‘if(𝑀 ∈ ℤ, 𝑀, 0)) = (𝐹‘if(𝑀 ∈ ℤ, 𝑀, 0))))
6 0z 12519 . . . 4 0 ∈ ℤ
76elimel 4560 . . 3 if(𝑀 ∈ ℤ, 𝑀, 0) ∈ ℤ
8 eqid 2731 . . 3 (rec((𝑥 ∈ V ↦ (𝑥 + 1)), if(𝑀 ∈ ℤ, 𝑀, 0)) ↾ ω) = (rec((𝑥 ∈ V ↦ (𝑥 + 1)), if(𝑀 ∈ ℤ, 𝑀, 0)) ↾ ω)
9 fvex 6860 . . 3 (𝐹‘if(𝑀 ∈ ℤ, 𝑀, 0)) ∈ V
10 eqid 2731 . . 3 (rec((𝑥 ∈ V, 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ V, 𝑤 ∈ V ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨if(𝑀 ∈ ℤ, 𝑀, 0), (𝐹‘if(𝑀 ∈ ℤ, 𝑀, 0))⟩) ↾ ω) = (rec((𝑥 ∈ V, 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ V, 𝑤 ∈ V ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨if(𝑀 ∈ ℤ, 𝑀, 0), (𝐹‘if(𝑀 ∈ ℤ, 𝑀, 0))⟩) ↾ ω)
1110seqval 13927 . . 3 seqif(𝑀 ∈ ℤ, 𝑀, 0)( + , 𝐹) = ran (rec((𝑥 ∈ V, 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ V, 𝑤 ∈ V ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨if(𝑀 ∈ ℤ, 𝑀, 0), (𝐹‘if(𝑀 ∈ ℤ, 𝑀, 0))⟩) ↾ ω)
127, 8, 9, 10, 11uzrdg0i 13874 . 2 (seqif(𝑀 ∈ ℤ, 𝑀, 0)( + , 𝐹)‘if(𝑀 ∈ ℤ, 𝑀, 0)) = (𝐹‘if(𝑀 ∈ ℤ, 𝑀, 0))
135, 12dedth 4549 1 (𝑀 ∈ ℤ → (seq𝑀( + , 𝐹)‘𝑀) = (𝐹𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1541  wcel 2106  Vcvv 3446  ifcif 4491  cop 4597  cmpt 5193  cres 5640  cfv 6501  (class class class)co 7362  cmpo 7364  ωcom 7807  reccrdg 8360  0cc0 11060  1c1 11061   + caddc 11063  cz 12508  seqcseq 13916
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-sep 5261  ax-nul 5268  ax-pow 5325  ax-pr 5389  ax-un 7677  ax-cnex 11116  ax-resscn 11117  ax-1cn 11118  ax-icn 11119  ax-addcl 11120  ax-addrcl 11121  ax-mulcl 11122  ax-mulrcl 11123  ax-mulcom 11124  ax-addass 11125  ax-mulass 11126  ax-distr 11127  ax-i2m1 11128  ax-1ne0 11129  ax-1rid 11130  ax-rnegex 11131  ax-rrecex 11132  ax-cnre 11133  ax-pre-lttri 11134  ax-pre-lttrn 11135  ax-pre-ltadd 11136  ax-pre-mulgt0 11137
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-reu 3352  df-rab 3406  df-v 3448  df-sbc 3743  df-csb 3859  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3932  df-nul 4288  df-if 4492  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-iun 4961  df-br 5111  df-opab 5173  df-mpt 5194  df-tr 5228  df-id 5536  df-eprel 5542  df-po 5550  df-so 5551  df-fr 5593  df-we 5595  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6258  df-ord 6325  df-on 6326  df-lim 6327  df-suc 6328  df-iota 6453  df-fun 6503  df-fn 6504  df-f 6505  df-f1 6506  df-fo 6507  df-f1o 6508  df-fv 6509  df-riota 7318  df-ov 7365  df-oprab 7366  df-mpo 7367  df-om 7808  df-2nd 7927  df-frecs 8217  df-wrecs 8248  df-recs 8322  df-rdg 8361  df-er 8655  df-en 8891  df-dom 8892  df-sdom 8893  df-pnf 11200  df-mnf 11201  df-xr 11202  df-ltxr 11203  df-le 11204  df-sub 11396  df-neg 11397  df-nn 12163  df-n0 12423  df-z 12509  df-uz 12773  df-seq 13917
This theorem is referenced by:  seq1i  13930  seqexw  13932  seqcl2  13936  seqfveq2  13940  seqfveq  13942  seqshft2  13944  seqsplit  13951  seq1p  13952  seqcaopr3  13953  seqf1olem2a  13956  seqf1olem2  13958  seqf1o  13959  seqid  13963  seqhomo  13965  seqz  13966  exp1  13983  fac1  14187  bcn2  14229  seqcoll  14375  isumrpcl  15739  clim2prod  15784  prodfn0  15790  prodfrec  15791  ruclem6  16128  sadc0  16345  smup0  16370  seq1st  16458  algr0  16459  eulerthlem2  16665  pcmpt  16775  gsumsplit1r  18556  gsumprval  18557  mulgfval  18888  voliunlem1  24951  volsup  24957  abelthlem6  25832  abelthlem9  25836  leibpi  26329  bposlem5  26673  opsqrlem2  31146  esumfzf  32757  sseqp1  33084  rrvsum  33143  cvmliftlem4  33969  iprodefisumlem  34399  faclimlem1  34402  heiborlem4  36346  fmul01  43941  fmuldfeq  43944  fmul01lt1lem1  43945  stoweidlem3  44364  wallispilem4  44429  wallispi2lem1  44432  wallispi2lem2  44433  stirlinglem7  44441  stirlinglem11  44445  sge0isum  44788  ackval0  46886
  Copyright terms: Public domain W3C validator