Details

Time bar (total: 6.0s)

analyze479.0ms (8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513296
033
133
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample42.0ms (0.7%)

Algorithm
intervals
Results
11.0ms122×body256valid
8.0ms283×pre128true
7.0ms50×body512valid
4.0ms84×body128valid
1.0ms27×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify313.0ms (5.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (308.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
52.9b
Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
0.1b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
0.1b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
25.2b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite37.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_1805
14×*-un-lft-identity_binary64_1783
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
add-cube-cbrt_binary64_1818 add-log-exp_binary64_1822
difference-of-squares_binary64_1752 associate-/l*_binary64_1728 sqrt-prod_binary64_1799 times-frac_binary64_1789
pow1_binary64_1844
flip3--_binary64_1787 cancel-sign-sub-inv_binary64_1749 flip--_binary64_1758
distribute-lft-out--_binary64_1735
associate-/l/_binary64_1730 diff-log_binary64_1875 sqrt-div_binary64_1800 cbrt-undiv_binary64_1817 div-exp_binary64_1834 sub-neg_binary64_1776
div-sub_binary64_1788 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 div-inv_binary64_1780 pow1/2_binary64_1863 associate-/r*_binary64_1727 frac-2neg_binary64_1794 sqrt-pow1_binary64_1801 clear-num_binary64_1782 rem-sqrt-square_binary64_1796
Counts
4 → 74
Calls

4 calls:

14.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series267.0ms (4.4%)

Counts
4 → 12
Calls

4 calls:

112.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
64.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
59.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
32.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify88.0ms (1.5%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048991979
148991979

prune95.0ms (1.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New84286
Fresh000
Picked101
Done000
Total85287
Error
0.1b
Counts
87 → 2
Compiler

Compiled 2001 to 1178 computations (41.1% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
0.1b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.2b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite50.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
45×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
22×times-frac_binary64_1789
20×*-un-lft-identity_binary64_1783
17×cbrt-undiv_binary64_1817 div-exp_binary64_1834
13×cbrt-unprod_binary64_1816 prod-exp_binary64_1832
11×associate-/l*_binary64_1728
10×add-sqr-sqrt_binary64_1805 add-cube-cbrt_binary64_1818
add-log-exp_binary64_1822
associate-/r/_binary64_1729
distribute-lft-out_binary64_1734 associate-/r*_binary64_1727
flip-+_binary64_1757 div-inv_binary64_1780 flip3-+_binary64_1786 pow1_binary64_1844
frac-2neg_binary64_1794 clear-num_binary64_1782
flip3--_binary64_1787 associate-/l/_binary64_1730 +-commutative_binary64_1713 cancel-sign-sub-inv_binary64_1749 diff-log_binary64_1875 sum-log_binary64_1874 flip--_binary64_1758 sub-neg_binary64_1776
Counts
4 → 99
Calls

4 calls:

16.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
12.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series449.0ms (7.5%)

Counts
4 → 12
Calls

4 calls:

197.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
158.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
61.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
32.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify66.0ms (1.1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049823037
149823037

prune151.0ms (2.5%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1065111
Fresh101
Picked101
Done000
Total1085113
Error
0b
Counts
113 → 5
Compiler

Compiled 3161 to 1945 computations (38.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
0.1b
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.1b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.1b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

rewrite29.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_1783
15×add-sqr-sqrt_binary64_1805
14×add-cube-cbrt_binary64_1818
12×times-frac_binary64_1789
add-log-exp_binary64_1822
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
distribute-lft-out_binary64_1734 pow1_binary64_1844
associate-/r*_binary64_1727
associate-/l*_binary64_1728 sqrt-prod_binary64_1799
flip3--_binary64_1787 associate-/r/_binary64_1729 flip-+_binary64_1757 sqrt-div_binary64_1800 flip3-+_binary64_1786 flip--_binary64_1758
+-commutative_binary64_1713 div-inv_binary64_1780 cancel-sign-sub-inv_binary64_1749 pow1/2_binary64_1863 diff-log_binary64_1875 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 sum-log_binary64_1874 div-exp_binary64_1834 sqrt-pow1_binary64_1801 clear-num_binary64_1782 rem-sqrt-square_binary64_1796 sub-neg_binary64_1776
Counts
4 → 72
Calls

4 calls:

8.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))

series320.0ms (5.3%)

Counts
4 → 12
Calls

4 calls:

173.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
61.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
55.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
31.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify75.0ms (1.2%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049051972
149051972

prune105.0ms (1.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh134
Picked011
Done000
Total84589
Error
0b
Counts
89 → 5
Compiler

Compiled 2254 to 1400 computations (37.9% saved)

localize27.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))))
0.4b
(/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
0.8b
(pow.f64 (*.f64 a c) 3)

rewrite65.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
27×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
20×*-un-lft-identity_binary64_1783
16×add-sqr-sqrt_binary64_1805 add-cube-cbrt_binary64_1818 pow1_binary64_1844
13×times-frac_binary64_1789
10×cbrt-unprod_binary64_1816 prod-exp_binary64_1832
associate-/r*_binary64_1727 pow-prod-down_binary64_1854
associate-*r/_binary64_1725 associate-/r/_binary64_1729 associate-/l*_binary64_1728 distribute-lft-in_binary64_1732 flip-+_binary64_1757 cbrt-undiv_binary64_1817 distribute-rgt-in_binary64_1733 div-exp_binary64_1834 flip3-+_binary64_1786 add-log-exp_binary64_1822
pow-unpow_binary64_1860 associate-*l*_binary64_1724
associate-/l/_binary64_1730 rem-cube-cbrt_binary64_1806 distribute-lft-out_binary64_1734 div-inv_binary64_1780 frac-2neg_binary64_1794 pow-pow_binary64_1855 clear-num_binary64_1782 pow-exp_binary64_1851
sqr-pow_binary64_1755 cube-mult_binary64_1813 unpow3_binary64_1849 unpow-prod-down_binary64_1862 *-commutative_binary64_1714 pow-to-exp_binary64_1852 cube-prod_binary64_1811 associate-*r*_binary64_1723
Counts
4 → 107
Calls

4 calls:

20.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))))
13.0ms
(/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
11.0ms
(*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
4.0ms
(pow.f64 (*.f64 a c) 3)

series568.0ms (9.5%)

Counts
4 → 12
Calls

4 calls:

303.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))))
155.0ms
(/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
71.0ms
(*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
39.0ms
(pow.f64 (*.f64 a c) 3)

simplify74.0ms (1.2%)

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050844770

prune324.0ms (5.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh033
Picked011
Done011
Total1195124
Error
0b
Counts
124 → 5
Compiler

Compiled 6508 to 4188 computations (35.6% saved)

regimes296.0ms (4.9%)

Accuracy

Total 0.1b remaining (98.6%)

Threshold costs 0.1b (98.6%)

Compiler

Compiled 4044 to 3106 computations (23.2% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.0s (34.1%)

Algorithm
intervals
Results
365.0ms3778×body256valid
266.0ms8853×pre128true
214.0ms1503×body512valid
133.0ms2719×body128valid
40.0ms853×body128nan
Compiler

Compiled 1047 to 805 computations (23.1% saved)

Profiling

Loading profile data...