Details

Time bar (total: 6.0s)

analyze261.0ms (4.3%)

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)

sample41.0ms (0.7%)

Algorithm
intervals
Results
16.0ms143×body160valid
8.0ms282×pre80true
6.0ms113×body80valid
1.0ms26×body80nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify114.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (97.0ms)

IterNodesCost
092824
192824

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 27.7b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite37.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
add-cube-cbrt_binary64
difference-of-squares_binary64 associate-/l*_binary64 times-frac_binary64 sqrt-prod_binary64
pow1_binary64
flip3--_binary64 insert-posit16 flip--_binary64
distribute-lft-out--_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 div-exp_binary64 sqrt-div_binary64
associate-/r*_binary64 pow1/2_binary64 cbrt-unprod_binary64 sqrt-pow1_binary64 div-sub_binary64 rem-sqrt-square_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64
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))
10.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
5.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series522.0ms (8.7%)

Counts
4 → 12
Calls

4 calls:

201.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
128.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
119.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
74.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify135.0ms (2.2%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (100.0ms)

IterNodesCost
067732041

prune107.0ms (1.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New80686
Fresh000
Picked101
Done000
Total81687

Merged error: 0.4b

Counts
87 → 6
Compiler

Compiled 2093 to 1257 computations (39.9% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.2b
(+.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))
0.4b
(/.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-exp-log_binary64 add-cbrt-cube_binary64
22×times-frac_binary64
20×*-un-lft-identity_binary64
17×cbrt-undiv_binary64 div-exp_binary64
13×cbrt-unprod_binary64 prod-exp_binary64
11×associate-/l*_binary64
10×add-cube-cbrt_binary64 add-sqr-sqrt_binary64
add-log-exp_binary64
associate-/r/_binary64
associate-/r*_binary64 distribute-lft-out_binary64
flip3-+_binary64 pow1_binary64 div-inv_binary64 insert-posit16 flip-+_binary64
clear-num_binary64 frac-2neg_binary64
associate-/l/_binary64 sub-neg_binary64 flip3--_binary64 diff-log_binary64 +-commutative_binary64 flip--_binary64 sum-log_binary64
Counts
4 → 102
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))
14.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
7.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
5.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series853.0ms (14.2%)

Counts
4 → 12
Calls

4 calls:

366.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
292.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
124.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
71.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify128.0ms (2.1%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
049293120
149293120

prune173.0ms (2.9%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1059114
Fresh505
Picked101
Done000
Total1119120

Merged error: 0b

Counts
120 → 9
Compiler

Compiled 3359 to 2078 computations (38.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite31.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
12×times-frac_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 distribute-lft-out_binary64
associate-/r*_binary64 insert-posit16
associate-/l*_binary64 sqrt-prod_binary64
flip3-+_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64 sqrt-div_binary64
sub-neg_binary64 pow1/2_binary64 diff-log_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 sum-log_binary64
Counts
4 → 75
Calls

4 calls:

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

series661.0ms (11%)

Counts
4 → 12
Calls

4 calls:

332.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
141.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
118.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
71.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify156.0ms (2.6%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (119.0ms)

IterNodesCost
049142037
149142037

prune115.0ms (1.9%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh088
Picked011
Done000
Total87996

Merged error: 0b

Counts
96 → 9
Compiler

Compiled 2448 to 1533 computations (37.4% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite47.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64
24×times-frac_binary64
21×add-cube-cbrt_binary64 add-sqr-sqrt_binary64
18×associate-*r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64
add-log-exp_binary64 distribute-lft-out_binary64
cbrt-unprod_binary64 prod-exp_binary64
associate-/r*_binary64 associate-/r/_binary64 insert-posit16
pow-prod-down_binary64 flip3-+_binary64 cbrt-undiv_binary64 associate-/l*_binary64 div-exp_binary64 flip-+_binary64
div-inv_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 associate-*r/_binary64 associate-*l*_binary64 clear-num_binary64 frac-2neg_binary64 +-commutative_binary64 flip--_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 98
Calls

4 calls:

19.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
10.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
8.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
5.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series757.0ms (12.6%)

Counts
4 → 12
Calls

4 calls:

349.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
220.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
123.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
65.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify151.0ms (2.5%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (108.0ms)

IterNodesCost
049462689
149462689

prune135.0ms (2.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh077
Picked011
Done011
Total1109119

Merged error: 0b

Counts
119 → 9
Compiler

Compiled 2804 to 1771 computations (36.8% saved)

regimes75.0ms (1.2%)

Compiler

Compiled 813 to 609 computations (25.1% saved)

bsearch0.0ms (0%)

simplify9.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06424
16424

end0.0ms (0%)

sample1.4s (23.2%)

Algorithm
intervals
Results
430.0ms4450×body160valid
275.0ms8806×pre80true
181.0ms3550×body80valid
39.0ms806×body80nan
Compiler

Compiled 315 to 237 computations (24.8% saved)

Profiling

Loading profile data...