Details

Time bar (total: 4.0s)

analyze6.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.2s (29.8%)

Results
449.0ms2093×body512valid
422.0ms4703×body128valid
155.0ms1010×body256valid
130.0ms450×body1024valid
0.0msbody128invalid
Compiler

Compiled 32 to 26 computations (18.8% saved)

simplify12.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21813
32613
43413
55213
67713
79413
811113
912113
1012513
1112713
1211313

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
12.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.9b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 39 to 31 computations (20.5% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series7.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite74.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
377×*-un-lft-identity_binary64
375×times-frac_binary64
284×add-sqr-sqrt_binary64
260×add-cube-cbrt_binary64
234×prod-diff_binary64
Counts
2 → 337
Calls

2 calls:

22.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
4.0ms
(/.f64 1 (+.f64 x 1))

simplify317.0ms (7.9%)

Algorithm
egg-herbie
Rules
781×fma-def_binary64
395×sub-neg_binary64
340×times-frac_binary64
306×div-sub_binary64
297×associate-*l*_binary64
Counts
361 → 324
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
018311806
13806831
210405351
337265350
441765350
544255342
648035342

prune273.0ms (6.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3222324
Fresh000
Picked011
Done000
Total3223325
Error
0.3b
Counts
325 → 3
Alt Table
StatusErrorProgram
12.9b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
0.3b
(/.f64 -1 (fma.f64 x x x))
35.3b
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
Compiler

Compiled 11320 to 8621 computations (23.8% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(/.f64 -1 (fma.f64 x x x))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 29
Calls

1 calls:

2.0ms
(/.f64 -1 (fma.f64 x x x))

simplify82.0ms (2%)

Algorithm
egg-herbie
Rules
888×fma-neg_binary64
327×distribute-rgt-out_binary64
306×unswap-sqr_binary64
201×sub-neg_binary64
188×cancel-sign-sub-inv_binary64
Counts
41 → 52
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
078654
1148618
2308611
3680611
42297611
54211603
64978603
74914603

prune34.0ms (0.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New48452
Fresh101
Picked011
Done101
Total50555
Error
0.2b
Counts
55 → 5
Alt Table
StatusErrorProgram
35.2b
(fma.f64 (+.f64 (/.f64 -1 x) 1) (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x)))
17.7b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
0.3b
(/.f64 -1 (fma.f64 x x x))
33.9b
(cbrt.f64 (/.f64 (*.f64 (*.f64 -1 -1) -1) (*.f64 (*.f64 (fma.f64 x x x) (fma.f64 x x x)) (fma.f64 x x x))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
Compiler

Compiled 806 to 434 computations (46.2% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 -1 (fma.f64 x x x))
0.3b
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
0.4b
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
13.7b
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))

series74.0ms (1.9%)

Counts
3 → 36
Calls

3 calls:

36.0ms
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
27.0ms
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))
10.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))

rewrite44.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
92×cbrt-prod_binary64
78×add-sqr-sqrt_binary64
61×times-frac_binary64
50×*-un-lft-identity_binary64
50×add-cube-cbrt_binary64
Counts
3 → 160
Calls

3 calls:

12.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
11.0ms
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
4.0ms
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))

simplify141.0ms (3.5%)

Algorithm
egg-herbie
Rules
688×fma-neg_binary64
406×fma-def_binary64
279×cancel-sign-sub-inv_binary64
226×associate-/l*_binary64
221×associate-*l*_binary64
Counts
196 → 275
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02725284
15875046
217394578
345544570
450274570

prune364.0ms (9.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New5261527
Fresh123
Picked101
Done011
Total5284532
Error
0.2b
Counts
532 → 4
Alt Table
StatusErrorProgram
35.2b
(fma.f64 (+.f64 (/.f64 -1 x) 1) (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x)))
1.1b
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (/.f64 (cbrt.f64 -1) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
17.7b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
0.3b
(/.f64 -1 (fma.f64 x x x))
Compiler

Compiled 16571 to 9185 computations (44.6% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (/.f64 (cbrt.f64 -1) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
0.4b
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (/.f64 (cbrt.f64 -1) (cbrt.f64 (fma.f64 x x x))))
13.7b
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))
14.0b
(cbrt.f64 (fma.f64 x x x))

series55.0ms (1.4%)

Counts
3 → 36
Calls

3 calls:

37.0ms
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (/.f64 (cbrt.f64 -1) (cbrt.f64 (fma.f64 x x x))))
12.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (/.f64 (cbrt.f64 -1) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
6.0ms
(cbrt.f64 (fma.f64 x x x))

rewrite46.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt_binary64
87×cbrt-prod_binary64
71×times-frac_binary64
56×associate-*r*_binary64
45×*-un-lft-identity_binary64
Counts
3 → 145
Calls

3 calls:

16.0ms
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (/.f64 (cbrt.f64 -1) (cbrt.f64 (fma.f64 x x x))))
12.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (/.f64 (cbrt.f64 -1) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
1.0ms
(cbrt.f64 (fma.f64 x x x))

simplify168.0ms (4.2%)

Algorithm
egg-herbie
Rules
565×associate-/l*_binary64
443×fma-def_binary64
256×times-frac_binary64
254×fma-neg_binary64
244×associate-*l*_binary64
Counts
181 → 272
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02985936
17335461
222464700
341664524
448594524
548984524

prune859.0ms (21.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3680368
Fresh022
Picked011
Done011
Total3684372
Error
0.2b
Counts
372 → 4
Alt Table
StatusErrorProgram
35.2b
(fma.f64 (+.f64 (/.f64 -1 x) 1) (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x)))
1.1b
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (/.f64 (cbrt.f64 -1) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
17.7b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
0.3b
(/.f64 -1 (fma.f64 x x x))
Compiler

Compiled 12467 to 6641 computations (46.7% saved)

regimes149.0ms (3.7%)

Accuracy

Total 0.0b remaining (12.4%)

Threshold costs 0.0b (12.4%)

Counts
72 → 1
Compiler

Compiled 2746 to 1800 computations (34.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end65.0ms (1.6%)

Compiler

Compiled 77 to 45 computations (41.6% saved)

Profiling

Loading profile data...