Alphabeta Math
Physics theoremStatement: AI-adaptedProof: 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.

Finite Bernoulli fluctuations and matching exponential rates

Physical scope

Exact bounds for the explicitly adopted finite IID Bernoulli product law; no laboratory sampling, observations, calibration, or empirical inference is asserted.

Statement

Let n≥1 be an integer, let p∈(0,1), and give Ωn={0,1}n the explicitly stipulated product probability whose singleton weights are Pp({(x1,…,xn)})=∏i=1npxi(1−p)1−xi; for an event A⊆Ωn, Pp(A) is the sum of these weights over x∈A. Write Xi(x)=xi, K=∑i=1nXi, and X‾=K/n. These variables and all probabilities are dimensionless. The product law is an adopted sampling model; independence is an assumption of that law, not an inference about any apparatus or equilibrium system.

For a∈(0,1) define the Bernoulli relative-entropy rate D(a∥p)=alog⁡ap+(1−a)log⁡1−a1−p, and set D(0∥p)=−log⁡(1−p) and D(1∥p)=−log⁡p. Then EK=np,Var⁡(K)=np(1−p), and for every dimensionless ε>0, Pp(∣X‾−p∣≥ε)≤p(1−p)nε2,Pp(∣X‾−p∣≥ε)≤2e−2nε2. For p<a<1 and 0<a<p, respectively, Pp(K≥na)≤e−nD(a∥p),Pp(K≤na)≤e−nD(a∥p). For each integer 0≤k≤n, putting a=k/n gives the point-mass bounds 1n+1e−nD(a∥p)≤Pp(K=k)≤e−nD(a∥p). Consequently, for every sequence of integers kn∈{0,…,n} with kn/n→a∈(0,1), lim⁡n→∞1nlog⁡Pp(K=kn)=−D(a∥p). All conclusions are conditional calculations for this finite product model and make no claim that physical outcomes are independent or that a small model probability is a logical contradiction.

Facts & Assumptions

Given: The stated finite product law, n≥1, p∈(0,1), and the definitions of K, X‾, and D(a∥p) in the Statement.

[F1]

Declared example preparations and thermodynamic interpretation: consuming the named finite model may state its product preparation as a separate explicit probability law; such a preparation is an adopted assumption, not evidence that a laboratory realizes it.

[F2]

Finite probability spaces, outcome weights, events, and event probabilities: a finite probability space is a finite outcome set with nonnegative weights summing to one; event probabilities are sums of those weights.

[F3]

Real random variables on finite probability spaces and their finite distributions: a real random variable on a finite probability space is a function from the outcome set to R.

[F4]

Expectation of a real random variable on a finite probability space: EY=∑x∈ΩnPp(x)Y(x).

[F5]

The moment generating function MX(t)=E[etX] on a finite probability space: for a finite real random variable Y, MY(s)=E[exp⁡(sY)] for every real s.

[F6]

The real exponential function and the number e by a power series: exp⁡ is defined by its everywhere-convergent real power series.

[F7]

The natural logarithm as the inverse of the exponential function: log⁡x is the unique real y with exp⁡(y)=x, for x>0.

[F8]

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: for positive x,y, log⁡(xy)=log⁡x+log⁡y and log⁡(x/y)=log⁡x−log⁡y.

[F9]

The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t: for x>0, log⁡ is differentiable with log⁡′(x)=1/x.

[F10]

The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a): if g is continuous on a closed interval and differentiable in its interior, then g(b)−g(a)=g′(c)(b−a) for some interior c.

[F11]

The logarithm grows more slowly than every positive real power: for every α>0, log⁡x/xα→0 as x→+∞.

[F12]

Variance of a finite real random variable: on a finite probability space, Var⁡(Y)=E[(Y−E[Y])2].

Proof

Given: The finite IID Bernoulli model and all hypotheses in the Statement.

1.1givenF1F2F3F4F12algebra

The total weight is ∏i=1n(p+(1−p))=1, so the stipulated weights form a finite probability law. Summing over all coordinates except i gives P(Xi=1)=p and P(Xi=0)=1−p; the product factorization also gives independence. For 0≤k≤n put cn,k:=#{S⊆{1,…,n}:∣S∣=k}. The set of coordinates with value 1 gives a bijection between outcomes with K=k and such subsets, so P(K=k)=cn,kpk(1−p)n−k. By [F4] and [F12], EXi=p and Var⁡(Xi)=E[(Xi−p)2]=p(1−p). For i≠j, the product weights factor the finite sum, giving E[(Xi−p)(Xj−p)]=E(Xi−p)E(Xj−p)=0. Expanding K and (K−np)2 therefore yields EK=np and Var⁡(K)=np(1−p).

1.2givenF5F6algebra

The finite-sum definition [F5] and product weights give MK(s)=∑x∈ΩnPp(x)es∑ixi=∏i=1n((1−p)+pes)=(1−p+pes)n. This is a finite factorization, so no limiting interchange is involved.

1.3givenF7F8F9F10F11algebra

On 0<a<1, differentiating the displayed expression for D with [F9] gives D(p∥p)=0, ∂aD(a∥p)∣a=p=0, and ∂a2D(a∥p)=1/[a(1−a)]≥4, since a(1−a)≤1/4. Let G(a)=D(a∥p)−2(a−p)2. Then G(p)=G′(p)=0 and G′′≥0. For a>p, the mean value theorem applied first to G′ and then to G gives G′(a)≥0 and G(a)≥0; for a<p, the same two applications give G′(a)≤0 and again G(a)≥0. Thus D(a∥p)≥2(a−p)2 for interior a. At a↓0, the only noncontinuous-looking term is alog⁡a=−log⁡(1/a)/(1/a), which tends to zero by [F11]; at a↑1 the analogous term is (1−a)log⁡(1−a). The remaining factors are continuous, so the endpoint extensions preserve the inequality.

2.1givenstep 1.1algebra

Fix 1≤k≤n−1 and let a=k/n. For 0≤j≤n put qj=cn,jaj(1−a)n−j. These are the count probabilities under the finite product weights with parameter a; their sum is 1 by factoring the total weight as (a+(1−a))n. For each 0≤j<n, count pairs (S,T) with S⊂T⊆{1,…,n}, ∣S∣=j, and ∣T∣=j+1. Choosing S first gives cn,j(n−j) pairs, while choosing T first gives cn,j+1(j+1); hence cn,j+1/cn,j=(n−j)/(j+1). Therefore qj+1qj=n−jj+1a1−a. The factor (n−j)/(j+1) decreases strictly with j, since (n−j−1)(j+1)<(n−j)(j+2) for j<n−1. At j=k−1 the ratio is (n−k+1)/(n−k)>1, and at j=k it is k/(k+1)<1. Thus the sequence increases through qk and decreases after it, so qk is the largest of its n+1 masses. Their sum is 1, whence 1/(n+1)≤qk≤1.

2.2givenF4step 1.1algebra

Pointwise on Ωn, 1{∣X‾−p∣≥ε}≤(X‾−p)2/ε2. Summing this inequality with the finite weights and using step 1.1 gives the first probability bound.

2.3givenF4F5F6F7F8step 1.2algebra

Suppose first p<a<1 and put s=log⁡ ⁣(a(1−p)/(p(1−a)))>0. On {K≥na}, esK≥esna, so the finite expectation of the nonnegative random variable esK is at least esnaPp(K≥na). By step 1.2, Pp(K≥na)≤e−sna(1−p+pes)n=e−nD(a∥p), where es=a(1−p)/(p(1−a)), 1−p+pes=(1−p)/(1−a), and [F7]–[F8] simplify the logarithm. If 0<a<p, the same value of s is negative; on {K≤na} one again has esK≥esna, and the same substitution yields Pp(K≤na)≤e−nD(a∥p). This proves both exponential tail bounds without using a general concentration theorem as a premise.

3.1givenF7F8step 1.1step 2.1algebra

Direct division of the two point probabilities, using the same subset count cn,k from step 1.1, gives Pp(K=k)qk=(pa)k(1−p1−a)n−k. Since k=na and n−k=n(1−a), [F7]–[F8] give the logarithm of this ratio as nalog⁡(p/a)+n(1−a)log⁡((1−p)/(1−a))=−nD(a∥p), so the ratio is e−nD(a∥p). Combining with step 2.1 proves the claimed bounds for 1≤k≤n−1. For k=0 and k=n, direct evaluation gives Pp(K=0)=(1−p)n=e−nD(0∥p) and Pp(K=n)=pn=e−nD(1∥p), which satisfy the same inequalities.

3.2givenstep 2.3step 1.3algebra

If 0<ε<1, split the deviation event into the upper threshold a+=p+ε and lower threshold a−=p−ε. For an interior threshold apply step 2.3 and then step 1.3; at a+=1 or a−=0 use the exact endpoint probability pn or (1−p)n and the endpoint case of step 1.3; a threshold outside [0,1] gives an empty event. Each nonempty tail is at most e−2nε2, so their sum is at most 2e−2nε2. If ε≥1, the deviation event is empty because 0≤X‾≤1 and 0<p<1.

4.1givenF7F11step 3.1∎

If kn/n→a∈(0,1), then D(kn/n∥p)→D(a∥p) by continuity on (0,1). Taking logarithms of step 3.1 and dividing by n bounds n−1log⁡Pp(K=kn) between −D(kn/n∥p)−log⁡(n+1)/n and −D(kn/n∥p). By [F11], log⁡(n+1)/n→0, so the squeeze theorem gives the stated rate. These probabilities remain conditional on the explicitly stipulated product law; no finite sample or measurement is asserted.

Depends on

Dependency tree · 2 levels

Sources