Goal and scope
In the finite model on S={1,2,3,4,5,6} with weights w=(1,2,3,2,4,0)/12, let A={2,3}, B={3,4,5,6} and Z={6}. Validate the model, compute P(A|B) and P(B|A), compare them with the equiprobable count ratio |A∩B|/|B| and with the product P(A)P(B), and decide whether P(A|Z) is defined.
Works inside the MKO's scope: a nonempty finite sample space, the full power set as event family, normalized nonnegative rational weights. Defines P(A|B)=P(A∩B)/P(B) only when P(B)>0, and proves a small additivity lemma (P(E′)=P(E)+P(E′∖E) for E⊆E′) to show 0≤P(A|B)≤1. Leaves conditioning on null events undefined; does not discuss independence, Bayes' theorem or infinite sample spaces; does not change the canonical MKO or its English edition.
Main derivation
S01 · implies
Before
w=\left(\tfrac{1}{12},\tfrac{2}{12},\tfrac{3}{12},\tfrac{2}{12},\tfrac{4}{12},0\right)After
w(s)\ge 0,\quad \sum_{s\in S}w(s)=\tfrac{12}{12}=1Conditions: none
Rule: weight_model · Uses: G1, weight_model
Leaf basis: weight_model + finite_sum_rules + numeric_evaluation
MKO assumption a1 requires a valid model: every weight is a nonnegative rational and the total is 1. Item by item, 1/12, 2/12, 3/12, 2/12, 4/12 and 0 are all ≥0; the total is (1+2+3+2+4+0)/12=12/12=1 (N1). So this is a valid finite weighted model. w(6)=0 is allowed: a sample point may exist with weight zero.
S02 · implies
Before
A=\{2,3\},\ B=\{3,4,5,6\},\ Z=\{6\}After
A,B,Z\subseteq S
Conditions: none
Rule: subset_def · Uses: G1, G2, subset_def
Leaf basis: subset_def
Event eligibility: every element of A, B and Z lies in S={1,2,3,4,5,6}, so all three are subsets of S and belong to the event family 𝒫(S).
S03 · equivalent
Before
P(B)=w(3)+w(4)+w(5)+w(6)
After
P(B)=\tfrac{3+2+4+0}{12}=\tfrac{9}{12}=\tfrac{3}{4}Conditions: none
Rule: weight_model · Uses: S01, S02, weight_model
Leaf basis: weight_model + finite_sum_rules + frac_rules + numeric_evaluation
MKO paragraph one: first compute the probability mass in B. P(B) is the sum of the weights of the four sample points of B: (3+2+4+0)/12=9/12=3/4 (N2).
S04 · implies
Before
P(B)=\tfrac{3}{4}After
P(B)>0,\ \text{so}\ P(A\mid B)\ \text{is defined}Conditions: P(B)>0
Rule: mko_cond_prob_def · Uses: S03, mko_cond_prob_def
Leaf basis: mko_cond_prob_def + order_basics
By the MKO, P(A|B) is defined only when P(B)>0. Since 3/4>0, we may condition on B. This check must come before any division.
S05 · equivalent
Before
A\cap B
After
\{3\}Conditions: none
Rule: set_operations_def · Uses: G2, set_operations_def
Leaf basis: set_operations_def + set_extensionality
x∈A∩B exactly when x∈A and x∈B. The elements of A are 2 and 3: 2∉B and 3∈B. So A∩B={3}.
S06 · equivalent
Before
P(A\cap B)=P(\{3\})After
w(3)=\tfrac{3}{12}=\tfrac{1}{4}Conditions: none
Rule: weight_model · Uses: S05, weight_model
Leaf basis: weight_model + frac_rules + numeric_evaluation
The second step of MKO paragraph one: compute the mass in A∩B. A∩B={3}, so P(A∩B)=w(3)=3/12=1/4 (N3).
S07 · equivalent
Before
P(A\mid B)=\frac{P(A\cap B)}{P(B)}After
\frac{1/4}{3/4}=\frac{1}{3}Conditions: P(B)=\tfrac{3}{4}\neq 0
Rule: mko_cond_prob_def · Uses: S04, S06, mko_cond_prob_def
Leaf basis: mko_cond_prob_def + frac_rules + mul_inverse_nonzero + numeric_evaluation
Finally divide: P(A|B)=(1/4)/(3/4)=(1/4)·(4/3)=1/3 (N4). Dividing by 3/4 needs 3/4≠0, confirmed in S04.
S08 · equivalent
Before
\frac{3/12}{9/12}After
\frac{3}{9}=\frac{1}{3}Conditions: 12\neq 0; 9\neq 0
Rule: frac_rules · Uses: S03, S06, frac_rules
Leaf basis: frac_rules + numeric_evaluation
MKO paragraph one: a common positive denominator may be cancelled. Both masses are expressed in twelfths of the same model: P(A∩B)=3/12 and P(B)=9/12; by the fraction rules (3/12)/(9/12)=(3·12)/(12·9)=3/9=1/3 (N6, N7), agreeing with S07. Cancelling this way presupposes that both come from the same validated weight model and that the events are eligible.
S09 · theorem_application
Before
A\cap B\subseteq B
After
P(A\cap B)\le P(B),\ \text{so}\ 0\le P(A\mid B)\le 1Conditions: P(B)>0
Rule: L_split · Uses: S05, S07, L_split
Leaf basis: weight_model + finite_sum_rules + order_basics + set_operations_def
A∩B⊆B, so by Lemma L_split, P(B)=P(A∩B)+P(B∖(A∩B))≥P(A∩B). Dividing by the positive P(B) gives P(A|B)≤1; numerator and denominator are nonnegative, so P(A|B)≥0. Here 1/4≤3/4 (N18), and 1/3 does lie in [0,1].
S10 · implies
Before
B\setminus(A\cap B)=A^{c}\cap B=\{4,5,6\}After
P(A^{c}\cap B)=\tfrac{1}{2},\ P(A\mid B)+P(A^{c}\mid B)=\tfrac{1}{3}+\tfrac{2}{3}=1Conditions: P(B)>0
Rule: L_split · Uses: S03, S06, S07, L_split, G2
Leaf basis: weight_model + set_operations_def + frac_rules + numeric_evaluation
Cross-check: B∖(A∩B)={4,5,6}=Aᶜ∩B, with mass (2+4+0)/12=1/2 (N8). By L_split, P(A∩B)+P(Aᶜ∩B)=1/4+1/2=3/4=P(B) (N9), as it should. P(Aᶜ|B)=(1/2)/(3/4)=2/3 (N10), and adding P(A|B) gives 1 (N11): given B, the conditional probabilities of A and Aᶜ sum to 1.
S11 · implies
Before
P(B\mid A)=\frac{P(B\cap A)}{P(A)}After
P(A)=\tfrac{5}{12}>0,\quad P(B\mid A)=\frac{1/4}{5/12}=\frac{3}{5}\neq\frac{1}{3}Conditions: P(A)>0
Rule: mko_cond_prob_def · Uses: S06, G1, G2, mko_cond_prob_def
Leaf basis: mko_cond_prob_def + set_operations_def + frac_rules + numeric_evaluation
The other direction needs its own denominator check: P(A)=w(2)+w(3)=(2+3)/12=5/12>0 (N12), so P(B|A) is defined. B∩A=A∩B={3}, and P(B|A)=(1/4)/(5/12)=(1/4)·(12/5)=3/5 (N13). 3/5≠1/3 (N14): conditional probabilities in the two directions generally differ, because their denominators differ.
S12 · implies
Before
\frac{|A\cap B|}{|B|}=\frac{1}{4}After
\frac{1}{4}\neq\frac{1}{3}=P(A\mid B)Conditions: none
Rule: mko_cond_prob_def · Uses: S05, S07, G1
Leaf basis: mko_cond_prob_def + weight_model + numeric_evaluation
Treating the model as equiprobable by mistake would give the count ratio |A∩B|/|B|=1/4. But the weights here are unequal (for example w(5)=4/12≠w(6)=0) and no equiprobable model was declared (MKO assumption a2), so the count ratio is not this model's conditional probability; the correct value is 1/3 (N15).
S13 · implies
Before
P(A)P(B)=\tfrac{5}{12}\cdot\tfrac{3}{4}After
\tfrac{5}{16}\neq\tfrac{1}{3}=P(A\mid B)Conditions: none
Rule: frac_rules · Uses: S03, S07, S11
Leaf basis: frac_rules + numeric_evaluation
Conditional probability is not P(A) times P(B): P(A)P(B)=(5/12)(3/4)=15/48=5/16 (N16), while P(A|B)=1/3, and the two differ (N17). The correct multiplicative relation is P(A∩B)=P(A|B)·P(B)=(1/3)(3/4)=1/4 (the backward check of S07).
S14 · implies
Before
Z=\{6\}\neq\varnothing,\ P(Z)=w(6)After
P(Z)=0,\ \text{so}\ P(A\mid Z)\ \text{is undefined}Conditions: none
Rule: mko_cond_prob_def · Uses: G1, G2, mko_cond_prob_def, mul_inverse_nonzero
Leaf basis: mko_cond_prob_def + mul_inverse_nonzero + weight_model
Z is nonempty (6∈Z), yet P(Z)=w(6)=0. The MKO states that this entry leaves the conditional probability undefined when P(B)=0, even if B is nonempty. The expression P(A∩Z)/P(Z) has denominator 0, and 0 has no inverse, so P(A|Z) is undefined; the answer is neither 0 nor 1.
S15 · implies
Before
\text{S01 to S14}After
P(A\mid B)=\tfrac{1}{3},\ P(B\mid A)=\tfrac{3}{5},\ P(A\mid Z)\ \text{undefined}Conditions: none
Rule: and_intro_elim · Uses: S01, S07, S09, S11, S12, S13, S14
Leaf basis: and_intro_elim
Summary: the model is valid (S01); P(B)=3/4>0 and P(A|B)=1/3 (S07), which lies in [0,1] (S09); P(A)=5/12>0 and P(B|A)=3/5≠1/3 (S11); neither the count ratio 1/4 nor the product 5/16 is P(A|B) (S12, S13); P(Z)=0, so P(A|Z) is undefined (S14).