Details

Time bar (total: 5.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
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 9 to 8 computations (11.1% saved)

sample111.0ms (1.9%)

Algorithm
intervals
Results
84.0ms141×body2048valid
15.0ms64×body1024valid
4.0ms27×body512valid
1.0ms12×body256valid
1.0ms12×body128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify242.0ms (4.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
0508713

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.5b

Counts
2 → 1
Compiler

Compiled 16 to 14 computations (12.5% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_1798 *-un-lft-identity_binary64_1762
frac-add_binary64_1770 add-sqr-sqrt_binary64_1783
flip3--_binary64_1766 flip--_binary64_1737
diff-log_binary64_1851 exp-neg_binary64_1806 neg-sub0_binary64_1757 distribute-lft-out--_binary64_1716 exp-diff_binary64_1807 sub-neg_binary64_1755 distribute-lft-out_binary64_1715 add-cube-cbrt_binary64_1794 add-cbrt-cube_binary64_1795 add-exp-log_binary64_1797 pow1_binary64_1820 sum-log_binary64_1850
flip3-+_binary64_1765 flip-+_binary64_1736 +-commutative_binary64_1694 difference-of-squares_binary64_1731 associate-+l-_binary64_1699 associate-+l+_binary64_1697
Counts
2 → 33
Calls

2 calls:

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

series76.0ms (1.3%)

Counts
2 → 6
Calls

2 calls:

61.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
15.0ms
(-.f64 (exp.f64 x) 2)

simplify88.0ms (1.5%)

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
04859627
14859627

prune49.0ms (0.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New35439
Fresh000
Picked101
Done000
Total36440

Merged error: 0.0b

Counts
40 → 4
Compiler

Compiled 606 to 330 computations (45.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite33.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64_1783
14×add-exp-log_binary64_1797 associate-*r*_binary64_1704
11×add-log-exp_binary64_1798
10×*-un-lft-identity_binary64_1762 add-cube-cbrt_binary64_1794
add-cbrt-cube_binary64_1795 unpow-prod-down_binary64_1838
prod-exp_binary64_1808 unswap-sqr_binary64_1730 associate-*l*_binary64_1705
sqr-pow_binary64_1734 pow1_binary64_1820 sum-log_binary64_1850
flip3-+_binary64_1765 flip-+_binary64_1736 +-commutative_binary64_1694 pow-exp_binary64_1827 cbrt-unprod_binary64_1792 *-commutative_binary64_1695 pow-to-exp_binary64_1828
associate-+r+_binary64_1696
Counts
4 → 74
Calls

4 calls:

9.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
6.0ms
(*.f64 1/12 (pow.f64 x 4))
6.0ms
(*.f64 1/360 (pow.f64 x 6))
6.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))

series381.0ms (6.7%)

Counts
4 → 12
Calls

4 calls:

196.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
64.0ms
(*.f64 1/360 (pow.f64 x 6))
60.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
60.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify70.0ms (1.2%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
048951259
148951259

prune99.0ms (1.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh033
Picked011
Done000
Total85590

Merged error: 0.0b

Counts
90 → 5
Compiler

Compiled 1821 to 1281 computations (29.7% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(-.f64 (exp.f64 x) 2)
1.9b
(log.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))))
1.9b
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity_binary64_1762
10×add-log-exp_binary64_1798
add-sqr-sqrt_binary64_1783
log-pow_binary64_1848
exp-prod_binary64_1811 add-cube-cbrt_binary64_1794
log-prod_binary64_1845 frac-add_binary64_1770 distribute-lft-out_binary64_1715 pow1_binary64_1820
flip3--_binary64_1766 distribute-lft-out--_binary64_1716 exp-diff_binary64_1807 flip--_binary64_1737 add-cbrt-cube_binary64_1795 add-exp-log_binary64_1797
associate-+r-_binary64_1698 diff-log_binary64_1851 exp-neg_binary64_1806 neg-sub0_binary64_1757 sub-neg_binary64_1755 sum-log_binary64_1850
flip3-+_binary64_1765 flip-+_binary64_1736 +-commutative_binary64_1694 difference-of-squares_binary64_1731 exp-sum_binary64_1805 associate-+r+_binary64_1696 log-div_binary64_1846 rem-log-exp_binary64_1800
Counts
3 → 52
Calls

3 calls:

11.0ms
(log.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))))
10.0ms
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
5.0ms
(-.f64 (exp.f64 x) 2)

series350.0ms (6.1%)

Counts
3 → 9
Calls

3 calls:

276.0ms
(log.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))))
58.0ms
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
16.0ms
(-.f64 (exp.f64 x) 2)

simplify73.0ms (1.3%)

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
05480988

prune55.0ms (1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New61061
Fresh033
Picked011
Done011
Total61566

Merged error: 0.0b

Counts
66 → 5
Compiler

Compiled 1008 to 573 computations (43.2% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2))
0.0b
(*.f64 (exp.f64 x) (+.f64 4 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2))))
0.0b
(pow.f64 (exp.f64 x) 3)
2.3b
(+.f64 4 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (+.f64 -6 (pow.f64 (exp.f64 x) 3)))))

rewrite33.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64_1783
14×*-un-lft-identity_binary64_1762
12×add-cube-cbrt_binary64_1794
add-cbrt-cube_binary64_1795 pow1_binary64_1820
associate-*r*_binary64_1704
add-log-exp_binary64_1798 add-exp-log_binary64_1797 associate-*l*_binary64_1705
associate-*r/_binary64_1706 pow-pow_binary64_1831
cube-prod_binary64_1787 exp-prod_binary64_1811 flip3-+_binary64_1765 flip-+_binary64_1736 distribute-rgt-in_binary64_1714 distribute-lft-in_binary64_1713 pow-unpow_binary64_1836 unpow-prod-down_binary64_1838
pow-prod-down_binary64_1830 prod-exp_binary64_1808 unswap-sqr_binary64_1730 cbrt-unprod_binary64_1792 *-commutative_binary64_1695 associate-+r+_binary64_1696
cube-mult_binary64_1789 rem-cube-cbrt_binary64_1784 sqr-pow_binary64_1734 unpow3_binary64_1825 +-commutative_binary64_1694 pow-exp_binary64_1827 distribute-lft-out_binary64_1715 pow-to-exp_binary64_1828 sum-log_binary64_1850
Counts
4 → 84
Calls

4 calls:

9.0ms
(*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2))
7.0ms
(*.f64 (exp.f64 x) (+.f64 4 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2))))
4.0ms
(+.f64 4 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (+.f64 -6 (pow.f64 (exp.f64 x) 3)))))
4.0ms
(pow.f64 (exp.f64 x) 3)

series290.0ms (5.1%)

Counts
4 → 12
Calls

4 calls:

134.0ms
(+.f64 4 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) (+.f64 -6 (pow.f64 (exp.f64 x) 3)))))
78.0ms
(*.f64 (exp.f64 x) (+.f64 4 (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2))))
42.0ms
(pow.f64 (exp.f64 x) 3)
36.0ms
(*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2))

simplify65.0ms (1.1%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
051161516

prune139.0ms (2.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New94296
Fresh022
Picked101
Done022
Total956101

Merged error: 0.0b

Counts
101 → 6
Compiler

Compiled 3103 to 1793 computations (42.2% saved)

regimes18.0ms (0.3%)

Compiler

Compiled 149 to 103 computations (30.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01722
11722

end0.0ms (0%)

sample3.4s (60.2%)

Algorithm
intervals
Results
2.4s4139×body2048valid
511.0ms2031×body1024valid
137.0ms1002×body512valid
42.0ms507×body256valid
14.0ms321×body128valid
0.0msbody128invalid
Compiler

Compiled 179 to 130 computations (27.4% saved)

Profiling

Loading profile data...