Details

Time bar (total: 3.4s)

analyze3.0ms (0.1%)

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)

sample19.0ms (0.5%)

Algorithm
intervals
Results
6.0ms61×body1024valid
4.0ms140×body128valid
3.0ms37×body512valid
1.0ms14×body256valid
0.0msbody2048valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify178.0ms (5.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.9b

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

rewrite17.0ms (0.5%)

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:

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

series103.0ms (3%)

Counts
2 → 6
Calls

2 calls:

73.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
29.0ms
(sqrt.f64 (+.f64 x 1))

simplify62.0ms (1.8%)

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05005794

prune59.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New44246
Fresh000
Picked011
Done000
Total44347

Merged error: 0.1b

Counts
47 → 3
Compiler

Compiled 860 to 591 computations (31.3% saved)

localize6.0ms (0.2%)

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

rewrite31.0ms (0.9%)

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 (3.9%)

Counts
3 → 9
Calls

3 calls:

62.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
46.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
27.0ms
(sqrt.f64 (+.f64 x 1))

simplify68.0ms (2%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049441516
149441516

prune200.0ms (5.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New79584
Fresh011
Picked011
Done101
Total80787

Merged error: 0.0b

Counts
87 → 7
Compiler

Compiled 3164 to 2408 computations (23.9% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite135.0ms (3.9%)

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:

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

series269.0ms (7.8%)

Counts
4 → 12
Calls

4 calls:

94.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
71.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)))))
52.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
51.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

simplify131.0ms (3.8%)

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049326672
149326672

prune604.0ms (17.6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2894293
Fresh325
Picked011
Done011
Total2928300

Merged error: 0b

Counts
300 → 8
Compiler

Compiled 9105 to 6793 computations (25.4% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1 x))
0.0b
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
0.1b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.5b
(pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 4)

rewrite45.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity_binary64_1799
28×sqrt-prod_binary64_1815
13×distribute-lft-out_binary64_1750
11×add-sqr-sqrt_binary64_1821
add-cube-cbrt_binary64_1834 unpow-prod-down_binary64_1878
pow1_binary64_1860
add-log-exp_binary64_1838
add-exp-log_binary64_1837
sqrt-div_binary64_1816 add-cbrt-cube_binary64_1835
pow-unpow_binary64_1876 pow1/2_binary64_1879 sqrt-pow1_binary64_1817 pow-pow_binary64_1871 flip3-+_binary64_1802 flip-+_binary64_1773
rem-sqrt-square_binary64_1812
sum-log_binary64_1890 +-commutative_binary64_1729 pow-to-exp_binary64_1868 pow-exp_binary64_1867 sqr-pow_binary64_1771 sqrt-pow2_binary64_1818
Counts
4 → 74
Calls

4 calls:

12.0ms
(pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 4)
10.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
9.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
4.0ms
(sqrt.f64 (+.f64 1 x))

series274.0ms (8%)

Counts
4 → 12
Calls

4 calls:

131.0ms
(pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 4)
78.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
41.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
23.0ms
(sqrt.f64 (+.f64 1 x))

simplify79.0ms (2.3%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
048991663
148991663

prune140.0ms (4.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh055
Picked011
Done022
Total86894

Merged error: 0b

Counts
94 → 8
Compiler

Compiled 2430 to 1885 computations (22.4% saved)

regimes25.0ms (0.7%)

Compiler

Compiled 194 to 155 computations (20.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample814.0ms (23.8%)

Algorithm
intervals
Results
219.0ms2125×body1024valid
127.0ms4200×body128valid
71.0ms952×body512valid
28.0ms222×body2048valid
25.0ms501×body256valid
0.0msbody128nan
Compiler

Compiled 218 to 177 computations (18.8% saved)

Profiling

Loading profile data...