| Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > rrvsum | Structured version Visualization version GIF version | ||
| Description: An indexed sum of random variables is a random variable. (Contributed by Thierry Arnoux, 22-May-2017.) |
| Ref | Expression |
|---|---|
| rrvsum.1 | ⊢ (𝜑 → 𝑃 ∈ Prob) |
| rrvsum.2 | ⊢ (𝜑 → 𝑋:ℕ⟶(rRndVar‘𝑃)) |
| rrvsum.3 | ⊢ ((𝜑 ∧ 𝑁 ∈ ℕ) → 𝑆 = (seq1( ∘f + , 𝑋)‘𝑁)) |
| Ref | Expression |
|---|---|
| rrvsum | ⊢ ((𝜑 ∧ 𝑁 ∈ ℕ) → 𝑆 ∈ (rRndVar‘𝑃)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | rrvsum.3 | . 2 ⊢ ((𝜑 ∧ 𝑁 ∈ ℕ) → 𝑆 = (seq1( ∘f + , 𝑋)‘𝑁)) | |
| 2 | fveq2 6916 | . . . . . 6 ⊢ (𝑘 = 1 → (seq1( ∘f + , 𝑋)‘𝑘) = (seq1( ∘f + , 𝑋)‘1)) | |
| 3 | 2 | eleq1d 2849 | . . . . 5 ⊢ (𝑘 = 1 → ((seq1( ∘f + , 𝑋)‘𝑘) ∈ (rRndVar‘𝑃) ↔ (seq1( ∘f + , 𝑋)‘1) ∈ (rRndVar‘𝑃))) |
| 4 | 3 | imbi2d 343 | . . . 4 ⊢ (𝑘 = 1 → ((𝜑 → (seq1( ∘f + , 𝑋)‘𝑘) ∈ (rRndVar‘𝑃)) ↔ (𝜑 → (seq1( ∘f + , 𝑋)‘1) ∈ (rRndVar‘𝑃)))) |
| 5 | fveq2 6916 | . . . . . 6 ⊢ (𝑘 = 𝑛 → (seq1( ∘f + , 𝑋)‘𝑘) = (seq1( ∘f + , 𝑋)‘𝑛)) | |
| 6 | 5 | eleq1d 2849 | . . . . 5 ⊢ (𝑘 = 𝑛 → ((seq1( ∘f + , 𝑋)‘𝑘) ∈ (rRndVar‘𝑃) ↔ (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃))) |
| 7 | 6 | imbi2d 343 | . . . 4 ⊢ (𝑘 = 𝑛 → ((𝜑 → (seq1( ∘f + , 𝑋)‘𝑘) ∈ (rRndVar‘𝑃)) ↔ (𝜑 → (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)))) |
| 8 | fveq2 6916 | . . . . . 6 ⊢ (𝑘 = (𝑛 + 1) → (seq1( ∘f + , 𝑋)‘𝑘) = (seq1( ∘f + , 𝑋)‘(𝑛 + 1))) | |
| 9 | 8 | eleq1d 2849 | . . . . 5 ⊢ (𝑘 = (𝑛 + 1) → ((seq1( ∘f + , 𝑋)‘𝑘) ∈ (rRndVar‘𝑃) ↔ (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) ∈ (rRndVar‘𝑃))) |
| 10 | 9 | imbi2d 343 | . . . 4 ⊢ (𝑘 = (𝑛 + 1) → ((𝜑 → (seq1( ∘f + , 𝑋)‘𝑘) ∈ (rRndVar‘𝑃)) ↔ (𝜑 → (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) ∈ (rRndVar‘𝑃)))) |
| 11 | fveq2 6916 | . . . . . 6 ⊢ (𝑘 = 𝑁 → (seq1( ∘f + , 𝑋)‘𝑘) = (seq1( ∘f + , 𝑋)‘𝑁)) | |
| 12 | 11 | eleq1d 2849 | . . . . 5 ⊢ (𝑘 = 𝑁 → ((seq1( ∘f + , 𝑋)‘𝑘) ∈ (rRndVar‘𝑃) ↔ (seq1( ∘f + , 𝑋)‘𝑁) ∈ (rRndVar‘𝑃))) |
| 13 | 12 | imbi2d 343 | . . . 4 ⊢ (𝑘 = 𝑁 → ((𝜑 → (seq1( ∘f + , 𝑋)‘𝑘) ∈ (rRndVar‘𝑃)) ↔ (𝜑 → (seq1( ∘f + , 𝑋)‘𝑁) ∈ (rRndVar‘𝑃)))) |
| 14 | 1z 12766 | . . . . . 6 ⊢ 1 ∈ ℤ | |
| 15 | seq1 14197 | . . . . . 6 ⊢ (1 ∈ ℤ → (seq1( ∘f + , 𝑋)‘1) = (𝑋‘1)) | |
| 16 | 14, 15 | ax-mp 5 | . . . . 5 ⊢ (seq1( ∘f + , 𝑋)‘1) = (𝑋‘1) |
| 17 | 1nn 12386 | . . . . . 6 ⊢ 1 ∈ ℕ | |
| 18 | rrvsum.2 | . . . . . . 7 ⊢ (𝜑 → 𝑋:ℕ⟶(rRndVar‘𝑃)) | |
| 19 | 18 | ffvelcdmda 7116 | . . . . . 6 ⊢ ((𝜑 ∧ 1 ∈ ℕ) → (𝑋‘1) ∈ (rRndVar‘𝑃)) |
| 20 | 17, 19 | mpan2 704 | . . . . 5 ⊢ (𝜑 → (𝑋‘1) ∈ (rRndVar‘𝑃)) |
| 21 | 16, 20 | eqeltrid 2868 | . . . 4 ⊢ (𝜑 → (seq1( ∘f + , 𝑋)‘1) ∈ (rRndVar‘𝑃)) |
| 22 | seqp1 14199 | . . . . . . . . . 10 ⊢ (𝑛 ∈ (ℤ≥‘1) → (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) = ((seq1( ∘f + , 𝑋)‘𝑛) ∘f + (𝑋‘(𝑛 + 1)))) | |
| 23 | nnuz 13044 | . . . . . . . . . 10 ⊢ ℕ = (ℤ≥‘1) | |
| 24 | 22, 23 | eleq2s 2882 | . . . . . . . . 9 ⊢ (𝑛 ∈ ℕ → (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) = ((seq1( ∘f + , 𝑋)‘𝑛) ∘f + (𝑋‘(𝑛 + 1)))) |
| 25 | 24 | ad2antlr 740 | . . . . . . . 8 ⊢ (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)) → (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) = ((seq1( ∘f + , 𝑋)‘𝑛) ∘f + (𝑋‘(𝑛 + 1)))) |
| 26 | rrvsum.1 | . . . . . . . . . 10 ⊢ (𝜑 → 𝑃 ∈ Prob) | |
| 27 | 26 | ad2antrr 739 | . . . . . . . . 9 ⊢ (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)) → 𝑃 ∈ Prob) |
| 28 | simpr 490 | . . . . . . . . 9 ⊢ (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)) → (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)) | |
| 29 | peano2nn 12387 | . . . . . . . . . . 11 ⊢ (𝑛 ∈ ℕ → (𝑛 + 1) ∈ ℕ) | |
| 30 | 18 | ffvelcdmda 7116 | . . . . . . . . . . 11 ⊢ ((𝜑 ∧ (𝑛 + 1) ∈ ℕ) → (𝑋‘(𝑛 + 1)) ∈ (rRndVar‘𝑃)) |
| 31 | 29, 30 | sylan2 605 | . . . . . . . . . 10 ⊢ ((𝜑 ∧ 𝑛 ∈ ℕ) → (𝑋‘(𝑛 + 1)) ∈ (rRndVar‘𝑃)) |
| 32 | 31 | adantr 486 | . . . . . . . . 9 ⊢ (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)) → (𝑋‘(𝑛 + 1)) ∈ (rRndVar‘𝑃)) |
| 33 | 27, 28, 32 | rrvadd 35195 | . . . . . . . 8 ⊢ (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)) → ((seq1( ∘f + , 𝑋)‘𝑛) ∘f + (𝑋‘(𝑛 + 1))) ∈ (rRndVar‘𝑃)) |
| 34 | 25, 33 | eqeltrd 2864 | . . . . . . 7 ⊢ (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)) → (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) ∈ (rRndVar‘𝑃)) |
| 35 | 34 | ex 418 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑛 ∈ ℕ) → ((seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃) → (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) ∈ (rRndVar‘𝑃))) |
| 36 | 35 | expcom 419 | . . . . 5 ⊢ (𝑛 ∈ ℕ → (𝜑 → ((seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃) → (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) ∈ (rRndVar‘𝑃)))) |
| 37 | 36 | a2d 30 | . . . 4 ⊢ (𝑛 ∈ ℕ → ((𝜑 → (seq1( ∘f + , 𝑋)‘𝑛) ∈ (rRndVar‘𝑃)) → (𝜑 → (seq1( ∘f + , 𝑋)‘(𝑛 + 1)) ∈ (rRndVar‘𝑃)))) |
| 38 | 4, 7, 10, 13, 21, 37 | nnind 12393 | . . 3 ⊢ (𝑁 ∈ ℕ → (𝜑 → (seq1( ∘f + , 𝑋)‘𝑁) ∈ (rRndVar‘𝑃))) |
| 39 | 38 | impcom 413 | . 2 ⊢ ((𝜑 ∧ 𝑁 ∈ ℕ) → (seq1( ∘f + , 𝑋)‘𝑁) ∈ (rRndVar‘𝑃)) |
| 40 | 1, 39 | eqeltrd 2864 | 1 ⊢ ((𝜑 ∧ 𝑁 ∈ ℕ) → 𝑆 ∈ (rRndVar‘𝑃)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1570 ∈ wcel 2147 ⟶wf 6562 ‘cfv 6566 (class class class)co 7451 ∘f cof 7723 1c1 11240 + caddc 11242 ℕcn 12375 ℤcz 12733 ℤ≥cuz 13005 seqcseq 14184 Probcprb 35150 rRndVarcrrv 35183 |
| 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 5238 ax-sep 5255 ax-nul 5266 ax-pow 5334 ax-pr 5398 ax-un 7783 ax-inf2 9679 ax-cnex 11295 ax-resscn 11296 ax-1cn 11297 ax-icn 11298 ax-addcl 11299 ax-addrcl 11300 ax-mulcl 11301 ax-mulrcl 11302 ax-mulcom 11303 ax-addass 11304 ax-mulass 11305 ax-distr 11306 ax-i2m1 11307 ax-1ne0 11308 ax-1rid 11309 ax-rnegex 11310 ax-rrecex 11311 ax-cnre 11312 ax-pre-lttri 11313 ax-pre-lttrn 11314 ax-pre-ltadd 11315 ax-pre-mulgt0 11316 ax-pre-sup 11317 ax-addf 11318 |
| 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-rmo 3369 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 4841 df-uni 4873 df-int 4913 df-iun 4958 df-iin 4959 df-br 5109 df-opab 5174 df-mpt 5193 df-tr 5219 df-id 5553 df-eprel 5558 df-po 5566 df-so 5567 df-fr 5611 df-se 5612 df-we 5613 df-xp 5664 df-rel 5665 df-cnv 5666 df-co 5667 df-dm 5668 df-rn 5669 df-res 5670 df-ima 5671 df-pred 6330 df-ord 6391 df-on 6392 df-lim 6393 df-suc 6394 df-iota 6520 df-fun 6568 df-fn 6569 df-f 6570 df-f1 6571 df-fo 6572 df-f1o 6573 df-fv 6574 df-isom 6575 df-riota 7408 df-ov 7454 df-oprab 7455 df-mpo 7456 df-of 7725 df-om 7912 df-1st 8035 df-2nd 8036 df-supp 8215 df-frecs 8337 df-wrecs 8368 df-recs 8417 df-rdg 8456 df-1o 8514 df-2o 8515 df-oadd 8518 df-omul 8519 df-er 8755 df-map 8887 df-pm 8888 df-ixp 8964 df-en 9012 df-dom 9013 df-sdom 9014 df-fin 9015 df-fsupp 9392 df-fi 9440 df-sup 9471 df-inf 9472 df-oi 9541 df-dju 10019 df-card 10057 df-acn 10060 df-pnf 11384 df-mnf 11385 df-xr 11386 df-ltxr 11387 df-le 11388 df-sub 11582 df-neg 11583 df-div 12014 df-nn 12376 df-2 12445 df-3 12446 df-4 12447 df-5 12448 df-6 12449 df-7 12450 df-8 12451 df-9 12452 df-n0 12647 df-z 12734 df-dec 12855 df-uz 13006 df-q 13116 df-rp 13161 df-xneg 13281 df-xadd 13282 df-xmul 13283 df-ioo 13520 df-ioc 13521 df-ico 13522 df-icc 13523 df-fz 13680 df-fzo 13829 df-fl 13972 df-mod 14050 df-seq 14185 df-exp 14245 df-fac 14459 df-bc 14488 df-hash 14516 df-shft 15263 df-cj 15309 df-re 15310 df-im 15311 df-sqrt 15445 df-abs 15446 df-limsup 15682 df-clim 15699 df-rlim 15700 df-sum 15898 df-ef 16277 df-sin 16279 df-cos 16280 df-pi 16282 df-struct 17369 df-sets 17386 df-slot 17404 df-ndx 17416 df-base 17432 df-ress 17453 df-plusg 17486 df-mulr 17487 df-starv 17488 df-sca 17489 df-vsca 17490 df-ip 17491 df-tset 17492 df-ple 17493 df-ds 17495 df-unif 17496 df-hom 17497 df-cco 17498 df-euf 17499 df-rest 17643 df-topn 17644 df-0g 17662 df-gsum 17663 df-topgen 17664 df-pt 17665 df-prds 17668 df-xrs 17724 df-qtop 17729 df-imas 17730 df-xps 17732 df-mre 17806 df-mrc 17807 df-acs 17809 df-mgm 18866 df-sgrp 18958 df-mnd 18974 df-submnd 19029 df-mulg 19328 df-cntz 19582 df-cmn 20047 df-psmet 21721 df-xmet 21722 df-met 21723 df-bl 21724 df-mopn 21725 df-fbas 21726 df-fg 21727 df-cnfld 21730 df-refld 21966 df-top 23267 df-topon 23284 df-topsp 23306 df-bases 23319 df-cld 23392 df-ntr 23393 df-cls 23394 df-nei 23471 df-lp 23509 df-perf 23510 df-cn 23600 df-cnp 23601 df-haus 23688 df-cmp 23760 df-tx 23936 df-hmeo 24129 df-fil 24220 df-fm 24312 df-flim 24313 df-flf 24314 df-fcls 24315 df-xms 24694 df-ms 24695 df-tms 24696 df-cncf 25254 df-cfil 25631 df-cmet 25633 df-cms 25711 df-limc 26241 df-dv 26242 df-log 26941 df-cxp 26942 df-logb 27150 df-esum 34771 df-siga 34852 df-sigagen 34883 df-brsiga 34926 df-sx 34933 df-meas 34940 df-mbfm 34994 df-prob 35151 df-rrv 35184 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |