Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (19): AIC(K)=−2L(θ^)+2(2P)\mathrm{AIC}(K)=-2L(\hat\theta)+2(2P)AIC(K)=−2L(θ^)+2(2P) with L(θ^)L(\hat\theta)L(θ^) the maximised log-likelihood

Open
Arxiv0810_5751.aic_max_log_lik

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

complex-gaussianem-algorithmmaximum-likelihoodradio-interferometrysage-algorithm

Let y∈CM\mathbf y\in\mathbb C^My∈CM and let si:CP→CM\mathbf s_i:\mathbb C^P\to\mathbb C^Msi​:CP→CM, i=1,…,Ki=1,\dots,Ki=1,…,K, be the contributions of a KKK-source model with PPP complex (2P2P2P real) parameters. Let θ^\hat{\boldsymbol\theta}θ^ be the least-squares estimate of eq. (5),

θ^∈arg⁡min⁡θ∈CP∥y−∑i=1Ksi(θ)∥2,\hat{\boldsymbol\theta}\in\arg\min_{\boldsymbol\theta\in\mathbb C^P}\Big\|\mathbf y-\sum_{i=1}^K\mathbf s_i(\boldsymbol\theta)\Big\|^2,θ^∈argθ∈CPmin​​y−i=1∑K​si​(θ)​2,

and suppose its residual is nonzero. Then the value L(θ^)L(\hat{\boldsymbol\theta})L(θ^) of eq. (18) is the maximum of the white-noise log-likelihood L(θ,σ2)L(\boldsymbol\theta,\sigma^2)L(θ,σ2) over all θ∈CP\boldsymbol\theta\in\mathbb C^Pθ∈CP and σ2>0\sigma^2>0σ2>0, so that

AIC(K)=−2L(θ^)+2(2P)=−2max⁡θ, σ2>0L(θ,σ2)+2(2P)\mathrm{AIC}(K)=-2L(\hat{\boldsymbol\theta})+2(2P)=-2\max_{\boldsymbol\theta,\,\sigma^2>0}L(\boldsymbol\theta,\sigma^2)+2(2P)AIC(K)=−2L(θ^)+2(2P)=−2θ,σ2>0max​L(θ,σ2)+2(2P)

is Akaike's criterion for the KKK-source model. The paper selects the KKK minimising AIC(K)\mathrm{AIC}(K)AIC(K).

Formalization Note The paper writes eq. (19) as a definition. What is stated here is the fact it rests on, that L(θ^)L(\hat{\boldsymbol\theta})L(θ^) is the maximised log-likelihood. The selection rule itself is a procedure and is not a statement. As in the paper, the penalty counts the 2P2P2P real parameters and not σ2\sigma^2σ2. A nonzero residual at θ^\hat{\boldsymbol\theta}θ^ is assumed; otherwise the likelihood is unbounded.

Preamble
import Mathlib
import Definitions.Def_Arxiv0810_5751_Basic

open MeasureTheory Matrix
open scoped ComplexOrder
Formal statement
namespace Arxiv0810_5751

theorem aic_max_log_lik {K M P : ℕ} (y : Fin M → ℂ) (s : Fin K → (Fin P → ℂ) → Fin M → ℂ)
    (θhat : Fin P → ℂ) (hmin : ∀ θ : Fin P → ℂ, residSq y s θhat ≤ residSq y s θ)
    (hr : residual y s θhat ≠ 0) :
    IsGreatest {L : ℝ | ∃ (θ : Fin P → ℂ) (σ2 : ℝ), 0 < σ2 ∧ whiteLogLik σ2 y s θ = L}
        (concLogLik y s θhat) ∧
    aic y s θhat =
      -2 * sSup {L : ℝ | ∃ (θ : Fin P → ℂ) (σ2 : ℝ), 0 < σ2 ∧ whiteLogLik σ2 y s θ = L} +
        2 * (2 * P) := by sorry

end Arxiv0810_5751
Source
Yatawatta, Zaroubi, de Bruyn, Koopmans and Noordam, Radio interferometric calibration using the SAGE algorithm, arXiv:0810.5751v1 (2008), claim c008; Section IV (Statistical Model Order Selection), eqs. (5), (16)-(19), PDF p. 4
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Fix natural numbers KKK, MMM, PPP. The statement involves:

  • a data vector y∈CMy \in \mathbb{C}^My∈CM;
  • a family of KKK completely arbitrary functions s1,…,sK:CP→CMs_1, \dots, s_K : \mathbb{C}^P \to \mathbb{C}^Ms1​,…,sK​:CP→CM, with no continuity or other regularity assumed;
  • a parameter θ^∈CP\hat\theta \in \mathbb{C}^Pθ^∈CP.

For θ∈CP\theta \in \mathbb{C}^Pθ∈CP, write the residual and its squared Euclidean norm as

r(θ)=y−∑i=1Ksi(θ)∈CM,R(θ)=∥r(θ)∥2=∑m=1M∣r(θ)m∣2.r(\theta) = y - \sum_{i=1}^K s_i(\theta) \in \mathbb{C}^M, \qquad R(\theta) = \|r(\theta)\|^2 = \sum_{m=1}^M |r(\theta)_m|^2 .r(θ)=y−i=1∑K​si​(θ)∈CM,R(θ)=∥r(θ)∥2=m=1∑M​∣r(θ)m​∣2.

When K=0K = 0K=0 the sum is empty and r(θ)=yr(\theta) = yr(θ)=y.

White-noise log-likelihood. For a real number σ2\sigma^2σ2 and θ∈CP\theta \in \mathbb{C}^Pθ∈CP, the quantity ℓ(σ2,θ)\ell(\sigma^2, \theta)ℓ(σ2,θ) is defined as

ℓ(σ2,θ)=log⁡ ⁣((πM⋅Re⁡det⁡(σ2IM))−1exp⁡ ⁣(−Re⁡ r(θ)H(σ2IM)−1r(θ))).\ell(\sigma^2,\theta) = \log\!\Big( \big(\pi^M \cdot \operatorname{Re}\det(\sigma^2 I_M)\big)^{-1} \exp\!\big(-\operatorname{Re}\, r(\theta)^{\mathsf H} (\sigma^2 I_M)^{-1} r(\theta)\big)\Big).ℓ(σ2,θ)=log((πM⋅Redet(σ2IM​))−1exp(−Rer(θ)H(σ2IM​)−1r(θ))).

Here IMI_MIM​ is the M×MM\times MM×M complex identity matrix. For σ2>0\sigma^2 > 0σ2>0 this equals

ℓ(σ2,θ)=−Mlog⁡π−Mlog⁡σ2−R(θ)σ2.\ell(\sigma^2,\theta) = -M\log\pi - M\log\sigma^2 - \frac{R(\theta)}{\sigma^2}.ℓ(σ2,θ)=−Mlogπ−Mlogσ2−σ2R(θ)​.

Concentrated log-likelihood and Akaike criterion. These are defined as

Lc(θ)=−Mlog⁡π−M−Mlog⁡ ⁣(R(θ)M),AIC(θ)=−2 Lc(θ)+2⋅(2P).L_c(\theta) = -M\log\pi - M - M\log\!\Big(\frac{R(\theta)}{M}\Big), \qquad \mathrm{AIC}(\theta) = -2\,L_c(\theta) + 2\cdot(2P).Lc​(θ)=−Mlogπ−M−Mlog(MR(θ)​),AIC(θ)=−2Lc​(θ)+2⋅(2P).

Hypotheses.

  1. θ^\hat\thetaθ^ is a global minimiser of the squared residual norm: R(θ^)≤R(θ)R(\hat\theta) \le R(\theta)R(θ^)≤R(θ) for every θ∈CP\theta \in \mathbb{C}^Pθ∈CP. No existence or uniqueness of such a minimiser is asserted; it is simply assumed of the given θ^\hat\thetaθ^.
  2. The residual at θ^\hat\thetaθ^ is not the zero vector: r(θ^)≠0r(\hat\theta) \neq 0r(θ^)=0.

Hypothesis 2 forces M≥1M \ge 1M≥1. When M=0M = 0M=0, the space C0\mathbb{C}^0C0 has only the zero vector, so the hypothesis cannot hold and the theorem is vacuous in that case. Hypothesis 2 also gives R(θ^)>0R(\hat\theta) > 0R(θ^)>0, so the logarithm in Lc(θ^)L_c(\hat\theta)Lc​(θ^) is applied to a strictly positive number.

Conclusion. Let

S={ ℓ(σ2,θ)  :  θ∈CP, σ2∈R, σ2>0 }⊆R\mathcal{S} = \{\, \ell(\sigma^2,\theta) \;:\; \theta \in \mathbb{C}^P,\ \sigma^2 \in \mathbb{R},\ \sigma^2 > 0 \,\} \subseteq \mathbb{R}S={ℓ(σ2,θ):θ∈CP, σ2∈R, σ2>0}⊆R

be the set of all values of the white-noise log-likelihood over all parameters and all strictly positive noise variances. The theorem asserts both of the following:

  • (a) Lc(θ^)L_c(\hat\theta)Lc​(θ^) is the greatest element of S\mathcal{S}S. That is, Lc(θ^)L_c(\hat\theta)Lc​(θ^) is attained as ℓ(σ2,θ)\ell(\sigma^2,\theta)ℓ(σ2,θ) for some θ∈CP\theta \in \mathbb{C}^Pθ∈CP and some σ2>0\sigma^2 > 0σ2>0. Also, ℓ(σ2,θ)≤Lc(θ^)\ell(\sigma^2,\theta) \le L_c(\hat\theta)ℓ(σ2,θ)≤Lc​(θ^) for every θ∈CP\theta \in \mathbb{C}^Pθ∈CP and every σ2>0\sigma^2 > 0σ2>0.

  • (b) The Akaike criterion at θ^\hat\thetaθ^ satisfies

AIC(θ^)=−2 sup⁡S+2⋅(2P),\mathrm{AIC}(\hat\theta) = -2\,\sup \mathcal{S} + 2\cdot(2P),AIC(θ^)=−2supS+2⋅(2P),

where sup⁡S\sup\mathcal{S}supS is the real supremum of S\mathcal{S}S.

Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me