Details

Time bar (total: 3.7s)

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)

sample20.0ms (0.5%)

Algorithm
intervals
Results
7.0ms67×body1024valid
4.0ms140×body128valid
2.0ms25×body512valid
1.0ms11×body2048valid
1.0ms13×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify169.0ms (4.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.1b

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.8b
(-.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:

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

series102.0ms (2.7%)

Counts
2 → 6
Calls

2 calls:

75.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
27.0ms
(sqrt.f64 (+.f64 x 1))

simplify63.0ms (1.7%)

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05005794

prune74.0ms (2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0.1b

Counts
47 → 3
Compiler

Compiled 1029 to 725 computations (29.5% saved)

localize7.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.8%)

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.6%)

Counts
3 → 9
Calls

3 calls:

61.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
44.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
30.0ms
(sqrt.f64 (+.f64 x 1))

simplify68.0ms (1.8%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049441516
149441516

prune189.0ms (5.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New78684
Fresh112
Picked011
Done000
Total79887

Merged error: 0.0b

Counts
87 → 8
Compiler

Compiled 3028 to 2316 computations (23.5% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite68.0ms (1.8%)

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

4 calls:

20.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))))
19.0ms
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
5.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
5.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))

series181.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

68.0ms
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
41.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
40.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
31.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))))

simplify71.0ms (1.9%)

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049692509
149692509

prune439.0ms (11.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1792181
Fresh066
Picked101
Done011
Total1809189

Merged error: 0.0b

Counts
189 → 9
Compiler

Compiled 4147 to 3152 computations (24% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite38.0ms (1%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64_1821 *-un-lft-identity_binary64_1799
18×add-cube-cbrt_binary64_1834
13×cbrt-prod_binary64_1830
10×add-exp-log_binary64_1837 associate-*r*_binary64_1739
sqrt-prod_binary64_1815 times-frac_binary64_1805
add-cbrt-cube_binary64_1835
pow1_binary64_1860
cbrt-div_binary64_1831
add-log-exp_binary64_1838 flip3-+_binary64_1802 flip-+_binary64_1773
associate-/l*_binary64_1744 unswap-sqr_binary64_1767 associate-/r*_binary64_1743 associate-*l*_binary64_1740 distribute-lft-out_binary64_1750
sqrt-div_binary64_1816 div-exp_binary64_1850 pow1/3_binary64_1881 associate-*r/_binary64_1741 associate-/r/_binary64_1745
clear-num_binary64_1798 prod-exp_binary64_1848 rec-exp_binary64_1849 frac-2neg_binary64_1810 pow-flip_binary64_1873 1-exp_binary64_1843 cbrt-undiv_binary64_1833 cbrt-unprod_binary64_1832 *-commutative_binary64_1730 div-inv_binary64_1796 pow-prod-down_binary64_1870 inv-pow_binary64_1884
Counts
4 → 90
Calls

4 calls:

12.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
10.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
4.0ms
(cbrt.f64 (+.f64 1 x))
3.0ms
(cbrt.f64 (+.f64 1 x))

series767.0ms (20.5%)

Counts
4 → 12
Calls

4 calls:

584.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
85.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
49.0ms
(cbrt.f64 (+.f64 1 x))
48.0ms
(cbrt.f64 (+.f64 1 x))

simplify92.0ms (2.5%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
048693063
148693063

prune241.0ms (6.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New993102
Fresh167
Picked101
Done011
Total10110111

Merged error: 0.0b

Counts
111 → 10
Compiler

Compiled 4284 to 3375 computations (21.2% saved)

regimes51.0ms (1.4%)

Compiler

Compiled 552 to 454 computations (17.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample877.0ms (23.5%)

Algorithm
intervals
Results
220.0ms2039×body1024valid
125.0ms4318×body128valid
75.0ms941×body512valid
29.0ms223×body2048valid
25.0ms479×body256valid
Compiler

Compiled 294 to 244 computations (17% saved)

Profiling

Loading profile data...