Details

Time bar (total: 9.9s)

analyze145.0ms (1.5%)

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)

sample212.0ms (2.1%)

Algorithm
intervals
Results
148.0ms132×body2048valid
39.0ms68×body1024valid
9.0ms34×body512valid
2.0ms12×body256valid
1.0ms10×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

simplify91.0ms (0.9%)

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

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series8.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

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

rewrite33.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:

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

simplify125.0ms (1.3%)

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

prune153.0ms (1.5%)

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
0.3b
(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.5b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.7b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
29.6b
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x))))
29.6b
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
Compiler

Compiled 2166 to 1243 computations (42.6% saved)

localize25.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
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.0b
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
0.0b
(*.f64 1/20160 (pow.f64 x 8))

series23.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

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

rewrite14.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:

7.0ms
(*.f64 1/20160 (pow.f64 x 8))
1.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)))))
1.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))

simplify85.0ms (0.9%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
562×associate-+l+_binary64
546×associate-+r+_binary64
247×associate-*l*_binary64
214×associate-*r*_binary64
Counts
71 → 77
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0911228
11621128
23901110
315981110
451541110

prune181.0ms (1.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New75277
Fresh134
Picked101
Done000
Total77582
Error
0.0b
Counts
82 → 5
Alt Table
StatusErrorProgram
0.3b
(expm1.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))
0.5b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.3b
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))
29.6b
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x))))
29.6b
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
Compiler

Compiled 1998 to 1499 computations (25% saved)

localize30.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series30.0ms (0.3%)

Counts
4 → 36
Calls

4 calls:

9.0ms
(log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))))
8.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))
8.0ms
(expm1.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))
6.0ms
(*.f64 1/12 (pow.f64 x 4))

rewrite24.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 → 59
Calls

4 calls:

18.0ms
(*.f64 1/12 (pow.f64 x 4))
1.0ms
(log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))))
1.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))
1.0ms
(expm1.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))

simplify178.0ms (1.8%)

Algorithm
egg-herbie
Rules
320×cancel-sign-sub-inv_binary64
262×exp-prod_binary64
236×associate-*l*_binary64
235×fma-def_binary64
223×fma-neg_binary64
Counts
95 → 136
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01431900
12981733
27021699
323211693
445791693
550001693
649161693

prune342.0ms (3.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1351136
Fresh134
Picked011
Done000
Total1365141
Error
0.0b
Counts
141 → 5
Alt Table
StatusErrorProgram
29.9b
(expm1.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (log.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))))
0.3b
(expm1.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))
0.5b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.3b
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))
29.6b
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x))))
Compiler

Compiled 3473 to 2672 computations (23.1% saved)

localize28.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
0.0b
(*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))
0.0b
(*.f64 1/20160 (pow.f64 x 8))
28.8b
(sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))

series29.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

19.0ms
(sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
9.0ms
(*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

11.0ms
(*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))
2.0ms
(sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))

simplify180.0ms (1.8%)

Algorithm
egg-herbie
Rules
362×associate-+l+_binary64
330×associate-+r+_binary64
299×associate-*l*_binary64
289×fma-neg_binary64
266×associate-/r*_binary64
Counts
92 → 109
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01042352
12252065
26161957
321611899
446881857
549741857
649011857

prune862.0ms (8.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2500250
Fresh033
Picked011
Done011
Total2505255
Error
0.0b
Counts
255 → 5
Alt Table
StatusErrorProgram
29.9b
(expm1.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (log.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))))
0.3b
(expm1.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))))
0.5b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.3b
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))
29.6b
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x))))
Compiler

Compiled 9772 to 7360 computations (24.7% saved)

regimes152.0ms (1.5%)

Accuracy

Total 0.6b remaining (98.3%)

Threshold costs 0.6b (98.3%)

Counts
41 → 1
Compiler

Compiled 1312 to 982 computations (25.2% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01729
11829
21829

end1.0ms (0%)

Compiler

Compiled 21 to 16 computations (23.8% saved)

sample6.9s (69.7%)

Algorithm
intervals
Results
4.6s4126×body2048valid
1.2s1999×body1024valid
336.0ms962×body512valid
101.0ms560×body256valid
29.0ms353×body128valid
0.0msbody128invalid
Compiler

Compiled 134 to 102 computations (23.9% saved)

Profiling

Loading profile data...