Details

Time bar (total: 8.9s)

analyze168.0ms (1.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07517
17517
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%0%50%2
Compiler

Compiled 12 to 11 computations (8.3% saved)

sample57.0ms (0.6%)

Algorithm
intervals
Results
21.0ms70×body1024valid
14.0ms37×body512valid
10.0ms130×body128valid
3.0ms19×body256valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify19.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (9.0ms)

IterNodesCost
07517
17517

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
22.9b
Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite131.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
127×add-sqr-sqrt_binary64_1805
118×times-frac_binary64_1789
117×*-un-lft-identity_binary64_1783
76×sqrt-prod_binary64_1799
56×add-cube-cbrt_binary64_1818
27×cancel-sign-sub-inv_binary64_1749
25×difference-of-squares_binary64_1752
13×associate-/r*_binary64_1727 distribute-lft-out--_binary64_1735
12×add-exp-log_binary64_1821
11×distribute-lft-out_binary64_1734
pow1_binary64_1844
add-cbrt-cube_binary64_1819
div-inv_binary64_1780
associate-/l*_binary64_1728 pow-flip_binary64_1857 sqrt-div_binary64_1800 add-log-exp_binary64_1822
associate-/r/_binary64_1729 div-exp_binary64_1834
flip-+_binary64_1757 pow1/2_binary64_1863 flip3-+_binary64_1786 sqrt-pow1_binary64_1801
inv-pow_binary64_1868 1-exp_binary64_1827 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 clear-num_binary64_1782 rec-exp_binary64_1833
flip3--_binary64_1787 diff-log_binary64_1875 frac-sub_binary64_1792 rem-sqrt-square_binary64_1796 flip--_binary64_1758 sub-neg_binary64_1776
Counts
4 → 189
Calls

4 calls:

67.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
17.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
8.0ms
(/.f64 1 (sqrt.f64 x))
6.0ms
(sqrt.f64 (+.f64 x 1))

series149.0ms (1.7%)

Counts
4 → 18
Calls

4 calls:

47.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
44.0ms
(sqrt.f64 (+.f64 x 1))
35.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
23.0ms
(/.f64 1 (sqrt.f64 x))
Compiler

Compiled 370 to 323 computations (12.7% saved)

simplify174.0ms (1.9%)

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 0 (99.0ms)

IterNodesCost
048603341
148603341

prune443.0ms (5%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New19512207
Fresh000
Picked101
Done000
Total19612208
Error
22.2b
Counts
208 → 12
Compiler

Compiled 3646 to 2719 computations (25.4% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1 x))
0.1b
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
0.3b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
3.8b
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))

rewrite104.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt_binary64_1805
42×sqrt-prod_binary64_1799
38×*-un-lft-identity_binary64_1783
13×add-cube-cbrt_binary64_1818
12×difference-of-squares_binary64_1752
11×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
10×associate-/l*_binary64_1728 times-frac_binary64_1789
distribute-lft-out--_binary64_1735 pow1_binary64_1844
associate-*r*_binary64_1723
cancel-sign-sub-inv_binary64_1749 associate-*l*_binary64_1724 sqrt-div_binary64_1800 add-log-exp_binary64_1822
distribute-lft-out_binary64_1734
associate-*r/_binary64_1725 unswap-sqr_binary64_1751
flip-+_binary64_1757 pow1/2_binary64_1863 flip3-+_binary64_1786 sqrt-pow1_binary64_1801 pow-prod-down_binary64_1854
flip3--_binary64_1787 associate-/l/_binary64_1730 associate-/r/_binary64_1729 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 cbrt-undiv_binary64_1817 div-exp_binary64_1834 flip--_binary64_1758
div-sub_binary64_1788 sqrt-unprod_binary64_1803 div-inv_binary64_1780 associate-/r*_binary64_1727 diff-log_binary64_1875 *-commutative_binary64_1714 frac-2neg_binary64_1794 clear-num_binary64_1782 rem-sqrt-square_binary64_1796 sub-neg_binary64_1776
Counts
4 → 113
Calls

4 calls:

40.0ms
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
19.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
18.0ms
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
6.0ms
(sqrt.f64 (+.f64 1 x))

series239.0ms (2.7%)

Counts
4 → 16
Calls

4 calls:

109.0ms
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
57.0ms
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
42.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
30.0ms
(sqrt.f64 (+.f64 1 x))
Compiler

Compiled 503 to 398 computations (20.9% saved)

simplify113.0ms (1.3%)

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
051462109

prune271.0ms (3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1281129
Fresh7411
Picked101
Done000
Total1365141
Error
0.3b
Counts
141 → 5
Compiler

Compiled 2612 to 1691 computations (35.3% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite138.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
114×*-un-lft-identity_binary64_1783
78×times-frac_binary64_1789
55×sqrt-prod_binary64_1799
49×add-sqr-sqrt_binary64_1805
42×distribute-lft-out_binary64_1734
40×add-cube-cbrt_binary64_1818
32×add-exp-log_binary64_1821
27×associate-/l*_binary64_1728
20×add-cbrt-cube_binary64_1819
14×div-exp_binary64_1834
10×pow1_binary64_1844
associate-/r/_binary64_1729
associate-/r*_binary64_1727 cbrt-undiv_binary64_1817 associate-*r*_binary64_1723
flip-+_binary64_1757 associate-*l*_binary64_1724 sqrt-div_binary64_1800 flip3-+_binary64_1786
prod-exp_binary64_1832
associate-*r/_binary64_1725 div-inv_binary64_1780 unswap-sqr_binary64_1751 add-log-exp_binary64_1822
cbrt-unprod_binary64_1816 1-exp_binary64_1827 pow1/2_binary64_1863 sqrt-pow1_binary64_1801 pow-prod-down_binary64_1854 rec-exp_binary64_1833
frac-2neg_binary64_1794 clear-num_binary64_1782
associate-/l/_binary64_1730 inv-pow_binary64_1868 sqrt-unprod_binary64_1803 pow-flip_binary64_1857 *-commutative_binary64_1714 rem-sqrt-square_binary64_1796
Counts
4 → 168
Calls

4 calls:

42.0ms
(/.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
23.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
21.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
7.0ms
(sqrt.f64 (+.f64 1 x))

series204.0ms (2.3%)

Counts
4 → 17
Calls

4 calls:

81.0ms
(/.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
57.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
33.0ms
(sqrt.f64 (+.f64 1 x))
33.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 458 to 377 computations (17.7% saved)

simplify182.0ms (2%)

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 0 (106.0ms)

IterNodesCost
049743645
149743645

prune467.0ms (5.2%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1778185
Fresh134
Picked101
Done000
Total17911190
Error
0b
Counts
190 → 11
Compiler

Compiled 4322 to 2994 computations (30.7% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite146.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
109×add-sqr-sqrt_binary64_1805
82×times-frac_binary64_1789
66×*-un-lft-identity_binary64_1783
54×add-exp-log_binary64_1821
53×add-cube-cbrt_binary64_1818
38×sqrt-prod_binary64_1799
29×associate-*r*_binary64_1723
28×associate-*l*_binary64_1724
22×add-cbrt-cube_binary64_1819
20×div-exp_binary64_1834
19×unswap-sqr_binary64_1751
17×prod-exp_binary64_1832
15×pow1_binary64_1844
12×associate-/r/_binary64_1729
11×associate-*r/_binary64_1725 flip-+_binary64_1757 flip3-+_binary64_1786
10×1-exp_binary64_1827 associate-/r*_binary64_1727 sqrt-div_binary64_1800 rec-exp_binary64_1833
frac-add_binary64_1791
distribute-rgt-out_binary64_1736
associate-/l*_binary64_1728 pow-flip_binary64_1857 cbrt-undiv_binary64_1817 pow-prod-down_binary64_1854
cbrt-unprod_binary64_1816
inv-pow_binary64_1868 div-inv_binary64_1780 add-log-exp_binary64_1822
pow1/2_binary64_1863 sqrt-pow1_binary64_1801
*-commutative_binary64_1714 frac-2neg_binary64_1794 clear-num_binary64_1782
un-div-inv_binary64_1781 distribute-lft-out_binary64_1734 sqrt-unprod_binary64_1803 associate-*l/_binary64_1726 frac-times_binary64_1793
Counts
4 → 213
Calls

4 calls:

54.0ms
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (+.f64 (+.f64 x 1) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1))))))
19.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1)))
16.0ms
(/.f64 1 (+.f64 (+.f64 x 1) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1)))))
12.0ms
(/.f64 1 (sqrt.f64 x))

series203.0ms (2.3%)

Counts
4 → 16
Calls

4 calls:

66.0ms
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (+.f64 (+.f64 x 1) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1))))))
56.0ms
(/.f64 1 (+.f64 (+.f64 x 1) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1)))))
50.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1)))
31.0ms
(/.f64 1 (sqrt.f64 x))
Compiler

Compiled 468 to 399 computations (14.7% saved)

simplify204.0ms (2.3%)

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 0 (110.0ms)

IterNodesCost
050175104

prune543.0ms (6.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2263229
Fresh6410
Picked101
Done000
Total2337240
Error
0b
Counts
240 → 7
Compiler

Compiled 5673 to 3795 computations (33.1% saved)

regimes479.0ms (5.4%)

Accuracy

Total 0.2b remaining (98%)

Threshold costs 0.2b (98%)

Compiler

Compiled 2990 to 2398 computations (19.8% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01726
11726

end0.0ms (0%)

sample4.4s (49.4%)

Algorithm
intervals
Results
677.0ms2253×body1024valid
329.0ms4239×body128valid
229.0ms1001×body512valid
74.0ms507×body256valid
Compiler

Compiled 1527 to 1226 computations (19.7% saved)

Profiling

Loading profile data...