Details

Time bar (total: 4.2s)

analyze6.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
75%25%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 11 to 9 computations (18.2% saved)

sample1.4s (33.1%)

Results
528.0ms2054×body512valid
526.0ms4726×body128valid
180.0ms1055×body256valid
127.0ms421×body1024valid
Compiler

Compiled 32 to 26 computations (18.8% saved)

simplify13.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%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
14.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.7b
(-.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.9b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

series5.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite77.0ms (1.8%)

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:

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

simplify310.0ms (7.4%)

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

prune362.0ms (8.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3222324
Fresh000
Picked011
Done000
Total3223325
Error
0.2b
Counts
325 → 3
Alt Table
StatusErrorProgram
14.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
33.9b
(-.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))))
0.3b
(/.f64 -1 (fma.f64 x x x))
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))

simplify117.0ms (2.8%)

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

prune55.0ms (1.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New49352
Fresh011
Picked011
Done011
Total49655
Error
0.2b
Counts
55 → 6
Alt Table
StatusErrorProgram
14.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
33.9b
(-.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))))
18.4b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
1.3b
(/.f64 (/.f64 -1 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))
0.3b
(/.f64 -1 (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 826 to 448 computations (45.8% 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.5b
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
13.6b
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))

series79.0ms (1.9%)

Counts
3 → 36
Calls

3 calls:

38.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)))
14.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))))

rewrite41.0ms (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:

13.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))))
2.0ms
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))

simplify164.0ms (3.9%)

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

prune524.0ms (12.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New5243527
Fresh033
Picked101
Done022
Total5258533
Error
0.2b
Counts
533 → 8
Alt Table
StatusErrorProgram
14.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
33.9b
(-.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))))
40.2b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 -1) 2) (cbrt.f64 (/.f64 1 (pow.f64 x 4)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
18.4b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
1.3b
(/.f64 (/.f64 -1 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))
0.3b
(/.f64 -1 (fma.f64 x x x))
1.3b
(pow.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) 3)
1.5b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) 6))) (cbrt.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
Compiler

Compiled 16719 to 9283 computations (44.5% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(/.f64 -1 (fma.f64 x x x))
0.6b
(pow.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) 3)
13.6b
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))

series57.0ms (1.4%)

Counts
1 → 12
Calls

1 calls:

57.0ms
(pow.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) 3)

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
26×cbrt-prod_binary64
18×*-un-lft-identity_binary64
18×times-frac_binary64
18×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
Counts
1 → 53
Calls

1 calls:

4.0ms
(pow.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) 3)

simplify110.0ms (2.6%)

Algorithm
egg-herbie
Rules
500×associate-/l/_binary64
383×associate-*l*_binary64
299×associate-*r*_binary64
242×log-prod_binary64
206×exp-prod_binary64
Counts
65 → 71
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01271141
13111046
27371034
326221034
448831034

prune213.0ms (5.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1710171
Fresh055
Picked011
Done022
Total1718179
Error
0.2b
Counts
179 → 8
Alt Table
StatusErrorProgram
14.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
33.9b
(-.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))))
40.2b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 -1) 2) (cbrt.f64 (/.f64 1 (pow.f64 x 4)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
18.4b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
1.3b
(/.f64 (/.f64 -1 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))
0.3b
(/.f64 -1 (fma.f64 x x x))
1.3b
(pow.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) 3)
1.5b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) 6))) (cbrt.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
Compiler

Compiled 3010 to 1919 computations (36.2% saved)

regimes421.0ms (10%)

Accuracy

Total 0.1b remaining (16%)

Threshold costs 0.1b (16%)

Counts
88 → 1
Compiler

Compiled 6073 to 4145 computations (31.7% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end216.0ms (5.1%)

Compiler

Compiled 156 to 98 computations (37.2% saved)

Profiling

Loading profile data...