weibull_quantile
std.stats.weibull_quantile · Level L5The Weibull distribution's quantile: λ·(−log(1 − p))^(1/k), written with log1p.
F⁻¹(p) = λ·(−log(1 − p))^(1/k)
Signature
weibull_quantile(p: f64[n], k: f64[], lam: f64[]) → f64[n]
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.
- input
- operation
- constant
- call
- output
Verification
- Signature proven by NOVA’s shape solver, for every size.
- Agrees with the reference
λ·(−np.log(1 − p))**(1/k)to 80 digits (100-digit arithmetic), on all 40 test cases. - All 170 float64 results inside the running error bound; the closest uses 16% of it.
- Interpreter and NumPy backend return bit-identical results.
- At float32 too: the 40 test cases rounded to float32, and 40 of them inside the running error bound at u = 2⁻²⁴; the closest uses 19% of it.
Accuracy in detail
- correctly rounded (the float64 nearest the exact value)
- 44%
- bit-equal to the NumPy formula in float64
- 83%
- largest error, in units in the last place
- 6.89
Identity
Calls
—
Called by
—
sha256:e2b0d75ff438e43a83a046faaa8f5f894acf9e0db0a8e05500fa08f26335fa78The semantic hash of the graph. It changes when the program changes, and never when only its documentation does.
Control handle
- Symbol
- Ω:std.stats.weibull_quantile · Ω:weibull_quantile
- Pins
sha256:42c817cdaebdba543a6b71a9adfce1d950fb174b7b54fd81cf8511866482066cthis graph alone- Evidence
sha256:4091e8bf44f222ddc06def37e35f8b9586b0dee34ba88ac4128a9f371e247e2fthe 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.