Details

Time bar (total: 36.9s)

analyze4.6s (12.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04978427
14978427
044
144
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%98.2%1.8%7
0%92%8%8
0%91.2%8.8%9
0.4%89.3%10.3%10
7.1%79.2%13.6%11
11.9%70.2%17.9%12
13.8%67.4%18.7%13
16.6%63.3%20.1%14
Compiler

Compiled 41 to 33 computations (19.5% saved)

sample271.0ms (0.7%)

Algorithm
intervals
Results
45.0ms175×body128valid
34.0ms24×body2048valid
31.0ms18×body2048nan
27.0ms25×body1024valid
23.0ms90×body128nan
22.0ms21×body1024nan
15.0ms20×body512nan
13.0ms17×body512valid
7.0ms15×body256valid
5.0msbody256nan
Compiler

Compiled 81 to 69 computations (14.8% saved)

simplify99.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
0539061

prune8.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 80 to 59 computations (26.3% saved)

localize48.0ms (0.1%)

Local error

Found 4 expressions with local error:

7.9b
(*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)
12.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
22.1b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
36.1b
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))

rewrite195.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
66×sqrt-div_binary64_2141
40×associate-*r/_binary64_2066
39×*-un-lft-identity_binary64_2124
36×times-frac_binary64_2130
35×add-sqr-sqrt_binary64_2146
34×associate-*l/_binary64_2067
32×add-cube-cbrt_binary64_2159
25×flip3-+_binary64_2127 flip-+_binary64_2098
24×frac-sub_binary64_2133 frac-times_binary64_2134
22×flip--_binary64_2099 flip3--_binary64_2128
20×distribute-neg-frac_binary64_2088 associate-/l/_binary64_2071
17×pow1_binary64_2185
16×distribute-lft-neg-in_binary64_2081 distribute-rgt-neg-in_binary64_2082
15×sqrt-prod_binary64_2140
12×associate-/l*_binary64_2069
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
pow-prod-down_binary64_2195
sqrt-pow1_binary64_2142
unpow-prod-down_binary64_2203 add-log-exp_binary64_2163 neg-mul-1_binary64_2120
distribute-lft-out_binary64_2075 associate-/r*_binary64_2068 associate-*l*_binary64_2065 associate-*r*_binary64_2064
associate-/r/_binary64_2070 pow1/2_binary64_2204
clear-num_binary64_2123 cbrt-undiv_binary64_2158 unswap-sqr_binary64_2092 distribute-lft-out--_binary64_2076 *-commutative_binary64_2055 rem-sqrt-square_binary64_2137 prod-exp_binary64_2173 div-sub_binary64_2129 distribute-frac-neg_binary64_2087 div-inv_binary64_2121 div-exp_binary64_2175 neg-sub0_binary64_2119 cbrt-unprod_binary64_2157 frac-2neg_binary64_2135
Counts
4 → 158
Calls

4 calls:

54.0ms
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
32.0ms
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
22.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))
15.0ms
(*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)

series5.8s (15.7%)

Counts
4 → 73
Calls

4 calls:

2.6s
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
2.1s
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
555.0ms
(*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)
484.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))
Compiler

Compiled 10185 to 7836 computations (23.1% saved)

simplify295.0ms (0.8%)

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
0497013639
1497013639

prune1.7s (4.6%)

Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New20526231
Fresh000
Picked101
Done000
Total20626232
Error
27.8b
Counts
232 → 26
Compiler

Compiled 15418 to 8586 computations (44.3% saved)

localize16.0ms (0%)

Local error

Found 2 expressions with local error:

0.4b
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))
13.5b
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))

rewrite30.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×pow1_binary64_2185
add-sqr-sqrt_binary64_2146
pow-prod-down_binary64_2195 sqrt-pow1_binary64_2142 sqrt-prod_binary64_2140 associate-*l*_binary64_2065
add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
associate-*r*_binary64_2064 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
pow1/2_binary64_2204 associate-*r/_binary64_2066
unswap-sqr_binary64_2092 sqrt-div_binary64_2141 add-log-exp_binary64_2163
sqrt-unprod_binary64_2144 *-commutative_binary64_2055 prod-exp_binary64_2173 cbrt-unprod_binary64_2157
Counts
2 → 40
Calls

2 calls:

18.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))
8.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))

series199.0ms (0.5%)

Counts
2 → 12
Calls

2 calls:

124.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))
75.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))
Compiler

Compiled 382 to 406 computations (-6.3% saved)

simplify207.0ms (0.6%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (184.0ms)

IterNodesCost
04850676
14850676

prune210.0ms (0.6%)

Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New421052
Fresh42125
Picked101
Done000
Total473178
Error
23.6b
Counts
78 → 31
Compiler

Compiled 1905 to 1339 computations (29.7% saved)

localize19.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.3b
(/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C))
0.3b
(*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)))

rewrite59.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt_binary64_2146 times-frac_binary64_2130
48×sqrt-prod_binary64_2140
36×add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
28×associate-*r*_binary64_2064
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
unswap-sqr_binary64_2092 associate-/r*_binary64_2068 associate-*l*_binary64_2065
associate-/l*_binary64_2069 pow1_binary64_2185
cbrt-undiv_binary64_2158 sqrt-undiv_binary64_2145 add-log-exp_binary64_2163 prod-exp_binary64_2173 div-inv_binary64_2121 div-exp_binary64_2175 cbrt-unprod_binary64_2157
pow-prod-down_binary64_2195 clear-num_binary64_2123 sqrt-unprod_binary64_2144 *-commutative_binary64_2055 associate-*r/_binary64_2066 frac-2neg_binary64_2135
Counts
2 → 102
Calls

2 calls:

30.0ms
(*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)))
12.0ms
(/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C))

series236.0ms (0.6%)

Counts
2 → 12
Calls

2 calls:

133.0ms
(*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)))
103.0ms
(/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C))
Compiler

Compiled 414 to 442 computations (-6.8% saved)

simplify168.0ms (0.5%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (118.0ms)

IterNodesCost
051402172

prune365.0ms (1%)

Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New1077114
Fresh62430
Picked101
Done000
Total11431145
Error
23.5b
Counts
145 → 31
Compiler

Compiled 3260 to 2275 computations (30.2% saved)

localize22.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)) (sqrt.f64 (sqrt.f64 2))))
0.3b
(*.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)) (sqrt.f64 (sqrt.f64 2)))
0.3b
(/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C))

rewrite104.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
70×sqrt-prod_binary64_2140
65×add-sqr-sqrt_binary64_2146
54×times-frac_binary64_2130
41×add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
37×associate-*l*_binary64_2065
19×add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
10×pow1_binary64_2185 associate-*r*_binary64_2064
unswap-sqr_binary64_2092
prod-exp_binary64_2173 cbrt-unprod_binary64_2157
associate-/r*_binary64_2068
pow-prod-down_binary64_2195 associate-/l*_binary64_2069
sqrt-unprod_binary64_2144 cbrt-undiv_binary64_2158 sqrt-undiv_binary64_2145 add-log-exp_binary64_2163 div-exp_binary64_2175
*-commutative_binary64_2055 associate-*l/_binary64_2067 div-inv_binary64_2121
clear-num_binary64_2123 associate-*r/_binary64_2066 frac-2neg_binary64_2135
Counts
3 → 136
Calls

3 calls:

35.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)) (sqrt.f64 (sqrt.f64 2))))
30.0ms
(*.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)) (sqrt.f64 (sqrt.f64 2)))
12.0ms
(/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C))

series376.0ms (1%)

Counts
3 → 18
Calls

3 calls:

144.0ms
(*.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)) (sqrt.f64 (sqrt.f64 2)))
134.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)) (sqrt.f64 (sqrt.f64 2))))
97.0ms
(/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C))
Compiler

Compiled 735 to 777 computations (-5.7% saved)

simplify214.0ms (0.6%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (142.0ms)

IterNodesCost
050633107

prune413.0ms (1.1%)

Pruning

34 alts after pruning (33 fresh and 1 done)

PrunedKeptTotal
New1477154
Fresh42630
Picked011
Done000
Total15134185
Error
23.5b
Counts
185 → 34
Compiler

Compiled 3337 to 2576 computations (22.8% saved)

regimes6.0s (16.3%)

Accuracy

Total 3.7b remaining (12%)

Threshold costs 0b (0%)

Compiler

Compiled 27547 to 20966 computations (23.9% saved)

bsearch21.0ms (0.1%)

Compiler

Compiled 40 to 32 computations (20% saved)

simplify121.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0740442
1740442
Compiler

Compiled 568 to 406 computations (28.5% saved)

end0.0ms (0%)

sample15.1s (41%)

Algorithm
intervals
Results
1.4s5529×body128valid
945.0ms885×body1024valid
868.0ms832×body1024nan
866.0ms614×body2048valid
781.0ms592×body2048nan
633.0ms2469×body128nan
490.0ms613×body512valid
464.0ms583×body512nan
181.0ms357×body256valid
171.0ms314×body256nan
3.0msbody4096valid
Compiler

Compiled 4664 to 3492 computations (25.1% saved)

Profiling

Loading profile data...