Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedPipeline-generatedjudge 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.

Binary logistic derivatives and the exact Newton/IRLS update

Statement

Let n,q≥1 be finite, let X∈Rn×q be a fixed design matrix whose first column is the intercept column of ones, and let y∈{0,1}n. For finite β∈Rq, put η=Xβ, pi=σ(ηi), W=diag⁡(pi(1−pi)), and ℓ(β)=∑i[yiηi−log⁡(1+eηi)]. Then

∇ℓ(β)=XT(y−p),∇2ℓ(β)=−XTWX.

The diagonal entries of W are positive, so −ℓ is convex; if X has full column rank, XTWX is positive definite. In that full-rank case, the exact Newton step for maximizing the unpenalized log-likelihood is

βnew=β+(XTWX)−1XT(y−p)=(XTWX)−1XTWz,z=Xβ+W−1(y−p).

This is the Bernoulli-logit IRLS step with the weighted least-squares convention using weights pi(1−pi). The identities describe one update and do not assert convergence of repeated updates.

Statement references

Facts & Assumptions

Given: The finite fixed design, binary responses, finite current coefficient vector, binary conditional logistic model, and log-likelihood in the Statement.

[F1]

The binary conditional model has Pr⁡(Y=1∣x)=σ(β0+xTβ), with 0<σ(t)<1 for finite t. Binary logistic and multiclass softmax conditional models

[F2]

The fixed-design log-likelihood is ℓ(β)=∑i[yixiTβ−log⁡(1+exiTβ)]. Binary logistic log-likelihood and L1-penalized objective

[F3]

A Bernoulli GLM observation family has fixed support, finite second moments, and locally integrable first- and second-derivative envelopes when those moment identities are used. Explicit exponential-family response contracts

[F4]

For a canonical link, the natural parameter is the linear predictor; the GLM uses its specified common scale. Generalized linear model with explicit conditioning

[F5]

Under the stated GLM hypotheses, U=XT(μ˙i(yi−μi)/(aVi))i and I=XTdiag⁡(μ˙i2/(aVi))X; with positive weights and full column rank, I is positive definite. General-link score and Fisher information

[F6]

The IRLS procedure uses zi=ηi+(yi−μi)/μ˙i, wi=μ˙i2/(aVi) and returns a weighted least-squares minimizer. One minimum-norm IRLS step

[F7]

Under the stated differentiability, common-support, moment and invertible-information hypotheses, the IRLS output equals β+I−1U. IRLS equals the Fisher-scoring step when information is invertible

[F9]

A C2 function on an open convex Euclidean domain is convex when its Hessian is positive semidefinite everywhere. A C2 function is convex exactly when its Hessian is positive semidefinite

Proof

1.1F1F2algebra

For one observation, ℓi(ηi)=yiηi−log⁡(1+eηi) has derivative yi−σ(ηi) and second derivative −σ(ηi)(1−σ(ηi)). Applying the coordinate chain rule to η=Xβ gives ∇ℓ=XT(y−p) and ∇2ℓ=−∑ipi(1−pi)xixiT=−XTWX.

1.2F1F9algebra

Every finite ηi gives 0<pi<1, so W is positive diagonal and hTXTWXh=∑ipi(1−pi)(xiTh)2≥0. Therefore the Hessian of −ℓ is positive semidefinite on Rq, an open convex domain; [F9] gives convexity. If X has full column rank, h≠0 implies Xh≠0, so at least one squared term is nonzero and the same sum is positive.

1.3F3F4givenalgebra

For Bernoulli data the mass is exp⁡(yiηi−log⁡(1+eηi)) on {0,1} with counting measure, common support, a=1, canonical natural parameter θi=ηi, b(θ)=log⁡(1+eθ), μi=pi, Vi=b′′(θi)=pi(1−pi), and μ˙i=pi(1−pi). The response has finite second moment and bounded score; on every compact interval of finite ηi the mass and its first two derivatives are bounded on the finite support, giving the stated local envelopes. Thus the response-family and canonical-link conditions [F3, F4] hold.

2.1F5F7step 1.1step 1.3algebra

By [F5], the score is U=XT(y−p) and the expected information is I=XTWX. Full column rank makes I positive definite. The observed Hessian in step 1.1 is −I, so the maximizing Newton formula β−(∇2ℓ)−1∇ℓ equals β+I−1U. The generic IRLS result [F7] gives the same β+I−1U update under these verified hypotheses.

3.1F6F8step 1.3step 2.1algebra∎

By [F6], the Bernoulli working response is z=Xβ+W−1(y−p) and the weights are W. The weighted normal equation [F8] and full rank give the unique IRLS fit βnew=(XTWX)−1XTWz. Expanding z yields β+(XTWX)−1XT(y−p), the Newton step from step 2.1.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

32 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