Details

Time bar (total: 4.7s)

analyze95.0ms (2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07111
17111
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%12.5%37.5%4
50%6.2%43.8%5
50%3.1%46.9%6
50%1.6%48.5%7
50%0.8%49.2%8
50%0.4%49.6%9
50%0.2%49.8%10
50%0.1%49.9%11
50%0%50%12
50%0%50%13
50%0%50%14
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample24.0ms (0.5%)

Algorithm
intervals
Results
7.0ms123×body128valid
7.0ms71×body1024valid
3.0ms36×body512valid
1.0ms10×body2048valid
1.0ms16×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify10.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.3b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(sqrt.f64 (+.f64 x 1))
2.9b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×sqrt-prod_binary64_1799
14×add-sqr-sqrt_binary64_1805 *-un-lft-identity_binary64_1783
cancel-sign-sub-inv_binary64_1749
add-cube-cbrt_binary64_1818
difference-of-squares_binary64_1752 add-log-exp_binary64_1822
distribute-lft-out--_binary64_1735 pow1_binary64_1844
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 distribute-lft-out_binary64_1734 sqrt-div_binary64_1800
flip3--_binary64_1787 flip-+_binary64_1757 pow1/2_binary64_1863 diff-log_binary64_1875 flip3-+_binary64_1786 sqrt-pow1_binary64_1801 rem-sqrt-square_binary64_1796 flip--_binary64_1758 sub-neg_binary64_1776
Counts
2 → 40
Calls

2 calls:

9.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 x 1))

series52.0ms (1.1%)

Counts
2 → 6
Calls

2 calls:

38.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
14.0ms
(sqrt.f64 (+.f64 x 1))

simplify76.0ms (1.6%)

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04936794
14936794

prune49.0ms (1.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0.2b

Counts
47 → 3
Compiler

Compiled 706 to 464 computations (34.3% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (+.f64 x 1))
0.0b
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

rewrite29.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity_binary64_1783
24×sqrt-prod_binary64_1799
21×distribute-lft-out_binary64_1734
18×times-frac_binary64_1789
16×add-sqr-sqrt_binary64_1805
15×add-cube-cbrt_binary64_1818
add-exp-log_binary64_1821
associate-/r*_binary64_1727
add-cbrt-cube_binary64_1819 add-log-exp_binary64_1822 pow1_binary64_1844
associate-/l*_binary64_1728 flip-+_binary64_1757 flip3-+_binary64_1786
associate-/r/_binary64_1729 sqrt-div_binary64_1800 div-exp_binary64_1834
+-commutative_binary64_1713 inv-pow_binary64_1868 1-exp_binary64_1827 div-inv_binary64_1780 pow-flip_binary64_1857 pow1/2_binary64_1863 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 sum-log_binary64_1874 sqrt-pow1_binary64_1801 clear-num_binary64_1782 rem-sqrt-square_binary64_1796 rec-exp_binary64_1833
Counts
3 → 75
Calls

3 calls:

10.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
10.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 x 1))

series68.0ms (1.5%)

Counts
3 → 9
Calls

3 calls:

31.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
22.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
14.0ms
(sqrt.f64 (+.f64 x 1))

simplify59.0ms (1.3%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049171530
149171530

prune98.0ms (2.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New741084
Fresh202
Picked011
Done000
Total761187

Merged error: 0.0b

Counts
87 → 11
Compiler

Compiled 1533 to 1096 computations (28.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
0.2b
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
0.3b
(cbrt.f64 (+.f64 1 x))
0.3b
(cbrt.f64 (+.f64 1 x))

rewrite37.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64_1805 *-un-lft-identity_binary64_1783
18×add-cube-cbrt_binary64_1818
13×cbrt-prod_binary64_1814
10×add-exp-log_binary64_1821 associate-*r*_binary64_1723
sqrt-prod_binary64_1799 times-frac_binary64_1789
add-cbrt-cube_binary64_1819
pow1_binary64_1844
cbrt-div_binary64_1815
flip-+_binary64_1757 flip3-+_binary64_1786 add-log-exp_binary64_1822
associate-/l*_binary64_1728 distribute-lft-out_binary64_1734 associate-/r*_binary64_1727 associate-*l*_binary64_1724 unswap-sqr_binary64_1751
associate-*r/_binary64_1725 associate-/r/_binary64_1729 sqrt-div_binary64_1800 div-exp_binary64_1834 pow1/3_binary64_1865
inv-pow_binary64_1868 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 1-exp_binary64_1827 div-inv_binary64_1780 pow-flip_binary64_1857 cbrt-undiv_binary64_1817 *-commutative_binary64_1714 frac-2neg_binary64_1794 clear-num_binary64_1782 pow-prod-down_binary64_1854 rec-exp_binary64_1833
Counts
4 → 90
Calls

4 calls:

14.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
9.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
3.0ms
(cbrt.f64 (+.f64 1 x))
3.0ms
(cbrt.f64 (+.f64 1 x))

series415.0ms (8.9%)

Counts
4 → 12
Calls

4 calls:

325.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
42.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
25.0ms
(cbrt.f64 (+.f64 1 x))
23.0ms
(cbrt.f64 (+.f64 1 x))

simplify80.0ms (1.7%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049443191
149443191

prune182.0ms (3.9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1002102
Fresh189
Picked101
Done011
Total10211113

Merged error: 0.0b

Counts
113 → 11
Compiler

Compiled 3165 to 2447 computations (22.7% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
0.1b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.1b
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
0.2b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))

rewrite148.0ms (3.2%)

Algorithm
rewrite-expression-head
Rules
742×*-un-lft-identity_binary64_1783
700×sqrt-prod_binary64_1799
594×times-frac_binary64_1789
280×distribute-lft-out_binary64_1734
254×add-sqr-sqrt_binary64_1805
252×add-cube-cbrt_binary64_1818
36×associate-/l*_binary64_1728
28×sqrt-div_binary64_1800
24×associate-/r/_binary64_1729
18×associate-/r*_binary64_1727
17×add-exp-log_binary64_1821
14×flip-+_binary64_1757 flip3-+_binary64_1786
12×div-inv_binary64_1780
11×add-cbrt-cube_binary64_1819
div-exp_binary64_1834 pow1_binary64_1844
cbrt-undiv_binary64_1817 add-log-exp_binary64_1822
pow-flip_binary64_1857 pow1/2_binary64_1863 sqrt-pow1_binary64_1801
1-exp_binary64_1827 frac-2neg_binary64_1794 clear-num_binary64_1782 rem-sqrt-square_binary64_1796 rec-exp_binary64_1833
associate-/l/_binary64_1730 inv-pow_binary64_1868
Counts
4 → 453
Calls

4 calls:

35.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))
12.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
8.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
8.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

series170.0ms (3.6%)

Counts
4 → 12
Calls

4 calls:

50.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
46.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
40.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
34.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))

simplify234.0ms (5%)

Algorithm
egg-herbie
Counts
465 → 465
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
0490317091
1490317091

prune936.0ms (20.1%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New4614465
Fresh189
Picked101
Done011
Total46313476

Merged error: 0.0b

Counts
476 → 13
Compiler

Compiled 12715 to 9345 computations (26.5% saved)

regimes193.0ms (4.1%)

Compiler

Compiled 2380 to 1917 computations (19.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample1.7s (35.5%)

Algorithm
intervals
Results
218.0ms2107×body1024valid
115.0ms4254×body128valid
70.0ms953×body512valid
30.0ms227×body2048valid
26.0ms459×body256valid
0.0msbody128nan
Compiler

Compiled 1162 to 938 computations (19.3% saved)

Profiling

Loading profile data...