Herbie run

Date:Tuesday, August 6th, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024219
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.4min)

sample1.9min (34.4%)

Memory
378.1MiB live, 126 963.0MiB allocated
Samples
27.5s41 371×2valid
24.8s145 198×0invalid
19.7s92 238×1valid
9.3s4 838×5exit
8.5s94 570×0valid
2.0s2 986×3valid
388.0ms2 264×1exit
349.0ms4 141×0exit
15.0ms4exit
3.0ms4valid
2.0ms2exit
2.0ms3exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 12.7s (16.6% of total)
ival-pow: 9.3s (12.2% of total)
ival-mult: 6.5s (8.5% of total)
adjust: 5.7s (7.4% of total)
const: 5.3s (6.9% of total)
ival-cos: 4.3s (5.7% of total)
ival-div: 4.2s (5.5% of total)
ival-sub: 4.0s (5.2% of total)
ival-log: 3.5s (4.5% of total)
ival-add: 3.5s (4.5% of total)
ival-sin: 3.2s (4.2% of total)
ival-fabs: 2.2s (2.9% of total)
ival-exp: 2.0s (2.6% of total)
ival-expm1: 2.0s (2.6% of total)
ival-<=: 1.9s (2.5% of total)
ival-log1p: 1.3s (1.7% of total)
ival-sqrt: 1.2s (1.6% of total)
ival-<: 910.0ms (1.2% of total)
ival-and: 573.0ms (0.7% of total)
ival-fmin: 488.0ms (0.6% of total)
ival-atan: 339.0ms (0.4% of total)
exact: 326.0ms (0.4% of total)
ival-cbrt: 318.0ms (0.4% of total)
ival->: 309.0ms (0.4% of total)
ival-neg: 250.0ms (0.3% of total)
ival-assert: 144.0ms (0.2% of total)
ival-true: 66.0ms (0.1% of total)
Bogosity

simplify1.1min (21.1%)

Memory
-61.1MiB live, 82 312.6MiB allocated
Algorithm
242×egg-herbie
Rules
1 962 550×lower-fma.f32
1 962 048×lower-fma.f64
719 564×lower-*.f32
718 638×lower-*.f64
429 760×lower-+.f32
Stop Event
318×iter limit
160×node limit
85×saturated
Counts
23 112 → 22 693

rewrite37.8s (11.7%)

Memory
-27.4MiB live, 46 590.1MiB allocated
Algorithm
107×batch-egg-rewrite
Rules
461 366×lower-fma.f32
460 864×lower-fma.f64
411 062×lower-*.f32
410 148×lower-*.f64
357 690×lower-/.f32
Stop Event
222×iter limit
105×node limit
saturated
Counts
1 402 → 71 621

soundness30.3s (9.3%)

Memory
283.4MiB live, 20 078.0MiB allocated
Rules
1 184 116×lower-fma.f32
1 183 820×lower-fma.f64
609 142×lower-*.f32
608 586×lower-*.f64
333 002×lower-/.f32
Stop Event
216×iter limit
138×node limit
23×fuel
done
saturated
Compiler

Compiled 10 100 to 5 265 computations (47.9% saved)

eval19.4s (6%)

Memory
330.8MiB live, 25 156.2MiB allocated
Compiler

Compiled 3 063 976 to 254 115 computations (91.7% saved)

localize17.8s (5.5%)

Memory
203.5MiB live, 22 115.2MiB allocated
Samples
4.4s4 122×2valid
3.7s7 120×1valid
2.8s13 818×0valid
1.2s543×3valid
256.0ms676×1exit
251.0ms1 053×0invalid
60.0ms12×4valid
23.0ms12×5exit
9.0ms36×0exit
Compiler

Compiled 17 505 to 2 725 computations (84.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0s
ival-mult: 1.9s (18.9% of total)
ival-add: 1.3s (13.5% of total)
adjust: 1.2s (12% of total)
ival-div: 993.0ms (10% of total)
ival-tan: 962.0ms (9.6% of total)
ival-cos: 950.0ms (9.5% of total)
const: 561.0ms (5.6% of total)
ival-pow: 440.0ms (4.4% of total)
ival-sin: 332.0ms (3.3% of total)
ival-sub: 289.0ms (2.9% of total)
ival-log: 288.0ms (2.9% of total)
ival-sqrt: 140.0ms (1.4% of total)
ival-exp: 132.0ms (1.3% of total)
ival-neg: 84.0ms (0.8% of total)
ival-log1p: 81.0ms (0.8% of total)
ival-pow2: 67.0ms (0.7% of total)
exact: 39.0ms (0.4% of total)
ival-atan2: 37.0ms (0.4% of total)
ival-cbrt: 36.0ms (0.4% of total)
ival-cosh: 29.0ms (0.3% of total)
ival-expm1: 25.0ms (0.3% of total)
ival-true: 23.0ms (0.2% of total)
ival-atan: 18.0ms (0.2% of total)
ival-assert: 11.0ms (0.1% of total)
ival-copysign: 5.0ms (0.1% of total)
ival-fabs: 1.0ms (0% of total)

prune16.7s (5.2%)

Memory
-217.2MiB live, 26 183.4MiB allocated
Counts
109 361 → 2 164
Compiler

Compiled 80 092 to 38 751 computations (51.6% saved)

explain6.4s (2%)

Memory
-153.1MiB live, 7 816.4MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation419835
log.f64#fsensitivity7680
sqrt.f64#foflow-rescue4220
/.f64#fu/u4200
+.f64#fcancellation3140
/.f64#fu/n1200
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity740
/.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)underflow152
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow146
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow152
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow236
(*.f64 a eps)underflow146
sqrt.f64#fuflow-rescue180
-.f64#fnan-rescue120
exp.f64#fsensitivity40
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o30
(*.f64 x x)overflow69
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o20
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow2
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow2
(exp.f64 x)overflow2
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow2
sin.f64(sin.f64 (+.f64 x eps))sensitivity20
tan.f64(tan.f64 (+.f64 x eps))sensitivity20
cos.f64(cos.f64 (+.f64 x eps))sensitivity20
tan.f64(tan.f64 (+.f64 x eps))cancellation10
sin.f64(sin.f64 (+.f64 x eps))cancellation10
Confusion
Predicted +Predicted -
+521116
-1761765
Precision
0.9673287544087619
Recall
0.9969389707289076
Confusion?
Predicted +Predicted MaybePredicted -
+5211142
-176211744
Precision?
0.9636665437108078
Recall?
0.9996173713411135
Freqs
test
numberfreq
01781
14584
2660
388
455
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.6s2 616×2valid
1.3s5 810×1valid
555.0ms5 738×0valid
75.0ms172×3valid
Compiler

Compiled 2 522 to 980 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.6s
ival-tan: 691.0ms (26.7% of total)
adjust: 240.0ms (9.3% of total)
ival-div: 236.0ms (9.1% of total)
ival-log: 226.0ms (8.7% of total)
ival-sub: 195.0ms (7.5% of total)
ival-cos: 177.0ms (6.8% of total)
ival-exp: 164.0ms (6.3% of total)
ival-sin: 144.0ms (5.6% of total)
ival-add: 118.0ms (4.6% of total)
ival-mult: 90.0ms (3.5% of total)
ival-pow: 85.0ms (3.3% of total)
ival-sqrt: 61.0ms (2.4% of total)
ival-log1p: 58.0ms (2.2% of total)
ival-atan: 23.0ms (0.9% of total)
ival-expm1: 23.0ms (0.9% of total)
ival-cbrt: 16.0ms (0.6% of total)
ival-neg: 14.0ms (0.5% of total)
ival-true: 12.0ms (0.5% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

preprocess5.5s (1.7%)

Memory
130.9MiB live, 6 395.0MiB 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 10 450 to 3 688 computations (64.7% saved)

regimes4.6s (1.4%)

Memory
-132.7MiB live, 6 483.7MiB allocated
Counts
4 907 → 351
Calls

43 calls:

1.1s
x
362.0ms
(/.f64 #s(literal 1 binary64) n)
332.0ms
eps
228.0ms
a
180.0ms
(exp.f64 (*.f64 a x))
Compiler

Compiled 3 101 to 2 067 computations (33.3% saved)

series2.8s (0.8%)

Memory
-228.6MiB live, 3 665.1MiB allocated
Counts
1 402 → 23 112
Calls

4554 calls:

TimeVariablePointExpression
77.0ms
x
@0
(- (cbrt (+ x 1)) (* (pow x 2/9) (pow x 1/9)))
77.0ms
x
@inf
(* x 1/45)
53.0ms
N
@0
(log N)
47.0ms
n
@0
(/ (- (log (+ 1 x)) (log x)) n)
42.0ms
x
@0
(/ n (log (/ (+ x 1) x)))

analyze2.1s (0.7%)

Memory
47.0MiB live, 2 010.4MiB 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)

bsearch993.0ms (0.3%)

Memory
73.4MiB live, 1 445.9MiB allocated
Algorithm
72×binary-search
56×left-value
Stop Event
70×narrow-enough
predicate-same
Samples
283.0ms3 573×0valid
152.0ms397×2valid
145.0ms508×1valid
59.0ms773×0invalid
13.0ms63×0exit
1.0ms3valid
Compiler

Compiled 14 253 to 10 317 computations (27.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 489.0ms
ival-pow: 157.0ms (32.1% of total)
ival-mult: 84.0ms (17.2% of total)
ival-sub: 57.0ms (11.6% of total)
ival-div: 54.0ms (11% of total)
adjust: 33.0ms (6.7% of total)
ival-sqrt: 28.0ms (5.7% of total)
ival-neg: 21.0ms (4.3% of total)
ival-add: 20.0ms (4.1% of total)
ival-cos: 13.0ms (2.7% of total)
ival-sin: 7.0ms (1.4% of total)
ival-expm1: 5.0ms (1% of total)
ival-true: 4.0ms (0.8% of total)
ival-exp: 3.0ms (0.6% of total)
ival-assert: 2.0ms (0.4% of total)
exact: 2.0ms (0.4% of total)

end0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated

Profiling

Loading profile data...