Herbie run

Date:Monday, October 14th, 2024
Commit:11c18108 on reorg-report-page
Hostname:nightly with Racket 8.10
Seed:2024288
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce: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)

sample2.0min (44.8%)

Memory
224.5MiB live, 110 124.6MiB allocated
Samples
29.3s41 682×2valid
25.9s146 372×0invalid
20.5s91 810×1valid
10.1s4 746×5exit
9.0s94 734×0valid
2.4s2 937×3valid
478.0ms2 362×1exit
363.0ms4 285×0exit
12.0ms4valid
10.0ms4exit
1.0ms2exit
1.0ms3exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.2s (16.5% of total)
ival-pow: 10.7s (13.3% of total)
ival-mult: 6.4s (8% of total)
adjust: 5.4s (6.7% of total)
const: 5.2s (6.5% of total)
ival-cos: 5.0s (6.2% of total)
ival-div: 4.5s (5.6% of total)
ival-sub: 3.9s (4.9% of total)
ival-add: 3.4s (4.3% of total)
ival-sin: 3.4s (4.2% of total)
ival-log: 3.3s (4.1% of total)
ival-expm1: 2.5s (3.1% of total)
ival-<=: 2.5s (3.1% of total)
ival-fabs: 2.3s (2.9% of total)
ival-exp: 2.3s (2.9% of total)
ival-sqrt: 1.3s (1.6% of total)
ival-log1p: 1.1s (1.3% of total)
ival-<: 868.0ms (1.1% of total)
ival-and: 624.0ms (0.8% of total)
ival-fmin: 536.0ms (0.7% of total)
ival-atan: 411.0ms (0.5% of total)
exact: 356.0ms (0.4% of total)
ival-cbrt: 279.0ms (0.3% of total)
ival->: 277.0ms (0.3% of total)
ival-neg: 229.0ms (0.3% of total)
ival-assert: 156.0ms (0.2% of total)
ival-true: 73.0ms (0.1% of total)
Bogosity

simplify35.0s (13%)

Memory
800.9MiB live, 28 913.9MiB allocated
Algorithm
244×egg-herbie
Stop Event
321×iter limit
168×node limit
79×saturated
Counts
8 527 → 8 429

soundness30.1s (11.2%)

Memory
254.1MiB live, 16 774.8MiB allocated
Stop Event
208×iter limit
137×node limit
22×fuel
done
saturated
Compiler

Compiled 14 560 to 6 591 computations (54.7% saved)

localize22.0s (8.2%)

Memory
-639.7MiB live, 20 392.9MiB allocated
Samples
6.6s9 974×1valid
6.6s5 148×2valid
3.5s11 270×0valid
400.0ms313×3valid
336.0ms900×0invalid
17.0ms11×5exit
9.0ms32×0exit
Compiler

Compiled 46 630 to 6 903 computations (85.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.5s
ival-mult: 2.4s (17.5% of total)
ival-div: 1.8s (13.3% of total)
ival-tan: 1.6s (11.7% of total)
adjust: 1.4s (10.2% of total)
ival-add: 1.2s (9% of total)
ival-pow: 819.0ms (6.1% of total)
ival-sub: 797.0ms (5.9% of total)
ival-cos: 603.0ms (4.5% of total)
const: 594.0ms (4.4% of total)
ival-log: 522.0ms (3.9% of total)
ival-sin: 408.0ms (3% of total)
ival-exp: 330.0ms (2.5% of total)
ival-sqrt: 199.0ms (1.5% of total)
ival-log1p: 177.0ms (1.3% of total)
ival-neg: 165.0ms (1.2% of total)
ival-pow2: 120.0ms (0.9% of total)
ival-cosh: 101.0ms (0.7% of total)
ival-expm1: 80.0ms (0.6% of total)
ival-hypot: 77.0ms (0.6% of total)
ival-cbrt: 48.0ms (0.4% of total)
exact: 46.0ms (0.3% of total)
ival-true: 24.0ms (0.2% of total)
ival-atan2: 15.0ms (0.1% of total)
ival-atan: 13.0ms (0.1% of total)
ival-assert: 12.0ms (0.1% of total)
ival-sinh: 2.0ms (0% of total)
ival-fabs: 1.0ms (0% of total)

rewrite21.6s (8%)

Memory
238.5MiB live, 20 958.7MiB allocated
Stop Event
217×iter limit
107×node limit
saturated
Counts
1 598 → 60 162

eval13.8s (5.1%)

Memory
53.6MiB live, 15 255.2MiB allocated
Compiler

Compiled 2 574 219 to 272 769 computations (89.4% saved)

explain6.4s (2.4%)

Memory
-82.4MiB live, 6 425.7MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation413634
log.f64#fsensitivity7635
/.f64#fu/u4340
sqrt.f64#foflow-rescue4120
+.f64#fcancellation3300
/.f64#fu/n1200
pow.f64#fsensitivity601
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/u240
(*.f64 b eps)underflow154
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow143
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow154
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow237
(*.f64 a eps)underflow143
-.f64#fnan-rescue220
tan.f64(tan.f64 (+.f64 x eps))sensitivity20
cos.f64(cos.f64 (+.f64 x eps))sensitivity20
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o10
(*.f64 x x)overflow65
/.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
sin.f64(sin.f64 (+.f64 x eps))sensitivity11
exp.f64(exp.f64 (*.f64 a x))sensitivity10
/.f64(/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 #s(literal 2 binary64) a))o/n10
(*.f64 b b)overflow77
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c)))))overflow1
(*.f64 #s(literal 4 binary64) (*.f64 a c))overflow35
(*.f64 a c)overflow35
(-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c)))overflow104
Confusion
Predicted +Predicted -
+519122
-1481807
Precision
0.9722794530811013
Recall
0.9957797813159409
Confusion?
Predicted +Predicted MaybePredicted -
+5191184
-148191788
Precision?
0.9689360119047619
Recall?
0.9992326875119892
Freqs
test
numberfreq
01829
14543
2639
3109
448
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
2.2s2 584×2valid
1.1s5 676×1valid
662.0ms5 888×0valid
164.0ms188×3valid
Compiler

Compiled 3 034 to 980 computations (67.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.2s
ival-tan: 979.0ms (30.3% of total)
ival-sqrt: 338.0ms (10.4% of total)
ival-cos: 288.0ms (8.9% of total)
ival-log: 226.0ms (7% of total)
ival-sin: 218.0ms (6.7% of total)
adjust: 211.0ms (6.5% of total)
ival-div: 179.0ms (5.5% of total)
ival-exp: 164.0ms (5.1% of total)
ival-sub: 143.0ms (4.4% of total)
ival-add: 130.0ms (4% of total)
ival-pow: 95.0ms (2.9% of total)
ival-mult: 94.0ms (2.9% of total)
ival-log1p: 57.0ms (1.8% of total)
ival-expm1: 24.0ms (0.7% of total)
ival-neg: 22.0ms (0.7% of total)
ival-cbrt: 19.0ms (0.6% of total)
ival-atan: 19.0ms (0.6% of total)
ival-true: 13.0ms (0.4% of total)
exact: 8.0ms (0.2% of total)
ival-assert: 6.0ms (0.2% of total)

prune5.0s (1.8%)

Memory
-353.3MiB live, 6 894.0MiB allocated
Counts
70 445 → 1 940
Compiler

Compiled 106 936 to 55 883 computations (47.7% saved)

preprocess4.3s (1.6%)

Memory
202.9MiB live, 4 569.4MiB allocated
Algorithm
28×egg-herbie
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 17 856 to 5 333 computations (70.1% saved)

regimes4.0s (1.5%)

Memory
-10.5MiB live, 4 592.2MiB allocated
Counts
3 656 → 302
Calls

43 calls:

1.1s
x
332.0ms
eps
233.0ms
b
186.0ms
(/.f64 #s(literal 1 binary64) n)
183.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
Compiler

Compiled 2 212 to 2 047 computations (7.5% saved)

series3.6s (1.3%)

Memory
127.2MiB live, 3 868.2MiB allocated
Counts
1 598 → 8 527
Calls

504 calls:

TimeVariablePointExpression
196.0ms
x
@-inf
((+ (* (sin x) (cos eps)) (+ (* (sin eps) (cos x)) (neg (sin x)))) (+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps))) (sin x) (- (cos eps) 1) (- (sin (+ x eps)) (sin x)) (* (+ (* (* (sin x) -1/2) eps) (cos x)) eps) (+ (* (* (sin x) -1/2) eps) (cos x)) (+ (* (+ (* (+ (* 1/12 (* eps eps)) -1/2) x) (* -1/2 eps)) x) (+ (* (* eps eps) -1/6) 1)) (- (sin (+ x eps)) (sin x)) (* (+ (* (+ (* (* (cos x) eps) -1/6) (* (sin x) -1/2)) eps) (cos x)) eps) (+ (* (+ (* (* (cos x) eps) -1/6) (* (sin x) -1/2)) eps) (cos x)) (- (sin (+ x eps)) (sin x)) (sin eps) (+ (* (pow eps 3) (+ (* 1/120 (* eps eps)) -1/6)) eps) (pow eps 3) (- (sin (+ x eps)) (sin x)) (* (+ (* (+ (* (* (cos x) eps) -1/6) (* (sin x) -1/2)) eps) (cos x)) eps) (+ (* (+ (* (* (cos x) eps) -1/6) (* (sin x) -1/2)) eps) (cos x)) (+ (* (* (cos x) eps) -1/6) (* (sin x) -1/2)) (* (cos x) (sin eps)) (+ (* 1/12 (* eps eps)) -1/2) (+ (* 1/120 (* eps eps)) -1/6) (* eps eps) (* (+ eps x) 1/12) (* -1/6 eps))
89.0ms
N
@-inf
((log (+ N 1)) (- (log (+ N 1)) (log N)) (+ N 1) (log N))
81.0ms
n
@-inf
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (log (/ (+ 1 x) x)) n) (log (/ (+ 1 x) x)) (/ (+ 1 x) x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (* (/ (- (pow (log (+ 1 x)) 4) (pow (log x) 4)) n) (/ (pow (+ (* (log x) (log x)) (pow (log (+ 1 x)) 2)) -1) (+ (log x) (log (+ 1 x))))) (/ (/ 1 n) x) (/ 1 n) (+ (* (/ (- (/ (+ (/ -1/4 x) 1/3) x) 1/2) x) -1) -1) (/ (+ (* (/ (- (/ (+ (/ -1/4 x) 1/3) x) 1/2) x) -1) -1) (neg x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (/ 1 (/ n (- (log (+ 1 x)) (log x)))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ n (- (log (+ 1 x)) (log x))) (- (log (+ 1 x)) (log x)) (pow (pow x (/ 1/2 n)) 2) (/ (/ (pow (pow x (/ 1/2 n)) 2) x) n) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (pow (pow x (/ 1/2 n)) 2) x) (- (log (+ 1 x)) (log x)) (/ (+ (/ -1/4 x) 1/3) x) (pow x (/ 1/2 n)))
62.0ms
N
@inf
((- (log (+ N 1)) (log N)) (/ (- (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) -1) N) (- (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) -1) (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) (- (log (+ N 1)) (log N)) (/ 1 N) (- (log (+ 1 N)) (log N)) (log (+ 1 N)) (log N) (- (pow (log (+ 1 N)) 2) (* (neg (log N)) (log (+ 1 N)))) (+ (* (log N) (log N)) (- (pow (log (+ 1 N)) 2) (* (neg (log N)) (log (+ 1 N))))) (/ (- (pow (log (+ 1 N)) 3) (pow (log N) 3)) (+ (* (log N) (log N)) (- (pow (log (+ 1 N)) 2) (* (neg (log N)) (log (+ 1 N)))))) (- (pow (log (+ 1 N)) 3) (pow (log N) 3)) (+ (* (log (+ 1 N)) (/ (pow (log (+ 1 N)) 2) (+ (* (+ (log N) (log (+ 1 N))) (log N)) (pow (log (+ 1 N)) 2)))) (neg (/ (pow (log N) 3) (+ (* (+ (log N) (log (+ 1 N))) (log N)) (pow (log (+ 1 N)) 2))))) (/ (pow (log (+ 1 N)) 2) (+ (* (+ (log N) (log (+ 1 N))) (log N)) (pow (log (+ 1 N)) 2))) (pow (log (+ 1 N)) 2) (/ (- (/ 1/4 N) 1/3) N) (- (/ 1/4 N) 1/3) (pow (log (+ 1 N)) 3) (pow (log N) 3) (/ (pow (log N) 3) (+ (* (+ (log N) (log (+ 1 N))) (log N)) (pow (log (+ 1 N)) 2))))
59.0ms
n
@0
((- (* (+ n 1) (log (+ n 1))) (* n (log n))) (log (+ n 1)) (- (- (* (+ n 1) (log (+ n 1))) (* n (log n))) 1) (+ n 1) (* (+ n 1) (log (+ n 1))) (* n (log n)) (log n))

analyze1.7s (0.6%)

Memory
-23.3MiB live, 1 933.9MiB 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)

bsearch1.1s (0.4%)

Memory
-75.5MiB live, 1 177.5MiB allocated
Algorithm
60×binary-search
31×left-value
Stop Event
59×narrow-enough
predicate-same
Samples
499.0ms3 810×0valid
100.0ms240×2valid
73.0ms644×0invalid
54.0ms365×1valid
4.0ms17×3valid
2.0ms21×0exit
Compiler

Compiled 21 720 to 16 700 computations (23.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 471.0ms
ival-mult: 87.0ms (18.5% of total)
ival-div: 76.0ms (16.1% of total)
ival-sub: 67.0ms (14.2% of total)
adjust: 61.0ms (13% of total)
ival-sqrt: 55.0ms (11.7% of total)
ival-cos: 37.0ms (7.9% of total)
ival-pow: 36.0ms (7.6% of total)
ival-neg: 18.0ms (3.8% of total)
ival-add: 11.0ms (2.3% of total)
ival-sin: 6.0ms (1.3% of total)
ival-expm1: 4.0ms (0.8% of total)
ival-true: 4.0ms (0.8% of total)
ival-exp: 3.0ms (0.6% of total)
exact: 3.0ms (0.6% of total)
ival-assert: 2.0ms (0.4% of total)

start1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated

end0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated

Profiling

Loading profile data...