Details

Time bar (total: 2.6s)

sample31.0ms

Algorithm
intervals
Results
9.0ms187×body80valid
5.0ms24×body2560valid
4.0ms22×body1280valid
2.0msbody5120valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0198
1288
2368
3448
4468
5468

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.3b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.4b
(- (sqrt (+ (* re re) (* im im))) re)
29.3b
(sqrt (+ (* re re) (* im im)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
16×sqrt-prod
add-log-exp
fma-neg
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
flip3-+ sqrt-div flip-+ difference-of-squares
+-commutative sub-neg rem-sqrt-square flip3-- fma-def sqrt-pow1 pow1/2 diff-log sum-log flip-- hypot-def distribute-lft-out--
Counts
3 → 73
Calls
3 calls:
4.0ms
(+ (* re re) (* im im))
8.0ms
(- (sqrt (+ (* re re) (* im im))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series112.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* re re) (* im im))
49.0ms
(- (sqrt (+ (* re re) (* im im))) re)
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify39.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0250664
11037430
25002381

prune182.0ms

Filtered
82 candidates to 56 candidates (68.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New76682
Fresh000
Picked101
Done000
Total77683

Merged error: 7.9b

Counts
83 → 6

localize7.0ms

Local error

Found 1 expressions with local error:

0.4b
(- (hypot re im) re)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
prod-diff
add-cube-cbrt
fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
1 → 28
Calls
1 calls:
4.0ms
(- (hypot re im) re)

series61.0ms

Counts
1 → 3
Calls
1 calls:
60.0ms
(- (hypot re im) re)

simplify47.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0119199
1333125
21490116
3500185

prune62.0ms

Filtered
31 candidates to 20 candidates (64.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New29231
Fresh235
Picked011
Done000
Total31637

Merged error: 7.9b

Counts
37 → 6

localize10.0ms

Local error

Found 1 expressions with local error:

16.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series142.0ms

Counts
1 → 3
Calls
1 calls:
142.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify53.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
048100
113385
243982
3193178
4500178

prune52.0ms

Filtered
13 candidates to 12 candidates (92.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New11213
Fresh044
Picked101
Done011
Total12719

Merged error: 7.9b

Counts
19 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
16.2b
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
1.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))

series491.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(cbrt (hypot re im))
113.0ms
(cbrt (hypot re im))
115.0ms
(cbrt (hypot re im))
152.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))

simplify139.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 4 (133.0ms)

IterNodesCost
084329
1188287
2663279
33464272
45001263

prune184.0ms

Filtered
61 candidates to 55 candidates (90.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New56561
Fresh145
Picked101
Done011
Total581068

Merged error: 7.8b

Counts
68 → 10

regimes182.0ms

Accuracy

24.8% (4.2b remaining)

Error of 11.6b against oracle of 7.4b and baseline of 13.0b

bsearch45.0ms

Steps
ItersRangePoint
7
1.7947041849682734e+52
3.0177612373656884e+53
9.420547715814937e+52

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02713
12913
22913

end0.0ms

sample721.0ms

Algorithm
intervals
Results
220.0ms6060×body80valid
139.0ms665×body2560valid
84.0ms500×body1280valid
74.0ms290×body5120valid
35.0ms274×body640valid
13.0ms134×body320valid
5.0ms77×body160valid