Herbie run

Date:Saturday, August 3rd, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024216
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.3min)

sample1.8min (34.7%)

Memory
494.0MiB live, 128 209.4MiB allocated
Samples
29.7s41 383×2valid
22.7s143 811×0invalid
19.1s92 308×1valid
8.9s4 922×5exit
8.3s94 541×0valid
2.1s2 928×3valid
478.0ms2 236×1exit
323.0ms4 074×0exit
8.0ms4valid
7.0ms4exit
5.0ms3exit
4.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.4s (17.6% of total)
ival-pow: 9.0s (11.8% of total)
adjust: 5.4s (7% of total)
ival-mult: 5.1s (6.6% of total)
ival-cos: 4.7s (6.2% of total)
ival-div: 4.6s (6.1% of total)
const: 4.6s (6% of total)
ival-sub: 3.9s (5.1% of total)
ival-log: 3.8s (5% of total)
ival-sin: 3.2s (4.2% of total)
ival-add: 3.1s (4% of total)
ival-exp: 2.3s (3% of total)
ival-fabs: 2.3s (3% of total)
ival-<=: 2.1s (2.8% of total)
ival-expm1: 2.0s (2.6% of total)
ival-log1p: 1.3s (1.6% of total)
ival-sqrt: 1.2s (1.6% of total)
ival-<: 822.0ms (1.1% of total)
ival-fmin: 749.0ms (1% of total)
ival-atan: 602.0ms (0.8% of total)
ival-and: 594.0ms (0.8% of total)
ival-cbrt: 362.0ms (0.5% of total)
ival-neg: 344.0ms (0.5% of total)
exact: 329.0ms (0.4% of total)
ival->: 316.0ms (0.4% of total)
ival-assert: 152.0ms (0.2% of total)
ival-true: 65.0ms (0.1% of total)
Bogosity

simplify1.1min (21.2%)

Memory
65.7MiB live, 84 859.1MiB allocated
Algorithm
238×egg-herbie
Rules
1 977 014×lower-fma.f32
1 976 420×lower-fma.f64
731 314×lower-*.f32
730 322×lower-*.f64
435 360×lower-+.f32
Stop Event
315×iter limit
159×node limit
79×saturated
Counts
24 084 → 23 644

rewrite38.4s (12%)

Memory
-383.1MiB live, 47 601.8MiB allocated
Algorithm
105×batch-egg-rewrite
Rules
508 234×lower-fma.f32
507 636×lower-fma.f64
407 958×lower-*.f32
406 972×lower-*.f64
368 820×lower-/.f32
Stop Event
217×iter limit
103×node limit
saturated
unsound
Counts
1 453 → 72 095

soundness29.4s (9.2%)

Memory
94.3MiB live, 21 490.2MiB allocated
Rules
1 145 910×lower-fma.f32
1 145 544×lower-fma.f64
595 904×lower-*.f32
595 306×lower-*.f64
330 860×lower-/.f32
Stop Event
210×iter limit
135×node limit
22×fuel
done
saturated
Compiler

Compiled 10 422 to 5 428 computations (47.9% saved)

eval17.9s (5.6%)

Memory
554.8MiB live, 27 309.0MiB allocated
Compiler

Compiled 3 455 760 to 281 996 computations (91.8% saved)

prune16.4s (5.1%)

Memory
-376.2MiB live, 26 779.3MiB allocated
Counts
113 259 → 2 105
Compiler

Compiled 78 553 to 37 384 computations (52.4% saved)

localize15.9s (5%)

Memory
190.5MiB live, 20 891.9MiB allocated
Samples
3.9s7 400×1valid
3.2s3 727×2valid
2.8s13 472×0valid
330.0ms1 507×0invalid
313.0ms150×3valid
245.0ms617×1exit
43.0ms5exit
Compiler

Compiled 20 647 to 2 889 computations (86% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.3s
ival-mult: 1.5s (18.2% of total)
ival-div: 989.0ms (11.9% of total)
ival-add: 917.0ms (11% of total)
adjust: 898.0ms (10.8% of total)
ival-log: 694.0ms (8.3% of total)
ival-cos: 521.0ms (6.3% of total)
const: 480.0ms (5.8% of total)
ival-tan: 413.0ms (5% of total)
ival-sub: 403.0ms (4.8% of total)
ival-pow: 252.0ms (3% of total)
ival-sin: 241.0ms (2.9% of total)
ival-cbrt: 216.0ms (2.6% of total)
ival-sqrt: 191.0ms (2.3% of total)
ival-exp: 165.0ms (2% of total)
ival-log1p: 99.0ms (1.2% of total)
ival-neg: 91.0ms (1.1% of total)
ival-pow2: 77.0ms (0.9% of total)
ival-cosh: 38.0ms (0.5% of total)
exact: 37.0ms (0.4% of total)
ival-expm1: 26.0ms (0.3% of total)
ival-atan2: 24.0ms (0.3% of total)
ival-true: 22.0ms (0.3% of total)
ival-atan: 14.0ms (0.2% of total)
ival-assert: 12.0ms (0.1% of total)
ival-fabs: 3.0ms (0% of total)

explain6.0s (1.9%)

Memory
-113.6MiB live, 7 621.9MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation417129
log.f64#fsensitivity7630
/.f64#fu/u4190
sqrt.f64#foflow-rescue3560
+.f64#fcancellation3300
/.f64#fu/n1320
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity610
sqrt.f64#fuflow-rescue280
/.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/u190
(*.f64 b eps)underflow136
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow146
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow136
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow234
(*.f64 a eps)underflow146
-.f64#fnan-rescue120
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o60
(*.f64 x x)overflow58
cos.f64(cos.f64 (+.f64 x eps))sensitivity21
sin.f64(sin.f64 (+.f64 x eps))sensitivity20
tan.f64(tan.f64 (+.f64 x eps))sensitivity20
Confusion
Predicted +Predicted -
+518721
-1141846
Precision
0.978494623655914
Recall
0.9959677419354839
Confusion?
Predicted +Predicted MaybePredicted -
+5187813
-114201826
Precision?
0.9748545693375867
Recall?
0.9975038402457758
Freqs
test
numberfreq
01867
14512
2631
3103
455
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.7s2 704×2valid
1.3s5 648×1valid
535.0ms5 820×0valid
104.0ms164×3valid
Compiler

Compiled 2 522 to 980 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.9s
ival-tan: 608.0ms (20.6% of total)
ival-sub: 422.0ms (14.3% of total)
ival-log: 280.0ms (9.5% of total)
adjust: 253.0ms (8.6% of total)
ival-cos: 238.0ms (8.1% of total)
ival-div: 197.0ms (6.7% of total)
ival-exp: 172.0ms (5.8% of total)
ival-sin: 159.0ms (5.4% of total)
ival-add: 153.0ms (5.2% of total)
ival-pow: 99.0ms (3.4% of total)
ival-mult: 95.0ms (3.2% of total)
ival-sqrt: 91.0ms (3.1% of total)
ival-log1p: 59.0ms (2% of total)
ival-expm1: 40.0ms (1.4% of total)
ival-atan: 23.0ms (0.8% of total)
ival-neg: 17.0ms (0.6% of total)
ival-cbrt: 15.0ms (0.5% of total)
ival-true: 12.0ms (0.4% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

regimes5.5s (1.7%)

Memory
114.0MiB live, 6 262.1MiB allocated
Counts
5 096 → 369
Calls

43 calls:

1.5s
x
501.0ms
eps
330.0ms
b
308.0ms
(/.f64 #s(literal 1 binary64) n)
238.0ms
n
Compiler

Compiled 3 297 to 2 189 computations (33.6% saved)

preprocess5.1s (1.6%)

Memory
137.3MiB live, 5 887.6MiB 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 440 to 3 552 computations (66% saved)

series3.5s (1.1%)

Memory
29.5MiB live, 3 767.7MiB allocated
Counts
1 453 → 24 084
Calls

4758 calls:

TimeVariablePointExpression
360.0ms
x
@-inf
(- (exp (* a (* x 4))) 1)
87.0ms
a
@-inf
(/ (+ 1 (/ a b)) a)
75.0ms
n
@0
(/ (- (pow (log (+ 1 x)) 2) (pow (log x) 2)) n)
63.0ms
N
@inf
(log (/ 1 (atan2 1 (+ (* N N) (+ N 1)))))
59.0ms
n
@0
(* n (log n))

analyze1.7s (0.5%)

Memory
187.6MiB live, 2 291.2MiB 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
-100.1MiB live, 1 436.5MiB allocated
Algorithm
86×binary-search
41×left-value
Stop Event
83×narrow-enough
predicate-same
Samples
347.0ms4 110×0valid
106.0ms302×2valid
88.0ms617×1valid
63.0ms828×0invalid
2.0ms11×3valid
2.0ms18×0exit
Compiler

Compiled 18 569 to 13 439 computations (27.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 429.0ms
ival-mult: 98.0ms (22.8% of total)
ival-div: 66.0ms (15.4% of total)
ival-sub: 54.0ms (12.6% of total)
ival-pow: 43.0ms (10% of total)
adjust: 37.0ms (8.6% of total)
ival-sqrt: 35.0ms (8.2% of total)
ival-neg: 27.0ms (6.3% of total)
ival-cos: 26.0ms (6.1% of total)
ival-add: 20.0ms (4.7% of total)
ival-true: 4.0ms (0.9% of total)
ival-cbrt: 3.0ms (0.7% of total)
ival-expm1: 3.0ms (0.7% of total)
ival-sin: 3.0ms (0.7% of total)
exact: 3.0ms (0.7% of total)
ival-exp: 2.0ms (0.5% of total)
ival-assert: 2.0ms (0.5% of total)
ival-log1p: 1.0ms (0.2% of total)
ival-log: 1.0ms (0.2% of total)

end0.0ms (0%)

Memory
0.4MiB live, 0.3MiB allocated

Profiling

Loading profile data...