Details

Time bar (total: 8.0s)

sample109.0ms

Algorithm
intervals
Results
49.0ms305×body80nan
39.0ms256×body80valid

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: 29.7b

localize20.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))
27.3b
(sqrt (+ (* re re) (* im im)))

rewrite33.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)))
7.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series383.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
101.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))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04671409
118201268
250011217

prune477.0ms

Pruning

12 alts after pruning (12 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))

rewrite26.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)
4.0ms
(* (log (hypot re im)) (log base))
12.0ms
(/ (+ (* (log (hypot re im)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
4.0ms
(* (log base) (log base))

series409.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot re im)
101.0ms
(* (log (hypot re im)) (log base))
109.0ms
(/ (+ (* (log (hypot re im)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
154.0ms
(* (log base) (log base))

simplify58.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03941062
11578949
25001919

prune399.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series607.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))
106.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
193.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
152.0ms
(* (log base) (log base))

simplify62.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05262617
118982303
250012279

prune716.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))))
0.3b
(/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
0.3b
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
0.5b
(pow (log base) 2)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×add-exp-log
16×associate-/r*
11×add-cbrt-cube
div-exp
pow1
div-inv associate-/l*
cbrt-undiv expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp
pow-unpow
rec-exp frac-2neg 1-exp clear-num
pow-to-exp pow-flip pow-pow pow-exp associate-/r/ log-pow fma-udef unpow2 inv-pow sqr-pow
Counts
4 → 138
Calls
4 calls:
5.0ms
(/ 1 (/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))))
2.0ms
(/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
2.0ms
(pow (log base) 2)

series929.0ms

Counts
4 → 12
Calls
4 calls:
311.0ms
(/ 1 (/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))))
359.0ms
(/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
107.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
151.0ms
(pow (log base) 2)

simplify70.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04662240
120311988
250011912

prune429.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes217.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02417
12617
22617

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.2s8000×body80valid
1.2s8089×body80nan