Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-adaptedPipeline-generatedjudge pass (gpt-5.6-terra)audited 2026-09-10
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.

Almost sure frequency of heads

Example

Assume AC and 0p1. On the countable product of the law P({1})=p, P({0})=1p, the proportion of the first n coordinates x0,,xn1 that equal one converges almost surely to p.

Facts & Assumptions

[F1]

Variance and covariance identities for random variables: Let X,Y be square-integrable real random variables on one probability space. Then Var(X)=E[X2]E[X]2, Cov(X,Y)=E[XY]E[X]E[Y]. Moreover, covariance is symmetric and bilinear on finite linear combinations. On finite full-power-set probability spaces these formulas reduce to the published finite identities.

[F2]

The Axiom of Choice: The Axiom of Choice (AC) is the following statement.

Every family of nonempty sets has a choice function (def-choice-function).

Written out: for every set F all of whose members are nonempty, there exists a function g with domain F satisfying g(S)S for all SF.

An equivalent formulation is that a product of nonempty sets is nonempty: if Xi for every iI, then iIXi. Here iIXi is the set of functions f with domain I such that f(i)Xi for every iI; when a family of nonempty sets is indexed by itself, such an f is precisely a choice function for it.

[F3]

The Axiom of Countable Choice (ACω): The Axiom of Countable Choice, written ACω, is the following statement.

For every family (Xn)nN of nonempty sets indexed by N there is a function f with domain N such that f(n)Xn for every nN.

Equivalently, in the vocabulary of def-choice-function: every at most countable family of nonempty sets (def-countable) has a choice function.

[F4]

The recursion theorem: Let (N,0,σ) be a Peano system (def-peano-system), in particular the natural numbers N (def-natural-numbers). For any set A, any element aA, and any function f:AA, there is a unique function g:NA such that g(0)=a and g(σ(n))=f(g(n)) for all nN.

[F5]

The axiom of dependent choice: a relation in which every element is related to something admits an N-indexed chain: Let X be a set and let RX×X be a binary relation on X. Call R entire on X when

for every xX there is yX with xRy.

The Axiom of Dependent Choice, written DC, is the following statement.

For every nonempty set X, every relation R entire on X, and every aX, there is a function x:NX (def-function, def-natural-numbers) with x0=aandxnRxn+1  for every nN.

Here a sequence in X means a function from N to X, not necessarily a real-valued sequence. As everywhere in this library N contains 0, and the sequence is indexed from 0; the term x0 is the prescribed starting point a and every later term is related to its predecessor.

What DC adds to what came before. def-choice-function and def-axiom-of-choice select one element from each member of a family that is fixed in advance, and def-countable-choice does the same for a family indexed by N. In both, the family is given before any selection is made. DC is the principle needed when the n-th set to select from is not known until the first n selections have been made: here the admissible values of xn+1 are exactly the R-successors of xn, so the family being chosen from is built along the choosing. That is precisely the situation ACω does not cover, and it is why a construction "pick xn+1 depending on xn, for every n at once" is not licensed by countable choice.

The starting point may be dropped. The formally weaker statement obtained by deleting the clause x0=a — for every nonempty X and every entire R there is a sequence with xnRxn+1 for all n — is an immediate consequence of the form above, since X is nonempty and any of its elements may be taken as a. The reverse derivation is standard and is not needed anywhere in this library, so it is not carried out; every use below prescribes x0.

R need not be an order and the terms need not be distinct. What DC delivers is a sequence, that is a function NX, not a chain in the order-theoretic sense (def-chain). The relation may be symmetric, and the sequence may repeat a value or be constant; all that is asserted is xnRxn+1 at every index.

[F6]

Assuming countable and dependent choice, countable products of arbitrary probability spaces: Assume countable choice and dependent choice. For probability spaces (En,En,μn)nN there is a unique probability measure on the canonical countable-product sigma-algebra having the prescribed finite product marginals.

[F7]

Coordinate random elements of a countable product are independent: Under the measure of F6, the coordinate maps Xn(x)=xn have laws μn and are independent.

[F8]

Iid finite variance strong law: IID square-integrable real variables satisfy Sn/nEX1 almost surely.

Verification

Given: The objects, hypotheses and definitions in the statement. Its conclusions are to be established below.

1.1

The two nonnegative masses sum to one; summing them over subsets of {0,1} gives a countably additive probability measure. Its identity variable has EX=p, EX2=p, and hence Var(X)=pp2 by F1.

F1
2.1

Under F2, applying a choice function to a countable nonempty family gives F3. For each entire relation R choose a successor s(a) for every a; F4 produces the iterates of s from a prescribed initial point, proving F5. Thus F6 constructs the canonical countable product and F7 makes its coordinate maps independent with the law in step 1.1. For n1, put Yn(x)=xn1; then (Yn)n1 is IID with that law.

F2F3F4F5F6F7step 1.1
3.1

F8 applies to (Yn)n1 using the finite variance in step 1.1 and independence in step 2.1. Since k=1nYk counts the ones among x0,,xn1, it yields the displayed frequency limit. If p=0 or p=1, each coordinate equals that value almost surely, and a countable union of zero-probability exceptions is null.

F8step 1.1step 2.1

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

34 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