Herbie run

Date:Thursday, July 25th, 2024
Commit:2a1d9f8a on ir-cleanup
Hostname:nightly with Racket 8.11.1
Seed:2024207
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: 5.5min)

sample1.9min (34.8%)

Memory
617.4MiB live, 130 563.0MiB allocated
Samples
29.0s40 971×2valid
23.4s146 574×0invalid
20.2s92 392×1valid
9.3s4 879×5exit
8.0s94 413×0valid
2.2s3 275×3valid
414.0ms2 279×1exit
342.0ms4 160×0exit
44.0ms117×4valid
28.0ms97×2exit
18.0ms4exit
7.0ms3exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 14.8s (19% of total)
ival-pow: 9.2s (11.8% of total)
ival-mult: 6.0s (7.7% of total)
const: 5.7s (7.3% of total)
ival-cos: 4.5s (5.8% of total)
adjust: 4.3s (5.6% of total)
ival-div: 4.0s (5.1% of total)
ival-log: 3.5s (4.5% of total)
ival-sub: 3.4s (4.3% of total)
ival-add: 3.3s (4.3% of total)
ival-sin: 3.3s (4.3% of total)
ival-fabs: 3.1s (4% of total)
ival-exp: 2.2s (2.9% of total)
ival-<=: 2.1s (2.7% of total)
ival-expm1: 1.7s (2.2% of total)
ival-sqrt: 1.2s (1.5% of total)
ival-log1p: 1.1s (1.4% of total)
ival-<: 911.0ms (1.2% of total)
ival-and: 628.0ms (0.8% of total)
ival-neg: 557.0ms (0.7% of total)
ival-fmin: 497.0ms (0.6% of total)
ival->: 431.0ms (0.6% of total)
exact: 426.0ms (0.5% of total)
ival-atan: 362.0ms (0.5% of total)
ival-cbrt: 271.0ms (0.3% of total)
ival-assert: 170.0ms (0.2% of total)
ival-true: 67.0ms (0.1% of total)
Bogosity

simplify1.1min (20.5%)

Memory
-162.6MiB live, 80 068.0MiB allocated
Algorithm
242×egg-herbie
Rules
1 892 576×lower-fma.f32
1 892 072×lower-fma.f64
719 040×lower-*.f32
718 144×lower-*.f64
411 222×lower-+.f32
Stop Event
316×iter limit
157×node limit
90×saturated
Counts
22 440 → 22 041

rewrite41.6s (12.7%)

Memory
624.5MiB live, 47 214.3MiB allocated
Algorithm
107×batch-egg-rewrite
Rules
495 970×lower-fma.f32
495 470×lower-fma.f64
412 458×lower-*.f32
411 578×lower-*.f64
357 796×lower-/.f32
Stop Event
221×iter limit
104×node limit
saturated
unsound
Counts
1 349 → 72 328

soundness30.2s (9.2%)

Memory
150.3MiB live, 17 660.1MiB allocated
Rules
1 133 912×lower-fma.f32
1 133 652×lower-fma.f64
578 326×lower-*.f32
577 884×lower-*.f64
299 300×lower-+.f32
Stop Event
193×iter limit
128×node limit
23×fuel
done
saturated
Compiler

Compiled 9 094 to 4 819 computations (47% saved)

eval18.7s (5.7%)

Memory
598.5MiB live, 25 996.8MiB allocated
Compiler

Compiled 3 134 934 to 257 711 computations (91.8% saved)

prune18.0s (5.5%)

Memory
-577.6MiB live, 27 135.6MiB allocated
Counts
111 004 → 2 184
Compiler

Compiled 80 814 to 39 035 computations (51.7% saved)

localize15.3s (4.7%)

Memory
-233.1MiB live, 19 941.8MiB allocated
Samples
3.1s14 979×0valid
3.0s6 706×1valid
2.9s3 421×2valid
913.0ms708×3valid
308.0ms1 332×0invalid
112.0ms90×5exit
69.0ms126×0exit
29.0ms18×4valid
15.0ms12×1exit
Compiler

Compiled 17 316 to 2 660 computations (84.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.8s
ival-mult: 1.5s (20% of total)
ival-add: 1.1s (14.2% of total)
ival-div: 1.1s (13.6% of total)
adjust: 773.0ms (10% of total)
ival-tan: 553.0ms (7.1% of total)
const: 508.0ms (6.5% of total)
ival-cos: 348.0ms (4.5% of total)
ival-sub: 326.0ms (4.2% of total)
ival-log: 297.0ms (3.8% of total)
ival-pow: 291.0ms (3.8% of total)
ival-sqrt: 180.0ms (2.3% of total)
ival-sin: 156.0ms (2% of total)
ival-exp: 126.0ms (1.6% of total)
ival-log1p: 101.0ms (1.3% of total)
ival-neg: 74.0ms (1% of total)
ival-cbrt: 58.0ms (0.7% of total)
ival-pow2: 48.0ms (0.6% of total)
ival-atan: 48.0ms (0.6% of total)
exact: 47.0ms (0.6% of total)
ival-cosh: 30.0ms (0.4% of total)
ival-expm1: 28.0ms (0.4% of total)
ival-true: 23.0ms (0.3% of total)
ival-atan2: 22.0ms (0.3% of total)
ival-assert: 11.0ms (0.1% of total)
ival-fabs: 3.0ms (0% of total)

explain6.3s (1.9%)

Memory
27.6MiB live, 7 148.5MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation414639
log.f64#fsensitivity7670
/.f64#fu/u4350
sqrt.f64#foflow-rescue4340
+.f64#fcancellation3180
/.f64#fu/n930
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity800
/.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)underflow148
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow147
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow148
(*.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)underflow147
sqrt.f64#fuflow-rescue240
-.f64#fnan-rescue160
cos.f64(cos.f64 (+.f64 x eps))sensitivity41
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o40
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow4
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow4
(exp.f64 x)overflow4
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow4
sin.f64(sin.f64 (+.f64 x eps))sensitivity40
tan.f64(tan.f64 (+.f64 x eps))sensitivity40
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o30
(*.f64 x x)overflow80
exp.f64#fsensitivity23
Confusion
Predicted +Predicted -
+522615
-1391788
Precision
0.9740913327120224
Recall
0.9971379507727532
Confusion?
Predicted +Predicted MaybePredicted -
+5226114
-139301758
Precision?
0.9687384387717352
Recall?
0.9992367868727342
Freqs
test
numberfreq
01803
14573
2642
396
454
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
2.0s2 498×2valid
1.1s5 840×1valid
576.0ms5 764×0valid
152.0ms226×3valid
3.0ms4valid
Compiler

Compiled 2 522 to 980 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.2s
ival-tan: 949.0ms (29.7% of total)
adjust: 267.0ms (8.4% of total)
ival-sub: 261.0ms (8.2% of total)
ival-pow: 245.0ms (7.7% of total)
ival-div: 223.0ms (7% of total)
ival-exp: 214.0ms (6.7% of total)
ival-cos: 204.0ms (6.4% of total)
ival-log: 200.0ms (6.3% of total)
ival-sin: 166.0ms (5.2% of total)
ival-add: 130.0ms (4.1% of total)
ival-mult: 95.0ms (3% of total)
ival-sqrt: 65.0ms (2% of total)
ival-log1p: 58.0ms (1.8% of total)
ival-expm1: 27.0ms (0.8% of total)
ival-cbrt: 21.0ms (0.7% of total)
ival-neg: 19.0ms (0.6% of total)
ival-atan: 19.0ms (0.6% of total)
exact: 13.0ms (0.4% of total)
ival-true: 12.0ms (0.4% of total)
ival-assert: 6.0ms (0.2% of total)

preprocess5.0s (1.5%)

Memory
-176.4MiB live, 6 147.2MiB allocated
Algorithm
28×egg-herbie
Rules
27 478×lower-fma.f64
27 478×lower-fma.f32
10 768×div-sub
10 444×sub-neg
9 190×lower-*.f32
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 9 580 to 3 592 computations (62.5% saved)

regimes4.5s (1.4%)

Memory
-127.9MiB live, 6 954.2MiB allocated
Counts
4 708 → 326
Calls

43 calls:

1.2s
x
371.0ms
eps
176.0ms
(/.f64 #s(literal 1 binary64) n)
173.0ms
a
168.0ms
(exp.f64 x)
Compiler

Compiled 3 047 to 2 024 computations (33.6% saved)

series2.9s (0.9%)

Memory
-189.3MiB live, 3 679.4MiB allocated
Counts
1 349 → 22 440
Calls

4560 calls:

TimeVariablePointExpression
59.0ms
c
@-inf
(- (* b b) (* 4 (* a c)))
56.0ms
x
@0
(pow (exp 1/3) (log x))
44.0ms
x
@inf
(/ (+ (* eps (* eps eps)) (* x (* x x))) (+ (* eps (- eps x)) (* x x)))
39.0ms
n
@0
(* n (log n))
38.0ms
N
@0
(log (atan2 1 (+ 1 (+ (* N N) N))))

bsearch2.0s (0.6%)

Memory
123.5MiB live, 2 216.1MiB allocated
Algorithm
68×binary-search
45×left-value
Stop Event
65×narrow-enough
predicate-same
Samples
537.0ms5 892×0valid
373.0ms1 916×1valid
301.0ms769×2valid
146.0ms1 351×0invalid
19.0ms168×0exit
8.0ms25×3valid
2.0ms4valid
1.0ms1exit
Compiler

Compiled 13 093 to 9 612 computations (26.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 940.0ms
ival-pow: 298.0ms (31.7% of total)
ival-mult: 174.0ms (18.5% of total)
ival-div: 103.0ms (11% of total)
adjust: 84.0ms (8.9% of total)
ival-sub: 80.0ms (8.5% of total)
ival-sqrt: 46.0ms (4.9% of total)
ival-add: 45.0ms (4.8% of total)
ival-cos: 28.0ms (3% of total)
ival-neg: 28.0ms (3% of total)
ival-sin: 15.0ms (1.6% of total)
ival-cbrt: 12.0ms (1.3% of total)
exact: 7.0ms (0.7% of total)
ival-true: 7.0ms (0.7% of total)
ival-expm1: 6.0ms (0.6% of total)
ival-exp: 5.0ms (0.5% of total)
ival-assert: 4.0ms (0.4% of total)

analyze1.6s (0.5%)

Memory
-41.9MiB live, 2 014.0MiB 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)

end0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated

Profiling

Loading profile data...