Details

Time bar (total: 2.7s)

analyze345.0ms

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

sample35.0ms

Algorithm
intervals
Results
13.0ms198×body80valid
7.0ms25×body2560valid
3.0ms11×body1280valid
2.0msbody5120valid
2.0ms10×body640valid
0.0msbody320valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
02215
12215

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 38.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 re re) (*.f64 im im))
0.0b
(sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.5b
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
29.7b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64 pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
flip3-+_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64 flip-+_binary64 sqrt-div_binary64
sqrt-pow1_binary64
pow1/2_binary64 associate-*r/_binary64 +-commutative_binary64 sum-log_binary64
pow-prod-down_binary64 distribute-lft-out_binary64 rem-sqrt-square_binary64
Counts
4 → 51
Calls
4 calls:
5.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
8.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)
5.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series48.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
29.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)
6.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

simplify63.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
04967687
14967687

prune63.0ms

Filtered
53 candidates to 63 candidates (-18.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New58563
Fresh000
Picked101
Done000
Total59564

Merged error: 16.4b

Counts
64 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.7b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
29.7b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
30.4b
(sqrt.f64 (*.f64 (*.f64 im im) 2))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64 sqrt-prod_binary64
37×*-un-lft-identity_binary64
36×times-frac_binary64
25×add-cube-cbrt_binary64
12×difference-of-squares_binary64
11×pow1_binary64
associate-/r*_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 distribute-lft-out--_binary64
sqrt-pow1_binary64 associate-/l*_binary64 sqrt-div_binary64
pow-prod-down_binary64
pow1/2_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 sqrt-undiv_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64
Counts
4 → 105
Calls
4 calls:
14.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (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)))
4.0ms
(sqrt.f64 (*.f64 (*.f64 im im) 2))

series45.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (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)
6.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
7.0ms
(sqrt.f64 (*.f64 (*.f64 im im) 2))

simplify84.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049582290
149582290

prune77.0ms

Filtered
84 candidates to 117 candidates (-39.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1125117
Fresh134
Picked101
Done000
Total1148122

Merged error: 8.9b

Counts
122 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (fabs.f64 im) (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
0.3b
(/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
0.7b
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
29.7b
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
156×sqrt-prod_binary64
142×add-sqr-sqrt_binary64
112×times-frac_binary64
99×*-un-lft-identity_binary64
71×add-cube-cbrt_binary64
60×associate-*r*_binary64
28×difference-of-squares_binary64
14×distribute-lft-out--_binary64
11×add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64
pow1_binary64
add-log-exp_binary64 associate-/l*_binary64 sqrt-div_binary64
unswap-sqr_binary64
associate-/r/_binary64
flip3--_binary64 associate-*l*_binary64 flip--_binary64
cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-inv_binary64 div-exp_binary64
pow-prod-down_binary64 flip3-+_binary64 sub-neg_binary64 pow1/2_binary64 diff-log_binary64 associate-*r/_binary64 sqrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 flip-+_binary64 *-commutative_binary64
Counts
4 → 195
Calls
4 calls:
24.0ms
(*.f64 (fabs.f64 im) (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
12.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
5.0ms
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

series66.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(*.f64 (fabs.f64 im) (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
23.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
6.0ms
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

simplify64.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049693986
149693986

prune107.0ms

Filtered
111 candidates to 207 candidates (-86.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2025207
Fresh257
Picked101
Done000
Total20510215

Merged error: 1.7b

Counts
215 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (/.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
0.2b
(*.f64 (fabs.f64 im) (sqrt.f64 (/.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
0.7b
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
29.7b
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt_binary64
60×sqrt-prod_binary64
41×*-un-lft-identity_binary64
38×times-frac_binary64
27×associate-*r*_binary64 add-cube-cbrt_binary64
14×difference-of-squares_binary64
pow1_binary64
distribute-lft-out--_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r/_binary64 sqrt-div_binary64
flip3--_binary64 associate-*l*_binary64 unswap-sqr_binary64 rem-sqrt-square_binary64 flip--_binary64
pow1/2_binary64 sqrt-pow1_binary64 div-inv_binary64
pow-prod-down_binary64 flip3-+_binary64 sub-neg_binary64 diff-log_binary64 cbrt-unprod_binary64 associate-*r/_binary64 prod-exp_binary64 flip-+_binary64 *-commutative_binary64
Counts
4 → 110
Calls
4 calls:
10.0ms
(sqrt.f64 (/.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
16.0ms
(*.f64 (fabs.f64 im) (sqrt.f64 (/.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

series67.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sqrt.f64 (/.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
31.0ms
(*.f64 (fabs.f64 im) (sqrt.f64 (/.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
7.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
6.0ms
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

simplify46.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049832079
149832079

prune69.0ms

Filtered
90 candidates to 122 candidates (-35.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1193122
Fresh279
Picked011
Done000
Total12111132

Merged error: 1.7b

Counts
132 → 11

regimes256.0ms

Accuracy

40.8% (20.6b remaining)

Error of 23.1b against oracle of 2.5b and baseline of 37.2b

bsearch128.0ms

Steps
ItersRangePoint
9
2.0956686038457227e+116
3.2551655494341425e+122
2.6357224810606306e+116
7
4.00309387791329e-163
8.593568001402905e-162
1.8553121509605384e-162
6
4.059173426342869e-179
4.314065622770995e-178
8.731569751909133e-179
7
1.2471739354781702e-199
1.6353546386860062e-197
1.1743424555098952e-197
8
-1.0493850288501458e-256
-4.5427166224783115e-260
-4.06564811773753e-259
7
-4.871034871562344e+154
-2.516184961325803e+152
-3.4810819035158894e+153

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
080104
180104

end0.0ms

sample958.0ms

Algorithm
intervals
Results
302.0ms6065×body80valid
204.0ms692×body2560valid
113.0ms463×body1280valid
104.0ms281×body5120valid
58.0ms286×body640valid
20.0ms141×body320valid
7.0ms72×body160valid

Profiling

Loading profile data...