Details

Time bar (total: 5.5s)

sample56.0ms

Algorithm
intervals
Results
20.0ms289×body80nan
18.0ms256×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03116
15216
26816
38816
410216
510616
610616

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.3b
(* (atan2 im re) (log base))
0.6b
(* (log base) (log base))
29.5b
(sqrt (+ (* re re) (* im im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×*-un-lft-identity
23×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* sqrt-prod associate-/l*
flip3-+ sqrt-div pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
cbrt-undiv pow2 rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow-plus pow1/2 div-sub div-exp clear-num pow-sqr pow-prod-up flip-- hypot-def div-inv
Counts
4 → 117
Calls
4 calls:
16.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
4.0ms
(* (atan2 im re) (log base))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
25.0ms
(* (atan2 im re) (log base))
144.0ms
(* (log base) (log base))
34.0ms
(sqrt (+ (* re re) (* im im)))

simplify59.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04661254
119241122
250011081

prune419.0ms

Filtered
129 candidates to 89 candidates (69.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(log (/ 1 base))
0.4b
(/ (atan2 im re) (log (/ 1 base)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
27×times-frac
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×log-pow
13×log-prod
12×pow1
add-exp-log
associate-/r*
pow-flip inv-pow
rem-log-exp add-cbrt-cube
div-exp associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
cbrt-undiv log-div rec-exp frac-2neg 1-exp log-rec clear-num
Counts
2 → 72
Calls
2 calls:
2.0ms
(log (/ 1 base))
3.0ms
(/ (atan2 im re) (log (/ 1 base)))

series151.0ms

Counts
2 → 6
Calls
2 calls:
113.0ms
(log (/ 1 base))
38.0ms
(/ (atan2 im re) (log (/ 1 base)))

simplify105.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0201449
1540418
21522402
33981385
45002385

prune186.0ms

Filtered
78 candidates to 46 candidates (59.0%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
0.4b
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
0.6b
(cbrt (/ 1 base))
0.6b
(cbrt (/ 1 base))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
65×cbrt-prod
63×times-frac
58×*-un-lft-identity
53×add-sqr-sqrt add-cube-cbrt
48×log-prod
32×associate-+l+
16×distribute-rgt-in associate-+r+ distribute-lft-in
10×distribute-rgt-out
pow1
add-exp-log associate-/r* add-cbrt-cube div-inv
distribute-lft1-in log-pow add-log-exp
expm1-log1p-u log1p-expm1-u
cbrt-div associate-/l*
flip3-+ pow1/3 associate-/r/ flip-+
cbrt-undiv +-commutative associate-+r- log-div fma-def frac-2neg div-exp clear-num sum-log
Counts
4 → 157
Calls
4 calls:
12.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
8.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
2.0ms
(cbrt (/ 1 base))
2.0ms
(cbrt (/ 1 base))

series715.0ms

Counts
4 → 12
Calls
4 calls:
263.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
96.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
175.0ms
(cbrt (/ 1 base))
181.0ms
(cbrt (/ 1 base))

simplify51.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04481447
113121296
250021150

prune575.0ms

Filtered
169 candidates to 134 candidates (79.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (pow base -1/3))
0.3b
(/ (/ (atan2 im re) (log (pow base -1/3))) (+ 2 1))
0.3b
(/ (atan2 im re) (log (pow base -1/3)))
5.0b
(pow base -1/3)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
136×times-frac
108×*-un-lft-identity
74×add-sqr-sqrt add-cube-cbrt
20×log-pow
19×associate-/l*
17×distribute-lft-out
14×add-exp-log
11×add-cbrt-cube
associate-/r*
log-prod div-inv
unpow-prod-down
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
pow-unpow rem-log-exp
pow-to-exp frac-2neg pow-exp clear-num associate-/r/ sqr-pow
pow-pow flip3-+ flip-+ associate-/l/
Counts
4 → 175
Calls
4 calls:
2.0ms
(log (pow base -1/3))
10.0ms
(/ (/ (atan2 im re) (log (pow base -1/3))) (+ 2 1))
2.0ms
(/ (atan2 im re) (log (pow base -1/3)))
1.0ms
(pow base -1/3)

series539.0ms

Counts
4 → 12
Calls
4 calls:
231.0ms
(log (pow base -1/3))
78.0ms
(/ (/ (atan2 im re) (log (pow base -1/3))) (+ 2 1))
62.0ms
(/ (atan2 im re) (log (pow base -1/3)))
168.0ms
(pow base -1/3)

simplify76.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05691500
129091422
250021413

prune488.0ms

Filtered
187 candidates to 141 candidates (75.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes118.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0196
1216
2236
3236

end0.0ms

sample1.5s

Algorithm
intervals
Results
584.0ms8000×body80valid
577.0ms8087×body80nan