Details

Time bar (total: 3.9s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample30.0ms (0.8%)

Algorithm
intervals
Results
14.0ms69×body1024valid
4.0ms126×body128valid
3.0ms37×body512valid
1.0ms19×body256valid
1.0msbody2048valid
Compiler

Compiled 27 to 22 computations (18.5% saved)

simplify168.0ms (4.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
068119
168119

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
31.6b
Counts
2 → 1
Compiler

Compiled 26 to 20 computations (23.1% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 x (+.f64 x 1))
0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
3.4b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite75.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
148×*-un-lft-identity_binary64_1783
88×times-frac_binary64_1789
85×add-sqr-sqrt_binary64_1805
37×add-cube-cbrt_binary64_1818
34×cancel-sign-sub-inv_binary64_1749
27×distribute-lft-out_binary64_1734
22×difference-of-squares_binary64_1752 distribute-lft-out--_binary64_1735
11×associate-/r*_binary64_1727
difference-of-sqr-1_binary64_1753
add-cbrt-cube_binary64_1819 associate-/l*_binary64_1728 add-exp-log_binary64_1821
associate-/r/_binary64_1729
add-log-exp_binary64_1822
flip3--_binary64_1787 div-inv_binary64_1780 flip--_binary64_1758 pow1_binary64_1844
associate-/l/_binary64_1730 flip-+_binary64_1757 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 div-exp_binary64_1834 flip3-+_binary64_1786 clear-num_binary64_1782
diff-log_binary64_1875 frac-sub_binary64_1792 sub-neg_binary64_1776
Counts
3 → 147
Calls

3 calls:

47.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
9.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
5.0ms
(/.f64 x (+.f64 x 1))

series62.0ms (1.6%)

Counts
3 → 9
Calls

3 calls:

36.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
13.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
13.0ms
(/.f64 x (+.f64 x 1))

simplify87.0ms (2.2%)

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
056582774

prune205.0ms (5.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1533156
Fresh000
Picked101
Done000
Total1543157
Error
0.1b
Counts
157 → 3
Compiler

Compiled 3061 to 2159 computations (29.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3)))
0.3b
(/.f64 3 (pow.f64 x 3))
0.5b
(/.f64 -1 (*.f64 x x))
7.4b
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3))))

rewrite93.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
73×*-un-lft-identity_binary64_1783
68×times-frac_binary64_1789
44×add-sqr-sqrt_binary64_1805
40×add-cube-cbrt_binary64_1818
14×add-exp-log_binary64_1821 unpow3_binary64_1849
13×cancel-sign-sub-inv_binary64_1749 associate-/r*_binary64_1727
12×unpow-prod-down_binary64_1862 cube-prod_binary64_1811
11×add-cbrt-cube_binary64_1819 distribute-lft-out_binary64_1734 add-log-exp_binary64_1822
distribute-rgt-out_binary64_1736
associate-/l*_binary64_1728 div-inv_binary64_1780
div-exp_binary64_1834
sqr-pow_binary64_1755 cube-mult_binary64_1813 pow1_binary64_1844
frac-sub_binary64_1792 cbrt-undiv_binary64_1817
difference-of-squares_binary64_1752 frac-add_binary64_1791 flip-+_binary64_1757 distribute-lft-out--_binary64_1735 distribute-rgt1-in_binary64_1739 diff-log_binary64_1875 frac-2neg_binary64_1794 sum-log_binary64_1874 flip3-+_binary64_1786 clear-num_binary64_1782
flip3--_binary64_1787 +-commutative_binary64_1713 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 flip--_binary64_1758 pow-to-exp_binary64_1852 sub-neg_binary64_1776 pow-exp_binary64_1851 associate--r+_binary64_1719
Counts
4 → 141
Calls

4 calls:

39.0ms
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3))))
32.0ms
(+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3)))
5.0ms
(/.f64 3 (pow.f64 x 3))
4.0ms
(/.f64 -1 (*.f64 x x))

series108.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

50.0ms
(+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3)))
22.0ms
(/.f64 3 (pow.f64 x 3))
18.0ms
(/.f64 -1 (*.f64 x x))
17.0ms
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3))))

simplify76.0ms (1.9%)

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050452493

prune174.0ms (4.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh022
Picked011
Done000
Total1524156
Error
0.1b
Counts
156 → 4
Compiler

Compiled 3229 to 2248 computations (30.4% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 x (-.f64 x 1))
0.0b
(*.f64 (+.f64 x 1) (+.f64 x 1))
0.0b
(/.f64 (-.f64 (*.f64 x (-.f64 x 1)) (*.f64 (+.f64 x 1) (+.f64 x 1))) (+.f64 -1 (*.f64 x x)))
20.5b
(-.f64 (*.f64 x (-.f64 x 1)) (*.f64 (+.f64 x 1) (+.f64 x 1)))

rewrite62.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
44×associate-*r/_binary64_1725
39×*-un-lft-identity_binary64_1783
32×frac-sub_binary64_1792
31×flip-+_binary64_1757 flip3-+_binary64_1786
30×add-sqr-sqrt_binary64_1805
22×add-cube-cbrt_binary64_1818
20×frac-times_binary64_1793
19×flip3--_binary64_1787 flip--_binary64_1758
18×associate-/l/_binary64_1730
13×cancel-sign-sub-inv_binary64_1749 pow1_binary64_1844
11×associate-*r*_binary64_1723
10×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 distribute-lft-in_binary64_1732 associate-*l/_binary64_1726 distribute-rgt-in_binary64_1733
times-frac_binary64_1789
associate--l+_binary64_1720
associate-*l*_binary64_1724
swap-sqr_binary64_1750 distribute-lft-out_binary64_1734 add-log-exp_binary64_1822
sub-neg_binary64_1776
associate-/l*_binary64_1728 associate-/r*_binary64_1727
associate-/r/_binary64_1729 difference-of-squares_binary64_1752 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 *-commutative_binary64_1714 pow-prod-down_binary64_1854 unswap-sqr_binary64_1751 associate--r+_binary64_1719
div-sub_binary64_1788 difference-of-sqr-1_binary64_1753 pow-plus_binary64_1846 div-inv_binary64_1780 pow-prod-up_binary64_1853 distribute-lft-out--_binary64_1735 diff-log_binary64_1875 pow-sqr_binary64_1756 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 div-exp_binary64_1834 clear-num_binary64_1782 pow2_binary64_1864
Counts
4 → 158
Calls

4 calls:

16.0ms
(/.f64 (-.f64 (*.f64 x (-.f64 x 1)) (*.f64 (+.f64 x 1) (+.f64 x 1))) (+.f64 -1 (*.f64 x x)))
11.0ms
(-.f64 (*.f64 x (-.f64 x 1)) (*.f64 (+.f64 x 1) (+.f64 x 1)))
9.0ms
(*.f64 (+.f64 x 1) (+.f64 x 1))
8.0ms
(*.f64 x (-.f64 x 1))

series264.0ms (6.7%)

Counts
4 → 12
Calls

4 calls:

212.0ms
(-.f64 (*.f64 x (-.f64 x 1)) (*.f64 (+.f64 x 1) (+.f64 x 1)))
24.0ms
(*.f64 x (-.f64 x 1))
19.0ms
(/.f64 (-.f64 (*.f64 x (-.f64 x 1)) (*.f64 (+.f64 x 1) (+.f64 x 1))) (+.f64 -1 (*.f64 x x)))
8.0ms
(*.f64 (+.f64 x 1) (+.f64 x 1))

simplify96.0ms (2.4%)

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
050783890

prune238.0ms (6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1691170
Fresh202
Picked101
Done011
Total1722174
Error
0b
Counts
174 → 2
Compiler

Compiled 5140 to 3405 computations (33.8% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 -1 (*.f64 x 3))
16.2b
(/.f64 (-.f64 -1 (*.f64 x 3)) (+.f64 -1 (*.f64 x x)))

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_1805 add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
times-frac_binary64_1789
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 add-log-exp_binary64_1822
associate-/l*_binary64_1728 associate-/r*_binary64_1727
flip3--_binary64_1787 associate-/l/_binary64_1730 associate-/r/_binary64_1729 flip--_binary64_1758 pow1_binary64_1844
div-sub_binary64_1788 flip-+_binary64_1757 div-inv_binary64_1780 cancel-sign-sub-inv_binary64_1749 diff-log_binary64_1875 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 div-exp_binary64_1834 flip3-+_binary64_1786 clear-num_binary64_1782 sub-neg_binary64_1776
Counts
2 → 44
Calls

2 calls:

7.0ms
(/.f64 (-.f64 -1 (*.f64 x 3)) (+.f64 -1 (*.f64 x x)))
3.0ms
(-.f64 -1 (*.f64 x 3))

series43.0ms (1.1%)

Counts
2 → 6
Calls

2 calls:

22.0ms
(-.f64 -1 (*.f64 x 3))
21.0ms
(/.f64 (-.f64 -1 (*.f64 x 3)) (+.f64 -1 (*.f64 x x)))

simplify67.0ms (1.7%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04906987
14906987

prune49.0ms (1.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New50050
Fresh000
Picked011
Done011
Total50252
Error
0b
Counts
52 → 2
Compiler

Compiled 919 to 639 computations (30.5% saved)

regimes247.0ms (6.3%)

Accuracy

Total 0.0b remaining (91.7%)

Threshold costs 0.0b (91.7%)

Compiler

Compiled 2568 to 1983 computations (22.8% saved)

bsearch34.0ms (0.9%)

Steps
ItersRangePoint
9
527586723076.3732
1.4724239656240512e+18
23245692697104.223
6
-3.3537279351463606e+50
-5.270554226181804e+49
-1.3460071312632054e+50
Compiler

Compiled 1 to 1 computations (0% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07952
17952

end0.0ms (0%)

sample1.7s (43.4%)

Algorithm
intervals
Results
250.0ms1996×body1024valid
144.0ms4266×body128valid
97.0ms1043×body512valid
32.0ms208×body2048valid
30.0ms487×body256valid
Compiler

Compiled 1248 to 964 computations (22.8% saved)

Profiling

Loading profile data...