Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  coinflipprob Structured version   Visualization version   GIF version

Theorem coinflipprob 35224
Description: The 𝑃 we defined for coin-flip is a probability law. (Contributed by Thierry Arnoux, 15-Jan-2017.)
Hypotheses
Ref Expression
coinflip.h 𝐻 ∈ V
coinflip.t 𝑇 ∈ V
coinflip.th 𝐻 ≠ 𝑇
coinflip.2 𝑃 = ((♯ ↾ 𝒫 {𝐻, 𝑇}) ∘f/c / 2)
coinflip.3 𝑋 = {⟨𝐻, 1⟩, ⟨𝑇, 0⟩}
Assertion
Ref Expression
coinflipprob 𝑃 ∈ Prob

Proof of Theorem coinflipprob
StepHypRef Expression
1 coinflip.h . . . 4 𝐻 ∈ V
2 coinflip.t . . . 4 𝑇 ∈ V
3 coinflip.th . . . 4 𝐻 ≠ 𝑇
4 coinflip.2 . . . 4 𝑃 = ((♯ ↾ 𝒫 {𝐻, 𝑇}) ∘f/c / 2)
5 coinflip.3 . . . 4 𝑋 = {⟨𝐻, 1⟩, ⟨𝑇, 0⟩}
61, 2, 3, 4, 5coinfliplem 35223 . . 3 𝑃 = ((♯ ↾ 𝒫 {𝐻, 𝑇}) ∘f/c /e 2)
7 unipw 5424 . . . . . . 7 ∪ 𝒫 {𝐻, 𝑇} = {𝐻, 𝑇}
8 prex 5402 . . . . . . . 8 {𝐻, 𝑇} ∈ V
98pwid 4583 . . . . . . 7 {𝐻, 𝑇} ∈ 𝒫 {𝐻, 𝑇}
107, 9eqeltri 2863 . . . . . 6 ∪ 𝒫 {𝐻, 𝑇} ∈ 𝒫 {𝐻, 𝑇}
11 fvres 6934 . . . . . 6 (∪ 𝒫 {𝐻, 𝑇} ∈ 𝒫 {𝐻, 𝑇} → ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇}) = (♯‘∪ 𝒫 {𝐻, 𝑇}))
1210, 11ax-mp 5 . . . . 5 ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇}) = (♯‘∪ 𝒫 {𝐻, 𝑇})
137fveq2i 6918 . . . . 5 (♯‘∪ 𝒫 {𝐻, 𝑇}) = (♯‘{𝐻, 𝑇})
14 hashprg 14579 . . . . . . 7 ((𝐻 ∈ V ∧ 𝑇 ∈ V) → (𝐻 ≠ 𝑇 ↔ (♯‘{𝐻, 𝑇}) = 2))
151, 2, 14mp2an 705 . . . . . 6 (𝐻 ≠ 𝑇 ↔ (♯‘{𝐻, 𝑇}) = 2)
163, 15mpbi 233 . . . . 5 (♯‘{𝐻, 𝑇}) = 2
1712, 13, 163eqtri 2793 . . . 4 ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇}) = 2
1817oveq2i 7461 . . 3 ((♯ ↾ 𝒫 {𝐻, 𝑇}) ∘f/c /e ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇})) = ((♯ ↾ 𝒫 {𝐻, 𝑇}) ∘f/c /e 2)
196, 18eqtr4i 2792 . 2 𝑃 = ((♯ ↾ 𝒫 {𝐻, 𝑇}) ∘f/c /e ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇}))
20 pwcntmeas 34972 . . . 4 ({𝐻, 𝑇} ∈ V → (♯ ↾ 𝒫 {𝐻, 𝑇}) ∈ (measures‘𝒫 {𝐻, 𝑇}))
218, 20ax-mp 5 . . 3 (♯ ↾ 𝒫 {𝐻, 𝑇}) ∈ (measures‘𝒫 {𝐻, 𝑇})
22 2rp 13164 . . . 4 2 ∈ ℝ+
2317, 22eqeltri 2863 . . 3 ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇}) ∈ ℝ+
24 probfinmeasb 35172 . . 3 (((♯ ↾ 𝒫 {𝐻, 𝑇}) ∈ (measures‘𝒫 {𝐻, 𝑇}) ∧ ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇}) ∈ ℝ+) → ((♯ ↾ 𝒫 {𝐻, 𝑇}) ∘f/c /e ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇})) ∈ Prob)
2521, 23, 24mp2an 705 . 2 ((♯ ↾ 𝒫 {𝐻, 𝑇}) ∘f/c /e ((♯ ↾ 𝒫 {𝐻, 𝑇})‘∪ 𝒫 {𝐻, 𝑇})) ∈ Prob
2619, 25eqeltri 2863 1 𝑃 ∈ Prob
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   = wceq 1572   ∈ wcel 2150   ≠ wne 2962  Vcvv 3453  𝒫 cpw 4559  {cpr 4589  ⟨cop 4839  ∪ cuni 4871   ↾ cres 5659  ‘cfv 6565  (class class class)co 7450  0cc0 11238  1c1 11239   / cdiv 12012  2c2 12436  ℝ+crp 13159  ♯chash 14514   /e cxdiv 33580   ∘f/c cofc 34839  measurescmeas 34940  Probcprb 35151
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-inf2 9678  ax-cnex 11294  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315  ax-pre-sup 11316  ax-addf 11317  ax-mulf 11318
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-iin 4958  df-disj 5075  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-se 5611  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-isom 6574  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-of 7724  df-om 7911  df-1st 8034  df-2nd 8035  df-supp 8214  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-1o 8513  df-2o 8514  df-oadd 8517  df-er 8754  df-map 8886  df-pm 8887  df-ixp 8963  df-en 9011  df-dom 9012  df-sdom 9013  df-fin 9014  df-fsupp 9391  df-fi 9439  df-sup 9470  df-inf 9471  df-oi 9540  df-dju 10018  df-card 10056  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-div 12013  df-nn 12375  df-2 12444  df-3 12445  df-4 12446  df-5 12447  df-6 12448  df-7 12449  df-8 12450  df-9 12451  df-n0 12646  df-xnn0 12719  df-z 12733  df-dec 12854  df-uz 13005  df-q 13115  df-rp 13160  df-xneg 13280  df-xadd 13281  df-xmul 13282  df-ioo 13519  df-ioc 13520  df-ico 13521  df-icc 13522  df-fz 13679  df-fzo 13828  df-fl 13971  df-mod 14049  df-seq 14184  df-exp 14244  df-fac 14458  df-bc 14487  df-hash 14515  df-shft 15262  df-cj 15308  df-re 15309  df-im 15310  df-sqrt 15444  df-abs 15445  df-limsup 15681  df-clim 15698  df-rlim 15699  df-sum 15897  df-ef 16276  df-sin 16278  df-cos 16279  df-pi 16281  df-struct 17371  df-sets 17388  df-slot 17406  df-ndx 17418  df-base 17434  df-ress 17455  df-plusg 17488  df-mulr 17489  df-starv 17490  df-sca 17491  df-vsca 17492  df-ip 17493  df-tset 17494  df-ple 17495  df-ds 17497  df-unif 17498  df-hom 17499  df-cco 17500  df-euf 17501  df-rest 17645  df-topn 17646  df-0g 17664  df-gsum 17665  df-topgen 17666  df-pt 17667  df-prds 17670  df-ordt 17725  df-xrs 17726  df-qtop 17731  df-imas 17732  df-xps 17734  df-mre 17808  df-mrc 17809  df-acs 17811  df-ps 18792  df-tsr 18793  df-plusf 18867  df-mgm 18868  df-sgrp 18960  df-mnd 18976  df-mhm 19030  df-submnd 19031  df-grp 19199  df-minusg 19200  df-sbg 19201  df-mulg 19330  df-subg 19385  df-cntz 19584  df-cmn 20049  df-abl 20050  df-mgp 20414  df-rng 20428  df-ur 20461  df-ring 20514  df-cring 20515  df-subrng 20851  df-subrg 20875  df-abv 21119  df-lmod 21190  df-scaf 21191  df-sra 21501  df-rgmod 21502  df-psmet 21723  df-xmet 21724  df-met 21725  df-bl 21726  df-mopn 21727  df-fbas 21728  df-fg 21729  df-cnfld 21732  df-top 23269  df-topon 23286  df-topsp 23308  df-bases 23321  df-cld 23394  df-ntr 23395  df-cls 23396  df-nei 23473  df-lp 23511  df-perf 23512  df-cn 23602  df-cnp 23603  df-haus 23690  df-tx 23938  df-hmeo 24131  df-fil 24222  df-fm 24314  df-flim 24315  df-flf 24316  df-tmd 24448  df-tgp 24449  df-tsms 24503  df-trg 24536  df-xms 24696  df-ms 24697  df-tms 24698  df-nm 24958  df-ngp 24959  df-nrg 24961  df-nlm 24962  df-ii 25255  df-cncf 25256  df-limc 26243  df-dv 26244  df-log 26943  df-xdiv 33581  df-esum 34772  df-ofc 34840  df-siga 34853  df-meas 34941  df-prob 35152
This theorem is used by:  coinfliprv  35227  coinflippvt  35229
  Copyright terms: Public domain W3C validator