theorem
MindFormal.ScalarExit.scalePrimitive_derivative
{K : ℝ}
(hK : 0 < K)
(d z : ℝ)
:
HasDerivAt (scalePrimitive K d) (density K d z) z
The explicit erfi primitive and the positive scale integral agree in all differences, so they give exactly the same absorbing probability.
theorem
MindFormal.ScalarExit.probability_erfi
{K : ℝ}
(hK : 0 < K)
(d a b z : ℝ)
:
probability K d a b z = (scalePrimitive K d z - scalePrimitive K d a) / (scalePrimitive K d b - scalePrimitive K d a)