Details

Time bar (total: 5.9s)

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

sample100.0ms (1.7%)

Algorithm
intervals
Results
78.0ms141×body2048valid
9.0ms46×body1024valid
5.0ms42×body512valid
1.0ms18×body256valid
0.0msbody128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify170.0ms (2.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
0480913
1480913

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.1b

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)
5.3b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64_1783
add-log-exp_binary64_1822
add-sqr-sqrt_binary64_1805 cancel-sign-sub-inv_binary64_1749
add-cube-cbrt_binary64_1818 frac-add_binary64_1791 associate-+l+_binary64_1716
flip3--_binary64_1787 flip--_binary64_1758
add-cbrt-cube_binary64_1819 exp-diff_binary64_1831 add-exp-log_binary64_1821 distribute-lft-out_binary64_1734 distribute-lft-out--_binary64_1735 diff-log_binary64_1875 exp-neg_binary64_1830 sum-log_binary64_1874 neg-sub0_binary64_1778 sub-neg_binary64_1776 pow1_binary64_1844
difference-of-squares_binary64_1752 +-commutative_binary64_1713 flip-+_binary64_1757 associate-+l-_binary64_1718 flip3-+_binary64_1786
Counts
2 → 39
Calls

2 calls:

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

series39.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

31.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
8.0ms
(-.f64 (exp.f64 x) 2)

simplify54.0ms (0.9%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04887654
14887654

prune52.0ms (0.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New42345
Fresh000
Picked101
Done000
Total43346

Merged error: 0.0b

Counts
46 → 3
Compiler

Compiled 657 to 348 computations (47% saved)

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

rewrite29.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64_1805
14×add-exp-log_binary64_1821 associate-*r*_binary64_1723
11×add-log-exp_binary64_1822
10×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
add-cbrt-cube_binary64_1819 unpow-prod-down_binary64_1862
prod-exp_binary64_1832 associate-*l*_binary64_1724 unswap-sqr_binary64_1751
sqr-pow_binary64_1755 sum-log_binary64_1874 pow1_binary64_1844
+-commutative_binary64_1713 cbrt-unprod_binary64_1816 flip-+_binary64_1757 *-commutative_binary64_1714 flip3-+_binary64_1786 pow-to-exp_binary64_1852 pow-exp_binary64_1851
associate-+r+_binary64_1715
Counts
4 → 74
Calls

4 calls:

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

series178.0ms (3%)

Counts
4 → 12
Calls

4 calls:

86.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
34.0ms
(*.f64 1/360 (pow.f64 x 6))
32.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
25.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify75.0ms (1.3%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
050061259

prune97.0ms (1.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh022
Picked011
Done000
Total85489

Merged error: 0.0b

Counts
89 → 4
Compiler

Compiled 1834 to 1293 computations (29.5% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
0.0b
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
0.0b
(pow.f64 (exp.f64 x) -3)
4.5b
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))

rewrite56.0ms (1%)

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity_binary64_1783
26×add-sqr-sqrt_binary64_1805
17×flip3--_binary64_1787 flip--_binary64_1758
16×add-cube-cbrt_binary64_1818
12×cancel-sign-sub-inv_binary64_1749 frac-sub_binary64_1792 frac-times_binary64_1793
distribute-lft-in_binary64_1732 unpow-prod-down_binary64_1862 distribute-rgt-in_binary64_1733 associate--l+_binary64_1720 pow1_binary64_1844
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
exp-diff_binary64_1831 associate-*r/_binary64_1725 pow-unpow_binary64_1860 distribute-lft-out--_binary64_1735 exp-neg_binary64_1830 neg-sub0_binary64_1778 add-log-exp_binary64_1822 associate-*r*_binary64_1723
associate-*l*_binary64_1724 pow-pow_binary64_1855 cube-prod_binary64_1811
difference-of-squares_binary64_1752 sub-neg_binary64_1776
exp-prod_binary64_1835
sqr-pow_binary64_1755 associate-*l/_binary64_1726 cube-div_binary64_1812 pow-to-exp_binary64_1852 pow-exp_binary64_1851
+-commutative_binary64_1713 rem-cube-cbrt_binary64_1806 cube-mult_binary64_1813 distribute-lft-out_binary64_1734 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 flip-+_binary64_1757 unpow3_binary64_1849 *-commutative_binary64_1714 sum-log_binary64_1874 flip3-+_binary64_1786 pow-prod-down_binary64_1854 unswap-sqr_binary64_1751
Counts
4 → 120
Calls

4 calls:

20.0ms
(*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
14.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
5.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
3.0ms
(pow.f64 (exp.f64 x) -3)

series238.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

128.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
47.0ms
(pow.f64 (exp.f64 x) -3)
31.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
31.0ms
(*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))

simplify80.0ms (1.4%)

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049242951
149242951

prune245.0ms (4.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1311132
Fresh022
Picked101
Done011
Total1324136

Merged error: 0.0b

Counts
136 → 4
Compiler

Compiled 5141 to 3077 computations (40.1% saved)

localize21.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (exp.f64 x) -3)
1.0b
(*.f64 (+.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2)) (*.f64 (-.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))
1.6b
(-.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2))
4.5b
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))

rewrite91.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
76×frac-times_binary64_1793
49×flip3--_binary64_1787 flip--_binary64_1758
38×associate-*r/_binary64_1725
36×frac-sub_binary64_1792
32×distribute-lft-in_binary64_1732 distribute-rgt-in_binary64_1733
30×cancel-sign-sub-inv_binary64_1749
28×*-un-lft-identity_binary64_1783
26×add-sqr-sqrt_binary64_1805
22×flip-+_binary64_1757 flip3-+_binary64_1786
18×exp-diff_binary64_1831 add-cube-cbrt_binary64_1818 exp-neg_binary64_1830 neg-sub0_binary64_1778
16×associate--l+_binary64_1720
11×sqrt-prod_binary64_1799
10×pow1_binary64_1844
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 sub-neg_binary64_1776
associate-*l/_binary64_1726 add-log-exp_binary64_1822
associate-*l*_binary64_1724
difference-of-squares_binary64_1752 pow-pow_binary64_1855
distribute-lft-out_binary64_1734 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 pow-unpow_binary64_1860 unpow-prod-down_binary64_1862 pow-prod-down_binary64_1854 exp-prod_binary64_1835
distribute-lft-out--_binary64_1735
+-commutative_binary64_1713 sqr-pow_binary64_1755 diff-log_binary64_1875 *-commutative_binary64_1714 sum-log_binary64_1874 pow-to-exp_binary64_1852 pow-exp_binary64_1851 associate-*r*_binary64_1723
Counts
4 → 169
Calls

4 calls:

31.0ms
(*.f64 (+.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2)) (*.f64 (-.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))
18.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
7.0ms
(-.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2))
3.0ms
(pow.f64 (exp.f64 x) -3)

series288.0ms (4.9%)

Counts
4 → 12
Calls

4 calls:

135.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
93.0ms
(*.f64 (+.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2)) (*.f64 (-.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))))
36.0ms
(pow.f64 (exp.f64 x) -3)
25.0ms
(-.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 2))

simplify104.0ms (1.8%)

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050006847

prune516.0ms (8.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1801181
Fresh022
Picked101
Done011
Total1814185

Merged error: 0b

Counts
185 → 4
Compiler

Compiled 9168 to 5470 computations (40.3% saved)

regimes78.0ms (1.3%)

Compiler

Compiled 942 to 698 computations (25.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01722
11722

end0.0ms (0%)

sample3.3s (56.3%)

Algorithm
intervals
Results
2.1s4177×body2048valid
428.0ms1966×body1024valid
119.0ms1031×body512valid
33.0ms482×body256valid
13.0ms344×body128valid
0.0msbody128invalid
Compiler

Compiled 494 to 370 computations (25.1% saved)

Profiling

Loading profile data...