Details

Time bar (total: 5.1s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%56.2%43.8%0
0%56.2%43.8%1
28.1%28.1%43.8%2
56.2%0%43.8%3
Compiler

Compiled 20 to 16 computations (20% saved)

sample26.0ms (0.5%)

Algorithm
intervals
Results
7.0ms189×body128valid
5.0ms35×body1024valid
4.0ms256×pre128true
2.0ms22×body512valid
1.0msbody2048valid
0.0msbody256valid
Compiler

Compiled 33 to 29 computations (12.1% saved)

simplify310.0ms (6.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (137.0ms)

IterNodesCost
0513919

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.8b

Counts
2 → 1
Compiler

Compiled 26 to 22 computations (15.4% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2))
1.2b
(+.f64 (/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2)) 1)

rewrite38.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64_1799
26×add-sqr-sqrt_binary64_1821
25×times-frac_binary64_1805
19×distribute-lft-out_binary64_1750
14×add-cube-cbrt_binary64_1834
difference-of-squares_binary64_1768 distribute-lft-out--_binary64_1751
associate-/l*_binary64_1744 associate-/r*_binary64_1743
add-log-exp_binary64_1838 add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837
pow1_binary64_1860 div-sub_binary64_1804 associate-/r/_binary64_1745 associate-/l/_binary64_1746 flip3-+_binary64_1802 flip-+_binary64_1773
sum-log_binary64_1890 clear-num_binary64_1798 div-exp_binary64_1850 +-commutative_binary64_1729 frac-2neg_binary64_1810 flip--_binary64_1774 flip3--_binary64_1803 cbrt-undiv_binary64_1833 div-inv_binary64_1796 associate-+l-_binary64_1734
Counts
2 → 65
Calls

2 calls:

20.0ms
(+.f64 (/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2)) 1)
11.0ms
(/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2))

series158.0ms (3.1%)

Counts
2 → 6
Calls

2 calls:

90.0ms
(+.f64 (/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2)) 1)
68.0ms
(/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2))

simplify63.0ms (1.3%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
052201488

prune251.0ms (5%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New601171
Fresh000
Picked101
Done000
Total611172

Merged error: 16.1b

Counts
72 → 11
Compiler

Compiled 5079 to 3389 computations (33.3% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)) 2)
0.0b
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))
0.0b
(/.f64 alpha (+.f64 (+.f64 beta alpha) 2))
1.2b
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)

rewrite86.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
101×*-un-lft-identity_binary64_1799
68×add-sqr-sqrt_binary64_1821
58×times-frac_binary64_1805
37×add-cube-cbrt_binary64_1834
24×distribute-lft-out_binary64_1750
13×associate-/l*_binary64_1744 associate-/r*_binary64_1743 distribute-lft-out--_binary64_1751
12×difference-of-squares_binary64_1768
10×add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837
add-log-exp_binary64_1838
pow1_binary64_1860 associate-/r/_binary64_1745 associate-/l/_binary64_1746
clear-num_binary64_1798 div-exp_binary64_1850 frac-2neg_binary64_1810 flip--_binary64_1774 flip3--_binary64_1803 cbrt-undiv_binary64_1833 div-inv_binary64_1796 cancel-sign-sub-inv_binary64_1765
difference-of-sqr-1_binary64_1769 frac-sub_binary64_1808 flip3-+_binary64_1802 flip-+_binary64_1773
div-sub_binary64_1804 sub-neg_binary64_1792 diff-log_binary64_1891
Counts
4 → 143
Calls

4 calls:

38.0ms
(/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)) 2)
16.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)
8.0ms
(/.f64 alpha (+.f64 (+.f64 beta alpha) 2))
8.0ms
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))

series357.0ms (7.1%)

Counts
4 → 12
Calls

4 calls:

118.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)
109.0ms
(/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)) 2)
67.0ms
(/.f64 alpha (+.f64 (+.f64 beta alpha) 2))
62.0ms
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))

simplify77.0ms (1.5%)

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
053523804

prune708.0ms (14%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1478155
Fresh10010
Picked101
Done000
Total1588166

Merged error: 2.9b

Counts
166 → 8
Compiler

Compiled 14692 to 10048 computations (31.6% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 alpha (+.f64 (+.f64 alpha beta) 2))
0.0b
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))
1.2b
(log.f64 (exp.f64 (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)))
1.2b
(-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)

rewrite64.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity_binary64_1799
50×add-sqr-sqrt_binary64_1821
36×times-frac_binary64_1805
28×add-cube-cbrt_binary64_1834
24×distribute-lft-out_binary64_1750
11×log-pow_binary64_1888
10×associate-/r*_binary64_1743 exp-prod_binary64_1851
add-cbrt-cube_binary64_1835 difference-of-squares_binary64_1768 add-exp-log_binary64_1837
log-prod_binary64_1885
associate-/l*_binary64_1744 add-log-exp_binary64_1838 cancel-sign-sub-inv_binary64_1765
pow1_binary64_1860
exp-sum_binary64_1845 associate-/r/_binary64_1745 difference-of-sqr-1_binary64_1769
sub-neg_binary64_1792 clear-num_binary64_1798 div-exp_binary64_1850 frac-2neg_binary64_1810 cbrt-undiv_binary64_1833 div-inv_binary64_1796 flip3-+_binary64_1802 distribute-lft-out--_binary64_1751 flip-+_binary64_1773
exp-diff_binary64_1847 diff-log_binary64_1891 flip--_binary64_1774 flip3--_binary64_1803 rem-log-exp_binary64_1840 log-div_binary64_1886
Counts
4 → 122
Calls

4 calls:

18.0ms
(log.f64 (exp.f64 (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)))
17.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)
8.0ms
(/.f64 alpha (+.f64 (+.f64 alpha beta) 2))
8.0ms
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))

series403.0ms (8%)

Counts
4 → 12
Calls

4 calls:

179.0ms
(log.f64 (exp.f64 (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)))
108.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)
62.0ms
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))
53.0ms
(/.f64 alpha (+.f64 (+.f64 alpha beta) 2))

simplify52.0ms (1%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050052196

prune182.0ms (3.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh077
Picked011
Done000
Total1339142

Merged error: 2.9b

Counts
142 → 9
Compiler

Compiled 4115 to 2589 computations (37.1% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))) (/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))))
0.4b
(/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
0.5b
(/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
1.2b
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)

rewrite106.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
149×*-un-lft-identity_binary64_1799
126×add-sqr-sqrt_binary64_1821
121×times-frac_binary64_1805
81×sqrt-prod_binary64_1815
69×add-cube-cbrt_binary64_1834
42×distribute-lft-out_binary64_1750
32×add-exp-log_binary64_1837
30×associate-*l*_binary64_1740 associate-*r*_binary64_1739
20×add-cbrt-cube_binary64_1835
16×associate-/r*_binary64_1743
15×unswap-sqr_binary64_1767
11×div-exp_binary64_1850
pow1_binary64_1860 sqrt-div_binary64_1816 prod-exp_binary64_1848 associate-/r/_binary64_1745
associate-/l*_binary64_1744 add-log-exp_binary64_1838 cbrt-undiv_binary64_1833
difference-of-squares_binary64_1768 cbrt-unprod_binary64_1832 div-inv_binary64_1796 flip3-+_binary64_1802 flip-+_binary64_1773
rec-exp_binary64_1849 pow-flip_binary64_1873 1-exp_binary64_1843 cancel-sign-sub-inv_binary64_1765
clear-num_binary64_1798 frac-2neg_binary64_1810 difference-of-sqr-1_binary64_1769
sub-neg_binary64_1792 pow1/2_binary64_1879 associate-*r/_binary64_1741 diff-log_binary64_1891 flip--_binary64_1774 flip3--_binary64_1803 sqrt-pow1_binary64_1817 *-commutative_binary64_1730 pow-prod-down_binary64_1870 distribute-lft-out--_binary64_1751 inv-pow_binary64_1884 frac-times_binary64_1809 associate-*l/_binary64_1742
Counts
4 → 224
Calls

4 calls:

38.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))) (/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))))
16.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)
10.0ms
(/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
9.0ms
(/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))

series373.0ms (7.4%)

Counts
4 → 12
Calls

4 calls:

123.0ms
(/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
96.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)
85.0ms
(/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
69.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))) (/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))))

simplify109.0ms (2.1%)

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049694832
149694832

prune489.0ms (9.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2324236
Fresh257
Picked101
Done011
Total23510245

Merged error: 2.9b

Counts
245 → 10
Compiler

Compiled 9859 to 6361 computations (35.5% saved)

regimes72.0ms (1.4%)

Compiler

Compiled 618 to 466 computations (24.6% saved)

bsearch20.0ms (0.4%)

Steps
ItersRangePoint
7
1273.5860333074334
282484.52375809825
274462.6546204756
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
019891
119891

end0.0ms (0%)

sample1.0s (20.6%)

Algorithm
intervals
Results
206.0ms5968×body128valid
144.0ms8000×pre128true
133.0ms1019×body1024valid
58.0ms601×body512valid
21.0ms307×body256valid
17.0ms105×body2048valid
Compiler

Compiled 387 to 290 computations (25.1% saved)

Profiling

Loading profile data...