Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: 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.

The expected number of triangles in G(n,p) is (n3)p3

Example

Let T be the number of triangles in G(n,p). Then E[T]=(n3)p3, and Var⁡(T)=(n3)(p3−p6)+2(n2)(n−22)(p5−p6).

Facts & Assumptions

Given: The random graph G(n,p) and its triangle count T.

[L1]

G(n,p) has independent Bernoulli edge coordinates (The Erdős-Rényi finite random graph G(n,p)).

[L2]

A prescribed set of r present edges has probability pr (A prescribed set of present and absent edges in G(n,p) has product probability).

[L4]

There are (n3) vertex triples and (n2) vertex pairs (The set [A]k of k-element subsets and the binomial coefficient (nk):=∣[n]k∣).

[L5]

Variance and covariance obey their centred-product definitions, and the variance of a finite sum is the sum of individual variances plus twice the unordered pairwise covariances (Variance, standard deviation, and covariance on a finite probability space, Variance of a finite sum as the sum of all variances and covariances).

Verification

technique · direct
1.1

Write T=∑QIQ, with Q ranging over three-element vertex sets. Each IQ requires three present edges and has expectation p3, so E[T]=(n3)p3.

L2L3L4
1.2

Each indicator has variance p3−p6. Two distinct triangles are independent unless they share an edge; if they share an edge, their joint occurrence requires five edges and their covariance is p5−p6.

L1L2L5algebra
1.3

An unordered pair of triangles sharing an edge is determined by the common edge and the two distinct extra vertices, so there are (n2)(n−22) such pairs.

L4
2.1

Sum the individual variances and twice the unordered covariances to obtain the formula. For n<3 all relevant binomial coefficients vanish; for p=0,1 the variance is zero.

step 1.1step 1.2step 1.3L5∎

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

28 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