Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-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.

Finite-budget Nelder–Mead simplex procedure

Definition

Finite sums of vectors in Rn use the additive finite-list sum of Linear combination of a finite list, and the span span⁡(S) as the smallest linear subspace containing S; sums of real coefficients use Finite sums and finite products, by recursion.

Fix n≥1, an objective oracle f:Rn→R∪{nonfinite}, a finite integer call budget B≥0, positive tolerances εx,εf, and an ordered initial simplex (v0,…,vn). Call the ordered tuple nondegenerate when, for real coefficients λ1,…,λn, ∑i=1nλi(vi−v0)=0 implies every λi=0. Use reflection α=1, expansion γ=2, contraction ρ=1/2, and shrink σ=1/2. Ties in sorting objective values are broken by current vertex slot, lower slot first. When recording the best point seen, replace it only on a strict objective improvement, so ties retain the earliest evaluation; initial vertices are evaluated in slot order.

If the initial simplex is degenerate, return degenerate-simplex. If B<n+1, return budget-exhausted with zero calls and no best point. Otherwise evaluate initial vertices in slot order, counting every call. A nonfinite result returns nonfinite-objective and the best finite point seen, if any. For each committed simplex, let xb be its sorted best vertex, xw its worst, let x2 denote the second-worst (the best when n=1), and set c:=n−1∑i=0n−1xi using the sorted vertices x0,…,xn. Define the diameter D=max⁡0≤i,j≤n∥xi−xj∥2, and spread S=f(xw)−f(xb). Stop with tolerance-met exactly when both D≤εx and S≤εf.

Otherwise evaluate reflection xr=c+(c−xw). If f(xr)<f(xb), evaluate expansion xe=c+2(xr−c) and replace xw by xe iff f(xe)<f(xr); a tie keeps reflection. If f(xb)≤f(xr)<f(x2), where x2 is the second-worst vertex, replace xw by reflection. If f(x2)≤f(xr)<f(xw), evaluate outside contraction xoc=c+(xr−c)/2 and accept iff f(xoc)≤f(xr); equality accepts. If f(xr)≥f(xw), evaluate inside contraction xic=c+(xw−c)/2 and accept iff f(xic)<f(xw); equality fails. A failed contraction proposes si=xb+(xi−xb)/2 for each sorted nonbest vertex xi, 1≤i≤n, retaining xb. Evaluate f(si) in increasing i, making a new call even if si was evaluated earlier. Apply the budget and nonfinite-result rules below to every such call. Commit the shrunk simplex, in these sorted slots, only after all n values are finite and the complete update passes the nondegeneracy check.

Count every objective call, including rejected trials. Before a needed call, if the budget is exhausted, return budget-exhausted with the last committed simplex and best finite point seen; do not partially commit an update. A nonfinite trial returns nonfinite-objective with the same committed simplex. If a proposed complete update is degenerate, return degenerate-simplex without committing it. After a valid update, recheck both tolerances. No general convergence guarantee is asserted.

Depends on

Used by

Dependency tree · two levels

33 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