Details

Time bar (total: 5.8s)

analyze186.0ms (3.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0480913
1480913
011
111
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)

sample90.0ms (1.6%)

Algorithm
intervals
Results
65.0ms130×body2048valid
14.0ms69×body1024valid
3.0ms31×body512valid
1.0ms11×body256valid
1.0ms15×body128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify91.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (85.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: 29.8b

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

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

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

series35.0ms (0.6%)

Counts
2 → 6
Calls

2 calls:

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

simplify57.0ms (1%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04887654
14887654

prune54.0ms (0.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New40545
Fresh000
Picked101
Done000
Total41546

Merged error: 0.1b

Counts
46 → 5
Compiler

Compiled 688 to 371 computations (46.1% 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.1b
(*.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/12 (pow.f64 x 4))
5.0ms
(*.f64 1/360 (pow.f64 x 6))
5.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))

series170.0ms (2.9%)

Counts
4 → 12
Calls

4 calls:

87.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
29.0ms
(*.f64 1/360 (pow.f64 x 6))
28.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
24.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify78.0ms (1.3%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
050061259

prune101.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh044
Picked011
Done000
Total84791

Merged error: 0.1b

Counts
91 → 7
Compiler

Compiled 1904 to 1344 computations (29.4% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
0.0b
(pow.f64 (exp.f64 x) -2)
0.1b
(pow.f64 (exp.f64 x) -3)
2.7b
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))

rewrite34.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64_1783
17×add-sqr-sqrt_binary64_1805
13×add-cube-cbrt_binary64_1818
11×unpow-prod-down_binary64_1862
pow-unpow_binary64_1860 pow-pow_binary64_1855
pow1_binary64_1844
exp-prod_binary64_1835 add-log-exp_binary64_1822
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 cube-prod_binary64_1811
sqr-pow_binary64_1755 pow-to-exp_binary64_1852 pow-exp_binary64_1851
difference-of-squares_binary64_1752 distribute-lft-out--_binary64_1735 cube-div_binary64_1812
flip3--_binary64_1787 +-commutative_binary64_1713 rem-cube-cbrt_binary64_1806 cube-mult_binary64_1813 distribute-lft-out_binary64_1734 flip-+_binary64_1757 unpow3_binary64_1849 sum-log_binary64_1874 flip3-+_binary64_1786 flip--_binary64_1758
Counts
4 → 81
Calls

4 calls:

15.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)
3.0ms
(pow.f64 (exp.f64 x) -2)

series236.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

134.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
48.0ms
(pow.f64 (exp.f64 x) -3)
28.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
25.0ms
(pow.f64 (exp.f64 x) -2)

simplify79.0ms (1.4%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
050031151

prune154.0ms (2.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh055
Picked101
Done011
Total937100

Merged error: 0.1b

Counts
100 → 7
Compiler

Compiled 3401 to 2027 computations (40.4% saved)

localize22.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(pow.f64 (exp.f64 x) -3)
0.1b
(pow.f64 (-.f64 (exp.f64 x) 2) 6)
0.1b
(pow.f64 (exp.f64 x) -6)
2.7b
(-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 6) (pow.f64 (exp.f64 x) -6))

rewrite35.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64_1805
20×unpow-prod-down_binary64_1862
18×*-un-lft-identity_binary64_1783
14×add-cube-cbrt_binary64_1818
10×difference-of-squares_binary64_1752 sqr-pow_binary64_1755
pow-unpow_binary64_1860 pow-pow_binary64_1855
cancel-sign-sub-inv_binary64_1749 pow1_binary64_1844
exp-prod_binary64_1835 add-log-exp_binary64_1822
add-exp-log_binary64_1821
add-cbrt-cube_binary64_1819
pow-to-exp_binary64_1852 pow-exp_binary64_1851
distribute-lft-out--_binary64_1735
flip3--_binary64_1787 diff-log_binary64_1875 flip--_binary64_1758 sub-neg_binary64_1776
Counts
4 → 87
Calls

4 calls:

12.0ms
(-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 6) (pow.f64 (exp.f64 x) -6))
5.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 6)
3.0ms
(pow.f64 (exp.f64 x) -3)
3.0ms
(pow.f64 (exp.f64 x) -6)

series455.0ms (7.8%)

Counts
4 → 12
Calls

4 calls:

328.0ms
(-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 6) (pow.f64 (exp.f64 x) -6))
49.0ms
(pow.f64 (exp.f64 x) -6)
42.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 6)
35.0ms
(pow.f64 (exp.f64 x) -3)

simplify68.0ms (1.2%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049991557
149991557

prune225.0ms (3.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New95499
Fresh235
Picked101
Done011
Total988106

Merged error: 0.0b

Counts
106 → 8
Compiler

Compiled 4739 to 2907 computations (38.7% saved)

regimes109.0ms (1.9%)

Compiler

Compiled 1534 to 1100 computations (28.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01722
11722

end0.0ms (0%)

sample3.5s (59.4%)

Algorithm
intervals
Results
2.0s4092×body2048valid
431.0ms2025×body1024valid
122.0ms1024×body512valid
32.0ms475×body256valid
14.0ms384×body128valid
0.0msbody128invalid
Compiler

Compiled 790 to 571 computations (27.7% saved)

Profiling

Loading profile data...