Left to Solve
Problems / MathOverflow (not formalized)

Can we compute the Gaussian tail quickly with decent precision? (Former "Is this logistic approximation to the Gaussian integral valid?")

Open, not yet stated in LeanMathOverflow (not formalized)ProbabilityHarmonic Analysisdifficulty55/100

Statement

The original text is below. I suggest the following edit and reopening:

In some practical applications there is a need to evaluate the antiderivative for the Gaussian function on the line quickly while super-duper precision is not required. What is the quickest algorithm you can suggest for that purpose that would work for any value of the argument and give some decent accuracy?

The following code snippet can be used to compute the Gaussian tail , where is the standard error function, on so that the relative error for the proposed is under 1% on the entire positive semi-axis. You still need to reflect to get the values for negative after that, which can be viewed as a slight drawback. The snippet uses 1 exponentiation, 11 multiplications/divisions, and 6 additions/subtraction for the main routine.

[code] Can one do better in terms of speed, accuracy, or both?

I believe that reaching the accuracy of 0.1% on the entire (semi-)axis without sacrificing the speed significantly may be quite challenging, but I'll be happy to be proved wrong.

If you find this reformulation …

Posed by Hermann · pr.probability, real-analysis, special-functions, approximation-theory

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-496286.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-496286.lean

import Mathlib

/-!
# Can we compute the Gaussian tail quickly with decent precision? (Former "Is this logistic approximation to the Gaussian integral valid?")

Source: https://mathoverflow.net/questions/496286
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_496286

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

theorem main : sorry := by
  sorry

end OMA.S_mo_496286