Details

Time bar (total: 7.7s)

analyze8.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)

sample2.3s (30.3%)

Results
885.0ms2115×body512valid
857.0ms4726×body128valid
296.0ms999×body256valid
225.0ms416×body1024valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify19.0ms (0.2%)

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

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 47 to 39 computations (17% saved)

localize12.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))
1.5b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

series14.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

6.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))

rewrite294.0ms (3.8%)

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:

58.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
7.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

simplify1.1s (14.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

prune1.3s (17.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New5292531
Fresh000
Picked101
Done000
Total5302532
Error
0.3b
Counts
532 → 2
Alt Table
StatusErrorProgram
28.5b
(fma.f64 2 (*.f64 x x) 2)
35.5b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 8)))))
Compiler

Compiled 23083 to 19166 computations (17% saved)

localize7.0ms (0.1%)

prune4.0ms (0.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done000
Total022
Error
0.3b
Counts
2 → 2
Alt Table
StatusErrorProgram
28.5b
(fma.f64 2 (*.f64 x x) 2)
35.5b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 8)))))
Compiler

Compiled 55 to 43 computations (21.8% saved)

localize31.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (pow.f64 x 8))
0.0b
(/.f64 2 (pow.f64 x 6))
0.2b
(/.f64 -2 (pow.f64 x 4))
0.3b
(/.f64 2 (*.f64 x x))

series24.0ms (0.3%)

Counts
4 → 12
Calls

4 calls:

6.0ms
(/.f64 2 (pow.f64 x 8))
6.0ms
(/.f64 2 (pow.f64 x 6))
5.0ms
(/.f64 -2 (pow.f64 x 4))
5.0ms
(/.f64 2 (*.f64 x x))

rewrite36.0ms (0.5%)

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

4 calls:

8.0ms
(/.f64 2 (*.f64 x x))
5.0ms
(/.f64 2 (pow.f64 x 6))
5.0ms
(/.f64 2 (pow.f64 x 8))
5.0ms
(/.f64 -2 (pow.f64 x 4))

simplify227.0ms (3%)

Algorithm
egg-herbie
Rules
794×times-frac_binary64
462×associate-*l*_binary64
461×associate-/l*_binary64
352×fma-def_binary64
349×associate-/l/_binary64
Counts
176 → 210
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02542522
14222204
211302087
344492087
449982087
551542087

prune385.0ms (5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2073210
Fresh000
Picked011
Done011
Total2075212
Error
0.0b
Counts
212 → 5
Alt Table
StatusErrorProgram
28.5b
(fma.f64 2 (*.f64 x x) 2)
35.2b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 2 (pow.f64 x 8)))))
35.6b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 (sqrt.f64 2) (/.f64 (*.f64 x x) (sqrt.f64 2))) (/.f64 2 (pow.f64 x 8)))))
35.5b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 8)))))
35.8b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.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 8)))))
Compiler

Compiled 6520 to 4938 computations (24.3% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (pow.f64 x 8))
0.0b
(/.f64 2 (pow.f64 x 6))
0.1b
(/.f64 (/.f64 2 x) x)
0.2b
(/.f64 -2 (pow.f64 x 4))

series5.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

5.0ms
(/.f64 (/.f64 2 x) x)

rewrite20.0ms (0.3%)

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:

15.0ms
(/.f64 (/.f64 2 x) x)

simplify178.0ms (2.3%)

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
01411388
12931287
25411206
312001182
421761177
533751127
647991097
749681097
848521097

prune622.0ms (8.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2931294
Fresh022
Picked011
Done022
Total2936299
Error
0b
Counts
299 → 6
Alt Table
StatusErrorProgram
28.5b
(fma.f64 2 (*.f64 x x) 2)
35.5b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (*.f64 (/.f64 (sqrt.f64 2) (*.f64 x (cbrt.f64 x))) (/.f64 (sqrt.f64 2) (pow.f64 (cbrt.f64 x) 2))) (/.f64 2 (pow.f64 x 8)))))
35.2b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 2 (pow.f64 x 8)))))
35.6b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 (sqrt.f64 2) (/.f64 (*.f64 x x) (sqrt.f64 2))) (/.f64 2 (pow.f64 x 8)))))
35.5b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 8)))))
35.8b
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.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 8)))))
Compiler

Compiled 9210 to 7100 computations (22.9% saved)

regimes704.0ms (9.2%)

Accuracy

Total 0.1b remaining (15.7%)

Threshold costs 0.1b (15.7%)

Counts
148 → 2
Compiler

Compiled 5728 to 4772 computations (16.7% saved)

bsearch9.0ms (0.1%)

Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify7.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03063
14163
25363
36963
48463
59363
69763
79863
89563

end282.0ms (3.7%)

Compiler

Compiled 244 to 191 computations (21.7% saved)

Profiling

Loading profile data...