Details

Time bar (total: 3.3s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.6s (48.1%)

Results
618.0ms2014×body1024valid
424.0ms4403×body128valid
243.0ms1072×body512valid
88.0ms546×body256valid
84.0ms221×body2048valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify88.0ms (2.7%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
770×fma-def_binary64
322×div-sub_binary64
178×associate-/l*_binary64
150×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
45719
59119
617819
727719
864319
978819
10102419
11126519
12124219
13124819
14124619
15124819
16125019
17126019
18126019
19117119

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
27.9b
Counts
2 → 1
Alt Table
StatusErrorProgram
27.9b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
3.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series8.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
2.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
2.0ms
(/.f64 x (+.f64 x 1))

rewrite96.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
470×fma-def_binary64
286×fma-neg_binary64
268×log-div_binary64
210×egg-rr
174×expm1-udef_binary64
Counts
3 → 210
Calls

3 calls:

91.0ms
(/.f64 x (+.f64 x 1))
91.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
91.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0836
119536
2292936
3505836
000
100

simplify65.0ms (2%)

Algorithm
egg-herbie
Rules
773×times-frac_binary64
405×fma-neg_binary64
344×cancel-sign-sub-inv_binary64
292×associate-*l*_binary64
288×fma-def_binary64
Counts
246 → 249
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
064475
1201443
2601430
31619428
44294428
55191428

prune202.0ms (6.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2454249
Fresh000
Picked101
Done000
Total2464250
Error
0.0b
Counts
250 → 4
Alt Table
StatusErrorProgram
28.3b
(fma.f64 (+.f64 x 1) (neg.f64 (/.f64 1 (-.f64 x 1))) (/.f64 x (+.f64 x 1)))
33.9b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
34.0b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
29.9b
(fma.f64 3 (+.f64 x (pow.f64 x 3)) (fma.f64 x x 1))
Compiler

Compiled 6107 to 4474 computations (26.7% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
28.3b
(fma.f64 (+.f64 x 1) (neg.f64 (/.f64 1 (-.f64 x 1))) (/.f64 x (+.f64 x 1)))

series7.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 1 (-.f64 x 1))
3.0ms
(fma.f64 (+.f64 x 1) (neg.f64 (/.f64 1 (-.f64 x 1))) (/.f64 x (+.f64 x 1)))

rewrite61.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
928×log1p-expm1-u_binary64
928×expm1-log1p-u_binary64
396×prod-diff_binary64
100×add-sqr-sqrt_binary64
93×add-log-exp_binary64
Counts
2 → 60
Calls

2 calls:

60.0ms
(/.f64 1 (-.f64 x 1))
60.0ms
(fma.f64 (+.f64 x 1) (neg.f64 (/.f64 1 (-.f64 x 1))) (/.f64 x (+.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
120226
2236926
3645426
000
100

simplify83.0ms (2.5%)

Algorithm
egg-herbie
Rules
606×fma-def_binary64
531×times-frac_binary64
479×div-sub_binary64
392×sub-neg_binary64
247×distribute-neg-frac_binary64
Counts
84 → 88
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
046369
1133340
2389336
3997333
42620330
54094330
64736330
74951330

prune83.0ms (2.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh123
Picked011
Done000
Total1344138
Error
0.0b
Counts
138 → 4
Alt Table
StatusErrorProgram
28.3b
(fma.f64 (+.f64 x 1) (neg.f64 (/.f64 1 (-.f64 x 1))) (/.f64 x (+.f64 x 1)))
29.9b
(*.f64 (fma.f64 3 x 1) (fma.f64 x x 1))
33.9b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
34.0b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
Compiler

Compiled 2642 to 1969 computations (25.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (fma.f64 3 x 1) (fma.f64 x x 1))
0.1b
(fma.f64 3 x 1)

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(*.f64 (fma.f64 3 x 1) (fma.f64 x x 1))
2.0ms
(fma.f64 3 x 1)

rewrite47.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
543×log1p-expm1-u_binary64
543×expm1-log1p-u_binary64
346×unpow-prod-down_binary64
274×log-prod_binary64
178×pow2_binary64
Counts
2 → 58
Calls

2 calls:

45.0ms
(*.f64 (fma.f64 3 x 1) (fma.f64 x x 1))
45.0ms
(fma.f64 3 x 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
113417
2141617
3515117
000
100

simplify121.0ms (3.7%)

Algorithm
egg-herbie
Rules
652×distribute-rgt-in_binary64
538×unswap-sqr_binary64
501×fma-def_binary64
453×*-commutative_binary64
416×associate-*l*_binary64
Counts
82 → 70
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
016222
144185
2101177
3231177
4536164
51542164
62347164
72490164
82761164
93220164
104152164
114698164
124842164
134828164

prune44.0ms (1.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh022
Picked011
Done011
Total70474
Error
0.0b
Counts
74 → 4
Alt Table
StatusErrorProgram
28.3b
(fma.f64 (+.f64 x 1) (neg.f64 (/.f64 1 (-.f64 x 1))) (/.f64 x (+.f64 x 1)))
29.9b
(*.f64 (fma.f64 3 x 1) (fma.f64 x x 1))
33.9b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
34.0b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
Compiler

Compiled 1037 to 772 computations (25.6% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
0.2b
(/.f64 1 (*.f64 x x))
0.8b
(/.f64 3 (pow.f64 x 3))
9.8b
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))

series12.0ms (0.4%)

Counts
4 → 36
Calls

4 calls:

4.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
3.0ms
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
3.0ms
(/.f64 3 (pow.f64 x 3))
2.0ms
(/.f64 1 (*.f64 x x))

rewrite107.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
633×fma-def_binary64
365×fma-neg_binary64
230×expm1-udef_binary64
230×log1p-udef_binary64
228×egg-rr
Counts
4 → 228
Calls

4 calls:

101.0ms
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
101.0ms
(/.f64 1 (*.f64 x x))
101.0ms
(/.f64 3 (pow.f64 x 3))
101.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01252
128239
2374939
3532539
000
100

simplify74.0ms (2.3%)

Algorithm
egg-herbie
Rules
527×times-frac_binary64
465×associate-/r*_binary64
410×associate-*l/_binary64
374×fma-def_binary64
335×fma-neg_binary64
Counts
264 → 241
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
022456
159438
2151438
3361438
41016408
53828390
64523390
75055390

prune186.0ms (5.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2392241
Fresh101
Picked101
Done022
Total2414245
Error
0b
Counts
245 → 4
Alt Table
StatusErrorProgram
28.3b
(fma.f64 (+.f64 x 1) (neg.f64 (/.f64 1 (-.f64 x 1))) (/.f64 x (+.f64 x 1)))
29.9b
(*.f64 (fma.f64 3 x 1) (fma.f64 x x 1))
34.0b
(fma.f64 -3 (/.f64 1 x) (neg.f64 (fma.f64 3 (pow.f64 x -3) (pow.f64 x -2))))
33.9b
(+.f64 (-.f64 (/.f64 -3 x) (pow.f64 x -2)) (*.f64 -3 (pow.f64 x -3)))
Compiler

Compiled 5858 to 4479 computations (23.5% saved)

regimes268.0ms (8.2%)

Accuracy

Total 0.2b remaining (83.8%)

Threshold costs 0.2b (83.8%)

Counts
92 → 2
Compiler

Compiled 3238 to 2464 computations (23.9% saved)

bsearch4.0ms (0.1%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify5.0ms (0.2%)

Algorithm
egg-herbie
Rules
11×+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02487
14087
25187
36187
46887
57187
67287
77087

end90.0ms (2.8%)

Compiler

Compiled 175 to 132 computations (24.6% saved)

Profiling

Loading profile data...