Details

Time bar (total: 1.0s)

sample15.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2125

prune2.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: 30.7b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
47×*-un-lft-identity
26×hypot-def
19×swap-sqr
16×sqrt-prod
15×fma-def associate-*l* distribute-lft-out
11×add-cube-cbrt log-prod *-commutative unswap-sqr
pow1
add-log-exp
add-exp-log sqrt-div
expm1-log1p-u flip3-+ associate-*r* log-pow add-cbrt-cube flip-+ log1p-expm1-u
+-commutative log-div sqrt-pow1 pow1/2
rem-sqrt-square rem-log-exp sum-log
Counts
3 → 107
Calls
3 calls:
15.0ms
(log (sqrt (+ (* re re) (* im im))))
16.0ms
(+ (* re re) (* im im))
21.0ms
(sqrt (+ (* re re) (* im im)))

series138.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(log (sqrt (+ (* re re) (* im im))))
29.0ms
(+ (* re re) (* im im))
44.0ms
(sqrt (+ (* re re) (* im im)))

simplify56.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0168414
1607375
21830370
35001368

prune152.0ms

Filtered
116 candidates to 71 candidates (61.2%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1151116
Fresh000
Picked101
Done000
Total1161117

Merged error: 0b

Counts
117 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(log (hypot re im))
0.0b
(hypot re im)

rewrite2.0ms

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

series127.0ms

Counts
2 → 6
Calls
2 calls:
75.0ms
(log (hypot re im))
52.0ms
(hypot re im)

simplify44.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
05288
16775
29475
313875
428275
558175
6500175

prune49.0ms

Filtered
30 candidates to 25 candidates (83.3%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh000
Picked011
Done000
Total30131

Merged error: 0b

Counts
31 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042

end0.0ms

sample368.0ms

Algorithm
intervals
Results
240.0ms8000×body80valid