Details

Time bar (total: 3.6s)

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)

sample23.0ms (0.6%)

Algorithm
intervals
Results
8.0ms68×body1024valid
4.0ms138×body128valid
3.0ms32×body512valid
1.0ms14×body256valid
1.0msbody2048valid
Compiler

Compiled 27 to 22 computations (18.5% saved)

simplify175.0ms (4.8%)

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

Merged error: 29.2b

Counts
2 → 1
Compiler

Compiled 26 to 20 computations (23.1% saved)

localize10.0ms (0.3%)

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.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

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

40.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
8.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
5.0ms
(/.f64 x (+.f64 x 1))

series68.0ms (1.9%)

Counts
3 → 9
Calls

3 calls:

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

simplify81.0ms (2.2%)

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
056582774

prune195.0ms (5.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1533156
Fresh000
Picked101
Done000
Total1543157

Merged error: 0.0b

Counts
157 → 3
Compiler

Compiled 3052 to 2150 computations (29.6% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite52.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt_binary64_1805
69×*-un-lft-identity_binary64_1783
56×times-frac_binary64_1789
37×add-cube-cbrt_binary64_1818
27×associate-*r*_binary64_1723
19×add-exp-log_binary64_1821
14×difference-of-squares_binary64_1752
13×add-cbrt-cube_binary64_1819
11×associate-/r*_binary64_1727
difference-of-sqr-1_binary64_1753 distribute-lft-out--_binary64_1735 pow1_binary64_1844
associate-/r/_binary64_1729 associate-/l*_binary64_1728 frac-sub_binary64_1792 add-log-exp_binary64_1822
distribute-lft-out_binary64_1734 flip-+_binary64_1757 div-exp_binary64_1834 flip3-+_binary64_1786
prod-exp_binary64_1832 associate-*l*_binary64_1724 associate-*l/_binary64_1726 frac-times_binary64_1793
flip3--_binary64_1787 div-inv_binary64_1780 cbrt-undiv_binary64_1817 unswap-sqr_binary64_1751 flip--_binary64_1758
associate-*r/_binary64_1725 un-div-inv_binary64_1781 cbrt-unprod_binary64_1816 1-exp_binary64_1827 frac-2neg_binary64_1794 clear-num_binary64_1782 rec-exp_binary64_1833
inv-pow_binary64_1868 pow-flip_binary64_1857 cancel-sign-sub-inv_binary64_1749 diff-log_binary64_1875 *-commutative_binary64_1714 pow-prod-down_binary64_1854 sub-neg_binary64_1776
Counts
4 → 155
Calls

4 calls:

16.0ms
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1)))
11.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1))))
6.0ms
(/.f64 1 (-.f64 x 1))
5.0ms
(/.f64 x (+.f64 x 1))

series76.0ms (2.1%)

Counts
4 → 12
Calls

4 calls:

39.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1))))
14.0ms
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1)))
13.0ms
(/.f64 x (+.f64 x 1))
10.0ms
(/.f64 1 (-.f64 x 1))

simplify80.0ms (2.2%)

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
058012543

prune187.0ms (5.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1670167
Fresh022
Picked011
Done000
Total1673170

Merged error: 0.0b

Counts
170 → 3
Compiler

Compiled 3522 to 2552 computations (27.5% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(cbrt.f64 x)
0.5b
(cbrt.f64 x)
0.5b
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
18.1b
(-.f64 (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (+.f64 x 1))) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite46.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity_binary64_1783
50×add-sqr-sqrt_binary64_1805
34×cancel-sign-sub-inv_binary64_1749
28×times-frac_binary64_1789
26×add-cube-cbrt_binary64_1818
22×cbrt-prod_binary64_1814
11×pow1_binary64_1844
difference-of-squares_binary64_1752 pow1/3_binary64_1865
distribute-lft-out_binary64_1734
swap-sqr_binary64_1750 add-exp-log_binary64_1821 associate-*l*_binary64_1724 add-log-exp_binary64_1822 associate-*r*_binary64_1723
add-cbrt-cube_binary64_1819 difference-of-sqr-1_binary64_1753 distribute-lft-out--_binary64_1735 unswap-sqr_binary64_1751
flip3--_binary64_1787 associate-/r/_binary64_1729 pow-prod-up_binary64_1853 pow-sqr_binary64_1756 pow-prod-down_binary64_1854 flip--_binary64_1758
associate-*r/_binary64_1725 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 pow-plus_binary64_1846 div-inv_binary64_1780 diff-log_binary64_1875 frac-sub_binary64_1792 *-commutative_binary64_1714 sub-neg_binary64_1776 pow2_binary64_1864
Counts
4 → 108
Calls

4 calls:

24.0ms
(-.f64 (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (+.f64 x 1))) (/.f64 (+.f64 x 1) (-.f64 x 1)))
9.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
1.0ms
(cbrt.f64 x)
1.0ms
(cbrt.f64 x)

series318.0ms (8.8%)

Counts
4 → 12
Calls

4 calls:

98.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
87.0ms
(cbrt.f64 x)
85.0ms
(cbrt.f64 x)
48.0ms
(-.f64 (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (+.f64 x 1))) (/.f64 (+.f64 x 1) (-.f64 x 1)))

simplify74.0ms (2.1%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050261467

prune128.0ms (3.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh011
Picked011
Done011
Total1203123

Merged error: 0.0b

Counts
123 → 3
Compiler

Compiled 2780 to 1561 computations (43.8% 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.4b
(/.f64 3 (pow.f64 x 3))
0.7b
(/.f64 -1 (*.f64 x x))
7.2b
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3))))

rewrite93.0ms (2.6%)

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:

40.0ms
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3))))
31.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))

series115.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

57.0ms
(+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3)))
23.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))))

simplify78.0ms (2.2%)

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050452493

prune176.0ms (4.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1521153
Fresh000
Picked011
Done022
Total1524156

Merged error: 0b

Counts
156 → 4
Compiler

Compiled 3142 to 2183 computations (30.5% saved)

regimes167.0ms (4.6%)

Compiler

Compiled 1622 to 1256 computations (22.6% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09077
19077

end0.0ms (0%)

sample1.4s (37.7%)

Algorithm
intervals
Results
250.0ms2047×body1024valid
147.0ms4282×body128valid
90.0ms931×body512valid
34.0ms540×body256valid
31.0ms200×body2048valid
Compiler

Compiled 813 to 627 computations (22.9% saved)

Profiling

Loading profile data...