Details

Time bar (total: 2.6s)

analyze323.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
9.0ms193×body80valid
7.0ms26×body2560valid
6.0ms15×body1280valid
2.0msbody5120valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
02215
12215

prune5.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.0b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (*.f64 2.0 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.2b
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
29.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite22.0ms

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

series50.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(sqrt.f64 (*.f64 2.0 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
9.0ms
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

simplify55.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04936551
14936551

prune82.0ms

Filtered
42 candidates to 49 candidates (-16.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New42749
Fresh000
Picked101
Done000
Total43750

Merged error: 17.8b

Counts
50 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))))
7.7b
(+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) re)
29.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
29.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod_binary64
50×add-sqr-sqrt_binary64
34×sqrt-pow1_binary64
29×pow1_binary64
28×sqrt-div_binary64
18×*-un-lft-identity_binary64 pow1/2_binary64 add-cube-cbrt_binary64
15×swap-sqr_binary64
flip3-+_binary64 associate-*r*_binary64 pow-prod-up_binary64 associate-*l*_binary64 unswap-sqr_binary64 flip-+_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow-prod-down_binary64 pow-sqr_binary64
frac-times_binary64
associate-*r/_binary64 rem-sqrt-square_binary64 associate-*l/_binary64
cbrt-unprod_binary64 rem-square-sqrt_binary64 pow-plus_binary64 sqrt-unprod_binary64 prod-exp_binary64 +-commutative_binary64 pow2_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 124
Calls
4 calls:
17.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))))
16.0ms
(+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) re)
5.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))))
9.0ms
(+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) re)
7.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

simplify72.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049441470
149441470

prune95.0ms

Filtered
72 candidates to 136 candidates (-88.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1351136
Fresh156
Picked011
Done000
Total1367143

Merged error: 17.8b

Counts
143 → 7

localize21.0ms

Local error

Found 4 expressions with local error:

8.2b
(+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) 4) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))) re)
29.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
29.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
29.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
sqrt-prod_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 sqrt-div_binary64
flip3-+_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 flip-+_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
+-commutative_binary64 sum-log_binary64
Counts
4 → 56
Calls
4 calls:
25.0ms
(+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) 4) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))) re)
5.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (sqrt.f64 (*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) 4) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))) re)
7.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

simplify64.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05058634

prune85.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh055
Picked011
Done011
Total68775

Merged error: 17.8b

Counts
75 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2.0)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.4b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
29.4b
(sqrt.f64 (*.f64 (*.f64 im im) 2.0))
29.4b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite39.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:
15.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2.0)) (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 im im) 2.0))
5.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series51.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2.0)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
9.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
5.0ms
(sqrt.f64 (*.f64 (*.f64 im im) 2.0))
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

simplify46.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049172308
149172308

prune96.0ms

Filtered
81 candidates to 117 candidates (-44.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1125117
Fresh134
Picked101
Done202
Total1168124

Merged error: 10.2b

Counts
124 → 8

regimes256.0ms

Accuracy

47.7% (14.0b remaining)

Error of 24.5b against oracle of 10.5b and baseline of 37.3b

bsearch121.0ms

Steps
ItersRangePoint
10
7.879054437551379e+57
1.2371522206970305e+70
8.99727301172237e+57
6
9.624781449627483e+56
7.879054437551379e+57
9.810431200447886e+56
7
1.2694555867180504e-78
2.4744285905050064e-77
1.4310037079643518e-78
6
1.6748916741442751e-118
1.4878500325911111e-117
4.000710555951358e-118
9
3.254534619998204e-188
7.142653857917004e-181
3.3363403467192465e-186
8
-3.0721949970216363e-267
-2.615506481311857e-271
-3.2410829879680627e-270
9
-1.8388342581148795e+169
-2.6092957248578346e+162
-2.649308197943826e+162

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
077130
177130

end0.0ms

sample898.0ms

Algorithm
intervals
Results
292.0ms6048×body80valid
180.0ms664×body2560valid
115.0ms523×body1280valid
87.0ms262×body5120valid
47.0ms274×body640valid
23.0ms147×body320valid
7.0ms82×body160valid

Profiling

Loading profile data...