Details

Time bar (total: 7.6s)

analyze172.0ms (2.3%)

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)

sample39.0ms (0.5%)

Algorithm
intervals
Results
13.0ms65×body1024valid
7.0ms129×body128valid
6.0ms38×body512valid
2.0ms19×body256valid
1.0msbody2048valid
0.0msbody128nan
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify18.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
07111
17111

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
31.6b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite28.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:

18.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
6.0ms
(sqrt.f64 (+.f64 x 1))

series79.0ms (1.1%)

Counts
2 → 9
Calls

2 calls:

54.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
26.0ms
(sqrt.f64 (+.f64 x 1))
Compiler

Compiled 170 to 142 computations (16.5% saved)

simplify70.0ms (0.9%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04932589
14932589

prune82.0ms (1.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New46349
Fresh000
Picked101
Done000
Total47350
Error
0.1b
Counts
50 → 3
Compiler

Compiled 583 to 384 computations (34.1% saved)

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

rewrite52.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:

21.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
15.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
6.0ms
(sqrt.f64 (+.f64 x 1))

series87.0ms (1.2%)

Counts
3 → 12
Calls

3 calls:

31.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
31.0ms
(sqrt.f64 (+.f64 x 1))
25.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 182 to 168 computations (7.7% saved)

simplify137.0ms (1.8%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (102.0ms)

IterNodesCost
049111227
149111227

prune159.0ms (2.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New81687
Fresh112
Picked011
Done000
Total82890
Error
0.0b
Counts
90 → 8
Compiler

Compiled 1309 to 958 computations (26.8% saved)

localize19.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.2b
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
0.3b
(cbrt.f64 (+.f64 1 x))
0.3b
(cbrt.f64 (+.f64 1 x))

rewrite69.0ms (0.9%)

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:

25.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
18.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
6.0ms
(cbrt.f64 (+.f64 1 x))
6.0ms
(cbrt.f64 (+.f64 1 x))

series469.0ms (6.2%)

Counts
4 → 30
Calls

4 calls:

175.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
129.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
82.0ms
(cbrt.f64 (+.f64 1 x))
81.0ms
(cbrt.f64 (+.f64 1 x))
Compiler

Compiled 1101 to 969 computations (12% saved)

simplify174.0ms (2.3%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (122.0ms)

IterNodesCost
048402640
148402640

prune301.0ms (4%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1191120
Fresh156
Picked011
Done011
Total1208128
Error
0.0b
Counts
128 → 8
Compiler

Compiled 2938 to 2261 computations (23% saved)

localize25.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.2b
(/.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))))

rewrite276.0ms (3.7%)

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:

64.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))))
23.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
16.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
16.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

series172.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

46.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)))
43.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
36.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))))
Compiler

Compiled 408 to 368 computations (9.8% saved)

simplify424.0ms (5.6%)

Algorithm
egg-herbie
Counts
465 → 465
Iterations

Useful iterations: 0 (149.0ms)

IterNodesCost
0487514766
1487514766

prune1.4s (19.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4614465
Fresh235
Picked101
Done112
Total4658473
Error
0b
Counts
473 → 8
Compiler

Compiled 11336 to 8340 computations (26.4% saved)

regimes309.0ms (4.1%)

Accuracy

Total 0.2b remaining (96.1%)

Threshold costs 0.2b (96.1%)

Compiler

Compiled 1851 to 1516 computations (18.1% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample2.9s (38.6%)

Algorithm
intervals
Results
408.0ms2033×body1024valid
233.0ms4240×body128valid
160.0ms1003×body512valid
55.0ms217×body2048valid
51.0ms507×body256valid
0.0msbody128nan
Compiler

Compiled 910 to 747 computations (17.9% saved)

Profiling

Loading profile data...