Details

Time bar (total: 5.2s)

analyze3.0ms (0%)

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

sample27.0ms (0.5%)

Algorithm
intervals
Results
12.0ms66×body1024valid
4.0ms140×body128valid
3.0ms28×body512valid
1.0msbody2048valid
1.0ms14×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify172.0ms (3.3%)

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: 28.7b

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

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
15×sqrt-prod_binary64_1815
14×add-sqr-sqrt_binary64_1821 *-un-lft-identity_binary64_1799
cancel-sign-sub-inv_binary64_1765
add-cube-cbrt_binary64_1834
add-log-exp_binary64_1838 difference-of-squares_binary64_1768
pow1_binary64_1860 distribute-lft-out--_binary64_1751
sqrt-div_binary64_1816 add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837 distribute-lft-out_binary64_1750
sub-neg_binary64_1792 pow1/2_binary64_1879 diff-log_binary64_1891 flip--_binary64_1774 flip3--_binary64_1803 sqrt-pow1_binary64_1817 flip3-+_binary64_1802 rem-sqrt-square_binary64_1812 flip-+_binary64_1773
Counts
2 → 40
Calls

2 calls:

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

series98.0ms (1.9%)

Counts
2 → 6
Calls

2 calls:

72.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
26.0ms
(sqrt.f64 (+.f64 x 1))

simplify63.0ms (1.2%)

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05005794

prune101.0ms (1.9%)

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 1311 to 956 computations (27.1% 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)))

rewrite31.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity_binary64_1799
24×sqrt-prod_binary64_1815
21×distribute-lft-out_binary64_1750
18×times-frac_binary64_1805
16×add-sqr-sqrt_binary64_1821
15×add-cube-cbrt_binary64_1834
add-exp-log_binary64_1837
associate-/r*_binary64_1743
pow1_binary64_1860 add-log-exp_binary64_1838 add-cbrt-cube_binary64_1835
associate-/l*_binary64_1744 flip3-+_binary64_1802 flip-+_binary64_1773
sqrt-div_binary64_1816 div-exp_binary64_1850 associate-/r/_binary64_1745
sum-log_binary64_1890 clear-num_binary64_1798 +-commutative_binary64_1729 rec-exp_binary64_1849 frac-2neg_binary64_1810 pow1/2_binary64_1879 pow-flip_binary64_1873 1-exp_binary64_1843 cbrt-undiv_binary64_1833 sqrt-pow1_binary64_1817 div-inv_binary64_1796 rem-sqrt-square_binary64_1812 inv-pow_binary64_1884
Counts
3 → 75
Calls

3 calls:

12.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
9.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
4.0ms
(sqrt.f64 (+.f64 x 1))

series135.0ms (2.6%)

Counts
3 → 9
Calls

3 calls:

65.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
41.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
28.0ms
(sqrt.f64 (+.f64 x 1))

simplify68.0ms (1.3%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049441516
149441516

prune238.0ms (4.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New78684
Fresh202
Picked011
Done000
Total80787

Merged error: 0.0b

Counts
87 → 7
Compiler

Compiled 3663 to 2827 computations (22.8% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite136.0ms (2.6%)

Algorithm
rewrite-expression-head
Rules
310×*-un-lft-identity_binary64_1799
290×sqrt-prod_binary64_1815
172×times-frac_binary64_1805
144×add-sqr-sqrt_binary64_1821
116×distribute-lft-out_binary64_1750
88×add-cube-cbrt_binary64_1834
43×swap-sqr_binary64_1766
31×pow1_binary64_1860
27×associate-*l*_binary64_1740 sqrt-pow1_binary64_1817 associate-*r*_binary64_1739
16×unswap-sqr_binary64_1767
14×associate-/r/_binary64_1745 add-exp-log_binary64_1837
12×associate-/r*_binary64_1743
11×pow-flip_binary64_1873 inv-pow_binary64_1884
10×add-cbrt-cube_binary64_1835
pow1/2_binary64_1879 pow-prod-up_binary64_1869 div-inv_binary64_1796 rem-sqrt-square_binary64_1812
flip3-+_binary64_1802 flip-+_binary64_1773
associate-/l*_binary64_1744
sqrt-div_binary64_1816 pow-sqr_binary64_1772 pow-prod-down_binary64_1870
div-exp_binary64_1850 add-log-exp_binary64_1838
sqr-abs_binary64_1814
clear-num_binary64_1798 rec-exp_binary64_1849 frac-2neg_binary64_1810 1-exp_binary64_1843 cbrt-undiv_binary64_1833
pow2_binary64_1880 prod-exp_binary64_1848 associate-*r/_binary64_1741 cbrt-unprod_binary64_1832 *-commutative_binary64_1730 sqrt-unprod_binary64_1819 rem-square-sqrt_binary64_1811 pow-plus_binary64_1862 frac-times_binary64_1809 associate-*l/_binary64_1742
Counts
4 → 281
Calls

4 calls:

50.0ms
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
15.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
13.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
13.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

series303.0ms (5.8%)

Counts
4 → 12
Calls

4 calls:

108.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
68.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
68.0ms
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
59.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

simplify129.0ms (2.5%)

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049326672
149326672

prune689.0ms (13.2%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2867293
Fresh325
Picked011
Done011
Total28911300

Merged error: 0.0b

Counts
300 → 11
Compiler

Compiled 10363 to 7846 computations (24.3% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite150.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
702×sqrt-prod_binary64_1815
655×*-un-lft-identity_binary64_1799
461×times-frac_binary64_1805
264×distribute-lft-out_binary64_1750
197×add-sqr-sqrt_binary64_1821
192×add-cube-cbrt_binary64_1834
30×associate-/l*_binary64_1744
26×associate-/r/_binary64_1745
15×associate-/r*_binary64_1743
14×flip3-+_binary64_1802 flip-+_binary64_1773
13×div-inv_binary64_1796
12×pow1_binary64_1860
10×sqrt-pow1_binary64_1817 add-exp-log_binary64_1837
add-cbrt-cube_binary64_1835
sqrt-div_binary64_1816
pow-div_binary64_1874 add-log-exp_binary64_1838 pow1/2_binary64_1879 pow-flip_binary64_1873 rem-sqrt-square_binary64_1812 inv-pow_binary64_1884
div-exp_binary64_1850
clear-num_binary64_1798 frac-2neg_binary64_1810 cbrt-undiv_binary64_1833
rec-exp_binary64_1849 1-exp_binary64_1843 associate-/l/_binary64_1746 sqrt-undiv_binary64_1820
Counts
4 → 401
Calls

4 calls:

34.0ms
(/.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
14.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
12.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
9.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

series333.0ms (6.4%)

Counts
4 → 12
Calls

4 calls:

108.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
88.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
72.0ms
(/.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
65.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

simplify186.0ms (3.6%)

Algorithm
egg-herbie
Counts
413 → 413
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0523417279

prune1.4s (26.3%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New4103413
Fresh358
Picked011
Done112
Total41410424

Merged error: 0b

Counts
424 → 10
Compiler

Compiled 16704 to 12327 computations (26.2% saved)

regimes29.0ms (0.6%)

Compiler

Compiled 262 to 208 computations (20.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample902.0ms (17.3%)

Algorithm
intervals
Results
227.0ms2032×body1024valid
131.0ms4289×body128valid
83.0ms993×body512valid
28.0ms205×body2048valid
26.0ms481×body256valid
0.0msbody128nan
Compiler

Compiled 286 to 230 computations (19.6% saved)

Profiling

Loading profile data...