Details

Time bar (total: 1.4s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
091
1111
2111

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(hypot re im)

rewrite1.0ms

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

series54.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02227
12524
22924
33424
45324
510724
651324
7169324
8500124

prune25.0ms

Filtered
13 candidates to 13 candidates (100.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh011
Picked011
Done000
Total12315

Merged error: 0b

Counts
15 → 3

localize5.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(hypot re im)
0.0b
(hypot re im)
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
hypot-udef
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
1.0ms
(hypot re im)
1.0ms
(hypot re im)
6.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))

series258.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(sqrt (hypot re im))
53.0ms
(hypot re im)
54.0ms
(hypot re im)
52.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))

simplify162.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0164296
1615256
23758243
35001243

prune123.0ms

Filtered
98 candidates to 65 candidates (66.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New98098
Fresh011
Picked011
Done011
Total983101

Merged error: 0b

Counts
101 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
28.7b
(sqrt (+ (* re re) (* im im)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
32×*-un-lft-identity
26×hypot-def
17×swap-sqr
15×fma-def
11×associate-*l* *-commutative unswap-sqr
10×distribute-lft-out
add-cube-cbrt sqrt-prod
add-log-exp
pow1 associate-*r*
add-exp-log +-commutative expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 81
Calls
2 calls:
16.0ms
(+ (* re re) (* im im))
18.0ms
(sqrt (+ (* re re) (* im im)))

series71.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(+ (* re re) (* im im))
42.0ms
(sqrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0133191
1559178
21689173
35001171

prune94.0ms

Filtered
87 candidates to 53 candidates (60.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New87087
Fresh000
Picked011
Done022
Total87390

Merged error: 0b

Counts
90 → 3

regimes80.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
031

end0.0ms

sample305.0ms

Algorithm
intervals
Results
180.0ms8000×body80valid