Details

Time bar (total: 7.9s)

sample54.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
18.0ms249×body80nan

simplify6.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: 34.7b

localize25.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (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))
32.3b
(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)))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series387.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
102.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
154.0ms
(* (log base) (log base))
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify65.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04671408
118201268
250011217

prune483.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
23×pow1
22×add-cube-cbrt
12×log-prod
10×add-exp-log add-cbrt-cube
times-frac associate-*l* log-pow
associate-*r*
distribute-rgt-in distribute-lft-in swap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down associate-/r* associate-/l*
flip3-+ 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 → 110
Calls
4 calls:
0.0ms
(hypot re im)
11.0ms
(* (log (* 1 (hypot re im))) (log base))
15.0ms
(/ (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
5.0ms
(* (log base) (log base))

series418.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot re im)
104.0ms
(* (log (* 1 (hypot re im))) (log base))
112.0ms
(/ (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
155.0ms
(* (log base) (log base))

simplify57.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
03981152
116041012
25001969

prune460.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.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:
30.0ms
(* (/ 1 (/ (hypot (log base) 0.0) 1)) (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)))
6.0ms
(/ 1 (/ (hypot (log base) 0.0) 1))
3.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))

series1.4s

Counts
4 → 12
Calls
4 calls:
503.0ms
(* (/ 1 (/ (hypot (log base) 0.0) 1)) (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)))
364.0ms
(/ 1 (/ (hypot (log base) 0.0) 1))
356.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))
140.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))

simplify92.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
09363408
142452773
250012572

prune684.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
159×times-frac
96×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
32×add-exp-log
29×associate-/r*
20×div-exp
16×add-cbrt-cube
11×div-inv
associate-/l*
1-exp
cbrt-undiv
pow1
rec-exp
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-flip associate-/r/ inv-pow
fma-udef
Counts
4 → 198
Calls
4 calls:
5.0ms
(/ 1 (/ (hypot (log base) 0.0) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))))
6.0ms
(/ 1 (/ (hypot (log base) 0.0) 1))
3.0ms
(/ (hypot (log base) 0.0) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
356.0ms
(/ 1 (/ (hypot (log base) 0.0) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))))
344.0ms
(/ 1 (/ (hypot (log base) 0.0) 1))
373.0ms
(/ (hypot (log base) 0.0) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)))
140.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06072660
130302392
250012219

prune528.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes246.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02115
12115

end0.0ms

sample1.5s

Algorithm
intervals
Results
571.0ms8018×body80nan
562.0ms8000×body80valid