Herbie run

Date:Wednesday, October 30th, 2024
Commit:aeaf0403 on bhargav-double-double
Hostname:nightly with Racket 8.10
Seed:2024304
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 4.4min)

sample2.0min (44.2%)

Memory
589.8MiB live, 102 521.7MiB allocated
Samples
29.1s41 578×2valid
26.6s146 399×0invalid
19.2s92 129×1valid
9.8s4 892×5exit
8.3s94 504×0valid
2.3s2 953×3valid
516.0ms2 331×1exit
362.0ms4 218×0exit
38.0ms3exit
10.0ms4exit
5.0ms4valid
2.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.2s (16.7% of total)
ival-pow: 9.3s (11.7% of total)
ival-mult: 6.3s (8% of total)
const: 5.8s (7.3% of total)
adjust: 5.4s (6.8% of total)
ival-sub: 4.4s (5.6% of total)
ival-cos: 4.1s (5.2% of total)
ival-sin: 4.1s (5.1% of total)
ival-div: 4.0s (5.1% of total)
ival-add: 3.9s (4.9% of total)
ival-log: 3.3s (4.2% of total)
ival-exp: 2.6s (3.2% of total)
ival-fabs: 2.5s (3.1% of total)
ival-<=: 2.1s (2.6% of total)
ival-expm1: 1.9s (2.4% of total)
ival-sqrt: 1.3s (1.7% of total)
ival-log1p: 1.1s (1.4% of total)
ival-<: 938.0ms (1.2% of total)
ival-and: 623.0ms (0.8% of total)
ival-atan: 612.0ms (0.8% of total)
ival-fmin: 502.0ms (0.6% of total)
exact: 346.0ms (0.4% of total)
ival-neg: 266.0ms (0.3% of total)
ival-cbrt: 255.0ms (0.3% of total)
ival->: 250.0ms (0.3% of total)
ival-assert: 149.0ms (0.2% of total)
ival-true: 72.0ms (0.1% of total)
Bogosity

simplify35.0s (13.1%)

Memory
260.5MiB live, 26 036.1MiB allocated
Algorithm
242×egg-herbie
Stop Event
321×iter limit
159×node limit
83×saturated
Counts
8 500 → 8 408

soundness30.0s (11.3%)

Memory
-77.6MiB live, 15 108.8MiB allocated
Stop Event
198×iter limit
132×node limit
22×fuel
done
saturated
Compiler

Compiled 12 501 to 5 713 computations (54.3% saved)

rewrite23.9s (8.9%)

Memory
-172.1MiB live, 20 821.4MiB allocated
Stop Event
218×iter limit
107×node limit
Counts
1 624 → 64 194

localize19.8s (7.4%)

Memory
256.3MiB live, 18 795.1MiB allocated
Samples
6.6s5 318×2valid
5.9s10 092×1valid
3.1s11 094×0valid
256.0ms562×0invalid
247.0ms282×3valid
11.0ms5exit
9.0ms34×0exit
2.0ms3exit
Compiler

Compiled 43 367 to 6 605 computations (84.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.3s
ival-mult: 2.0s (16.2% of total)
ival-div: 1.6s (13.4% of total)
adjust: 1.5s (12.1% of total)
ival-tan: 1.2s (10.2% of total)
ival-add: 989.0ms (8.1% of total)
ival-cos: 833.0ms (6.8% of total)
ival-pow: 731.0ms (6% of total)
ival-sub: 689.0ms (5.6% of total)
ival-log: 462.0ms (3.8% of total)
const: 460.0ms (3.8% of total)
ival-sin: 374.0ms (3.1% of total)
ival-exp: 320.0ms (2.6% of total)
ival-log1p: 251.0ms (2% of total)
ival-sqrt: 231.0ms (1.9% of total)
ival-neg: 123.0ms (1% of total)
ival-pow2: 111.0ms (0.9% of total)
ival-cosh: 89.0ms (0.7% of total)
ival-expm1: 60.0ms (0.5% of total)
ival-cbrt: 50.0ms (0.4% of total)
exact: 44.0ms (0.4% of total)
ival-atan2: 36.0ms (0.3% of total)
ival-true: 24.0ms (0.2% of total)
ival-assert: 12.0ms (0.1% of total)
ival-atan: 11.0ms (0.1% of total)
ival-copysign: 3.0ms (0% of total)
ival-fabs: 3.0ms (0% of total)

eval13.2s (5%)

Memory
286.4MiB live, 15 022.1MiB allocated
Compiler

Compiled 2 516 154 to 278 854 computations (88.9% saved)

explain7.0s (2.6%)

Memory
-37.1MiB live, 7 722.3MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation535829
log.f64#fsensitivity7634
+.f64#fcancellation6592
sqrt.f64#foflow-rescue3920
/.f64#fu/n2880
/.f64#fu/u2060
pow.f64#fsensitivity421
sqrt.f64#fuflow-rescue300
/.f64(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) #s(literal 1 binary64))) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))))n/u250
(*.f64 b eps)underflow138
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow144
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow138
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow231
(*.f64 a eps)underflow144
-.f64#fnan-rescue130
*.f64(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))n*u100
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o20
(*.f64 x x)overflow61
sin.f64(sin.f64 (+.f64 x eps))sensitivity20
tan.f64(tan.f64 (+.f64 x eps))sensitivity20
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o10
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow1
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow1
(exp.f64 x)overflow1
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow1
cos.f64(cos.f64 (+.f64 x eps))sensitivity11
exp.f64(exp.f64 (neg.f64 x))sensitivity10
Confusion
Predicted +Predicted -
+518541
-7531189
Precision
0.8731896261367463
Recall
0.9921546115575967
Confusion?
Predicted +Predicted MaybePredicted -
+51851229
-753231166
Precision?
0.8700820358278922
Recall?
0.9944508228090317
Freqs
test
numberfreq
01230
14787
2655
3286
4210
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.7s2 566×2valid
1.1s5 776×1valid
432.0ms5 778×0valid
93.0ms216×3valid
Compiler

Compiled 3 914 to 1 430 computations (63.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.7s
ival-tan: 791.0ms (29.4% of total)
ival-cos: 275.0ms (10.2% of total)
adjust: 260.0ms (9.7% of total)
ival-log: 210.0ms (7.8% of total)
ival-sin: 171.0ms (6.4% of total)
ival-exp: 159.0ms (5.9% of total)
ival-div: 149.0ms (5.5% of total)
ival-sub: 141.0ms (5.2% of total)
ival-add: 109.0ms (4.1% of total)
ival-sqrt: 93.0ms (3.5% of total)
ival-pow: 85.0ms (3.2% of total)
ival-mult: 83.0ms (3.1% of total)
ival-log1p: 55.0ms (2% of total)
ival-expm1: 23.0ms (0.9% of total)
ival-atan: 22.0ms (0.8% of total)
ival-cbrt: 19.0ms (0.7% of total)
ival-neg: 18.0ms (0.7% of total)
ival-true: 14.0ms (0.5% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

series4.6s (1.7%)

Memory
-560.9MiB live, 4 128.6MiB allocated
Counts
1 624 → 8 500
Calls

495 calls:

TimeVariablePointExpression
282.0ms
eps
@-inf
((- (sin (+ x eps)) (sin x)) (sin (+ x eps)) (+ x eps) (sin x))
261.0ms
x
@-inf
((/ -1/3 (/ (neg x) (cbrt x))) (- (cbrt (+ x 1)) (cbrt x)) (/ (neg x) (cbrt x)) (neg x) (- (cbrt (+ x 1)) (cbrt x)) (* (pow x -2/3) 1/3) (pow x -2/3) (- (cbrt (+ x 1)) (cbrt x)) (/ (pow (cbrt x) -2) 3) (pow (cbrt x) -2) (cbrt x) (- (cbrt (+ x 1)) (cbrt x)) (* (/ (cbrt (/ -1 x)) (cbrt (neg x))) 1/3) (/ (cbrt (/ -1 x)) (cbrt (neg x))) (cbrt (/ -1 x)) (* (/ (/ -1/3 (cbrt x)) (neg x)) (+ (* (cbrt x) (cbrt x)) 0)) (/ (/ -1/3 (cbrt x)) (neg x)) (+ (* (cbrt x) (cbrt x)) 0) (- (cbrt (+ x 1)) (cbrt x)) (cbrt (neg x)))
212.0ms
n
@0
((log (/ (+ 1 x) x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (log (/ (+ 1 x) x)) n) (/ (+ 1 x) x) (* (neg (- (log (+ 1 x)) (log x))) (/ -1 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (neg (- (log (+ 1 x)) (log x))) (/ -1 x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (neg (log x)) (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) (- (/ 1/2 (* n n)) (/ 1/2 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (- (exp (/ (log (+ 1 x)) n)) (pow x (/ 1 n))) (exp (/ (log (+ 1 x)) n)) (/ (log (+ 1 x)) n) (log (+ 1 x)) (/ -1 n) (log x) (+ (* (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) x) 1) (pow x (/ 1 n)))
131.0ms
n
@-inf
((log (/ (+ 1 x) x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (log (/ (+ 1 x) x)) n) (/ (+ 1 x) x) (* (neg (- (log (+ 1 x)) (log x))) (/ -1 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (neg (- (log (+ 1 x)) (log x))) (/ -1 x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (neg (log x)) (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) (- (/ 1/2 (* n n)) (/ 1/2 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (- (exp (/ (log (+ 1 x)) n)) (pow x (/ 1 n))) (exp (/ (log (+ 1 x)) n)) (/ (log (+ 1 x)) n) (log (+ 1 x)) (/ -1 n) (log x) (+ (* (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) x) 1) (pow x (/ 1 n)))
117.0ms
n
@inf
((log (/ (+ 1 x) x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (log (/ (+ 1 x) x)) n) (/ (+ 1 x) x) (* (neg (- (log (+ 1 x)) (log x))) (/ -1 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (neg (- (log (+ 1 x)) (log x))) (/ -1 x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (neg (log x)) (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) (- (/ 1/2 (* n n)) (/ 1/2 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (- (exp (/ (log (+ 1 x)) n)) (pow x (/ 1 n))) (exp (/ (log (+ 1 x)) n)) (/ (log (+ 1 x)) n) (log (+ 1 x)) (/ -1 n) (log x) (+ (* (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) x) 1) (pow x (/ 1 n)))

preprocess4.4s (1.6%)

Memory
6.6MiB live, 3 488.6MiB allocated
Algorithm
28×egg-herbie
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 16 866 to 5 209 computations (69.1% saved)

prune4.3s (1.6%)

Memory
-66.4MiB live, 5 823.5MiB allocated
Counts
72 158 → 1 863
Compiler

Compiled 96 540 to 51 136 computations (47% saved)

regimes3.7s (1.4%)

Memory
64.1MiB live, 3 605.5MiB allocated
Counts
3 097 → 293
Calls

43 calls:

913.0ms
x
342.0ms
(-.f64 (atan.f64 (+.f64 N #s(literal 1 binary64))) (atan.f64 N))
266.0ms
eps
237.0ms
b
143.0ms
(/.f64 #s(literal 1 binary64) n)
Compiler

Compiled 2 062 to 1 922 computations (6.8% saved)

analyze1.9s (0.7%)

Memory
-82.6MiB live, 1 811.7MiB allocated
Algorithm
28×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%61.1%38.9%0%0%0%0
7.4%4.5%56.6%38.9%0%0%0%1
22.3%13.6%47.5%38.9%0%0%0%2
40.2%23.5%34.9%38.9%0%2.7%0%3
53.4%31.1%27.2%38.9%0%2.8%0%4
63%36.3%21.3%38.9%0%3.6%0%5
65.9%37.5%19.4%38.9%0%4.2%0%6
70.4%38.8%16.3%38.9%0%6%0%7
73.6%40.2%14.4%38.9%0%6.5%0%8
76.3%40.9%12.7%38.9%0%7.5%0%9
78.4%41.4%11.4%38.9%0%8.3%0%10
81.1%42.4%9.9%38.9%0%8.8%0%11
82.3%42.7%9.2%38.9%0%9.3%0%12
Compiler

Compiled 483 to 337 computations (30.2% saved)

bsearch824.0ms (0.3%)

Memory
-15.9MiB live, 978.2MiB allocated
Algorithm
64×binary-search
25×left-value
Stop Event
64×narrow-enough
Samples
272.0ms3 227×0valid
72.0ms596×0invalid
58.0ms225×2valid
51.0ms321×1valid
1.0ms3valid
0.0ms0exit
Compiler

Compiled 20 815 to 15 994 computations (23.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 276.0ms
ival-mult: 74.0ms (26.8% of total)
ival-div: 33.0ms (11.9% of total)
ival-sub: 32.0ms (11.6% of total)
ival-pow: 30.0ms (10.9% of total)
ival-sqrt: 26.0ms (9.4% of total)
ival-neg: 18.0ms (6.5% of total)
adjust: 17.0ms (6.1% of total)
ival-cos: 17.0ms (6.1% of total)
ival-add: 13.0ms (4.7% of total)
ival-sin: 5.0ms (1.8% of total)
ival-expm1: 4.0ms (1.4% of total)
ival-true: 3.0ms (1.1% of total)
exact: 3.0ms (1.1% of total)
ival-assert: 2.0ms (0.7% of total)

start1.0ms (0%)

Memory
1.5MiB live, 1.4MiB allocated

end0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated

Profiling

Loading profile data...