Details

Time bar (total: 6.5s)

sample55.0ms

Algorithm
intervals
Results
20.0ms226×body80nan
18.0ms256×body80valid

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

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
30.8b
(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:
14.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
6.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series384.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
93.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
152.0ms
(* (log base) (log base))
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify61.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04671408
118201268
250011217

prune496.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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)
15.0ms
(/ (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
8.0ms
(* (log (* 1 (hypot re im))) (log base))
5.0ms
(* (log base) (log base))

series418.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(hypot re im)
110.0ms
(/ (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
104.0ms
(* (log (* 1 (hypot re im))) (log base))
154.0ms
(* (log base) (log base))

simplify54.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03981152
116041012
25002969

prune448.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
0.4b
(/ (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))
0.5b
(* (log base) (log base))

rewrite24.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:
10.0ms
(/ (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
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))
5.0ms
(* (log base) (log base))

series1.1s

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

simplify66.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05522653
120042343
250022317

prune618.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (log base) (log base))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))

rewrite8.0ms

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

series509.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(* (log base) (log base))
116.0ms
(cbrt (hypot re im))
116.0ms
(cbrt (hypot re im))
120.0ms
(cbrt (hypot re im))

simplify92.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0158358
1539318
22707298
35001290

prune328.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes240.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02821
13021
23021

end0.0ms

sample1.5s

Algorithm
intervals
Results
553.0ms7928×body80nan
547.0ms8000×body80valid