Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passaudited 2026-08-13
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Bayes' theorem for choosing one of two urns and observing a colour

Example

Choose urn U1 with probability 1/3 and urn U2 with probability 2/3, independently choose a uniform auxiliary value r∈{1,2,3,4}, and declare the observation red when U1 was chosen and r≤3, or when U2 was chosen and r=1. Thus the red likelihoods are 3/4 and 1/4, respectively. The posterior probability of U1 after observing red is 3/5.

Facts & Assumptions

Given: The finite two-stage experiment in the Example.

[L1]

Bayes' theorem over a positive-probability finite partition gives posterior probability as prior times likelihood divided by total likelihood (Bayes' theorem over a finite partition).

[L2]

A finite product experiment assigns product weights to its branches (The finite product of finite probability spaces).

[L3]

Conditional probability is the probability of an intersection divided by the positive probability of the conditioning event (Conditional probability P(A∣B) for P(B)>0).

Verification

technique · direct
1.1

In the product space, the three red branches over U1 have total weight (1/3)(3/4)=1/4, and the one red branch over U2 has weight (2/3)(1/4)=1/6. Hence P(red)=5/12>0.

L2algebra
2.1

Directly, P(U1∣red)=(1/4)/(5/12)=3/5.

step 1.1L3algebra
3.1

Bayes' formula [L1] has the same numerator 1/4 and denominator 1/4+1/6=5/12, so it also gives 3/5.

step 1.1step 2.1L1algebra∎

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

8 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources