Details

Time bar (total: 2.7s)

sample25.0ms

Algorithm
intervals
Results
7.0ms203×body80valid
3.0ms19×body1280valid
3.0ms14×body2560valid
2.0msbody5120valid
1.0msbody640valid
0.0msbody320valid

simplify10.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: 36.8b

Counts
2 → 1

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.5b
(- (sqrt (+ (* re re) (* im im))) re)
27.7b
(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)))

series115.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0250664
11037430
25002381

prune174.0ms

Filtered
82 candidates to 56 candidates (68.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New77582
Fresh000
Picked101
Done000
Total78583

Merged error: 5.6b

Counts
83 → 5

localize7.0ms

Local error

Found 1 expressions with local error:

0.5b
(- (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)

series59.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0119199
1333125
21490116
3500185

prune59.0ms

Filtered
31 candidates to 20 candidates (64.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New30131
Fresh134
Picked011
Done000
Total31536

Merged error: 5.6b

Counts
36 → 5

localize10.0ms

Local error

Found 1 expressions with local error:

12.9b
(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))

simplify56.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
048100
113385
243982
3193178
4500178

prune46.0ms

Filtered
13 candidates to 12 candidates (92.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New12113
Fresh033
Picked011
Done011
Total12618

Merged error: 5.6b

Counts
18 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
12.9b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
12.9b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
12.9b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
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
cbrt-prod fma-udef
pow1/3
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series662.0ms

Counts
4 → 12
Calls
4 calls:
225.0ms
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
144.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
148.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
146.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify48.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0178497
1479435
21621418
35001395

prune218.0ms

Filtered
55 candidates to 52 candidates (94.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New53255
Fresh033
Picked101
Done112
Total55661

Merged error: 5.6b

Counts
61 → 6

regimes137.0ms

Accuracy

32.7% (4.0b remaining)

Error of 11.8b against oracle of 7.8b and baseline of 13.8b

bsearch66.0ms

Steps
ItersRangePoint
11
1.018541337974767e-30
1.8364001780596707e-08
2.869173686874317e-11

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02713
12913
22913

end0.0ms

sample692.0ms

Algorithm
intervals
Results
203.0ms5962×body80valid
142.0ms725×body2560valid
84.0ms525×body1280valid
64.0ms277×body5120valid
35.0ms294×body640valid
13.0ms146×body320valid
4.0ms71×body160valid