Details

Time bar (total: 3.7s)

analyze7.0ms (0.2%)

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

Compiled 16 to 14 computations (12.5% saved)

sample25.0ms (0.7%)

Algorithm
intervals
Results
7.0ms46×body1024valid
6.0ms53×body512valid
5.0ms133×body128valid
2.0ms24×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify108.0ms (2.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
019222
119222

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
11.9b
Counts
2 → 1
Compiler

Compiled 30 to 26 computations (13.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
3.2b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite93.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
112×*-un-lft-identity_binary64_1783
74×times-frac_binary64_1789
72×add-sqr-sqrt_binary64_1805
39×add-cube-cbrt_binary64_1818
26×cancel-sign-sub-inv_binary64_1749
18×distribute-lft-out--_binary64_1735
17×distribute-lft-out_binary64_1734
14×difference-of-squares_binary64_1752 associate-+l+_binary64_1716
12×add-exp-log_binary64_1821
11×associate-/r*_binary64_1727 add-log-exp_binary64_1822
10×div-inv_binary64_1780
add-cbrt-cube_binary64_1819
associate-/l*_binary64_1728 pow1_binary64_1844
associate-/r/_binary64_1729 difference-of-sqr-1_binary64_1753 div-exp_binary64_1834
flip3--_binary64_1787 frac-add_binary64_1791 flip--_binary64_1758
inv-pow_binary64_1868 1-exp_binary64_1827 flip-+_binary64_1757 pow-flip_binary64_1857 diff-log_binary64_1875 frac-sub_binary64_1792 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 sum-log_binary64_1874 flip3-+_binary64_1786 clear-num_binary64_1782 sub-neg_binary64_1776 rec-exp_binary64_1833
+-commutative_binary64_1713 associate-+l-_binary64_1718
Counts
4 → 161
Calls

4 calls:

48.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
20.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
6.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

series85.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

49.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
14.0ms
(/.f64 1 (-.f64 x 1))
14.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
9.0ms
(/.f64 1 (+.f64 x 1))

simplify94.0ms (2.6%)

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049632797
149632797

prune231.0ms (6.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1703173
Fresh000
Picked101
Done000
Total1713174
Error
0.5b
Counts
174 → 3
Compiler

Compiled 3618 to 2904 computations (19.7% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (/.f64 1 (+.f64 1 x)))
0.0b
(sqrt.f64 (/.f64 1 (+.f64 1 x)))
0.2b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 1 x))) (sqrt.f64 (/.f64 1 (+.f64 1 x))))
9.4b
(+.f64 (-.f64 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 1 x))) (sqrt.f64 (/.f64 1 (+.f64 1 x)))) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite108.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
150×sqrt-prod_binary64_1799
138×*-un-lft-identity_binary64_1783
127×add-sqr-sqrt_binary64_1805
117×times-frac_binary64_1789
67×add-cube-cbrt_binary64_1818
31×swap-sqr_binary64_1750 pow1_binary64_1844
30×sqrt-pow1_binary64_1801
26×distribute-lft-out_binary64_1734
21×associate-*l*_binary64_1724 associate-*r*_binary64_1723
16×unswap-sqr_binary64_1751
14×associate-+l+_binary64_1716
13×cancel-sign-sub-inv_binary64_1749
12×associate-/r/_binary64_1729 rem-sqrt-square_binary64_1796
10×inv-pow_binary64_1868 div-inv_binary64_1780 pow-flip_binary64_1857 pow1/2_binary64_1863 sqrt-div_binary64_1800
pow-prod-up_binary64_1853 add-log-exp_binary64_1822
flip-+_binary64_1757 flip3-+_binary64_1786
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
frac-add_binary64_1791 pow-sqr_binary64_1756 pow-prod-down_binary64_1854
frac-sub_binary64_1792 sqr-abs_binary64_1798
associate-*r/_binary64_1725 associate-*l/_binary64_1726 sum-log_binary64_1874 frac-times_binary64_1793
flip3--_binary64_1787 +-commutative_binary64_1713 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 sqrt-unprod_binary64_1803 pow-plus_binary64_1846 associate-+l-_binary64_1718 diff-log_binary64_1875 *-commutative_binary64_1714 rem-square-sqrt_binary64_1795 flip--_binary64_1758 sub-neg_binary64_1776 pow2_binary64_1864
Counts
4 → 228
Calls

4 calls:

36.0ms
(+.f64 (-.f64 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 1 x))) (sqrt.f64 (/.f64 1 (+.f64 1 x)))) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
32.0ms
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 1 x))) (sqrt.f64 (/.f64 1 (+.f64 1 x))))
6.0ms
(sqrt.f64 (/.f64 1 (+.f64 1 x)))
6.0ms
(sqrt.f64 (/.f64 1 (+.f64 1 x)))

series96.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

48.0ms
(+.f64 (-.f64 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 1 x))) (sqrt.f64 (/.f64 1 (+.f64 1 x)))) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
21.0ms
(sqrt.f64 (/.f64 1 (+.f64 1 x)))
16.0ms
(sqrt.f64 (/.f64 1 (+.f64 1 x)))
10.0ms
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 1 x))) (sqrt.f64 (/.f64 1 (+.f64 1 x))))

simplify99.0ms (2.7%)

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049994132
149994132

prune412.0ms (11.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2400240
Fresh022
Picked011
Done000
Total2403243
Error
0.5b
Counts
243 → 3
Compiler

Compiled 6372 to 5235 computations (17.8% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 x (*.f64 (+.f64 1 x) 2))
0.0b
(*.f64 x (+.f64 1 x))
0.0b
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
17.0b
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

rewrite42.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
24×associate-*r/_binary64_1725
19×flip3--_binary64_1787 flip--_binary64_1758
16×add-sqr-sqrt_binary64_1805 frac-add_binary64_1791
13×*-un-lft-identity_binary64_1783
12×frac-times_binary64_1793
10×flip-+_binary64_1757 associate-*l*_binary64_1724 flip3-+_binary64_1786
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 add-cube-cbrt_binary64_1818 add-log-exp_binary64_1822 pow1_binary64_1844
associate-*r*_binary64_1723
distribute-lft-in_binary64_1732 associate-*l/_binary64_1726 distribute-rgt-in_binary64_1733
cancel-sign-sub-inv_binary64_1749 sub-neg_binary64_1776
associate-+l+_binary64_1716
associate-+r+_binary64_1715 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
+-commutative_binary64_1713 distribute-lft-out_binary64_1734 difference-of-sqr-1_binary64_1753 distribute-lft-out--_binary64_1735 diff-log_binary64_1875 sum-log_binary64_1874
Counts
4 → 102
Calls

4 calls:

12.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
9.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
6.0ms
(*.f64 x (+.f64 1 x))
3.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

series57.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

24.0ms
(*.f64 x (+.f64 1 x))
16.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))
12.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
4.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

simplify60.0ms (1.6%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
051233216

prune178.0ms (4.8%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1131114
Fresh101
Picked101
Done101
Total1161117
Error
0.5b
Counts
117 → 1
Compiler

Compiled 3927 to 2715 computations (30.9% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 (pow.f64 x 3) x)
0.5b
(/.f64 2 (-.f64 (pow.f64 x 3) x))

rewrite22.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt_binary64_1805
32×*-un-lft-identity_binary64_1783
27×times-frac_binary64_1789
20×difference-of-squares_binary64_1752
17×add-cube-cbrt_binary64_1818
associate-/r*_binary64_1727
sqr-pow_binary64_1755 unpow3_binary64_1849 unpow-prod-down_binary64_1862 distribute-lft-out--_binary64_1735 distribute-rgt-out--_binary64_1737 cube-prod_binary64_1811
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 add-log-exp_binary64_1822
associate-/l*_binary64_1728 cancel-sign-sub-inv_binary64_1749
flip3--_binary64_1787 associate-/r/_binary64_1729 flip--_binary64_1758 pow1_binary64_1844
div-inv_binary64_1780 diff-log_binary64_1875 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 div-exp_binary64_1834 clear-num_binary64_1782 sub-neg_binary64_1776
Counts
2 → 73
Calls

2 calls:

9.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
7.0ms
(-.f64 (pow.f64 x 3) x)

series65.0ms (1.8%)

Counts
2 → 6
Calls

2 calls:

42.0ms
(-.f64 (pow.f64 x 3) x)
23.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))

simplify88.0ms (2.4%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049731321
149731321

prune73.0ms (2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New76379
Fresh000
Picked011
Done000
Total76480
Error
0b
Counts
80 → 4
Compiler

Compiled 1124 to 815 computations (27.5% saved)

regimes147.0ms (4%)

Accuracy

Total 0.1b remaining (93.7%)

Threshold costs 0.1b (93.7%)

Compiler

Compiled 1808 to 1506 computations (16.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01813
11813

end0.0ms (0%)

sample1.6s (42.2%)

Algorithm
intervals
Results
188.0ms4534×body128valid
186.0ms1264×body1024valid
166.0ms1480×body512valid
54.0ms722×body256valid
0.0msbody128invalid
Compiler

Compiled 922 to 768 computations (16.7% saved)

Profiling

Loading profile data...