Alphabeta Math
Pipeline-generated
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.

Conditional Expectation — Examples

1 · Prerequisites

2 · Summary

Finite partition and discrete fibre calculations make the defining event identity concrete. Trivial and full conditioning, an independent sum, least-squares prediction and total variance are evaluated on explicit finite probability spaces.

Two null-atom counterexamples distinguish arbitrary pointwise versions from almost-sure classes; strict almost-sure order remains valid. A countable atomic example shows why an unbounded known factor needs an integrable product: both factors are integrable, while the product has infinite positive and negative integrals.

3 · Logical flowchart

4 · Definitions, theorems and proofs

ExampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

Conditioning on a finite partition

Example

Assume AC for the conditional-class convention. Let (Ai)i=1m be a finite measurable partition of a probability space, G=σ(A1,,Am), and real XL1(P). A version has value ci=P(Ai)1AiXdP on each positive-mass cell, and zero on each zero-mass cell.

Facts & Assumptions

Given: A probability space, a finite measurable partition (Ai), G=σ(Ai), and real integrable X; AC is the conditional-class convention.

[F1]

A G-measurable integrable function with the defining event integrals represents the conditional class. (Conditional expectation as an ae class)

[F2]

The version is unique as a class. (Conditional expectation is unique almost surely)

[F3]

Nonnegative finite atom weights summing to one define a probability measure. (Finite probability spaces are exactly finite full-power-set probability spaces)

Verification

technique · direct
1.1

Let T=ici1Ai with the displayed zero convention. It is G-measurable and ET=i:P(Ai)>0AiXiAiX=EX<. Each positive-mass cell has AiT=ciP(Ai)=AiX; on a null cell both integrals are zero. Every G-event is a union of cells (these unions form a sigma-algebra), so adding proves every defining identity. Hence [F1]–[F2] identify T as the conditional mean.

F1F2
2.1

For a numerical instance take four atoms of weight 1/4, permitted by [F3], partitioned into A1={1,2} and A2={3,4}. For X with values (0,2,4,6), the cell integrals are 1/2 and 5/2 and their masses are 1/2, so T has values (1,1,5,5). Its mean is 3, matching (0+2+4+6)/4=3. For X=1B the same positive-cell calculation is ci=P(BAi)/P(Ai), the finite conditional-probability formula.

step 1.1F3

Source notes

Durrett Example 4.1.5, printed p.208; van der Vaart Example 1.7, printed p.3. Zero-mass cells and a numerical four-atom calculation are included.

ExampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

Conditioning on trivial and full sigma algebras

Example

Under the AC conditional-class convention, for integrable real X, E[X{,Ω}]=EX and E[XF]=X as classes.

Facts & Assumptions

Given: A probability space and real integrable X; AC is the conditional-class convention.

[F1]

A known variable conditions to itself, and a variable independent of the conditioning sigma-algebra conditions to its mean. (Conditioning a known variable and an independent variable)

[F2]

Finite weights summing to one define a probability space. (Finite probability spaces are exactly finite full-power-set probability spaces)

Verification

technique · direct
1.1

Every X is independent of the trivial sigma-algebra: for A empty both sides of the rectangle identity are zero, and for A=Omega both equal P(XB). Thus [F1] gives the first formula. Since X is F-measurable, the known-variable clause of [F1] gives the second.

F1
2.1

For example take two atoms a,b of masses 1/4,3/4 using [F2], and X(a)=0, X(b)=4. Then EX=0/4+12/4=3. Under trivial conditioning the version has values (3,3), with integral 3 on Omega; under full conditioning it has values (0,4), with integrals 0 on {a} and 3 on {b}. These verify the two formulas numerically.

step 1.1F2

Source notes

Durrett Examples 4.1.3–4.1.5, printed pp.207–208; van der Vaart Examples 1.4–1.5, printed p.2.

ExampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

Conditioning an independent sum on one summand

Example

Assume AC for conditional classes. If real integrable X,Y are independent, meaning P(XB,YC)=P(XB)P(YC) for all real Borel B,C, then E[X+Yσ(X)]=X+EY almost surely.

Facts & Assumptions

Given: Real integrable independent X,Y on a probability space, with independence defined by the statement Borel rectangle identity; AC is the conditional-class convention.

[F1]

The known and independent variable formulas hold under the Borel rectangle hypothesis. (Conditioning a known variable and an independent variable)

[F2]
[F3]

Finite atom weights summing to one define a probability space. (Finite probability spaces are exactly finite full-power-set probability spaces)

Verification

technique · direct
1.1

The sets X1(B), B real Borel, form a sigma-algebra because preimages preserve complements and countable unions; by definition this is σ(X). Thus the given rectangle identity is precisely independence of Y from every event of σ(X). By [F1], E[Yσ(X)]=EY and E[Xσ(X)]=X. Linearity [F2] gives the stated sum formula.

F1F2
2.1

Take Ω={0,1}2, each atom of mass 1/4, and X(u,v)=u, Y(u,v)=2v. This is a probability space by [F3]. Each coordinate value has mass 1/2 and each pair mass 1/4=(1/2)(1/2); adding atom probabilities proves all Borel rectangle identities. Since EY=1, the conditional mean is u+1. Directly, on the u=0 fibre the values 0,2 average to 1, and on the u=1 fibre the values 1,3 average to 2.

step 1.1F3

Source notes

Durrett Example 4.1.7, printed pp.209–210, additive special case; Examples 4.1.3–4.1.4 supply the two individual terms.

ExampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

Conditional expectation given a discrete random variable

Example

Assume AC for conditional classes. If Y is a countably valued real random variable and X is real integrable, a version of E[Xσ(Y)] takes value cy={Y=y}XdP/P(Y=y) on each positive-mass fibre and zero on all zero-mass fibres.

Facts & Assumptions

Given: A countably valued real random variable Y and real integrable X on a probability space; AC is the conditional-class convention.

[F1]

The measurable integrable event-identity characterization defines the conditional class. (Conditional expectation as an ae class)

[F2]

Versions are unique almost surely. (Conditional expectation is unique almost surely)

[F3]

Increasing nonnegative partial sums pass through the integral. (Monotone convergence for the integral)

[F4]

Finite weights summing to one define a probability space. (Finite probability spaces are exactly finite full-power-set probability spaces)

Verification

technique · direct
1.1

List the at most countably many fibres Ay={Y=y}. Every union of fibres is measurable as a countable union, and these unions are exactly σ(Y): each fibre is a preimage of a singleton Borel set, and every preimage is a union of fibres. The proposed function T is thus σ(Y)-measurable. Its absolute integral is ycyP(Ay)yAyX=EX, where [F3] applies to nonnegative finite partial sums. Null fibres have zero X integral and their countable union is null.

F3
2.1

On each positive fibre AyT=cyP(Ay)=AyX, and on null fibres both sides are zero. For every union A of fibres, sum these identities; absolute summability follows from step 1.1 and integrability of X, with [F3] applied to positive and negative parts. Thus AT=AX. By [F1]–[F2] T is the desired version.

step 1.1F1F2F3
3.1

For a concrete instance take atoms a,b,c with masses 1/4,1/4,1/2 by [F4], with Y values (0,0,2) and X values (2,6,10). The zero fibre has mass 1/2 and X integral 2/4+6/4=2, so its conditional value is 4. The fibre at 2 has mass 1/2 and X integral 5, giving value 10. Hence T=(4,4,10), with mean 4/4+4/4+10/2=7=EX.

step 2.1F4

Source notes

Durrett Example 4.1.5, printed p.208; van der Vaart Example 1.7 and its countable-partition extension, printed p.3. The countable sum is justified using ordinary MCT on positive and negative parts.

ExampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

L2 best prediction by conditional expectation

Example

Assume AC. For real XL2(P), U=E[XG] and every ZL2(G), E[(XZ)2]=E[(XU)2]+E[(UZ)2]. Equality with the minimum error holds if and only if Z=U almost surely.

Facts & Assumptions

Given: AC, real XL2(P), a sub-sigma-algebra G, and any predictor ZL2(G).

[F1]

The conditional mean is the unique L2 minimizer and is orthogonal to every G-measurable L2 residual. (Conditional expectation is the l2 orthogonal projection)

[F2]

Finite weights summing to one define a probability space. (Finite probability spaces are exactly finite full-power-set probability spaces)

[F3]

The event-integral characterization identifies an integrable G-measurable version. (Conditional expectation as an ae class)

Verification

technique · direct
1.1

Write XZ=(XU)+(UZ). Since UZL2(G), [F1] gives E[(XU)(UZ)]=0. Expansion gives the displayed decomposition. The last term is the squared L2 norm of U-Z, so it is zero exactly when Z=U almost surely. This proves both directions of the minimum-error assertion.

F1
2.1

For an instance take four equally weighted atoms by [F2], X values (0,2,4,6), and G generated by the first pair and last pair. The G-measurable U=(1,1,5,5) has on each pair the same integral as X, namely 1/2 and 5/2, so it is the conditional mean. For the constant predictor Z=3 the total error is (9+1+1+9)/4=5, the residual error is (1+1+1+1)/4=1, and the prediction displacement is (4+4+4+4)/4=4. Thus the formula reads 5=1+4.

step 1.1F2F3

Source notes

Durrett Theorem 4.1.15, printed p.213; van der Vaart Lemma 1.8, printed p.3. The four-atom calculation illustrates the orthogonal error decomposition.

ExampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

Law of total variance

Example

Assume AC for conditional classes. On Ω={0,1}2 with full sigma-algebra and each atom of mass 1/4, put U(u,v)=u, V(u,v)=v, X=U+V and G=σ(U). Then Var(X)=1/2, E[Var(XG)]=1/4 and Var(E[XG])=1/4.

Facts & Assumptions

Given: The four-atom model, variables U,V,X and sigma-algebra G specified in the example; AC is the conditional-class convention.

[F1]

Finite weights summing to one define a probability measure. (Finite probability spaces are exactly finite full-power-set probability spaces)

[F2]

A known variable conditions to itself; an independent variable conditions to its mean. (Conditioning a known variable and an independent variable)

[F3]

Conditional expectation is linear and fixes constants. (Basic algebra and order properties of conditional expectation)

[F4]

Total variance is expected conditional variance plus the variance of the conditional mean. (Conditional variance decomposition)

[F5]

Conditional variance is the conditional mean of the squared residual. (Conditional variance)

Verification

technique · direct
1.1

The four masses are nonnegative and sum to one, so [F1] constructs the probability space. Each U and V marginal has mass one half at zero and at one, and P(U=u,V=v)=1/4=P(U=u)P(V=v) for all four pairs. Summing over coordinate subsets gives independence for every Borel rectangle. Both variables are bounded and integrable, with EU=EV=1/2.

F1
2.1

By [F2]–[F3], E[XG]=U+1/2. The residual is V1/2, whose square equals 1/4 at every atom. Thus [F5] and the constant rule [F3] give Var(XG)=1/4 and its expectation 1/4.

step 1.1F2F3F5
3.1

The four X values are (0,1,1,2), with mean 1, so Var(X)=(1+0+0+1)/4=1/2. The conditional mean takes values one half and three halves, each with probability one half; its mean is 1 and its variance is ((1/2)2+(1/2)2)/2=1/4. Therefore the three computed quantities satisfy [F4] as 1/2=1/4+1/4.

step 2.1F4

Source notes

Durrett §4.1.2, printed pp.210–213, conditional identities; the explicit four-atom variance instance is locally calculated and has generated-example provenance.

CounterexampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

A version can fail a pointwise identity on a null set

Statement refuted

The assertion “every version of E[0F] equals zero at every sample point” is false, under the usual AC conditional-class convention.

Facts & Assumptions

Given: The universal pointwise claim in Statement refuted; a witness will be constructed on two atoms.

[F1]

A real measurable integrable function with the required event integrals is a version of the class. (Conditional expectation as an ae class)

Counterexample

technique · direct
1.1

Let Ω={a,b}, F=P(Ω) and P(A)=1{bA}. This is a probability measure: P(Omega)=1, P(empty)=0, and in a disjoint sequence at most one event contains b, so countable additivity holds. Take T=1{a}. It is F-measurable and ET=10+01=0.

given
2.1

For every A subset Omega, AT=T(b)1{bA}=0=A0. Thus [F1] makes T a version of the conditional expectation of zero. But T(a)=1, so the claimed pointwise identity fails at a. The discrepancy set {a} has probability zero, consistent with almost-sure uniqueness.

step 1.1F1

Source notes

Durrett §4.1 uniqueness/version discussion, printed p.206; van der Vaart warning after Lemma 1.10, printed p.4. The two-atom witness is locally constructed.

CounterexampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

Conditioning does not preserve strict inequalities

Statement refuted

Even when X(ω)<Y(ω) at every point, arbitrary versions of their conditional expectations need not satisfy that strict inequality at every point. This is a pointwise-version counterexample; strict almost-sure inequalities are preserved.

Facts & Assumptions

Given: The claim that pointwise strict input order must hold for every pair of conditional versions at every point; a two-atom witness will be constructed.

[F1]

The class is specified by event integrals, not by fixed values at null points. (Conditional expectation as an ae class)

[F2]

Strict almost-sure order is preserved by conditional expectation. (Basic algebra and order properties of conditional expectation)

Counterexample

technique · direct
1.1

On Ω={a,b} take the full sigma-algebra G=F and P(A)=1{bA}. Countable additivity holds because at most one member of a disjoint sequence contains b, and total mass is one. Let X=0 and Y=1 everywhere. Then X<Y at both points. Set S(a)=2,S(b)=0 and T=1 everywhere; these are measurable and integrable.

given
2.1

For every A, AS=0=AX and AT=P(A)=AY, so [F1] makes S,T conditional versions. At a, however, S(a)=2 is larger than T(a)=1. At the mass-one point b, S(b)=0<T(b)=1. Hence the failed strict pointwise inequality is fully consistent with the strict almost-sure order theorem [F2].

step 1.1F1F2

Source notes

Durrett §4.1 version convention, printed p.206. The local basic-properties theorem proves strict almost-sure preservation. The stable requested ID retains the Step-3-approved pointwise interpretation.

CounterexampleConstruction: AI-generatedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-10Open item page →

Taking out an unbounded factor needs integrability

Statement refuted

Under the AC conditional-class convention, omitting product integrability from the signed L1 taking-out rule can leave its left side undefined even when both factors are integrable and the product of the factor with the conditional mean is zero.

Facts & Assumptions

Given: The proposed signed taking-out rule with product integrability omitted; a countable atomic witness will be constructed.

[F1]

The Dirac set function is the indicator that the specified point belongs to an event. (The Dirac set function at a point)

[F2]

Each Dirac set function is a probability measure. (A Dirac set function is a probability measure)

[F3]

Countable nonnegative weighted sums are defined eventwise. (Nonnegative scalar multiples and countable weighted sums of measures)

[F4]

Nonnegative weighted sums of measures are measures. (Nonnegative scalar multiples and countable weighted sums of measures are measures)

[F5]

Integer powers at the positive base two are defined. (Integer powers am)

[F7]

A measure of total mass one is a probability measure. (Probability measures and probability spaces)

[F8]

The signed L1 conditional expectation requires an integrable real input. (Conditional expectation as an ae class)

[F9]

The taking-out rule requires integrability of the input product. (Taking out what is known)

[F10]

Integrals on the countable atomic space are sums, by increasing partial sums for nonnegative functions. (Monotone convergence for the integral)

Counterexample

technique · direct
1.1

Let Ω=N1×{1,1} with its power-set sigma-algebra. By [F5]–[F6], S=n123n=(1/8)/(11/8)=1/7. Set wn=23n1/S. These weights are positive finite numbers.

F5F6
2.1

Define P=n1wnδ(n,1)+n1wnδ(n,1). The Dirac probabilities [F1]–[F2] and weighted-sum construction [F3]–[F4] make this a measure on all subsets. Its mass is 2nwn=S/S=1, so [F7] makes it a probability measure. In particular each atom (n,s) has mass w_n.

step 1.1F1F2F3F4F7
3.1

Let G=σ((n,s)n), X(n,s)=s2n and Z(n,s)=22n. Z is finite G-measurable, X is real measurable, and [F10] evaluates their absolute moments as sums. Using [F6], EX=S1n122n=7/3 and EZ=S1n12n=7. Thus each is integrable.

step 1.1step 2.1F5F6F10
4.1

Each G-event is a union of two-point fibres. On the nth fibre the X integral is wn(2n)+wn2n=0; summing is legitimate by the finite absolute moment in step 3.1. Consequently the zero function has every defining event integral and is a version of E[XG] by [F8]. Hence ZE[XG]=0 is integrable.

step 3.1F8
5.1

But ZX(n,s)=s23n. Its positive-part integral is n1wn23n=n1(2S)1=, and the negative-part integral has exactly the same value. These sums are nonnegative integrals by [F10]. Thus the signed expectation would require infinity minus infinity; ZX is not an L1 input to [F8]. The left side E[ZXG] of [F9] is undefined in that sense although the proposed right side is zero. This proves the failure when the product-integrability hypothesis is omitted.

step 2.1step 4.1F8F9F10

Source notes

Durrett Theorem 4.1.14, printed pp.212–213, states the integrable-product hypothesis. The constructed atomic counterexample, its normalization and all moments are independently calculated here.

5 · Examples, counterexamples and false statements

None yet.

Sources