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 (33.8%)

Memory
183.1MiB live, 127 034.9MiB allocated
Samples
28.0s41 383×2valid
21.7s143 811×0invalid
18.5s92 308×1valid
9.1s4 922×5exit
9.1s94 541×0valid
1.8s2 928×3valid
462.0ms2 236×1exit
322.0ms4 074×0exit
9.0ms4valid
8.0ms4exit
5.0ms3exit
4.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 1.2min
ival-tan: 13.0s (17.5% of total)
ival-pow: 8.9s (12% of total)
ival-mult: 5.5s (7.5% of total)
adjust: 5.4s (7.3% of total)
ival-cos: 5.0s (6.7% of total)
const: 4.8s (6.4% of total)
ival-sub: 4.0s (5.4% of total)
ival-div: 3.9s (5.2% of total)
ival-add: 3.5s (4.7% of total)
ival-log: 3.4s (4.6% of total)
ival-sin: 3.0s (4.1% of total)
ival-fabs: 2.1s (2.9% of total)
ival-<=: 2.1s (2.9% of total)
ival-exp: 1.9s (2.6% of total)
ival-expm1: 1.6s (2.1% of total)
ival-log1p: 1.3s (1.8% of total)
ival-sqrt: 1.3s (1.8% of total)
ival-<: 763.0ms (1% of total)
ival-and: 570.0ms (0.8% of total)
ival-fmin: 459.0ms (0.6% of total)
ival-atan: 397.0ms (0.5% of total)
exact: 327.0ms (0.4% of total)
ival-neg: 270.0ms (0.4% of total)
ival->: 249.0ms (0.3% of total)
ival-cbrt: 243.0ms (0.3% of total)
ival-assert: 140.0ms (0.2% of total)
ival-true: 68.0ms (0.1% of total)
Bogosity

simplify1.1min (21.4%)

Memory
51.3MiB live, 85 386.0MiB allocated
Algorithm
238×egg-herbie
Rules
1 983 146×lower-fma.f32
1 982 558×lower-fma.f64
728 800×lower-*.f32
727 812×lower-*.f64
441 660×lower-+.f32
Stop Event
315×iter limit
159×node limit
79×saturated
Counts
24 072 → 23 633

rewrite37.8s (11.8%)

Memory
115.5MiB live, 48 180.2MiB allocated
Algorithm
105×batch-egg-rewrite
Rules
508 958×lower-fma.f32
508 366×lower-fma.f64
408 388×lower-*.f32
407 406×lower-*.f64
370 562×lower-/.f32
Stop Event
217×iter limit
103×node limit
saturated
unsound
Counts
1 452 → 72 394

soundness29.6s (9.2%)

Memory
185.1MiB live, 20 786.5MiB allocated
Rules
1 162 632×lower-fma.f32
1 162 260×lower-fma.f64
603 608×lower-*.f32
603 000×lower-*.f64
336 322×lower-/.f32
Stop Event
213×iter limit
137×node limit
22×fuel
done
saturated
Compiler

Compiled 10 611 to 5 552 computations (47.7% saved)

eval18.8s (5.9%)

Memory
42.5MiB live, 27 696.1MiB allocated
Compiler

Compiled 3 459 726 to 282 731 computations (91.8% saved)

localize16.6s (5.2%)

Memory
-330.1MiB live, 19 911.6MiB allocated
Samples
4.2s7 386×1valid
3.5s3 731×2valid
3.0s13 483×0valid
382.0ms1 507×0invalid
271.0ms617×1exit
237.0ms150×3valid
66.0ms5exit
Compiler

Compiled 20 552 to 2 886 computations (86% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.9s
ival-mult: 1.6s (18.2% of total)
ival-div: 1.3s (14.1% of total)
adjust: 1.1s (12.6% of total)
ival-add: 1.1s (12.6% of total)
ival-cos: 551.0ms (6.2% of total)
const: 545.0ms (6.1% of total)
ival-log: 505.0ms (5.7% of total)
ival-sub: 420.0ms (4.7% of total)
ival-tan: 399.0ms (4.5% of total)
ival-pow: 247.0ms (2.8% of total)
ival-sqrt: 181.0ms (2% of total)
ival-sin: 177.0ms (2% of total)
ival-exp: 176.0ms (2% of total)
ival-log1p: 139.0ms (1.6% of total)
ival-neg: 101.0ms (1.1% of total)
ival-pow2: 79.0ms (0.9% of total)
ival-cbrt: 74.0ms (0.8% of total)
exact: 36.0ms (0.4% of total)
ival-cosh: 35.0ms (0.4% of total)
ival-expm1: 26.0ms (0.3% of total)
ival-atan2: 23.0ms (0.3% of total)
ival-true: 22.0ms (0.2% of total)
ival-atan: 12.0ms (0.1% of total)
ival-assert: 11.0ms (0.1% of total)
ival-fabs: 3.0ms (0% of total)

prune15.7s (4.9%)

Memory
-335.7MiB live, 27 074.4MiB allocated
Counts
113 386 → 2 106
Compiler

Compiled 78 536 to 37 381 computations (52.4% saved)

explain5.9s (1.8%)

Memory
103.6MiB live, 7 126.8MiB 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.5s2 704×2valid
1.1s5 648×1valid
495.0ms5 820×0valid
90.0ms164×3valid
Compiler

Compiled 2 522 to 980 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.5s
ival-tan: 565.0ms (22.3% of total)
ival-div: 317.0ms (12.5% of total)
adjust: 255.0ms (10% of total)
ival-log: 252.0ms (9.9% of total)
ival-sub: 191.0ms (7.5% of total)
ival-cos: 187.0ms (7.4% of total)
ival-exp: 143.0ms (5.6% of total)
ival-sin: 120.0ms (4.7% of total)
ival-add: 94.0ms (3.7% of total)
ival-mult: 83.0ms (3.3% of total)
ival-pow: 82.0ms (3.2% of total)
ival-sqrt: 70.0ms (2.8% of total)
ival-log1p: 57.0ms (2.2% of total)
ival-atan: 43.0ms (1.7% of total)
ival-expm1: 25.0ms (1% of total)
ival-cbrt: 16.0ms (0.6% of total)
ival-neg: 14.0ms (0.6% 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)

series5.7s (1.8%)

Memory
-101.0MiB live, 7 168.1MiB allocated
Counts
1 452 → 24 072
Calls

4770 calls:

TimeVariablePointExpression
232.0ms
x
@inf
(* 2/3 (log x))
93.0ms
n
@0
(/ (neg (log (/ x (+ x 1)))) n)
77.0ms
n
@inf
(/ (- (pow (log (+ 1 x)) 2) (pow (log x) 2)) n)
63.0ms
n
@0
(/ (- (log (+ 1 x)) (log x)) n)
60.0ms
x
@0
(+ 1/2 (* -1/2 (cos (+ x x))))

preprocess5.7s (1.8%)

Memory
127.2MiB live, 6 477.5MiB 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 824 to 3 792 computations (65% saved)

regimes5.3s (1.6%)

Memory
10.2MiB live, 6 759.7MiB allocated
Counts
5 111 → 371
Calls

43 calls:

1.3s
x
507.0ms
eps
342.0ms
b
298.0ms
a
268.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
Compiler

Compiled 3 317 to 2 203 computations (33.6% saved)

analyze1.5s (0.5%)

Memory
46.2MiB live, 2 334.7MiB 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.2s (0.4%)

Memory
40.3MiB live, 1 266.0MiB allocated
Algorithm
86×binary-search
41×left-value
Stop Event
83×narrow-enough
predicate-same
Samples
393.0ms4 110×0valid
162.0ms617×1valid
84.0ms302×2valid
59.0ms828×0invalid
3.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: 536.0ms
ival-div: 118.0ms (22% of total)
ival-mult: 105.0ms (19.6% of total)
ival-add: 95.0ms (17.7% of total)
ival-pow: 46.0ms (8.6% of total)
ival-sub: 40.0ms (7.5% of total)
ival-sqrt: 40.0ms (7.5% of total)
ival-cos: 26.0ms (4.8% of total)
adjust: 23.0ms (4.3% of total)
ival-neg: 19.0ms (3.5% of total)
ival-expm1: 6.0ms (1.1% of total)
ival-true: 4.0ms (0.7% of total)
ival-cbrt: 3.0ms (0.6% of total)
ival-sin: 3.0ms (0.6% of total)
exact: 3.0ms (0.6% of total)
ival-exp: 2.0ms (0.4% of total)
ival-assert: 2.0ms (0.4% 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...