bracket_unconverged

std.seq.bracket_unconverged · Level L2

Whether a bisection bracket is still too wide: hi − lo above 10⁻¹²·(|a| + 1), as 1 or 0. The condition cbrt_bisect loops on.

[ hi − lo > 10⁻¹²·(|a| + 1) ]

Signature

bracket_unconverged(lohi: f64[2], a: f64[]) → f64[]

Structure

The function as NOVA stores it: one box per input, operation and output, and arrows that carry values. A double border marks another library function this one runs — called once, or by Scan once per element; select it to open that function.

lohif64[2]af64[]SliceloSlicehiNegatenaSubtractw11.0Maximumabs_aReshapewidthAddscale1.000e-12MultiplylimGreatergogof64[]
  • input
  • operation
  • constant
  • call
  • output

Verification

  • Signature proven by NOVA’s shape solver, for every size.
  • Equal to the reference float(hi - lo > 1e-12 * (abs(a) + 1)) in exact rational arithmetic, on all 40 test cases.
  • All 40 float64 results are exact: the error is zero.
  • Interpreter and NumPy backend return bit-identical results.
Accuracy in detail
correctly rounded (the float64 nearest the exact value)
100%
bit-equal to the NumPy formula in float64
100%
largest error, in units in the last place
0

Identity

Calls
—
Called by
sha256:208351c1095b50b175be1df29aaeee0e0c0f68f89633065f87ea9708fe0ee785

The semantic hash of the graph. It changes when the program changes, and never when only its documentation does.

Control handle

Symbol
Ω:std.seq.bracket_unconverged · Ω:bracket_unconverged
Pins
sha256:5d1f0b909f2384a691cc9705279c06c2728942c4a0318ec4f41d669dd0ddb360this graph alone
Evidence
sha256:36c98d15e9b4c9020239dd76168e84a9395aad8604f7fba9a8ab833cd2125776the hash of its verification record
Needs
no capability: a pure function

Through NOVA’s control layer, the symbol launches this function only while the program still matches what it pins: a change to this graph, or to any graph it reaches, needs a migration first.