Alphabeta Math
Pipeline-generated
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.

✓ 5 results · all verified · 4 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Marginal likelihoods, Bayes factors, and empirical Bayes — Examples

1 · Prerequisites

2 · Summary

These worked cases compare point-null mass under atomic and continuous priors, show why a Bayes factor can change with the spread of a proper prior, and why an arbitrarily normalized improper prior cannot give a generic model evidence. They also compute a negative balanced-ANOVA moment estimate and exhibit a finite hierarchy in which full Bayes retains hyperparameter uncertainty and induces group dependence, while a Type-II plug-in posterior conditions on one selected hyperparameter value.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A negative balanced-ANOVA moment estimate

Example

In the balanced one-way model take k=r=2, fix μ=0, and observe Y11=−1, Y12=1, Y21=−1, and Y22=1. The raw method-of-moments estimate of the between-group variance is negative. This observed estimate does not establish that the true between-group variance is zero.

Facts & Assumptions

Given: The balanced one-way model with τ2>0, σ2>0, μ=0, and the displayed observations.

[A1]

AC is assumed for the normal-law convention used here. The Axiom of Choice

[F1]

For k,r≥2, the raw method-of-moments estimate is (MSB−MSW)/r under the balanced one-way normal random-effects model. Expected mean squares in the balanced one-way normal random-effects model

[F2]

For m∈R and s>0, N(m,s2) has the strictly positive Lebesgue density (2πs2)−1/2exp⁡(−(x−m)2/(2s2)). A positive-variance normal law has its location-scale density

[F3]

Independent random elements have independent generated sigma-algebras, so probabilities of finite coordinate rectangles factor. Independent random elements

Verification

Given: The model and observations in the Example.

1.1F1givenalgebra

Both group means and the grand mean are zero, so MSB=2(02+02)=0. Each of the four within-group residuals is either −1 or 1, hence MSW=(1+1+1+1)/2=2. By [F1], the raw estimate is (0−2)/2=−1.

2.1A1F2F3step 1.1construct∎

The map from the four observations to (MSB−MSW)/2 is a polynomial divided by the fixed positive integer 2, hence continuous. At the displayed table its value is −1 by step 1.1, so some open neighborhood of the table still has negative estimates. The latent vector (a1,a2,ϵ11,ϵ12,ϵ21,ϵ22)=(0,0,−1,1,−1,1) maps to that table. Since every coordinate has a strictly positive normal density by [F2], an open rectangle around this latent vector has positive probability by independence [F3]; it can be chosen inside the preimage of the negative-estimate neighborhood. Thus negative estimates occur with positive probability even when τ2>0, so replacing them by zero changes the estimator and does not prove a structural zero.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A diffuse normal prior changes the point-null Bayes factor

Example

Compare M0:θ=0 with M1:θ∼N(0,τ2) and Y∣θ∼N(θ,σ2), where τ2,σ2>0. At the fixed observation y=0, the Bayes factor for the alternative against the point null depends on the spread τ2 of the proper alternative prior and tends to zero as that prior becomes diffuse.

Facts & Assumptions

Given: The two-model normal comparison in the Example and the observation y=0.

[A1]

AC is assumed for the library normal-law convention. The Axiom of Choice

[F1]

A proper model evidence is the integral of the specified likelihood density against its proper parameter prior; a Bayes factor is the ratio of two finite positive evidences. Marginal likelihoods, proper model evidence, and Bayes factors

[F2]

For m∈R and s>0, N(m,s2) has Lebesgue density (2πs2)−1/2exp⁡(−(x−m)2/(2s2)). A positive-variance normal law has its location-scale density

Verification

Given: The proper priors, normal likelihoods, and observation in the Example.

1.1A1F1F2givenalgebra

By [F2], m0(0)=(2πσ2)−1/2. The alternative evidence is m1(0)=∫Re−θ2/(2τ2)2πτ2 e−θ2/(2σ2)2πσ2 dθ. The exponent coefficient is (τ2+σ2)/(2τ2σ2); substituting z=θ(τ2+σ2)/(τ2σ2) and using the standard normal integral gives m1(0)=(2π(τ2+σ2))−1/2. Both evidences are finite and positive.

2.1F1step 1.1algebra∎

By [F1], the alternative-to-null Bayes factor is BF10(0)=m1(0)/m0(0)=σ2/(σ2+τ2). As τ2→∞ with σ2 fixed, this tends to zero. Therefore the evidence ratio changes with the proper alternative prior's spread even though the observed datum and point-null model remain fixed.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

An improper flat-prior scale makes a formal evidence arbitrary

Example

Consider one observation Y from the normal location model Y∣θ∼N(θ,σ2) with known σ2>0. For any c>0, the measure Πc(dθ)=c λ(dθ) is an improper flat prior, where λ is Lebesgue measure (Lebesgue measurable sets, the family L(Rn), and the restricted set function λn). The likelihood integral against it is finite but equals c. If two competing models use this same normal-location likelihood, with the same observed y and known variance, but use independent arbitrary constants c1 and c2, their formal evidence ratio is c2/c1, so it has no value determined by the models.

Facts & Assumptions

Given: A normal location likelihood with σ2>0, an observation y∈R, and the sigma-finite prior measure c dθ for c>0.

[A1]

AC is assumed for the library normal-law convention. The Axiom of Choice

[F1]

A proper-model evidence in this pair is defined by integrating a specified likelihood density against a probability prior. Marginal likelihoods, proper model evidence, and Bayes factors

[F2]

The BCS-02 fiberwise normalizer is the likelihood integral against the supplied sigma-finite prior measure; an improper prior has infinite total mass. Evidence normalizer and fiberwise posterior update

[F3]

AC implies Countable Choice. AC implies DC implies countable choice

[F4]

Under Countable Choice, Lebesgue measure is sigma-finite and finite on bounded sets. Lebesgue measure is sigma-finite, and every metrically bounded subset of Rn has finite outer measure

[F6]

For σ>0, the normal location likelihood density is (2πσ2)−1/2exp⁡(−(y−θ)2/(2σ2)). A positive-variance normal law has its location-scale density

Verification

Given: The model and prior measure in the Example.

1.1A1F1F2F3F4F5F6givenalgebra

By [A1, F3, F4], λ is sigma-finite, so Πc=cλ is sigma-finite. By [F5], Πc([−n,n])=2cn for every positive integer n, hence Πc(R)=+∞ and it is improper in the sense of [F2]. By [F6], its formal likelihood integral is ∫Rc2πσ2exp⁡ ⁣(−(y−θ)22σ2)dθ. The substitution z=(y−θ)/σ has absolute Jacobian σ, so this equals c∫R(2π)−1/2e−z2/2 dz=c. This value is positive and finite for every fixed c>0, but Πc(R)=+∞, so it is not an evidence under [F1].

2.1F1F2step 1.1algebra∎

For the two copies of the same normal-location likelihood specified above, with model-specific constants c1,c2>0, the formal ratio is c2/c1 by step 1.1. Rescaling either improper prior changes this ratio arbitrarily while leaving its unnormalized density proportional to Lebesgue measure; hence no generic Bayes factor is defined by these improper priors.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A shared hyperparameter can couple group parameters

Example

Give H=Θ={0,1} their discrete sigma-algebras. Let η∈{0,1} have prior probability 1/2 at each value. Given η, let θ1,θ2 be conditionally independent with θj=η almost surely. For each group, let the observation space be the singleton {∗} with its full sigma-algebra and counting measure νj({∗})=1. Let the observation kernel be point mass at ∗, with specified jointly measurable density fj(θj,∗)=1 relative to νj. The data contain no information about η.

Facts & Assumptions

Given: The finite two-group hierarchy and singleton observation kernels specified in the Example.

[F1]

In a finite-group hierarchy, a proper hyperprior and conditional group kernel define the latent prior; the groups are conditionally independent given the shared hyperparameter. Finite-group hierarchical Bayesian model

[F2]

On a fiber with positive finite evidence, the hierarchical posterior is the normalized joint likelihood times latent prior. Hierarchical posterior normalization on positive finite evidence

[F3]

Type-II maximum marginal likelihood selects an attained maximizer only where it exists, and its plug-in posterior fixes the chosen hyperparameter. Type-II maximum marginal likelihood and empirical-Bayes plug-in posterior

[F4]

A measurable space is standard Borel when it is bimeasurably isomorphic to a Polish space. The finite discrete spaces here are Polish. Standard Borel spaces

Verification

Given: The hierarchy and singleton observations in the Example.

1.1F1F2F4given

The finite discrete spaces are standard Borel by [F4]. The two-point hyperprior is proper, G0=δ0 and G1=δ1 are probability kernels, and each singleton observation measure νj is finite, hence sigma-finite. Its observation kernel has the specified density fj(θj,∗)=1, jointly measurable on the finite product space. Thus the hierarchy in [F1] is well-defined and its joint evidence is Z(∗)=1. By [F2], the full posterior equals the prior: it assigns probability 1/2 to (η,θ1,θ2)=(0,0,0) and 1/2 to (1,1,1).

2.1F1F3step 1.1given

For either fixed η, the conditional marginal likelihood is m(∗∣η)=1, so both values attain the maximum. The map from the singleton data space to η=0 is measurable, hence [F3] permits the plug-in choice η^(∗)=0; its posterior is δ0⊗δ0.

3.1step 1.1step 2.1algebra∎

Under the full posterior in step 1.1, Pr⁡(θ1=1)=Pr⁡(θ2=1)=1/2 but Pr⁡(θ1=1,θ2=1)=1/2≠1/4. Therefore the group parameters are dependent after the shared hyperparameter is integrated out, and the full posterior differs from the plug-in posterior in step 2.1.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passOpen item page →

Point-null mass under atomic and continuous priors

Example

Let M0 have parameter space Θ0={0} and prior Π0=δ0, and let M1 have parameter space Θ1=[0,1] and uniform prior Π1=λ∣[0,1]. Use the common data space Y={0,1} with counting measure μ, and specify the jointly measurable Bernoulli density on each parameter space by fi(θ,0)=1−θ and fi(θ,1)=θ. Give the models prior weights w0,w1>0 with w0+w1=1. After observing y=0, model M0 has positive posterior probability because it is an explicit model atom with positive prior weight. A single continuous prior on [0,1] instead assigns θ=0 probability zero.

Facts & Assumptions

Given: The two-model setup in the Example and observed value y=0.

[A1]

Countable Choice is assumed for the Lebesgue-volume formula used to compute interval and singleton measures. The Axiom of Countable Choice (ACω)

[F1]

For finitely many models with positive weights and finite positive evidences, posterior model probabilities are proportional to weight times evidence. Finite-model posterior probabilities and Bayes-factor odds

[F2]

Evidence under a proper parameter prior is the integral of the specified likelihood density against that prior. Marginal likelihoods, proper model evidence, and Bayes factors

[F4]

On R, Lebesgue measure λ is the restriction of Lebesgue outer measure to the Lebesgue measurable sets. Lebesgue measurable sets, the family L(Rn), and the restricted set function λn

Verification

Given: The models, weights, and observation in the Example.

1.1A1F1F2F3givenalgebra

By [A1, F3], λ([0,1])=1, so the uniform prior is proper. Under M0, m0(0)=1. Under M1, its density is 1 on [0,1], so m1(0)=∫01(1−θ) dθ=1/2. Both evidences are finite and positive, and [F1] gives Pr⁡(M0∣y=0)=w0/(w0+w1/2)>0.

2.1A1F3F4step 1.1algebra∎

By [F3], the degenerate closed interval [0,0]={0} is Lebesgue measurable and has measure zero; [F4] identifies this measure as λ. Thus the uniform prior assigns the singleton mass ∫{0}1 dλ=0. The separate model atom in step 1.1 instead gives θ=0 prior weight w0 and positive posterior probability.

Sources