Details

Time bar (total: 3.1s)

sample34.0ms

Algorithm
intervals
Results
8.0ms184×body80valid
7.0ms27×body2560valid
3.0ms15×body1280valid
3.0msbody5120valid
2.0ms14×body320valid
1.0msbody640valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1308
2338
3338

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: 36.0b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.7b
(+ (sqrt (+ (* re re) (* im im))) re)
26.5b
(sqrt (+ (* re re) (* im im)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt fma-def sqrt-prod
add-cube-cbrt
add-log-exp
pow1
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log hypot-def distribute-lft-out
Counts
2 → 38
Calls
2 calls:
7.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series85.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify88.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 4 (84.0ms)

IterNodesCost
0155205
1421183
21067180
33190179
45001178

prune123.0ms

Filtered
44 candidates to 40 candidates (90.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New40444
Fresh000
Picked101
Done000
Total41445

Merged error: 8.2b

Counts
45 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot re im)
0.7b
(+ (hypot re im) re)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative hypot-udef flip3-+ sum-log flip-+ distribute-lft-out
Counts
2 → 27
Calls
2 calls:
1.0ms
(hypot re im)
3.0ms
(+ (hypot re im) re)

series102.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(hypot re im)
58.0ms
(+ (hypot re im) re)

simplify80.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
08785
117679
238079
3103078
4314378
5500178

prune83.0ms

Filtered
33 candidates to 31 candidates (93.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New30333
Fresh123
Picked011
Done000
Total31637

Merged error: 8.1b

Counts
37 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.0b
(hypot re im)
17.4b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

rewrite3.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 log1p-expm1-u add-log-exp
hypot-udef
fma-udef
Counts
3 → 30
Calls
3 calls:
1.0ms
(hypot re im)
1.0ms
(hypot re im)
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

series238.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(hypot re im)
44.0ms
(hypot re im)
144.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify50.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
061142
1158121
2456117
31647114
45002114

prune133.0ms

Filtered
39 candidates to 37 candidates (94.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New35439
Fresh134
Picked101
Done011
Total37845

Merged error: 8.1b

Counts
45 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
17.0b
(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)

series653.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (hypot re im))
296.0ms
(cbrt (hypot re im))
116.0ms
(cbrt (hypot re im))
133.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) re)

simplify126.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 4 (121.0ms)

IterNodesCost
079316
1179276
2648268
33295254
45002251

prune166.0ms

Filtered
61 candidates to 54 candidates (88.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New55661
Fresh156
Picked101
Done011
Total571269

Merged error: 8.1b

Counts
69 → 12

regimes105.0ms

Accuracy

20.9% (4.7b remaining)

Error of 12.3b against oracle of 7.6b and baseline of 13.5b

bsearch43.0ms

Steps
ItersRangePoint
8
-3.3950484069829986e-106
-1.639652645814304e-110
-2.846088878062426e-106

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
12412

end0.0ms

sample888.0ms

Algorithm
intervals
Results
281.0ms6005×body80valid
191.0ms700×body2560valid
109.0ms497×body1280valid
88.0ms267×body5120valid
48.0ms283×body640valid
19.0ms149×body320valid
11.0ms99×body160valid