An explicit solution of the five-expert prediction PDE and the exact optimality set of COMB
Jeff Calder, Nadejda Drenska
math.AP
Sep 14, 2026 · v3
cs.GT cs.LG math.OC
TL;DR
A Lean 4/Mathlib formalization machine-checks the Bernstein certificate verification, regularity, and both main theorems, excluding the viscosity characterization.
Abstract
In this paper, we derive an explicit solution of the stationary prediction with expert advice PDE for five experts. The formula is given in three regions. In the first two regions, it is the four-expert solution plus a single integral with an elementary positive density. In the third region, it is a finite sum of hyperbolic products whose coefficients are determined by one scalar quadrature. Our formula establishes that the rank ordered adversary $(1,0,1,0,0)$ achieves the Hamiltonian maximum in the PDE everywhere in the ordered sector, while the COMB strategy $(1,0,1,0,1)$ is optimal only on a lower dimensional subset of the sector (where $x_1=x_2$ and $x_3=x_4$). The verification of the Hamiltonian inequalities is a tedious task, part of which is completed with a computer assisted proof. The verification reduces to 21 scalar inequalities, which we prove using 147 exact rational Bernstein polynomial certificates. The exact certificates and their independent arithmetic checks are included in a supplement to this paper, and a Lean 4 formalization machine-checks the verification and both main theorems, apart from the viscosity characterization.
Problem
The goal is an explicit solution of the stationary prediction-with-expert-advice PDE (geometric stopping game) for five experts, and determination of where the COMB adversary strategy is optimal.
Approach
The solution is derived explicitly in three regions of the ordered sector. In the first two regions it is the four-expert solution plus an integral. In the third it is a sum of hyperbolic products with coefficients fixed by one scalar quadrature. Verifying the Hamiltonian inequalities reduces to 21 scalar inequalities, which are proved with 147 exact rational Bernstein polynomial certificates. These certificates, the reduction to them, the regularity results and the COMB optimality set are formalized in Lean 4 on top of Mathlib.
Results
The rank-ordered adversary (1,0,1,0,0) attains the Hamiltonian maximum everywhere in the sector. COMB (1,0,1,0,1) is optimal only on the lower-dimensional subset where x1=x2 and x3=x4. The Lean formalization covers both main theorems apart from the viscosity characterization.