Details

Time bar (total: 7.0s)

sample60.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
16.0ms228×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03116
15216
26816
38816
410216
510616
610616

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.8b

localize20.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.4b
(* (atan2 im re) (log base))
0.5b
(* (log base) (log base))
28.5b
(sqrt (+ (* re re) (* im im)))

rewrite62.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:
29.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
9.0ms
(* (atan2 im re) (log base))
13.0ms
(* (log base) (log base))
8.0ms
(sqrt (+ (* re re) (* im im)))

series257.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04661254
119241122
250011081

prune441.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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:
3.0ms
(log (/ 1 base))
7.0ms
(/ (atan2 im re) (log (/ 1 base)))

series163.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0201450
1518418
21456402
33870389
45001389

prune192.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base))))
0.3b
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
0.5b
(cbrt base)
0.5b
(cbrt base)

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
34×log-prod
33×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
22×associate-+r+
21×cbrt-prod
12×associate-+l+
10×distribute-rgt-out log-pow
pow1
add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
pow-flip associate-/r* inv-pow add-log-exp
expm1-log1p-u log1p-expm1-u
log-rec associate-/l*
flip3-+ pow1/3 associate-/r/ flip-+ div-inv
cbrt-undiv +-commutative distribute-lft-neg-out associate-+r- log-div distribute-neg-out fma-def frac-2neg div-exp unsub-neg clear-num sum-log
Counts
4 → 119
Calls
4 calls:
20.0ms
(+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base))))
21.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
1.0ms
(cbrt base)
1.0ms
(cbrt base)

series1.2s

Counts
4 → 12
Calls
4 calls:
544.0ms
(+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base))))
236.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
186.0ms
(cbrt base)
185.0ms
(cbrt base)

simplify45.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04901205
115001048
25002921

prune502.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* (- 2) (log (pow (/ 1 base) -1/3))) (log (/ 1 (cbrt base))))
0.3b
(/ (atan2 im re) (+ (* (- 2) (log (pow (/ 1 base) -1/3))) (log (/ 1 (cbrt base)))))
0.5b
(cbrt base)
5.1b
(pow (/ 1 base) -1/3)

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
56×log-prod
54×times-frac
50×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
39×unpow-prod-down
34×associate-+l+
22×associate-+r+
17×distribute-rgt-in distribute-lft-in
12×cbrt-prod
11×add-exp-log
pow1 add-cbrt-cube
div-inv add-log-exp
expm1-log1p-u pow-exp log1p-expm1-u
pow-unpow pow-pow div-exp log-rec associate-/r* associate-/l* sqr-pow
flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative distribute-lft-neg-out pow-to-exp associate-+r- log-div rec-exp distribute-neg-out pow-flip fma-def frac-2neg pow1/3 1-exp unsub-neg clear-num sum-log inv-pow
Counts
4 → 152
Calls
4 calls:
26.0ms
(+ (* (- 2) (log (pow (/ 1 base) -1/3))) (log (/ 1 (cbrt base))))
24.0ms
(/ (atan2 im re) (+ (* (- 2) (log (pow (/ 1 base) -1/3))) (log (/ 1 (cbrt base)))))
1.0ms
(cbrt base)
7.0ms
(pow (/ 1 base) -1/3)

series1.1s

Counts
4 → 12
Calls
4 calls:
532.0ms
(+ (* (- 2) (log (pow (/ 1 base) -1/3))) (log (/ 1 (cbrt base))))
211.0ms
(/ (atan2 im re) (+ (* (- 2) (log (pow (/ 1 base) -1/3))) (log (/ 1 (cbrt base)))))
183.0ms
(cbrt base)
183.0ms
(pow (/ 1 base) -1/3)

simplify76.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
07691553
126281369
250021271

prune621.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes160.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169
1189
2189

end0.0ms

sample1.7s

Algorithm
intervals
Results
582.0ms8062×body80nan
577.0ms8000×body80valid