Details

Time bar (total: 11.6s)

analyze536.0ms (4.6%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0492386
1492386
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 30 to 20 computations (33.3% saved)

sample45.0ms (0.4%)

Algorithm
intervals
Results
31.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify142.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (131.0ms)

IterNodesCost
0491543
1491543

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 58 to 38 computations (34.5% saved)

localize30.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
0.6b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite77.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64_1805 add-exp-log_binary64_1821 *-un-lft-identity_binary64_1783 pow1_binary64_1844
14×add-cbrt-cube_binary64_1819
10×add-cube-cbrt_binary64_1818 associate-*r*_binary64_1723
distribute-lft-in_binary64_1732 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 cancel-sign-sub-inv_binary64_1749 distribute-rgt-in_binary64_1733 pow-prod-down_binary64_1854 add-log-exp_binary64_1822
associate-*r/_binary64_1725
pow-unpow_binary64_1860 unpow-prod-down_binary64_1862
associate-+r+_binary64_1715 difference-of-squares_binary64_1752 flip-+_binary64_1757 associate-*l*_binary64_1724 *-commutative_binary64_1714 flip3-+_binary64_1786 unswap-sqr_binary64_1751 sub-neg_binary64_1776
flip3--_binary64_1787 +-commutative_binary64_1713 sqr-pow_binary64_1755 distribute-lft-out_binary64_1734 unpow2_binary64_1848 distribute-lft-out--_binary64_1735 sum-log_binary64_1874 pow-pow_binary64_1855 flip--_binary64_1758 pow-to-exp_binary64_1852 pow-exp_binary64_1851
Counts
4 → 87
Calls

4 calls:

18.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
16.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
16.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
9.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series1.2s (10.4%)

Counts
4 → 53
Calls

4 calls:

635.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
342.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
134.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
87.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 2111 to 1676 computations (20.6% saved)

simplify172.0ms (1.5%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (122.0ms)

IterNodesCost
049622508
149622508

prune333.0ms (2.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1373140
Fresh000
Picked101
Done000
Total1383141
Error
0.0b
Counts
141 → 3
Compiler

Compiled 4527 to 2371 computations (47.6% saved)

localize39.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (*.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.6b
(*.f64 (*.f64 b b) (+.f64 3 a))
3.5b
(*.f64 (*.f64 b b) (*.f64 a a))

rewrite123.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
42×pow1_binary64_1844
32×associate-*r/_binary64_1725
26×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
20×frac-add_binary64_1791 pow-prod-down_binary64_1854
14×cbrt-unprod_binary64_1816 prod-exp_binary64_1832 flip-+_binary64_1757 flip3-+_binary64_1786
13×add-sqr-sqrt_binary64_1805 *-un-lft-identity_binary64_1783 add-log-exp_binary64_1822
11×associate-*r*_binary64_1723
add-cube-cbrt_binary64_1818
distribute-lft-in_binary64_1732 cancel-sign-sub-inv_binary64_1749 distribute-rgt-in_binary64_1733 sum-log_binary64_1874
flip3--_binary64_1787 flip--_binary64_1758
pow-plus_binary64_1846 pow-prod-up_binary64_1853
associate-*l*_binary64_1724 *-commutative_binary64_1714 unswap-sqr_binary64_1751
associate-+r+_binary64_1715 difference-of-squares_binary64_1752 pow-sqr_binary64_1756 sub-neg_binary64_1776 pow2_binary64_1864
+-commutative_binary64_1713 distribute-lft-out_binary64_1734 distribute-lft-out--_binary64_1735 associate-+l+_binary64_1716
Counts
4 → 113
Calls

4 calls:

31.0ms
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (*.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
18.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
17.0ms
(*.f64 (*.f64 b b) (*.f64 a a))
16.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

series998.0ms (8.6%)

Counts
4 → 41
Calls

4 calls:

643.0ms
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (*.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
134.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
133.0ms
(*.f64 (*.f64 b b) (*.f64 a a))
88.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 1959 to 1550 computations (20.9% saved)

simplify168.0ms (1.5%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
050275272

prune538.0ms (4.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1540154
Fresh022
Picked011
Done000
Total1543157
Error
0.0b
Counts
157 → 3
Compiler

Compiled 7308 to 4158 computations (43.1% saved)

localize40.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.6b
(*.f64 (*.f64 b b) (+.f64 3 a))
0.6b
(*.f64 (*.f64 b b) (+.f64 3 a))
8.9b
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))))
8.9b
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))))

rewrite83.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
16×pow1_binary64_1844
14×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
12×add-sqr-sqrt_binary64_1805 *-un-lft-identity_binary64_1783
add-cube-cbrt_binary64_1818 associate-*r*_binary64_1723
cbrt-unprod_binary64_1816 prod-exp_binary64_1832 sqrt-prod_binary64_1799 pow-prod-down_binary64_1854
associate-*r/_binary64_1725 flip-+_binary64_1757 sqrt-div_binary64_1800 flip3-+_binary64_1786 add-log-exp_binary64_1822
distribute-lft-in_binary64_1732 distribute-lft-out_binary64_1734 pow1/2_binary64_1863 associate-*l*_binary64_1724 *-commutative_binary64_1714 distribute-rgt-in_binary64_1733 sqrt-pow1_binary64_1801 unswap-sqr_binary64_1751 rem-sqrt-square_binary64_1796
Counts
4 → 78
Calls

4 calls:

16.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
16.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
13.0ms
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))))
13.0ms
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))))

series1.4s (12.5%)

Counts
4 → 58
Calls

4 calls:

579.0ms
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))))
564.0ms
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))))
152.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
151.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
Compiler

Compiled 5360 to 3820 computations (28.7% saved)

simplify155.0ms (1.3%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (85.0ms)

IterNodesCost
050193986

prune615.0ms (5.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1360136
Fresh011
Picked011
Done011
Total1363139
Error
0.0b
Counts
139 → 3
Compiler

Compiled 8750 to 4481 computations (48.8% saved)

localize38.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.6b
(*.f64 (*.f64 b b) (+.f64 3 a))
18.4b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
18.4b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
18.4b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))

rewrite65.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod_binary64_1814
13×*-un-lft-identity_binary64_1783
12×add-sqr-sqrt_binary64_1805
11×add-cube-cbrt_binary64_1818
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 unpow-prod-down_binary64_1862 pow1_binary64_1844
add-log-exp_binary64_1822 associate-*r*_binary64_1723
sqr-pow_binary64_1755 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 unpow2_binary64_1848 pow1/3_binary64_1865 pow-prod-down_binary64_1854
associate-*r/_binary64_1725
distribute-lft-in_binary64_1732 distribute-lft-out_binary64_1734 flip-+_binary64_1757 associate-*l*_binary64_1724 *-commutative_binary64_1714 distribute-rgt-in_binary64_1733 flip3-+_binary64_1786 unswap-sqr_binary64_1751
Counts
4 → 72
Calls

4 calls:

15.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
9.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
9.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
9.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))

series1.5s (12.8%)

Counts
4 → 53
Calls

4 calls:

451.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
449.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
439.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
144.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
Compiler

Compiled 4837 to 3229 computations (33.2% saved)

simplify126.0ms (1.1%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
049182414
149182414

prune439.0ms (3.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1250125
Fresh000
Picked011
Done022
Total1253128
Error
0.0b
Counts
128 → 3
Compiler

Compiled 7157 to 3346 computations (53.2% saved)

regimes530.0ms (4.6%)

Accuracy

Total 0.0b remaining (70.6%)

Threshold costs 0.0b (70.6%)

Compiler

Compiled 4272 to 2788 computations (34.7% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05555
15555

end0.0ms (0%)

sample2.1s (18.5%)

Algorithm
intervals
Results
860.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 777 to 511 computations (34.2% saved)

Profiling

Loading profile data...