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

Theorem cndprobval 32445
Description: The value of the conditional probability , i.e. the probability for the event 𝐴, given 𝐵, under the probability law 𝑃. (Contributed by Thierry Arnoux, 21-Jan-2017.)
Assertion
Ref Expression
cndprobval ((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) → ((cprob‘𝑃)‘⟨𝐴, 𝐵⟩) = ((𝑃‘(𝐴𝐵)) / (𝑃𝐵)))

Proof of Theorem cndprobval
Dummy variables 𝑎 𝑏 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ov 7310 . 2 (𝐴(cprob‘𝑃)𝐵) = ((cprob‘𝑃)‘⟨𝐴, 𝐵⟩)
2 df-cndprob 32444 . . . . 5 cprob = (𝑝 ∈ Prob ↦ (𝑎 ∈ dom 𝑝, 𝑏 ∈ dom 𝑝 ↦ ((𝑝‘(𝑎𝑏)) / (𝑝𝑏))))
3 dmeq 5825 . . . . . 6 (𝑝 = 𝑃 → dom 𝑝 = dom 𝑃)
4 fveq1 6803 . . . . . . 7 (𝑝 = 𝑃 → (𝑝‘(𝑎𝑏)) = (𝑃‘(𝑎𝑏)))
5 fveq1 6803 . . . . . . 7 (𝑝 = 𝑃 → (𝑝𝑏) = (𝑃𝑏))
64, 5oveq12d 7325 . . . . . 6 (𝑝 = 𝑃 → ((𝑝‘(𝑎𝑏)) / (𝑝𝑏)) = ((𝑃‘(𝑎𝑏)) / (𝑃𝑏)))
73, 3, 6mpoeq123dv 7382 . . . . 5 (𝑝 = 𝑃 → (𝑎 ∈ dom 𝑝, 𝑏 ∈ dom 𝑝 ↦ ((𝑝‘(𝑎𝑏)) / (𝑝𝑏))) = (𝑎 ∈ dom 𝑃, 𝑏 ∈ dom 𝑃 ↦ ((𝑃‘(𝑎𝑏)) / (𝑃𝑏))))
8 id 22 . . . . 5 (𝑃 ∈ Prob → 𝑃 ∈ Prob)
9 dmexg 7782 . . . . . 6 (𝑃 ∈ Prob → dom 𝑃 ∈ V)
10 mpoexga 7950 . . . . . 6 ((dom 𝑃 ∈ V ∧ dom 𝑃 ∈ V) → (𝑎 ∈ dom 𝑃, 𝑏 ∈ dom 𝑃 ↦ ((𝑃‘(𝑎𝑏)) / (𝑃𝑏))) ∈ V)
119, 9, 10syl2anc 585 . . . . 5 (𝑃 ∈ Prob → (𝑎 ∈ dom 𝑃, 𝑏 ∈ dom 𝑃 ↦ ((𝑃‘(𝑎𝑏)) / (𝑃𝑏))) ∈ V)
122, 7, 8, 11fvmptd3 6930 . . . 4 (𝑃 ∈ Prob → (cprob‘𝑃) = (𝑎 ∈ dom 𝑃, 𝑏 ∈ dom 𝑃 ↦ ((𝑃‘(𝑎𝑏)) / (𝑃𝑏))))
13123ad2ant1 1133 . . 3 ((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) → (cprob‘𝑃) = (𝑎 ∈ dom 𝑃, 𝑏 ∈ dom 𝑃 ↦ ((𝑃‘(𝑎𝑏)) / (𝑃𝑏))))
14 simprl 769 . . . . . 6 (((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) ∧ (𝑎 = 𝐴𝑏 = 𝐵)) → 𝑎 = 𝐴)
15 simprr 771 . . . . . 6 (((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) ∧ (𝑎 = 𝐴𝑏 = 𝐵)) → 𝑏 = 𝐵)
1614, 15ineq12d 4153 . . . . 5 (((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) ∧ (𝑎 = 𝐴𝑏 = 𝐵)) → (𝑎𝑏) = (𝐴𝐵))
1716fveq2d 6808 . . . 4 (((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) ∧ (𝑎 = 𝐴𝑏 = 𝐵)) → (𝑃‘(𝑎𝑏)) = (𝑃‘(𝐴𝐵)))
1815fveq2d 6808 . . . 4 (((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) ∧ (𝑎 = 𝐴𝑏 = 𝐵)) → (𝑃𝑏) = (𝑃𝐵))
1917, 18oveq12d 7325 . . 3 (((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) ∧ (𝑎 = 𝐴𝑏 = 𝐵)) → ((𝑃‘(𝑎𝑏)) / (𝑃𝑏)) = ((𝑃‘(𝐴𝐵)) / (𝑃𝐵)))
20 simp2 1137 . . 3 ((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) → 𝐴 ∈ dom 𝑃)
21 simp3 1138 . . 3 ((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) → 𝐵 ∈ dom 𝑃)
22 ovexd 7342 . . 3 ((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) → ((𝑃‘(𝐴𝐵)) / (𝑃𝐵)) ∈ V)
2313, 19, 20, 21, 22ovmpod 7457 . 2 ((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) → (𝐴(cprob‘𝑃)𝐵) = ((𝑃‘(𝐴𝐵)) / (𝑃𝐵)))
241, 23eqtr3id 2790 1 ((𝑃 ∈ Prob ∧ 𝐴 ∈ dom 𝑃𝐵 ∈ dom 𝑃) → ((cprob‘𝑃)‘⟨𝐴, 𝐵⟩) = ((𝑃‘(𝐴𝐵)) / (𝑃𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  w3a 1087   = wceq 1539  wcel 2104  Vcvv 3437  cin 3891  cop 4571  dom cdm 5600  cfv 6458  (class class class)co 7307  cmpo 7309   / cdiv 11678  Probcprb 32419  cprobccprob 32443
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361  ax-un 7620
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3286  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-ov 7310  df-oprab 7311  df-mpo 7312  df-1st 7863  df-2nd 7864  df-cndprob 32444
This theorem is referenced by:  cndprobin  32446  cndprob01  32447  cndprobtot  32448  cndprobnul  32449  cndprobprob  32450
  Copyright terms: Public domain W3C validator