Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck passjudge pass (gpt-6-luna)
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 hypergeometric moments for a logrank risk set

Statement

Fix a risk set with Y1 group-1 subjects, Y0 group-0 subjects, and Y=Y1+Y0. Conditional on the margins, suppose the d failing subjects are a uniform d-subset of these Y subjects, where 0≤d≤Y. Let O be the number of failures in group 1. If Y>1, then E[O]=dY1Y,Var⁡(O)=Y1Y0d(Y−d)Y2(Y−1). If Y=0 or Y=1, set the contribution to the variance to zero; the expectation remains dY1/Y when Y>0, and is zero when Y=0.

For the sequential assertion, take a finite sequence j=1,…,J on a probability space with a filtration H0⊆H1⊆⋯⊆HJ. Before the failures at step j are revealed, the current risk-set subjects, their group counts Y1j,Y0j, and the total dj are Hj−1-measurable, with 0≤dj≤Yj:=Y1j+Y0j. Conditionally on Hj−1, the failing subjects are a uniform dj-subset of the current Yj subjects; their identities are revealed in Hj. If Yj=0, necessarily dj=0 and the failing subset is empty. Put Ej=djY1j/Yj when Yj>0 and Ej=0 when Yj=0; let Vj be the displayed risk-set variance when Yj>1 and zero when Yj≤1. Suppose each real weight wj is Hj−1-measurable and E ⁣[∑j=1Jwj2Vj]<∞. Then Dj=wj(Oj−Ej) are square-integrable martingale differences and E ⁣[∑jDj]=0,Var⁡ ⁣(∑jDj)=E ⁣[∑jwj2Vj], where the nonempty-risk-set variance contribution is the one in Two-group logrank and weighted logrank scores.

Facts & Assumptions

Given: A finite risk set, its two group counts, a total failure count d, the uniform-subset allocation model, and, for the sequential assertion, the finite filtration, measurable pre-reveal margins, zero-risk convention, conditional law, predictable weights, and integrability condition stated above.

[F1]

The uniform probability space on a nonempty finite set: the uniform law on a nonempty finite set assigns each element probability equal to the reciprocal of the set's cardinality.

[F2]

The indicator random variable of an event: an indicator is one on its event and zero elsewhere.

[F3]

Expectation is linear for every finite family of random variables, without any independence hypothesis: expectation of a finite sum is the sum of the expectations; independence is not required.

[F4]

Indicators turn event probabilities, intersections, and finite counts into expectations and products: indicator expectations equal event probabilities, and products of indicators equal indicators of intersections.

[F5]

Variance, standard deviation, and covariance on a finite probability space: variance and covariance are expectations of the centered square and centered product.

[F6]

Var⁡(X)=E[X2]−E[X]2 and Cov⁡(X,Y)=E[XY]−E[X]E[Y]: variance and covariance may be expanded as E[X2]−(EX)2 and E[XY]−EX EY.

[F7]

Two-group logrank and weighted logrank scores: Ej=djY1j/Yj, and under the conditional hypergeometric model Vj=Y1jY0jdj(Yj−dj)/(Yj2(Yj−1)) when Yj>1, with zero contribution for Yj=1.

[A1]

Conditional on Hj−1, which includes the risk-set margins and dj, each dj-subset of the Yj risk-set subjects has equal probability.

Proof

1.1A1F1F2F3F4given

If Y=0, then d=0, O=0, and both stated moments are zero. Suppose Y≥1. For each of the Y1 group-1 subjects let Ia indicate that subject a is in the failing subset. Under [A1], when d≥1, P(Ia=1)=(Y−1d−1)/(Yd)=d/Y; for d=0, both sides are zero. Since O=∑a=1Y1Ia, [F3] and [F4] give EO=Y1d/Y.

1.2F1F5given

If Y=1, then d∈{0,1} and the failing subset is deterministic: O=dY1. Its expectation is dY1/Y and its variance is zero, as stipulated.

2.1F3F5F6givenalgebrastep 1.1

Suppose Y>1. For distinct group-1 subjects a,b, if d≥2 the same subset count gives P(Ia=Ib=1)=(Y−2d−2)/(Yd)=d(d−1)/(Y(Y−1)); for d=0 or d=1 the probability and the displayed ratio are both zero. Using [F5] and [F6], Var⁡(Ia)=d(Y−d)Y2,Cov⁡(Ia,Ib)=−d(Y−d)Y2(Y−1). Thus [F3] and [F5] give Var⁡(O)=Y1d(Y−d)Y2−Y1(Y1−1)d(Y−d)Y2(Y−1)=Y1(Y−Y1)d(Y−d)Y2(Y−1). Since Y−Y1=Y0, this is the stated variance, including d=0, d=Y, Y1=0, and Y1=Y.

3.1A1F3F7step 1.1step 2.1algebrastep 1.2∎

In the sequential model, step 1.1 and the Yj=0 convention give E[Oj−Ej∣Hj−1]=0, and step 2.1 gives conditional variance Vj. Since wj is Hj−1-measurable, Dj has conditional mean zero and conditional second moment wj2Vj. The stated integrability condition makes each Dj square-integrable. If k<j, the filtration property and the revelation convention make Dk Hj−1-measurable, so E[DkDj]=E[Dk E(Dj∣Hj−1)]=0. Expanding the finite sum's variance therefore yields both sequential identities.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

19 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