Details

Time bar (total: 3.8s)

analyze4.0ms (0.1%)

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

sample1.3s (32.7%)

Results
469.0ms2100×body512valid
448.0ms4641×body128valid
171.0ms1068×body256valid
133.0ms447×body1024valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify12.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11616
22116
32916
43716
55516
68016
79716
811416
912416
1012816
1113016
1211616

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 47 to 39 computations (17% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series8.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite158.0ms (4.1%)

Algorithm
rewrite-expression-head
Rules
870×*-un-lft-identity_binary64
804×times-frac_binary64
733×add-sqr-sqrt_binary64
486×prod-diff_binary64
465×add-cube-cbrt_binary64
Counts
3 → 661
Calls

3 calls:

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

simplify620.0ms (16.2%)

Algorithm
egg-herbie
Rules
947×fma-neg_binary64
335×times-frac_binary64
236×distribute-rgt-in_binary64
231×div-sub_binary64
202×associate-/l*_binary64
Counts
697 → 531
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027227782
163218403
2177213759
3394512706
4497212706
5498912706
6490912706

prune565.0ms (14.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New5301531
Fresh000
Picked011
Done000
Total5302532
Error
0.3b
Counts
532 → 2
Alt Table
StatusErrorProgram
30.7b
(-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4)))
15.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 23057 to 19146 computations (17% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 2 (pow.f64 x 4))
0.4b
(/.f64 -2 (*.f64 x x))

series6.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

4.0ms
(/.f64 2 (pow.f64 x 4))
2.0ms
(/.f64 -2 (*.f64 x x))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×times-frac_binary64
20×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
12×unpow-prod-down_binary64
Counts
2 → 70
Calls

2 calls:

3.0ms
(/.f64 2 (pow.f64 x 4))
3.0ms
(/.f64 -2 (*.f64 x x))

simplify106.0ms (2.8%)

Algorithm
egg-herbie
Rules
666×fma-neg_binary64
657×associate-/r/_binary64
436×cancel-sign-sub-inv_binary64
225×associate-/r*_binary64
222×fma-def_binary64
Counts
82 → 90
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01251043
1207952
2504883
31377877
42305877
53636877
64813877
74993877
84832877

prune67.0ms (1.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86490
Fresh000
Picked011
Done011
Total86692
Error
0.0b
Counts
92 → 6
Alt Table
StatusErrorProgram
30.5b
(-.f64 (/.f64 (/.f64 -2 x) x) (/.f64 2 (pow.f64 x 4)))
30.7b
(-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4)))
15.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
31.1b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 -2 (*.f64 x x))) (cbrt.f64 (/.f64 -2 (*.f64 x x)))) (cbrt.f64 (/.f64 -2 (*.f64 x x)))) (/.f64 2 (pow.f64 x 4)))
42.4b
(-.f64 (cbrt.f64 (/.f64 -8 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 4)))
42.1b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 (*.f64 x x))) (/.f64 -2 (*.f64 x x)))) (/.f64 2 (pow.f64 x 4)))
Compiler

Compiled 1751 to 1223 computations (30.2% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 -2 x) x)
0.3b
(/.f64 2 (pow.f64 x 4))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(/.f64 (/.f64 -2 x) x)

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
75×times-frac_binary64
43×*-un-lft-identity_binary64
43×add-sqr-sqrt_binary64
43×add-cube-cbrt_binary64
13×associate-/l*_binary64
Counts
1 → 72
Calls

1 calls:

4.0ms
(/.f64 (/.f64 -2 x) x)

simplify118.0ms (3.1%)

Algorithm
egg-herbie
Rules
508×associate-/r/_binary64
476×*-commutative_binary64
393×associate-*r/_binary64
346×distribute-rgt-in_binary64
345×fma-neg_binary64
Counts
84 → 113
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01421388
12931287
25411206
312051182
421811177
533801127
648031097
749771097
848481097

prune127.0ms (3.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1713174
Fresh303
Picked011
Done022
Total1746180
Error
0b
Counts
180 → 6
Alt Table
StatusErrorProgram
47.5b
(-.f64 (/.f64 (/.f64 -2 (pow.f64 x 3/2)) (sqrt.f64 x)) (/.f64 2 (pow.f64 x 4)))
42.1b
(-.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 (/.f64 -2 x) (/.f64 -2 x)) (/.f64 -2 x)) (*.f64 (*.f64 x x) x))) (/.f64 2 (pow.f64 x 4)))
30.7b
(-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4)))
30.8b
(-.f64 (*.f64 (/.f64 1 (*.f64 x (cbrt.f64 x))) (/.f64 -2 (pow.f64 (cbrt.f64 x) 2))) (/.f64 2 (pow.f64 x 4)))
30.5b
(-.f64 (/.f64 (/.f64 -2 x) x) (/.f64 2 (pow.f64 x 4)))
15.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 3468 to 2459 computations (29.1% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 -2 (pow.f64 (cbrt.f64 x) 2))
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.6b
(/.f64 1 (*.f64 x (cbrt.f64 x)))
0.6b
(cbrt.f64 x)

series216.0ms (5.6%)

Counts
4 → 48
Calls

4 calls:

77.0ms
(/.f64 -2 (pow.f64 (cbrt.f64 x) 2))
57.0ms
(/.f64 1 (*.f64 x (cbrt.f64 x)))
42.0ms
(pow.f64 (cbrt.f64 x) 2)
39.0ms
(cbrt.f64 x)

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
36×times-frac_binary64
34×*-un-lft-identity_binary64
34×add-sqr-sqrt_binary64
34×add-cube-cbrt_binary64
30×unpow-prod-down_binary64
Counts
4 → 131
Calls

4 calls:

4.0ms
(/.f64 -2 (pow.f64 (cbrt.f64 x) 2))
4.0ms
(/.f64 1 (*.f64 x (cbrt.f64 x)))
2.0ms
(pow.f64 (cbrt.f64 x) 2)
1.0ms
(cbrt.f64 x)

simplify123.0ms (3.2%)

Algorithm
egg-herbie
Rules
686×fma-def_binary64
504×associate-*l*_binary64
446×associate-/r*_binary64
405×fma-neg_binary64
388×times-frac_binary64
Counts
179 → 198
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01822207
13111908
27811834
329571826
438111648
544651648
648431648

prune154.0ms (4%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New2170217
Fresh022
Picked011
Done033
Total2176223
Error
0b
Counts
223 → 6
Alt Table
StatusErrorProgram
47.5b
(-.f64 (/.f64 (/.f64 -2 (pow.f64 x 3/2)) (sqrt.f64 x)) (/.f64 2 (pow.f64 x 4)))
42.1b
(-.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 (/.f64 -2 x) (/.f64 -2 x)) (/.f64 -2 x)) (*.f64 (*.f64 x x) x))) (/.f64 2 (pow.f64 x 4)))
30.7b
(-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4)))
30.8b
(-.f64 (*.f64 (/.f64 1 (*.f64 x (cbrt.f64 x))) (/.f64 -2 (pow.f64 (cbrt.f64 x) 2))) (/.f64 2 (pow.f64 x 4)))
30.5b
(-.f64 (/.f64 (/.f64 -2 x) x) (/.f64 2 (pow.f64 x 4)))
15.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 5440 to 3652 computations (32.9% saved)

regimes117.0ms (3.1%)

Accuracy

Total 0.2b remaining (83.9%)

Threshold costs 0.2b (83.9%)

Counts
44 → 2
Compiler

Compiled 1478 to 1120 computations (24.2% saved)

bsearch1.0ms (0%)

Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02551
13651
25251
36151
46651
56751
66451

end101.0ms (2.6%)

Compiler

Compiled 168 to 127 computations (24.4% saved)

Profiling

Loading profile data...