Details

Time bar (total: 2.6s)

sample27.0ms

Algorithm
intervals
Results
6.0ms189×body80valid
4.0ms22×body2560valid
3.0ms12×body5120valid
2.0ms13×body1280valid
1.0ms11×body640valid
0.0msbody320valid
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

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
1.5b
(+ (sqrt (+ (* re re) (* im im))) re)
31.6b
(sqrt (+ (* re re) (* im im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt fma-def add-log-exp
add-cube-cbrt sqrt-prod
pow1
add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div sum-log
rem-sqrt-square sqrt-pow1 pow1/2 hypot-def distribute-lft-out
Counts
3 → 52
Calls
3 calls:
3.0ms
(+ (* re re) (* im im))
18.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)))

simplify70.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0194279
1769246
22332233
35002230

prune170.0ms

Filtered
61 candidates to 53 candidates (86.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

localize7.0ms

Local error

Found 1 expressions with local error:

1.3b
(+ (hypot re im) re)

rewrite3.0ms

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

series59.0ms

Counts
1 → 3
Calls
1 calls:
59.0ms
(+ (hypot re im) re)

simplify74.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (13.0ms)

IterNodesCost
07461
116255
235055
395254
4305154
5500154

prune57.0ms

Filtered
20 candidates to 18 candidates (90.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 6.3b

localize9.0ms

Local error

Found 1 expressions with local error:

16.3b
(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:
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

series146.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (13.0ms)

IterNodesCost
04588
111873
238769
3153066
4500166

prune41.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 6.3b

localize15.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))
16.0b
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) re)

rewrite3.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:
0.0ms
(cbrt (hypot re im))
0.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
0.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) re)

series484.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(cbrt (hypot re im))
119.0ms
(cbrt (hypot re im))
113.0ms
(cbrt (hypot re im))
138.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) re)

simplify130.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 4 (125.0ms)

IterNodesCost
079316
1179276
2648268
33295254
45002251

prune188.0ms

Filtered
61 candidates to 54 candidates (88.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 6.3b

regimes115.0ms

Accuracy

32.1% (4.0b remaining)

Error of 11.3b against oracle of 7.3b and baseline of 13.2b

bsearch141.0ms

Steps
ItersRangePoint
7
-1.901214192353153e-14
-7.432278704161316e-16
-4.026179673256086e-15
7
-1052513.600169936
-9253.133766593879
-9913.059103329042
10
-1.0719231849388273e+91
-1.1809596141379282e+75
-4.407661401632079e+87

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
03324
13612
23912
33912

end0.0ms

sample694.0ms

Algorithm
intervals
Results
207.0ms6044×body80valid
148.0ms715×body2560valid
81.0ms494×body1280valid
63.0ms263×body5120valid
36.0ms261×body640valid
16.0ms146×body320valid
5.0ms77×body160valid