Details

Time bar (total: 4.4s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample164.0ms (3.7%)

Algorithm
intervals
Results
69.0ms129×body2048valid
15.0ms63×body1024valid
3.0ms26×body512valid
2.0ms22×body256valid
1.0ms16×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

simplify57.0ms (1.3%)

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
29.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
29.0b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series4.0ms (0.1%)

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)

rewrite15.0ms (0.3%)

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:

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

simplify84.0ms (1.9%)

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 (2.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1095114
Fresh000
Picked101
Done000
Total1105115
Error
0.0b
Counts
115 → 5
Alt Table
StatusErrorProgram
29.0b
(+.f64 (/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)) (exp.f64 (neg.f64 x)))
29.1b
(fma.f64 (*.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) (cbrt.f64 (-.f64 (exp.f64 x) 2))) (cbrt.f64 (-.f64 (exp.f64 x) 2)) (exp.f64 (neg.f64 x)))
1.0b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
1.1b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
1.2b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 2182 to 1255 computations (42.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series70.0ms (1.6%)

Counts
4 → 36
Calls

4 calls:

57.0ms
(*.f64 1/20160 (pow.f64 x 8))
5.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
4.0ms
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))
4.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))

rewrite7.0ms (0.2%)

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

4 calls:

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

simplify59.0ms (1.3%)

Algorithm
egg-herbie
Rules
946×fma-def_binary64
610×associate-+r+_binary64
610×associate-+l+_binary64
262×associate-*l*_binary64
230×associate-*r*_binary64
Counts
93 → 84
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01011505
11721382
24181364
317071364
455761364

prune103.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh044
Picked011
Done000
Total83689
Error
0b
Counts
89 → 6
Alt Table
StatusErrorProgram
29.0b
(+.f64 (/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)) (exp.f64 (neg.f64 x)))
29.1b
(fma.f64 (*.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) (cbrt.f64 (-.f64 (exp.f64 x) 2))) (cbrt.f64 (-.f64 (exp.f64 x) 2)) (exp.f64 (neg.f64 x)))
19.1b
(cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) 3))
1.0b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
1.1b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
1.2b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 2082 to 1556 computations (25.3% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series14.0ms (0.3%)

Counts
3 → 24
Calls

3 calls:

6.0ms
(fma.f64 x x (*.f64 1/360 (pow.f64 x 6)))
5.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))

rewrite6.0ms (0.1%)

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

3 calls:

4.0ms
(*.f64 1/360 (pow.f64 x 6))
0.0ms
(fma.f64 x x (*.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))))

simplify68.0ms (1.5%)

Algorithm
egg-herbie
Rules
624×distribute-rgt-in_binary64
613×distribute-lft-in_binary64
563×fma-def_binary64
396×unswap-sqr_binary64
364×log-prod_binary64
Counts
71 → 67
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
085979
1145907
2358875
31518875
44945875
55315875

prune80.0ms (1.8%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New67067
Fresh044
Picked011
Done011
Total67673
Error
0b
Counts
73 → 6
Alt Table
StatusErrorProgram
29.0b
(+.f64 (/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)) (exp.f64 (neg.f64 x)))
29.1b
(fma.f64 (*.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) (cbrt.f64 (-.f64 (exp.f64 x) 2))) (cbrt.f64 (-.f64 (exp.f64 x) 2)) (exp.f64 (neg.f64 x)))
19.1b
(cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) 3))
1.0b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
1.1b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
1.2b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 1373 to 1007 computations (26.7% saved)

localize5.0ms (0.1%)

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

series8.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

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

rewrite6.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/12 (pow.f64 x 4))
0.0ms
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))

simplify78.0ms (1.8%)

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

prune54.0ms (1.2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New49049
Fresh033
Picked011
Done022
Total49655
Error
0b
Counts
55 → 6
Alt Table
StatusErrorProgram
29.0b
(+.f64 (/.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)) (exp.f64 (neg.f64 x)))
29.1b
(fma.f64 (*.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) (cbrt.f64 (-.f64 (exp.f64 x) 2))) (cbrt.f64 (-.f64 (exp.f64 x) 2)) (exp.f64 (neg.f64 x)))
19.1b
(cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) 3))
1.0b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
1.1b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
1.2b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 751 to 525 computations (30.1% saved)

regimes115.0ms (2.6%)

Accuracy

Total 0.0b remaining (76.2%)

Threshold costs 0.0b (76.2%)

Counts
66 → 2
Compiler

Compiled 1930 to 1451 computations (24.8% saved)

bsearch2.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03273
14673
25073
35173
44973

end1.0ms (0%)

Compiler

Compiled 49 to 33 computations (32.7% saved)

sample3.3s (74.7%)

Algorithm
intervals
Results
2.3s4211×body2048valid
503.0ms2016×body1024valid
125.0ms943×body512valid
44.0ms494×body256valid
20.0ms336×body128valid
0.0msbody128invalid
Compiler

Compiled 165 to 118 computations (28.5% saved)

Profiling

Loading profile data...