Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck pass
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.

First- and second-moment bounds for a nonempty Bernoulli random subset

Example

Retain each element of [n] independently with probability p, and let X be the size of the random subset. Then E[X]=np,E[X2]=np(1−p)+n2p2,P(X>0)=1−(1−p)n. When np>0, the first- and second-moment bounds give P(X>0)≤np,P(X>0)≥np1−p+np.

Facts & Assumptions

Given: Naturals n and a real p∈[0,1].

[L1]

X is a sum of n mutually independent Bernoulli(p) variables, and mutual independence factors their joint attained-value probabilities (Bernoulli random variables and binomial random variables as sums of independent Bernoulli trials, Pairwise and mutual independence of finite-valued random variables).

[L2]

Expectation is linear on finite sums on the finite retention probability space. (Expectation is linear for every finite family of random variables, without any independence hypothesis)

[L3]

Each retention indicator has expectation equal to its event probability; the product of two indicators is the indicator of their intersection. (Indicators turn event probabilities, intersections, and finite counts into expectations and products)

Verification

technique · cases
1.1L1

The event X=0 means every retention coordinate is zero, so P(X>0)=1−(1−p)n.

1.2L1L2L3algebra

Write Ii for the indicator that element i is retained, so X=∑i<nIi. By [L3], Ii2=Ii and EIi=p; for distinct i,j, [L1] and [L3] give E[IiIj]=P(Ii=Ij=1)=p2. Finite linearity [L2] therefore gives EX=np, and expanding the finite square gives E[X2]=∑i<nEIi+∑i≠jE[IiIj]=np+n(n−1)p2=np(1−p)+n2p2. There are n(n−1) ordered distinct pairs; when n=0 or n=1 that pair sum is empty.

2.1assume-case zeroL1step 1.2

If np=0, then n=0 or p=0, and X=0 almost surely; all three displayed exact formulas give zero where appropriate, while the second-moment ratio is not formed.

2.2assume-case positivestep 1.1step 1.2L4algebra

If np>0, Markov at threshold 1 gives P(X>0)≤np, and the second-moment bound with steps 1.1 and 1.2 gives P(X>0)≥(np)2/(np(1−p)+n2p2)=np/(1−p+np).

3.1step 2.1step 2.2cases-exhaustive∎

The cases are exhaustive. At p=1 and n>0, the exact probability is 1 and the second-moment lower bound is np/(1−p+np)=1, while the Markov upper bound is np=n and is vacuous for n≥2.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

15 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