Details

Time bar (total: 6.6s)

analyze182.0ms (2.8%)

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)

sample93.0ms (1.4%)

Algorithm
intervals
Results
67.0ms133×body2048valid
14.0ms68×body1024valid
4.0ms27×body512valid
1.0ms14×body256valid
1.0ms14×body128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify93.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
0480913
1480913

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.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)
3.9b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

rewrite16.0ms (0.2%)

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)

series35.0ms (0.5%)

Counts
2 → 6
Calls

2 calls:

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

simplify56.0ms (0.9%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04887654
14887654

prune55.0ms (0.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New39645
Fresh000
Picked101
Done000
Total40646
Error
0.1b
Counts
46 → 6
Compiler

Compiled 710 to 389 computations (45.2% saved)

localize9.0ms (0.1%)

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

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

8.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))
5.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))

series161.0ms (2.4%)

Counts
4 → 12
Calls

4 calls:

77.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
32.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
28.0ms
(*.f64 1/360 (pow.f64 x 6))
23.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify81.0ms (1.2%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
050061259

prune99.0ms (1.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh055
Picked011
Done000
Total85792
Error
0.1b
Counts
92 → 7
Compiler

Compiled 1877 to 1322 computations (29.6% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite61.0ms (0.9%)

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:

19.0ms
(*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
16.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
6.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
3.0ms
(pow.f64 (exp.f64 x) -3)

series222.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

127.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
34.0ms
(pow.f64 (exp.f64 x) -3)
33.0ms
(*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
28.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)

simplify82.0ms (1.2%)

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049242951
149242951

prune258.0ms (3.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1302132
Fresh055
Picked101
Done011
Total1318139
Error
0.1b
Counts
139 → 8
Compiler

Compiled 5245 to 3149 computations (40% saved)

localize26.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)
3.7b
(+.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3) (pow.f64 (pow.f64 (exp.f64 x) -3) 3))

rewrite77.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_1783
15×unpow-prod-down_binary64_1862
14×add-sqr-sqrt_binary64_1805
12×add-cube-cbrt_binary64_1818
pow-unpow_binary64_1860 pow-pow_binary64_1855
pow1_binary64_1844
exp-prod_binary64_1835 add-log-exp_binary64_1822
add-exp-log_binary64_1821 distribute-lft-out_binary64_1734
add-cbrt-cube_binary64_1819 cube-prod_binary64_1811
sqr-pow_binary64_1755 pow-to-exp_binary64_1852 pow-exp_binary64_1851
difference-of-squares_binary64_1752 +-commutative_binary64_1713 sum-cubes_binary64_1784 flip-+_binary64_1757 distribute-lft-out--_binary64_1735 sum-log_binary64_1874 flip3-+_binary64_1786
Counts
4 → 76
Calls

4 calls:

53.0ms
(+.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3) (pow.f64 (pow.f64 (exp.f64 x) -3) 3))
5.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 6)
4.0ms
(pow.f64 (exp.f64 x) -6)
3.0ms
(pow.f64 (exp.f64 x) -3)

series833.0ms (12.7%)

Counts
4 → 12
Calls

4 calls:

704.0ms
(+.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3) (pow.f64 (pow.f64 (exp.f64 x) -3) 3))
51.0ms
(pow.f64 (exp.f64 x) -6)
44.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 6)
34.0ms
(pow.f64 (exp.f64 x) -3)

simplify62.0ms (0.9%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049231431
149231431

prune287.0ms (4.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh066
Picked101
Done011
Total88896
Error
0.1b
Counts
96 → 8
Compiler

Compiled 5629 to 3663 computations (34.9% saved)

regimes124.0ms (1.9%)

Accuracy

Total 0.6b remaining (97.9%)

Threshold costs 0.6b (97.9%)

Compiler

Compiled 1788 to 1282 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.6s (54.9%)

Algorithm
intervals
Results
2.1s4250×body2048valid
406.0ms1935×body1024valid
113.0ms1019×body512valid
32.0ms441×body256valid
13.0ms355×body128valid
0.0msbody128invalid
Compiler

Compiled 917 to 662 computations (27.8% saved)

Profiling

Loading profile data...