Details

Time bar (total: 6.3s)

analyze287.0ms (4.5%)

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)

sample37.0ms (0.6%)

Algorithm
intervals
Results
14.0ms245×body128valid
11.0ms277×pre128true
1.0ms11×body256valid
1.0ms21×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify389.0ms (6.2%)

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

Merged error: 28.5b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize12.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 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
28.5b
(-.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_100
14×*-un-lft-identity_binary64_78
add-cbrt-cube_binary64_114 add-exp-log_binary64_116
add-log-exp_binary64_117 add-cube-cbrt_binary64_113
sqrt-prod_binary64_94 times-frac_binary64_84 associate-/l*_binary64_23 difference-of-squares_binary64_47
pow1_binary64_139
flip3--_binary64_82 flip--_binary64_53 cancel-sign-sub-inv_binary64_44
distribute-lft-out--_binary64_30
cbrt-undiv_binary64_112 div-exp_binary64_129 diff-log_binary64_170 sqrt-div_binary64_95 associate-/l/_binary64_25 sub-neg_binary64_71
sqrt-pow1_binary64_96 cbrt-unprod_binary64_111 prod-exp_binary64_127 rem-sqrt-square_binary64_91 frac-2neg_binary64_89 div-inv_binary64_75 associate-/r*_binary64_22 clear-num_binary64_77 div-sub_binary64_83 pow1/2_binary64_158
Counts
4 → 74
Calls

4 calls:

12.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)
7.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series269.0ms (4.3%)

Counts
4 → 12
Calls

4 calls:

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

simplify85.0ms (1.3%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
048991979
148991979

prune99.0ms (1.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New81586
Fresh000
Picked101
Done000
Total82587

Merged error: 0.4b

Counts
87 → 5
Compiler

Compiled 2085 to 1240 computations (40.5% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite47.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
45×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
22×times-frac_binary64_84
20×*-un-lft-identity_binary64_78
17×cbrt-undiv_binary64_112 div-exp_binary64_129
13×cbrt-unprod_binary64_111 prod-exp_binary64_127
11×associate-/l*_binary64_23
10×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
add-log-exp_binary64_117
associate-/r/_binary64_24
associate-/r*_binary64_22 distribute-lft-out_binary64_29
flip-+_binary64_52 div-inv_binary64_75 pow1_binary64_139 flip3-+_binary64_81
frac-2neg_binary64_89 clear-num_binary64_77
+-commutative_binary64_8 flip3--_binary64_82 diff-log_binary64_170 flip--_binary64_53 cancel-sign-sub-inv_binary64_44 associate-/l/_binary64_25 sub-neg_binary64_71 sum-log_binary64_169
Counts
4 → 99
Calls

4 calls:

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

series454.0ms (7.2%)

Counts
4 → 12
Calls

4 calls:

202.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
154.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
64.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
34.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify62.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049823037
149823037

prune166.0ms (2.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1029111
Fresh404
Picked101
Done000
Total1079116

Merged error: 0b

Counts
116 → 9
Compiler

Compiled 3303 to 2043 computations (38.1% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite42.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
50×times-frac_binary64_84
39×*-un-lft-identity_binary64_78
25×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
18×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
14×associate-/r*_binary64_22
11×associate-/r/_binary64_24
add-log-exp_binary64_117
cbrt-undiv_binary64_112 div-exp_binary64_129 distribute-lft-out_binary64_29
flip-+_binary64_52 div-inv_binary64_75 flip3-+_binary64_81
associate-/l*_binary64_23 pow1_binary64_139
cbrt-unprod_binary64_111 prod-exp_binary64_127 frac-2neg_binary64_89 clear-num_binary64_77
+-commutative_binary64_8 flip3--_binary64_82 diff-log_binary64_170 flip--_binary64_53 cancel-sign-sub-inv_binary64_44 sub-neg_binary64_71 sum-log_binary64_169
Counts
4 → 109
Calls

4 calls:

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

series395.0ms (6.3%)

Counts
4 → 12
Calls

4 calls:

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

simplify77.0ms (1.2%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049703676
149703676

prune180.0ms (2.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1192121
Fresh268
Picked101
Done000
Total1228130

Merged error: 0b

Counts
130 → 8
Compiler

Compiled 3713 to 2453 computations (33.9% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite39.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64_78
24×times-frac_binary64_84
21×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
18×add-cbrt-cube_binary64_114 associate-*r*_binary64_18 add-exp-log_binary64_116
pow1_binary64_139
add-log-exp_binary64_117 distribute-lft-out_binary64_29
cbrt-unprod_binary64_111 prod-exp_binary64_127
associate-/r*_binary64_22 associate-/r/_binary64_24
cbrt-undiv_binary64_112 div-exp_binary64_129 flip-+_binary64_52 associate-/l*_binary64_23 pow-prod-down_binary64_149 flip3-+_binary64_81
div-inv_binary64_75
+-commutative_binary64_8 *-commutative_binary64_9 associate-*l*_binary64_19 flip3--_binary64_82 diff-log_binary64_170 frac-2neg_binary64_89 flip--_binary64_53 associate-*r/_binary64_20 clear-num_binary64_77 cancel-sign-sub-inv_binary64_44 sub-neg_binary64_71 sum-log_binary64_169
Counts
4 → 95
Calls

4 calls:

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

series395.0ms (6.3%)

Counts
4 → 12
Calls

4 calls:

188.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
109.0ms
(/.f64 1/2 (+.f64 b (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)))))
39.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify82.0ms (1.3%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049612612
149612612

prune130.0ms (2.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh077
Picked011
Done000
Total1078115

Merged error: 0b

Counts
115 → 8
Compiler

Compiled 2744 to 1732 computations (36.9% saved)

regimes539.0ms (8.5%)

Compiler

Compiled 7292 to 5542 computations (24% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.4s (38.5%)

Algorithm
intervals
Results
437.0ms7714×body128valid
286.0ms8814×pre128true
45.0ms814×body128nan
31.0ms286×body256valid
Compiler

Compiled 1859 to 1414 computations (23.9% saved)

Profiling

Loading profile data...