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.

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).

Verification

technique · cases
1.1

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

L1
1.2

The identity [L3] and [L2] give E[X2]=np(1−p)+n2p2.

L2L3algebra
1.3

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.

assume-case zeroL1L2
2.1

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).

assume-case positivestep 1.1step 1.2L4algebra
3.1

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.

step 1.3step 2.1cases-exhaustive∎

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

16 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