Details

Time bar (total: 9.6s)

analyze417.0ms (4.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03446
13446
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14
Compiler

Compiled 16 to 13 computations (18.8% saved)

sample35.0ms (0.4%)

Algorithm
intervals
Results
9.0ms197×body128valid
8.0ms16×body4096valid
4.0ms19×body2048valid
3.0ms15×body1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02323
12323

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 30 to 24 computations (20% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.0b
(+.f64 (*.f64 re re) (*.f64 im im))
0.2b
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
30.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite90.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
38.6b
Rules
pow1_binary64_3208 add-log-exp_binary64_3186
*-un-lft-identity_binary64_3147
add-sqr-sqrt_binary64_3169
add-cube-cbrt_binary64_3182
add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 flip3-+_binary64_3150 sqrt-div_binary64_3164 flip-+_binary64_3121 sqrt-prod_binary64_3163
sqrt-pow1_binary64_3165
pow1/2_binary64_3227 sum-log_binary64_3238 +-commutative_binary64_3077 associate-*r/_binary64_3089
rem-sqrt-square_binary64_3160 distribute-lft-out_binary64_3098 pow-prod-down_binary64_3218
Counts
4 → 51
Calls

4 calls:

9.0ms
(sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
7.0ms
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
4.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
Compiler

Compiled 1296 to 455 computations (64.9% saved)

series468.0ms (4.9%)

Error
7.1b
Counts
4 → 52
Calls

4 calls:

120.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
105.0ms
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
97.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
95.0ms
(sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
Compiler

Compiled 2074 to 1807 computations (12.9% saved)

simplify80.0ms (0.8%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
052961516

prune103.0ms (1.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New967103
Fresh000
Picked011
Done000
Total968104
Error
6.6b
Counts
104 → 8
Compiler

Compiled 1883 to 960 computations (49% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.5b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
30.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
32.4b
(sqrt.f64 (*.f64 2 (*.f64 im im)))

rewrite181.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
6.6b
Rules
51×add-sqr-sqrt_binary64_3169
50×sqrt-prod_binary64_3163
38×*-un-lft-identity_binary64_3147
36×times-frac_binary64_3153
26×add-cube-cbrt_binary64_3182
12×difference-of-squares_binary64_3116
11×pow1_binary64_3208
associate-/r*_binary64_3091
add-log-exp_binary64_3186 add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 distribute-lft-out--_binary64_3099
sqrt-pow1_binary64_3165 sqrt-div_binary64_3164 associate-/l*_binary64_3092
pow-prod-down_binary64_3218 cancel-sign-sub-inv_binary64_3113
pow1/2_binary64_3227 flip3--_binary64_3151 flip--_binary64_3122 associate-/r/_binary64_3093
flip3-+_binary64_3150 flip-+_binary64_3121 rem-sqrt-square_binary64_3160 diff-log_binary64_3239 sub-neg_binary64_3140 div-exp_binary64_3198 cbrt-undiv_binary64_3181 sqrt-undiv_binary64_3168 frac-2neg_binary64_3158 clear-num_binary64_3146 div-inv_binary64_3144
Counts
4 → 108
Calls

4 calls:

19.0ms
(/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
4.0ms
(sqrt.f64 (*.f64 2 (*.f64 im im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Compiler

Compiled 3656 to 1176 computations (67.8% saved)

series452.0ms (4.7%)

Error
2.1b
Counts
4 → 44
Calls

4 calls:

138.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
122.0ms
(/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
112.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
35.0ms
(sqrt.f64 (*.f64 2 (*.f64 im im)))
Compiler

Compiled 2285 to 1794 computations (21.5% saved)

simplify106.0ms (1.1%)

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
049414054
149414054

prune182.0ms (1.9%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1457152
Fresh066
Picked101
Done011
Total14614160
Error
2.0b
Counts
160 → 14
Compiler

Compiled 4357 to 1741 computations (60% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.4b
(*.f64 (sqrt.f64 2) (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
0.5b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
30.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite229.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
2.0b
Rules
91×add-sqr-sqrt_binary64_3169
61×sqrt-prod_binary64_3163
58×*-un-lft-identity_binary64_3147 times-frac_binary64_3153
42×add-cube-cbrt_binary64_3182
33×associate-*r*_binary64_3087
16×difference-of-squares_binary64_3116
11×add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183
associate-/r*_binary64_3091
distribute-lft-out--_binary64_3099
pow1_binary64_3208
add-log-exp_binary64_3186 sqrt-div_binary64_3164 unswap-sqr_binary64_3115 associate-*l*_binary64_3088
associate-/r/_binary64_3093
flip3--_binary64_3151 flip--_binary64_3122 cancel-sign-sub-inv_binary64_3113 associate-/l*_binary64_3092
div-exp_binary64_3198 prod-exp_binary64_3196 cbrt-unprod_binary64_3180 cbrt-undiv_binary64_3181 div-inv_binary64_3144
pow1/2_binary64_3227 sqrt-pow1_binary64_3165 flip3-+_binary64_3150 flip-+_binary64_3121 rem-sqrt-square_binary64_3160 diff-log_binary64_3239 sub-neg_binary64_3140 pow-prod-down_binary64_3218 associate-*r/_binary64_3089 *-commutative_binary64_3078 frac-2neg_binary64_3158 clear-num_binary64_3146
Counts
4 → 144
Calls

4 calls:

22.0ms
(*.f64 (sqrt.f64 2) (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
11.0ms
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Compiler

Compiled 4875 to 1272 computations (73.9% saved)

series650.0ms (6.8%)

Error
0.2b
Counts
4 → 51
Calls

4 calls:

180.0ms
(*.f64 (sqrt.f64 2) (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
163.0ms
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
132.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
114.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
Compiler

Compiled 3084 to 2464 computations (20.1% saved)

simplify77.0ms (0.8%)

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049725213
149725213

prune223.0ms (2.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1923195
Fresh4812
Picked101
Done011
Total19712209
Error
0.2b
Counts
209 → 12
Compiler

Compiled 5578 to 1935 computations (65.3% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))) (sqrt.f64 (sqrt.f64 2))))
0.3b
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.5b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
30.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite220.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
48×add-sqr-sqrt_binary64_3169
41×sqrt-prod_binary64_3163
37×*-un-lft-identity_binary64_3147
27×add-cube-cbrt_binary64_3182 times-frac_binary64_3153
15×add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183
10×pow1_binary64_3208 difference-of-squares_binary64_3116
associate-/r*_binary64_3091 associate-*l*_binary64_3088
add-log-exp_binary64_3186
distribute-lft-out--_binary64_3099 prod-exp_binary64_3196 cbrt-unprod_binary64_3180
sqrt-div_binary64_3164
cancel-sign-sub-inv_binary64_3113 associate-/l*_binary64_3092 pow-prod-down_binary64_3218
flip3--_binary64_3151 flip--_binary64_3122 div-exp_binary64_3198 cbrt-undiv_binary64_3181 associate-/r/_binary64_3093
pow1/2_binary64_3227 sqrt-pow1_binary64_3165 flip3-+_binary64_3150 flip-+_binary64_3121 rem-sqrt-square_binary64_3160 diff-log_binary64_3239 sub-neg_binary64_3140 frac-2neg_binary64_3158 clear-num_binary64_3146 div-inv_binary64_3144 associate-*l/_binary64_3090 associate-*r/_binary64_3089 associate-*r*_binary64_3087 *-commutative_binary64_3078
Counts
4 → 112
Calls

4 calls:

21.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))) (sqrt.f64 (sqrt.f64 2))))
15.0ms
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Compiler

Compiled 4189 to 1650 computations (60.6% saved)

series740.0ms (7.7%)

Error
0.1b
Counts
4 → 51
Calls

4 calls:

178.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))) (sqrt.f64 (sqrt.f64 2))))
166.0ms
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
149.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
114.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
Compiler

Compiled 3589 to 2969 computations (17.3% saved)

simplify72.0ms (0.7%)

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
050654209

prune223.0ms (2.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1603163
Fresh2810
Picked101
Done011
Total16312175
Error
0.1b
Counts
175 → 12
Compiler

Compiled 4857 to 2268 computations (53.3% saved)

regimes2.2s (22.5%)

Accuracy

Total 17.9b remaining (98.3%)

Threshold costs 0b (0%)

Compiler

Compiled 14781 to 10851 computations (26.6% saved)

bsearch141.0ms (1.5%)

Steps
ItersRangePoint
10
7.357543673421647e+118
6.477666456345214e+129
2.3008799010294317e+129
9
1.2280926239142839e-163
1.0064132709944625e-158
1.44375492704954e-163
7
-6.4889775764210945e-292
-6.192470926784294e-294
-1.9885990575258114e-292
9
-6.465375890931584e-185
-2.1569354848757162e-190
-1.3429819466281329e-189
8
-5.312263380690221e+151
-5.128460916259707e+148
-2.4801779605399377e+149
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
095163
195163

end0.0ms (0%)

sample2.7s (28%)

Algorithm
intervals
Results
287.0ms6055×body128valid
162.0ms543×body4096valid
151.0ms648×body2048valid
72.0ms407×body1024valid
32.0ms216×body512valid
12.0ms131×body256valid
Compiler

Compiled 2076 to 1535 computations (26.1% saved)

Profiling

Loading profile data...