Explore related knowledge and questions →

Question 522: The Law of Total Probability Supplies the Bayes Denominator

On this page
  1. Original question and givens
  2. Definition and scope
  3. Step-by-step derivation
  4. Reverse checks
  5. Result
  6. This question review and source binding

Return to catalogue page 3

← Question derivation index · Original question batch

P1000-0522 · q-20261014-advance-20261102-r06-bayes-theorem-0072

Original question and givens

Use the same complete finite atomic probability law with aligned nonnegative exact masses=[1/29, 1/29, 1/29, 26/29], summing to 1, and canonical event evidence=[0, 2]. Event entries are increasing distinct outcome indices from 0 through 3. Every actual conditional probability requires a strictly positive denominator; a dedicated zero-denominator audit records undefined instead of dividing. Priors, likelihoods, intersections and evidence mass all come from this one law. Keep reduced exact fractions with positive denominators, omitting /1 for integers. Bayes conditioning does not imply causation. Ordered exhaustive disjoint hypotheses=[[0, 1], [2, 3]], all with positive prior, and positive evidence mass. Give (priors,likelihoods,joints,total,evidence_mass,equal?), preserving hypothesis order.

  • G001 — Use the same complete finite atomic probability law with aligned nonnegative exact masses=[1/29, 1/29, 1/29, 26/29], summing to 1, and canonical event evidence=[0, 2]. Event entries are increasing distinct outcome indices from 0 through 3. Every actual conditional probability requires a strictly positive denominator; a dedicated zero-denominator audit records undefined instead of dividing. Priors, likelihoods, intersections and evidence mass all come from this one law. Keep reduced exact fractions with positive denominators, omitting /1 for integers. Bayes conditioning does not imply causation. Ordered exhaustive disjoint hypotheses=[[0, 1], [2, 3]], all with positive prior, and positive evidence mass. Give (priors,likelihoods,joints,total,evidence_mass,equal?), preserving hypothesis order.

Definition and scope

One complete finite law. The prior-times-likelihood joints of the hypotheses must sum to the directly computed P(E).

Step-by-step derivation

S001 · calculation

Before

P(Ω) := sum(1/29, 1/29, 1/29, 26/29)

After

P(Ω) = 1

Conditions: none

First sum the complete atom masses to1.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001

S002 · calculation

Before

P(E) := sum(1/29, 1/29)

After

P(E) = 2/29

Conditions: none

Sum only the atoms in the conditioning event E.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S001

S003 · implies

Before

H_i=[[0, 1], [2, 3]]

After

pairwise disjoint; union=Ω

Conditions: none

A complete partition assigns each atom to exactly one hypothesis, so decomposing E neither duplicates nor omits mass.

Step identifiers and dependencies

Rule: complete_partition · Uses: G001, S002

S004 · calculation

Before

P(H_0) := sum(1/29, 1/29)

After

P(H_0) = 2/29

Conditions: none

Calculate this hypothesis's prior.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S003

S005 · calculation

Before

P(E∩H_0) := sum(1/29)

After

P(E∩H_0) = 1/29

Conditions: none

Calculate the joint mass from the event intersection.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S004

S006 · calculation

Before

P(E|H_0) := div(1/29, 2/29)

After

P(E|H_0) = 1/2

Conditions: none

This quotient is licensed by the positive prior.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S005

S007 · calculation

Before

P(E|H_0)P(H_0) := mul(1/2, 2/29)

After

P(E|H_0)P(H_0) = 1/29

Conditions: none

Multiplying by the prior must recover the same joint.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S006

S008 · calculation

Before

P(H_1) := sum(1/29, 26/29)

After

P(H_1) = 27/29

Conditions: none

Calculate this hypothesis's prior.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S007

S009 · calculation

Before

P(E∩H_1) := sum(1/29)

After

P(E∩H_1) = 1/29

Conditions: none

Calculate the joint mass from the event intersection.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S008

S010 · calculation

Before

P(E|H_1) := div(1/29, 27/29)

After

P(E|H_1) = 1/27

Conditions: none

This quotient is licensed by the positive prior.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S009

S011 · calculation

Before

P(E|H_1)P(H_1) := mul(1/27, 27/29)

After

P(E|H_1)P(H_1) = 1/29

Conditions: none

Multiplying by the prior must recover the same joint.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S010

S012 · calculation

Before

sum of partition joints := sum(1/29, 1/29)

After

sum of partition joints = 2/29

Conditions: none

The disjoint, exhaustive intersections decompose E completely.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S011

S013 · implies

Before

partition sum=2/29; direct P(E)=2/29

After

equal: Yes

Conditions: none

Verify the denominator by total probability before using a posterior answer.

Step identifiers and dependencies

Rule: total_probability · Uses: G001, S012

Reverse checks

  • S013 · premise_and_result_audit — Align events, intersections and conditioning denominators under the same law; do not divide by zero mass.
  • S012 · premise_and_result_audit — Recompute sum of partition joints with exact rational arithmetic, not rounded decimals.
  • S011 · premise_and_result_audit — Recompute P(E|H_1)P(H_1) with exact rational arithmetic, not rounded decimals.
  • S010 · premise_and_result_audit — Recompute P(E|H_1) with exact rational arithmetic, not rounded decimals.
  • S009 · premise_and_result_audit — Recompute P(E∩H_1) with exact rational arithmetic, not rounded decimals.
  • S008 · premise_and_result_audit — Recompute P(H_1) with exact rational arithmetic, not rounded decimals.
  • S007 · premise_and_result_audit — Recompute P(E|H_0)P(H_0) with exact rational arithmetic, not rounded decimals.
  • S006 · premise_and_result_audit — Recompute P(E|H_0) with exact rational arithmetic, not rounded decimals.
  • S005 · premise_and_result_audit — Recompute P(E∩H_0) with exact rational arithmetic, not rounded decimals.
  • S004 · premise_and_result_audit — Recompute P(H_0) with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Align events, intersections and conditioning denominators under the same law; do not divide by zero mass.
  • S002 · premise_and_result_audit — Recompute P(E) with exact rational arithmetic, not rounded decimals.
  • S001 · premise_and_result_audit — Recompute P(Ω) with exact rational arithmetic, not rounded decimals.

Result

([2/29, 27/29], [1/2, 1/27], [1/29, 1/29], 2/29, 2/29, Yes)

The full substitutions and premise audits recover the original answer, retaining its field order and verdict meanings.

This question review and source binding

Review date: 2026-10-26

Original questions, answers, step expressions, numeric ASTs and historical records are retained. Source candidate labels remain historical and are not overwritten as formal proof.

Source hashes and review receipts
  • input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
  • original question SHA-256: f01dcea321f8d1fd3f3408b05086a1a73a324d9bbe3def6f891086043ac583b9
  • candidate record SHA-256: eb428ffc58e60349d4389d46716b1fdc80b723e949a5d6c9ad039db17f396f83
  • semantic review receipt SHA-256: 6c2c6d46aded7582a11ac41a8c0b3bdde2669a53bdb6e796eea2039994a02772
  • question-first witness SHA-256: 77e43898df9efdbf8094ad81fe4ab91cf4b4bd82f481eb9b4699b73cb4da612b
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON