Left to Solve
Problems / MathOverflow (not formalized)

On the convergence of MIller's Algorithm for special function evaluation (hypergeometric 1F1)

Open, not yet stated in LeanMathOverflow (not formalized)Computational Complexitydifficulty55/100

Statement

This is going to a longish question, so the short version first: Is there a way to sanity-check which solution to the 3-term recurrence relation an application of Miller's algorithm has converged on?

Background: this stems from some work I've been doing to implement hypergeometric functions as part of Boost.Math's special functions. I have functional over most of it's domain, if currently inefficient in places (but I know how to fix that). There is one domain that's causing me particular difficulty, and that's . This is mostly fixable using Tricomi's expansions in terms of Bessel functions (A&S 13.3.7 is a somewhat simplified version of these). However, there are values where these expansions fail - either because or over/underflow or because the series is too divergent to be numerically stable. One workaround is to calculate and then normalise via one of the Wronksians - the net effect of which is to map to which is relatively easy to compute.

The ratio is computed via Millers algorithm: which is to say if tends to 0 for infinite N (and a bunch of other …

Posed by John Maddock · algorithms, special-functions, hypergeometric-functions

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-320588.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-320588.lean

import Mathlib

/-!
# On the convergence of MIller's Algorithm for special function evaluation (hypergeometric 1F1)

Source: https://mathoverflow.net/questions/320588
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_320588

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_320588