Details

Time bar (total: 4.5s)

analyze1.0s

Algorithm
search
sampling

Space saved by range analysis: 50.048816%

Space saved by search: 50.048816%

Guaranteed chance to sample good point: 74.804688%

sample35.0ms

Algorithm
intervals
Results
9.0ms190×body80valid
8.0ms28×body2560valid
3.0ms16×body1280valid
3.0ms256×pre80true
2.0msbody5120valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0178
1248
2308
3358
4358

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.7b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.9b
(- (sqrt (+ (* re re) (* im im))) re)
30.1b
(sqrt (+ (* re re) (* im im)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
sqrt-prod add-log-exp
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube difference-of-squares
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+ distribute-lft-out--
Counts
2 → 30
Calls
2 calls:
6.0ms
(- (sqrt (+ (* re re) (* im im))) re)
3.0ms
(sqrt (+ (* re re) (* im im)))

series12.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify82.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 4 (76.0ms)

IterNodesCost
0135228
1332216
2839212
32503211
45002210

prune69.0ms

Filtered
28 candidates to 36 candidates (-28.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New31536
Fresh000
Picked011
Done000
Total31637

Merged error: 12.0b

Counts
37 → 6

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(sqrt (* 2.0 (- im re)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls
1 calls:
4.0ms
(sqrt (* 2.0 (- im re)))

series14.0ms

Counts
1 → 3
Calls
1 calls:
14.0ms
(sqrt (* 2.0 (- im re)))

simplify52.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0131101
142399
2179596
3500194

prune40.0ms

Filtered
13 candidates to 16 candidates (-23.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New14216
Fresh044
Picked011
Done011
Total14822

Merged error: 12.0b

Counts
22 → 8

localize6.0ms

Local error

Found 1 expressions with local error:

0.4b
(* (sqrt 2.0) (sqrt (- im re)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×sqrt-prod
associate-*r*
*-un-lft-identity
associate-*l*
pow1 add-cube-cbrt
unswap-sqr
add-exp-log pow-prod-down add-cbrt-cube
sqrt-pow1 pow1/2 sqrt-div associate-*r/
flip3-- sqrt-unprod prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 34
Calls
1 calls:
8.0ms
(* (sqrt 2.0) (sqrt (- im re)))

series14.0ms

Counts
1 → 3
Calls
1 calls:
14.0ms
(* (sqrt 2.0) (sqrt (- im re)))

simplify89.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0183235
1725231
23552224
35001224

prune59.0ms

Filtered
23 candidates to 37 candidates (-60.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New36137
Fresh055
Picked101
Done022
Total37845

Merged error: 12.0b

Counts
45 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (cbrt 2.0)) (sqrt (- im re)))
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
18×sqrt-prod
14×cbrt-prod *-un-lft-identity
12×add-cube-cbrt
associate-*l*
pow1 associate-*r*
add-exp-log add-cbrt-cube unswap-sqr
add-log-exp
pow1/3 pow-prod-down
sqrt-pow1 pow1/2 sqrt-div associate-*r/
flip3-- sqrt-unprod prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 72
Calls
4 calls:
9.0ms
(* (sqrt (cbrt 2.0)) (sqrt (- im re)))
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)

series34.0ms

Counts
4 → 6
Calls
4 calls:
34.0ms
(* (sqrt (cbrt 2.0)) (sqrt (- im re)))
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)

simplify37.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0277463
11108447
25001429

prune155.0ms

Filtered
58 candidates to 78 candidates (-34.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New77178
Fresh055
Picked101
Done022
Total78886

Merged error: 12.0b

Counts
86 → 8

regimes688.0ms

Accuracy

55.3% (8.5b remaining)

Error of 18.6b against oracle of 10.1b and baseline of 29.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04450
14450

end0.0ms

analyze1.0s

Algorithm
search
sampling

Space saved by range analysis: 50.048816%

Space saved by search: 50.048816%

Guaranteed chance to sample good point: 74.804688%

sample986.0ms

Algorithm
intervals
Results
277.0ms6045×body80valid
189.0ms700×body2560valid
106.0ms486×body1280valid
97.0ms287×body5120valid
93.0ms8000×pre80true
47.0ms262×body640valid
17.0ms137×body320valid
7.0ms83×body160valid

Profiling

Loading profile data...