Details

Time bar (total: 5.1s)

analyze262.0ms (5.2%)

Algorithm
search
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)

sample43.0ms (0.9%)

Algorithm
intervals
Results
11.0ms115×body256valid
11.0ms280×pre128true
7.0ms49×body512valid
5.0ms92×body128valid
1.0ms24×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify393.0ms (7.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (303.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.8b
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 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))
27.6b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite38.0ms (0.7%)

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:

15.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
9.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)))

series266.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

108.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
65.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
60.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
34.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify86.0ms (1.7%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048991979
148991979

prune99.0ms (1.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New83386
Fresh000
Picked101
Done000
Total84387
Error
0.1b
Counts
87 → 3
Compiler

Compiled 2017 to 1191 computations (41% saved)

localize14.0ms (0.3%)

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 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
0.3b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))

rewrite50.0ms (1%)

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:

18.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
11.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))

series460.0ms (9%)

Counts
4 → 12
Calls

4 calls:

200.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
163.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
63.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
33.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify63.0ms (1.2%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049823037
149823037

prune140.0ms (2.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1065111
Fresh202
Picked011
Done000
Total1086114
Error
0b
Counts
114 → 6
Compiler

Compiled 3132 to 1925 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 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.1b
(-.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))))))

rewrite28.0ms (0.6%)

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

series328.0ms (6.5%)

Counts
4 → 12
Calls

4 calls:

178.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
60.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
59.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
32.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify75.0ms (1.5%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049051972
149051972

prune97.0ms (1.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh134
Picked011
Done011
Total84690
Error
0b
Counts
90 → 6
Compiler

Compiled 2227 to 1382 computations (37.9% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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)))
0.1b
(/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) c)
0.3b
(/.f64 1 (/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) c))

rewrite48.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64_1789
96×*-un-lft-identity_binary64_1783
62×add-sqr-sqrt_binary64_1805 add-cube-cbrt_binary64_1818
19×associate-/r*_binary64_1727
17×add-exp-log_binary64_1821 distribute-lft-out_binary64_1734
11×add-cbrt-cube_binary64_1819
div-exp_binary64_1834 add-log-exp_binary64_1822
associate-/l*_binary64_1728
div-inv_binary64_1780
pow1_binary64_1844
cbrt-undiv_binary64_1817
associate-/l/_binary64_1730 1-exp_binary64_1827 flip-+_binary64_1757 frac-2neg_binary64_1794 flip3-+_binary64_1786 clear-num_binary64_1782 rec-exp_binary64_1833
flip3--_binary64_1787 associate-/r/_binary64_1729 +-commutative_binary64_1713 inv-pow_binary64_1868 pow-flip_binary64_1857 cancel-sign-sub-inv_binary64_1749 diff-log_binary64_1875 sum-log_binary64_1874 flip--_binary64_1758 sub-neg_binary64_1776
Counts
4 → 145
Calls

4 calls:

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

series282.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

118.0ms
(/.f64 1 (/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) c))
74.0ms
(/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) c)
58.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
31.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify104.0ms (2%)

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
051484909

prune207.0ms (4.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1561157
Fresh123
Picked101
Done022
Total1585163
Error
0b
Counts
163 → 5
Compiler

Compiled 4701 to 2935 computations (37.6% saved)

regimes201.0ms (4%)

Accuracy

Total 0.1b remaining (94.1%)

Threshold costs 0.1b (94.1%)

Compiler

Compiled 2444 to 1946 computations (20.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample1.8s (34.6%)

Algorithm
intervals
Results
364.0ms3839×body256valid
265.0ms8812×pre128true
212.0ms1502×body512valid
131.0ms2659×body128valid
41.0ms812×body128nan
Compiler

Compiled 647 to 515 computations (20.4% saved)

Profiling

Loading profile data...