Details

Time bar (total: 3.6s)

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

sample26.0ms (0.7%)

Algorithm
intervals
Results
8.0ms39×body512valid
8.0ms76×body1024valid
3.0ms120×body128valid
1.0msbody2048valid
1.0ms13×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify98.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.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: 33.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.7b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

rewrite15.0ms (0.4%)

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

series54.0ms (1.5%)

Counts
2 → 6
Calls

2 calls:

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

simplify73.0ms (2%)

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
04936794
14936794

prune48.0ms (1.3%)

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 697 to 458 computations (34.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.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

rewrite27.0ms (0.7%)

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:

11.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
8.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 x 1))

series66.0ms (1.8%)

Counts
3 → 9
Calls

3 calls:

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

simplify58.0ms (1.6%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049171530
149171530

prune96.0ms (2.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New76884
Fresh202
Picked011
Done000
Total78987

Merged error: 0.0b

Counts
87 → 9
Compiler

Compiled 1523 to 1082 computations (29% 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.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)))))

rewrite116.0ms (3.2%)

Algorithm
rewrite-expression-head
Rules
310×*-un-lft-identity_binary64_1783
290×sqrt-prod_binary64_1799
172×times-frac_binary64_1789
144×add-sqr-sqrt_binary64_1805
116×distribute-lft-out_binary64_1734
88×add-cube-cbrt_binary64_1818
43×swap-sqr_binary64_1750
31×pow1_binary64_1844
27×associate-*l*_binary64_1724 sqrt-pow1_binary64_1801 associate-*r*_binary64_1723
16×unswap-sqr_binary64_1751
14×associate-/r/_binary64_1729 add-exp-log_binary64_1821
12×associate-/r*_binary64_1727
11×inv-pow_binary64_1868 pow-flip_binary64_1857
10×add-cbrt-cube_binary64_1819
div-inv_binary64_1780 pow-prod-up_binary64_1853 pow1/2_binary64_1863 rem-sqrt-square_binary64_1796
flip-+_binary64_1757 flip3-+_binary64_1786
associate-/l*_binary64_1728
pow-sqr_binary64_1756 sqrt-div_binary64_1800 pow-prod-down_binary64_1854
div-exp_binary64_1834 add-log-exp_binary64_1822
sqr-abs_binary64_1798
1-exp_binary64_1827 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 clear-num_binary64_1782 rec-exp_binary64_1833
associate-*r/_binary64_1725 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 sqrt-unprod_binary64_1803 pow-plus_binary64_1846 associate-*l/_binary64_1726 *-commutative_binary64_1714 frac-times_binary64_1793 rem-square-sqrt_binary64_1795 pow2_binary64_1864
Counts
4 → 281
Calls

4 calls:

42.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)))))
14.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
11.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
11.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

series148.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

52.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
34.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
34.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)))))
28.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

simplify109.0ms (3%)

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050336769

prune510.0ms (14.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2885293
Fresh527
Picked011
Done011
Total2939302

Merged error: 0.0b

Counts
302 → 9
Compiler

Compiled 7525 to 5505 computations (26.8% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite52.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity_binary64_1783
34×sqrt-prod_binary64_1799
31×unpow-prod-down_binary64_1862
19×add-sqr-sqrt_binary64_1805
18×add-cube-cbrt_binary64_1818
16×distribute-lft-out_binary64_1734 pow-unpow_binary64_1860
times-frac_binary64_1789
add-exp-log_binary64_1821 pow1_binary64_1844
add-log-exp_binary64_1822
pow-exp_binary64_1851
add-cbrt-cube_binary64_1819 pow-pow_binary64_1855
sqr-pow_binary64_1755 pow-to-exp_binary64_1852
flip-+_binary64_1757 pow1/2_binary64_1863 sqrt-div_binary64_1800 flip3-+_binary64_1786 sqrt-pow1_binary64_1801
+-commutative_binary64_1713 div-inv_binary64_1780 sum-log_binary64_1874 rem-sqrt-square_binary64_1796 sqrt-pow2_binary64_1802
Counts
4 → 97
Calls

4 calls:

14.0ms
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 4) (/.f64 -1 2))
10.0ms
(pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 4)
8.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
8.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))

series241.0ms (6.7%)

Counts
4 → 12
Calls

4 calls:

114.0ms
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 4) (/.f64 -1 2))
66.0ms
(pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 4)
40.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
20.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))

simplify85.0ms (2.4%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
048892570
148892570

prune140.0ms (3.9%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1063109
Fresh246
Picked011
Done112
Total1099118

Merged error: 0b

Counts
118 → 9
Compiler

Compiled 2274 to 1755 computations (22.8% saved)

regimes151.0ms (4.2%)

Compiler

Compiled 1789 to 1473 computations (17.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample1.4s (40.2%)

Algorithm
intervals
Results
203.0ms1944×body1024valid
126.0ms4389×body128valid
76.0ms982×body512valid
28.0ms219×body2048valid
27.0ms466×body256valid
Compiler

Compiled 871 to 720 computations (17.3% saved)

Profiling

Loading profile data...