Details

Time bar (total: 6.5s)

sample51.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
16.0ms237×body80nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
13316
23316

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.4b
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.5b
(* (log base) (log base))
30.6b
(sqrt (+ (* re re) (* im im)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×*-un-lft-identity
23×pow1 add-cube-cbrt
12×log-prod
10×add-exp-log associate-*l* log-pow add-cbrt-cube
times-frac
associate-*r*
distribute-rgt-in distribute-lft-in swap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-+ associate-/r* sqrt-prod flip-+ associate-/l*
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv pow2 rem-sqrt-square frac-2neg pow-plus div-exp clear-num pow-sqr pow-prod-up hypot-def div-inv
Counts
4 → 119
Calls
4 calls:
6.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
14.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
5.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series375.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
99.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
150.0ms
(* (log base) (log base))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04671409
118201268
250011217

prune478.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.3b
(* (log (hypot re im)) (log base))
0.4b
(/ (+ (* (log (hypot re im)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.5b
(* (log base) (log base))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
22×add-cube-cbrt
21×pow1
12×log-prod
10×add-exp-log add-cbrt-cube
times-frac
associate-*r* associate-*l* log-pow
distribute-rgt-in distribute-lft-in swap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
flip3-+ pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
cbrt-undiv pow2 hypot-udef frac-2neg pow-plus div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 109
Calls
4 calls:
0.0ms
(hypot re im)
5.0ms
(* (log (hypot re im)) (log base))
13.0ms
(/ (+ (* (log (hypot re im)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
5.0ms
(* (log base) (log base))

series406.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot re im)
99.0ms
(* (log (hypot re im)) (log base))
112.0ms
(/ (+ (* (log (hypot re im)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
150.0ms
(* (log base) (log base))

simplify52.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03941062
11578949
25001919

prune416.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (hypot (log base) 0.0) 1))
0.3b
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
0.3b
(* (/ 1 (/ (hypot (log base) 0.0) 1)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)))
0.4b
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
170×add-exp-log
157×times-frac
104×add-sqr-sqrt
93×div-exp
90×*-un-lft-identity
85×add-cube-cbrt
62×prod-exp
50×add-cbrt-cube
44×associate-*l*
41×1-exp
20×cbrt-undiv
15×rec-exp
14×associate-/r*
13×cbrt-unprod
11×div-inv
pow1 associate-*r* unswap-sqr
associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef inv-pow
Counts
4 → 236
Calls
4 calls:
6.0ms
(/ 1 (/ (hypot (log base) 0.0) 1))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
35.0ms
(* (/ 1 (/ (hypot (log base) 0.0) 1)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)))
3.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))

series964.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(/ 1 (/ (hypot (log base) 0.0) 1))
105.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
358.0ms
(* (/ 1 (/ (hypot (log base) 0.0) 1)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)))
156.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))

simplify94.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
09403378
143642753
250012552

prune663.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
0.0ms
(cbrt (hypot re im))
0.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))

series574.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
111.0ms
(cbrt (hypot re im))
235.0ms
(cbrt (hypot re im))
112.0ms
(cbrt (hypot re im))

simplify98.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0148478
1573438
22836406
35001402

prune356.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes204.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02215
12415
22415

end0.0ms

sample1.5s

Algorithm
intervals
Results
556.0ms8140×body80nan
543.0ms8000×body80valid