Herbie run

Date:Wednesday, November 27th, 2024
Commit:a25f782f on bhargav-double-double
Hostname:nightly with Racket 8.10
Seed:2024332
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.5min)

sample1.9min (42.5%)

Memory
531.2MiB live, 102 195.4MiB allocated
Samples
29.7s41 621×2valid
24.7s144 915×0invalid
19.2s91 855×1valid
9.7s4 764×5exit
9.1s94 770×0valid
2.1s2 919×3valid
509.0ms2 274×1exit
379.0ms4 171×0exit
26.0ms4exit
3.0ms4valid
2.0ms3exit
1.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.5s (17.2% of total)
ival-pow: 9.9s (12.6% of total)
ival-mult: 6.0s (7.6% of total)
adjust: 5.5s (7% of total)
const: 5.2s (6.6% of total)
ival-cos: 4.3s (5.4% of total)
ival-div: 4.3s (5.4% of total)
ival-sub: 4.0s (5.1% of total)
ival-sin: 3.7s (4.7% of total)
ival-add: 3.3s (4.2% of total)
ival-log: 3.1s (3.9% of total)
ival-<=: 2.7s (3.4% of total)
ival-exp: 2.4s (3% of total)
ival-fabs: 2.1s (2.7% of total)
ival-expm1: 1.9s (2.5% of total)
ival-<: 1.4s (1.8% of total)
ival-sqrt: 1.1s (1.4% of total)
ival-log1p: 1.1s (1.4% of total)
ival-and: 627.0ms (0.8% of total)
ival-fmin: 506.0ms (0.6% of total)
ival->: 403.0ms (0.5% of total)
ival-atan: 397.0ms (0.5% of total)
exact: 355.0ms (0.5% of total)
ival-neg: 331.0ms (0.4% of total)
ival-cbrt: 313.0ms (0.4% of total)
ival-assert: 150.0ms (0.2% of total)
ival-true: 72.0ms (0.1% of total)
Bogosity

simplify35.7s (13.1%)

Memory
836.2MiB live, 28 618.8MiB allocated
Algorithm
248×egg-herbie
Stop Event
328×iter limit
171×node limit
80×saturated
Counts
8 658 → 8 562

soundness32.5s (11.9%)

Memory
-500.6MiB live, 16 217.3MiB allocated
Stop Event
206×iter limit
138×node limit
24×fuel
done
saturated
Compiler

Compiled 17 690 to 7 663 computations (56.7% saved)

rewrite24.0s (8.8%)

Memory
-390.8MiB live, 21 304.6MiB allocated
Stop Event
220×iter limit
109×node limit
saturated
Counts
1 633 → 64 312

localize23.5s (8.6%)

Memory
-71.1MiB live, 22 053.3MiB allocated
Samples
8.8s5 985×2valid
6.3s10 304×1valid
3.3s10 500×0valid
815.0ms497×3valid
342.0ms834×0invalid
53.0ms35×0exit
7.0ms5exit
Compiler

Compiled 51 659 to 7 157 computations (86.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.5s
ival-mult: 2.5s (16.3% of total)
adjust: 2.0s (13.1% of total)
ival-tan: 1.8s (11.7% of total)
ival-div: 1.7s (11.1% of total)
ival-add: 1.4s (8.7% of total)
const: 988.0ms (6.4% of total)
ival-cos: 936.0ms (6% of total)
ival-sub: 781.0ms (5% of total)
ival-exp: 708.0ms (4.6% of total)
ival-pow: 647.0ms (4.2% of total)
ival-log: 471.0ms (3% of total)
ival-sin: 460.0ms (3% of total)
ival-sqrt: 212.0ms (1.4% of total)
ival-log1p: 188.0ms (1.2% of total)
ival-neg: 139.0ms (0.9% of total)
ival-pow2: 112.0ms (0.7% of total)
ival-cosh: 92.0ms (0.6% of total)
exact: 82.0ms (0.5% of total)
ival-expm1: 81.0ms (0.5% of total)
ival-cbrt: 71.0ms (0.5% of total)
ival-true: 25.0ms (0.2% of total)
ival-atan: 22.0ms (0.1% of total)
ival-hypot: 21.0ms (0.1% of total)
ival-atan2: 14.0ms (0.1% of total)
ival-assert: 12.0ms (0.1% of total)
ival-sinh: 11.0ms (0.1% of total)

eval13.4s (4.9%)

Memory
450.3MiB live, 15 563.2MiB allocated
Compiler

Compiled 2 940 629 to 294 043 computations (90% saved)

explain8.9s (3.3%)

Memory
-208.1MiB live, 8 069.6MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation537937
log.f64#fsensitivity7621
+.f64#fcancellation6991
sqrt.f64#foflow-rescue4360
/.f64#fu/n3730
/.f64#fu/u1540
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity380
sqrt.f64#fuflow-rescue360
/.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/u270
(*.f64 b eps)underflow151
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow146
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow151
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow235
(*.f64 a eps)underflow146
-.f64#fnan-rescue130
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o30
(*.f64 x x)overflow50
cos.f64(cos.f64 (+.f64 x eps))sensitivity20
sin.f64(sin.f64 (+.f64 x eps))sensitivity20
tan.f64(tan.f64 (+.f64 x eps))sensitivity20
/.f64(/.f64 (+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)o/n10
(*.f64 b_2 b_2)overflow100
(+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))overflow1
(*.f64 a c)overflow19
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))overflow111
Confusion
Predicted +Predicted -
+521648
-8601044
Precision
0.858459512837393
Recall
0.9908814589665653
Confusion?
Predicted +Predicted MaybePredicted -
+52161830
-860191025
Precision?
0.8562080811385572
Recall?
0.9943009118541033
Freqs
test
numberfreq
01092
14872
2778
3205
4221
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
2.0s2 674×2valid
1.2s5 750×1valid
673.0ms5 712×0valid
177.0ms200×3valid
Compiler

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

Precisions
Click to see histograms. Total time spent on operations: 3.3s
ival-tan: 1.1s (33.2% of total)
ival-sub: 306.0ms (9.4% of total)
adjust: 295.0ms (9.1% of total)
ival-cos: 222.0ms (6.8% of total)
ival-div: 197.0ms (6% of total)
ival-sin: 188.0ms (5.8% of total)
ival-log: 181.0ms (5.6% of total)
ival-expm1: 164.0ms (5% of total)
ival-exp: 134.0ms (4.1% of total)
ival-mult: 107.0ms (3.3% of total)
ival-add: 86.0ms (2.6% of total)
ival-pow: 86.0ms (2.6% of total)
ival-sqrt: 65.0ms (2% of total)
ival-log1p: 54.0ms (1.7% of total)
ival-cbrt: 30.0ms (0.9% of total)
ival-atan: 19.0ms (0.6% of total)
ival-true: 13.0ms (0.4% of total)
ival-neg: 12.0ms (0.4% of total)
exact: 9.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

preprocess4.2s (1.5%)

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

Compiled 22 212 to 5 661 computations (74.5% saved)

series3.9s (1.4%)

Memory
-62.6MiB live, 3 720.5MiB allocated
Counts
1 633 → 8 658
Calls

507 calls:

TimeVariablePointExpression
82.0ms
a
@0
((/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) (/ (* -1/2 c) b_2) (* -1/2 c) (/ -1/2 (/ b_2 c)) (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) (/ b_2 c) (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (* (* (/ a b_2) -1/2) c) (* (/ a b_2) -1/2) (- (/ (neg b_2) a) (/ (sqrt (- (* b_2 b_2) (* a c))) a)) (/ (neg b_2) a) (neg b_2) (/ (sqrt (- (* b_2 b_2) (* a c))) a) (+ (* -1 b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ (/ (- (* b_2 b_2) (- (* b_2 b_2) (* a c))) (+ (* -1 b_2) (sqrt (- (* b_2 b_2) (* a c))))) a) (/ (- (* b_2 b_2) (- (* b_2 b_2) (* a c))) (+ (* -1 b_2) (sqrt (- (* b_2 b_2) (* a c))))) (- (* b_2 b_2) (- (* b_2 b_2) (* a c))) (- (* b_2 b_2) (* a c)) (sqrt (- (* b_2 b_2) (* a c))))
79.0ms
n
@0
((- (exp (/ (log (+ 1 x)) n)) (pow x (/ 1 n))) (exp (/ (log (+ 1 x)) n)) (/ (log (+ 1 x)) n) (log (+ 1 x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n)) (/ 1 n) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (/ (pow x (/ 1 n)) x) n) (/ (pow x (/ 1 n)) x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (+ (* (* x x) (- (/ 1/2 (* n n)) (/ 1/2 n))) (- (/ x n) (- (exp (/ (log x) n)) 1))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (* x x) (- (/ 1/2 (* n n)) (/ 1/2 n)) (log x) (/ (log x) n) (/ 1/2 (* n n)))
73.0ms
x
@0
((+ (* (+ (* (- -1/6 (- (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) 1/6) (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) -1/2) -1/2)) (/ (+ (* (sin x) (sin x)) (/ (pow (sin x) 4) (pow (cos x) 2))) (pow (cos x) 2)))) (/ (sin x) (cos x))) (* 1/3 (/ (+ (/ (pow (sin x) 3) (pow (cos x) 2)) (sin x)) (cos x)))) eps) (- -1/6 (- (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) 1/6) (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) -1/2) -1/2)) (/ (+ (* (sin x) (sin x)) (/ (pow (sin x) 4) (pow (cos x) 2))) (pow (cos x) 2))))) (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) 1/6) (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) -1/2) -1/2)) (- -1/6 (- (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) 1/6) (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) -1/2) -1/2)) (/ (+ (* (sin x) (sin x)) (/ (pow (sin x) 4) (pow (cos x) 2))) (pow (cos x) 2)))) (- (tan (+ x eps)) (tan x)) (- (tan (+ x eps)) (tan x)) (/ (sin eps) (cos eps)) (sin eps) (cos eps) (pow (neg (cos x)) -1) (+ (* (sin x) (pow (neg (cos x)) -1)) (tan (+ eps x))) (sin x) (neg (cos x)) (- (/ (+ (tan eps) (tan x)) (+ (* (neg (tan eps)) (tan x)) 1)) (tan x)) (/ (+ (tan eps) (tan x)) (+ (* (neg (tan eps)) (tan x)) 1)) (+ (tan eps) (tan x)) (tan eps) (/ (- (* (+ (tan eps) (tan x)) (cos x)) (* (+ (* (neg (tan eps)) (tan x)) 1) (sin x))) (* (+ (* (neg (tan eps)) (tan x)) 1) (cos x))) (- (* (+ (tan eps) (tan x)) (cos x)) (* (+ (* (neg (tan eps)) (tan x)) 1) (sin x))) (* (+ (tan eps) (tan x)) (cos x)) (* 1/3 (/ (+ (/ (pow (sin x) 3) (pow (cos x) 2)) (sin x)) (cos x))) (+ (* (+ (* (+ (* (+ (* (- -1/6 (- (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) 1/6) (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) -1/2) -1/2)) (/ (+ (* (sin x) (sin x)) (/ (pow (sin x) 4) (pow (cos x) 2))) (pow (cos x) 2)))) (/ (sin x) (cos x))) (* 1/3 (/ (+ (/ (pow (sin x) 3) (pow (cos x) 2)) (sin x)) (cos x)))) eps) (- -1/6 (- (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) 1/6) (+ (* (/ (pow (sin x) 2) (pow (cos x) 2)) -1/2) -1/2)) (/ (+ (* (sin x) (sin x)) (/ (pow (sin x) 4) (pow (cos x) 2))) (pow (cos x) 2))))) eps) (/ (+ (/ (pow (sin x) 3) (pow (cos x) 2)) (sin x)) (cos x))) eps) (/ (pow (sin x) 2) (pow (cos x) 2))) (pow (cos x) 2) (tan (+ eps x)) (cos x) (neg (tan eps)) (* (+ (* (neg (tan eps)) (tan x)) 1) (sin x)))
73.0ms
x
@0
((/ (pow n -1) (pow (- (pow (log (+ 1 x)) 3) (pow (log x) 3)) -1)) (* (/ (pow n -1) (pow (- (pow (log (+ 1 x)) 3) (pow (log x) 3)) -1)) (pow (+ (* (log x) (+ (log x) (log (+ 1 x)))) (pow (log (+ 1 x)) 2)) -1)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow n -1) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (* (pow (/ n (- (pow (log (+ 1 x)) 3) (pow (log x) 3))) -1) (pow (+ (* (log x) (+ (log x) (log (+ 1 x)))) (pow (log (+ 1 x)) 2)) -1)) (/ (/ 1 n) x) (/ 1 n) (+ (* (/ (/ (- 1/3 (* 1/2 x)) x) n) n) x) (/ (/ (+ (* (/ (/ (- 1/3 (* 1/2 x)) x) n) n) x) (* x n)) x) (/ (- 1/3 (* 1/2 x)) x) (- 1/3 (* 1/2 x)) (* (* (pow x (/ -1 n)) x) n) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow x (/ -1 n)) (/ -1 n) (- (exp (/ (log (+ 1 x)) n)) (pow x (/ 1 n))) (exp (/ (log (+ 1 x)) n)) (/ (log (+ 1 x)) n) (/ x n) (- (pow (log (+ 1 x)) 3) (pow (log x) 3)) (pow (log x) 3) (/ (- (log (+ 1 x)) (log x)) n) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (+ (* (/ (/ (- 1/3 (* 1/2 x)) x) n) n) x) (* x n)) (/ 1 (* (* (pow x (/ -1 n)) x) n)) (* (pow x (/ -1 n)) x))
71.0ms
x
@0
((- (cbrt (+ x 1)) (cbrt x)) (* (pow (cbrt x) -2) 1/3) (pow (cbrt x) -2) (cbrt x) (- (/ 1 (cbrt (exp (neg (log (+ 1 x)))))) (cbrt x)) (neg (cbrt x)) (- (cbrt (+ x 1)) (cbrt x)) (/ 1/3 (pow (cbrt x) 2)) (pow (cbrt x) 2) (* (/ -1 (cbrt x)) (/ -1 (cbrt x))) (* (* (/ -1 (cbrt x)) (/ -1 (cbrt x))) 1/3) (- (cbrt (+ x 1)) (cbrt x)) (/ -1 (cbrt x)) (- (cbrt (+ x 1)) (cbrt x)) (* (* (cbrt (pow x -1/2)) (cbrt (pow x -3/2))) 1/3) (* (cbrt (pow x -1/2)) (cbrt (pow x -3/2))) (cbrt (pow x -1/2)) (cbrt (pow x -3/2)))

regimes3.9s (1.4%)

Memory
219.6MiB live, 4 750.3MiB allocated
Counts
4 225 → 348
Calls

43 calls:

1.1s
x
251.0ms
eps
243.0ms
b
187.0ms
(/.f64 #s(literal 1 binary64) n)
174.0ms
(-.f64 (cbrt.f64 (+.f64 x #s(literal 1 binary64))) (cbrt.f64 x))
Compiler

Compiled 2 236 to 2 071 computations (7.4% saved)

prune3.8s (1.4%)

Memory
-395.8MiB live, 5 819.7MiB allocated
Counts
73 907 → 1 795
Compiler

Compiled 101 014 to 50 258 computations (50.2% saved)

analyze1.7s (0.6%)

Memory
141.6MiB live, 1 989.1MiB 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)

bsearch981.0ms (0.4%)

Memory
-76.7MiB live, 1 098.4MiB allocated
Algorithm
75×binary-search
43×left-value
Stop Event
68×narrow-enough
predicate-same
Samples
288.0ms3 635×0valid
105.0ms333×2valid
86.0ms500×1valid
67.0ms532×0invalid
3.0ms34×0exit
3.0ms12×3valid
Compiler

Compiled 25 080 to 18 892 computations (24.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 408.0ms
ival-mult: 88.0ms (21.6% of total)
ival-pow: 76.0ms (18.6% of total)
ival-sqrt: 52.0ms (12.7% of total)
ival-div: 46.0ms (11.3% of total)
ival-sub: 42.0ms (10.3% of total)
adjust: 25.0ms (6.1% of total)
ival-cos: 21.0ms (5.1% of total)
ival-add: 17.0ms (4.2% of total)
ival-neg: 14.0ms (3.4% of total)
ival-sin: 6.0ms (1.5% of total)
ival-expm1: 5.0ms (1.2% of total)
ival-cbrt: 4.0ms (1% of total)
ival-true: 4.0ms (1% of total)
ival-exp: 2.0ms (0.5% of total)
ival-assert: 2.0ms (0.5% of total)
ival-log1p: 2.0ms (0.5% of total)
exact: 2.0ms (0.5% of total)
ival-log: 1.0ms (0.2% of total)

start1.0ms (0%)

Memory
1.5MiB live, 1.5MiB allocated

end0.0ms (0%)

Memory
0.4MiB live, 0.3MiB allocated

Profiling

Loading profile data...