Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedPipeline-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.

Binomial upper confidence limit by lower-tail test inversion

Example

Let the observation space be {0,…,n} with its full power set, n≥1, p∈[0,1], 0<α<1, and let X have mass Pp(X=j)=(nj)pj(1−p)n−j, j=0,…,n, with 00=1. Define Fp(k)=∑j=0k(nj)pj(1−p)n−j. For k<n, let Uk∈(0,1) be the unique solution of FUk(k)=α, and set Un=1. Then C(X)=[0,UX] is the confidence set obtained by inverting the lower-tail tests that reject p=p0 when Fp0(X)<α. Its coverage is at least 1−α; discreteness can make it conservative.

Facts & Assumptions

Given: The finite binomial model, n≥1, p∈[0,1], and 0<α<1.

[F1]

The binomial theorem over an arbitrary commutative ring: the binomial expansion holds for real p and 1−p.

[F2]

Confidence sets and coverage: coverage is the probability that the true parameter belongs to the confidence set.

[F3]

Coverage from test inversion: inverting measurable point-null acceptance events of probability at least 1−α gives coverage at least 1−α.

[F4]
[F5]

Sigma-algebras: a sigma-algebra is an algebra of subsets closed under countable unions.

[F6]

Probability measures and probability spaces: a probability measure is a measure of total mass one on a measurable space.

[F7]

Statistical experiments: an experiment fixes a measurable observation space and a probability law for each parameter.

[F8]

Test size and power: a test has level α when its size, the supremum of its rejection probabilities over the null, is at most α.

Verification

1.1givenF1F5F6F7algebra

The full power set of {0,…,n} is an algebra closed under countable unions, hence a sigma-algebra by [F5]. The binomial theorem [F1] gives ∑j=0n(nj)pj(1−p)n−j=(p+1−p)n=1; all terms are nonnegative for p∈[0,1], so [F6] makes the displayed masses a probability measure, including p=0,1. These laws form an experiment as in [F7].

1.2givenF4F9F10algebra

For k<n, count pairs consisting of a j-element subset of an n-element set and a distinguished element inside it. Counting in the two orders gives j(nj)=n(n−1j−1) for 1≤j≤k. Counting instead a distinguished element outside the subset gives (n−j)(nj)=n(n−1j) for 0≤j≤k, by [F4]. The first identity is not used at j=0: in differentiating pj, that boundary term is zero, so the first derivative sum starts at j=1, while the second identity includes j=0. Since Fp(k) is a polynomial, it is continuous on [0,1], and for 0<p<1 termwise differentiation and the two identities give ddpFp(k)=∑j=1kj(nj)pj−1(1−p)n−j−∑j=0k(n−j)(nj)pj(1−p)n−j−1=−n(n−1k)pk(1−p)n−k−1<0. When k=0, the first sum is empty and the j=0 term of the second sum gives the same formula. By [F9], Fp(k) is strictly decreasing on [0,1]. Also F0(k)=1 and F1(k)=0 because k<n. Applying [F10] to this continuous polynomial on [0,1] gives a point Uk∈(0,1) with FUk(k)=α; strict decrease makes it unique.

2.1givenF8step 1.1algebra

For each fixed candidate p0, Fp0(k) is nondecreasing in integer k. Let k0 be the least k∈{0,…,n} with Fp0(k)≥α, which exists because Fp0(n)=1. The deterministic test function is φp0(x)=1{Fp0(x)<α}; it is measurable on this finite space. Its rejection event is {X<k0}, whose probability is 0 if k0=0, and otherwise is Fp0(k0−1)<α. The null is {p0}, and the alternative [0,1]∖{p0} is nonempty; by [F8] the test size equals this rejection probability and is at most α.

3.1givenF2F3step 1.2step 2.1algebra∎

For an observed x<n, strict decrease of Fp(x) in p makes {p0:Fp0(x)≥α}=[0,Ux]; for x=n, the set is [0,1]=[0,Un]. Thus C(X) is precisely the inversion of those acceptance events. The level calculation in step 2.1 and [F3] imply its coverage is at least 1−α, in the sense of [F2].

Remarks

The finite binomial size calculation uses the current Test size and power interface, and Coverage from test inversion supplies the stated coverage implication.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

61 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