Details

Time bar (total: 12.6s)

analyze1.4s (10.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0%100%0%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample9.6s (75.9%)

Results
4.5s7967×body8192exit
3.6s4331×body2048valid
954.0ms2040×body1024valid
296.0ms1002×body512valid
104.0ms508×body256valid
47.0ms375×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify57.0ms (0.5%)

Algorithm
egg-herbie
Rules
819×div-sub_binary64
801×associate-/l*_binary64
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23513
35713
411213
522313
648113
789013
8157013
9477813
10581513

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize6.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
4.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

series5.0ms (0%)

Counts
2 → 16
Calls

2 calls:

3.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
2.0ms
(-.f64 (exp.f64 x) 2)

rewrite17.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
18×prod-diff_binary64
18×add-cube-cbrt_binary64
13×associate-+l+_binary64
Counts
2 → 69
Calls

2 calls:

9.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
4.0ms
(-.f64 (exp.f64 x) 2)

simplify81.0ms (0.6%)

Algorithm
egg-herbie
Rules
650×fma-neg_binary64
326×fma-def_binary64
296×distribute-rgt-in_binary64
282×distribute-lft-in_binary64
268×distribute-rgt-out_binary64
Counts
85 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01451174
1295959
2717942
32801932
44435932
54838932

prune95.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1113114
Fresh000
Picked101
Done000
Total1123115
Error
0.0b
Counts
115 → 3
Alt Table
StatusErrorProgram
0.4b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.5b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
27.9b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
Compiler

Compiled 2120 to 1205 computations (43.2% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.0b
(*.f64 1/360 (pow.f64 x 6))

series8.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

4.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
3.0ms
(*.f64 1/360 (pow.f64 x 6))

rewrite12.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
associate-*r*_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 37
Calls

2 calls:

4.0ms
(*.f64 1/360 (pow.f64 x 6))
0.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))

simplify74.0ms (0.6%)

Algorithm
egg-herbie
Rules
562×distribute-rgt-in_binary64
557×distribute-lft-in_binary64
385×fma-def_binary64
384×unswap-sqr_binary64
350×log-prod_binary64
Counts
49 → 54
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
075702
1135653
2330621
31413621
44726621
55066621

prune64.0ms (0.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New53154
Fresh022
Picked011
Done000
Total53457
Error
0b
Counts
57 → 4
Alt Table
StatusErrorProgram
1.1b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))
0.5b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
0.4b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
27.9b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
Compiler

Compiled 1139 to 833 computations (26.9% saved)

localize6.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
0.1b
(*.f64 1/12 (pow.f64 x 4))

series7.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

4.0ms
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
3.0ms
(*.f64 1/12 (pow.f64 x 4))

rewrite6.0ms (0%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
associate-*r*_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 37
Calls

2 calls:

4.0ms
(*.f64 1/12 (pow.f64 x 4))
0.0ms
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))

simplify80.0ms (0.6%)

Algorithm
egg-herbie
Rules
703×fma-def_binary64
562×unswap-sqr_binary64
352×*-commutative_binary64
333×distribute-rgt-out_binary64
291×distribute-lft-out_binary64
Counts
49 → 49
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
066570
1110535
2240517
3668517
41295511
53475506
64962506
74950506

prune52.0ms (0.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New49049
Fresh022
Picked011
Done011
Total49453
Error
0b
Counts
53 → 4
Alt Table
StatusErrorProgram
1.1b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))
0.5b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
0.4b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
27.9b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
Compiler

Compiled 817 to 567 computations (30.6% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/360 (pow.f64 x 6))
0.2b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))
0.4b
(*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))
31.7b
(cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))

series24.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

9.0ms
(*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))
8.0ms
(cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))
5.0ms
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
24×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
16×pow1/3_binary64
14×*-un-lft-identity_binary64
Counts
3 → 93
Calls

3 calls:

8.0ms
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))
5.0ms
(*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))
1.0ms
(cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))

simplify153.0ms (1.2%)

Algorithm
egg-herbie
Rules
461×associate-*l*_binary64
397×associate-*r*_binary64
314×fma-def_binary64
220×distribute-rgt-in_binary64
216×distribute-lft-in_binary64
Counts
129 → 189
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01884767
14444276
211513511
340523280
448533280
549043280

prune622.0ms (4.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3850385
Fresh011
Picked011
Done022
Total3854389
Error
0b
Counts
389 → 4
Alt Table
StatusErrorProgram
1.1b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))))) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))
0.5b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
0.4b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
27.9b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
Compiler

Compiled 19614 to 14683 computations (25.1% saved)

regimes158.0ms (1.3%)

Accuracy

Total 0.5b remaining (85.9%)

Threshold costs 0.5b (85.9%)

Counts
87 → 1
Compiler

Compiled 3068 to 2316 computations (24.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11218
21218

end95.0ms (0.8%)

Compiler

Compiled 125 to 87 computations (30.4% saved)

Profiling

Loading profile data...