Details

Time bar (total: 7.2s)

sample79.0ms

Algorithm
intervals
Results
31.0ms256×body80valid
26.0ms216×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
14416
25616
37416
48016
58016

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.1b

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

rewrite27.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
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-- div-inv
Counts
4 → 108
Calls
4 calls:
12.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)))

series37.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04441213
118161100
250011070

prune1.2s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(log (/ 1 base))
0.3b
(/ (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*
div-inv add-log-exp
cbrt-undiv log-div rec-exp frac-2neg 1-exp log-rec clear-num
Counts
2 → 68
Calls
2 calls:
2.0ms
(log (/ 1 base))
3.0ms
(/ (atan2 im re) (log (/ 1 base)))

series17.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
0197433
1536402
21518386
33905369
45001369

prune426.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
33×times-frac
31×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×cbrt-prod
11×associate-/r*
10×add-exp-log
pow1
distribute-rgt-out log-pow
add-cbrt-cube
pow-flip associate-/l*
inv-pow
add-log-exp
pow1/3 div-exp
cbrt-undiv frac-2neg clear-num associate-/r/ div-inv
rec-exp flip3-+ 1-exp flip-+
Counts
4 → 103
Calls
4 calls:
3.0ms
(/ 1 (cbrt base))
11.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
0.0ms
(cbrt base)
1.0ms
(cbrt base)

series94.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ 1 (cbrt base))
64.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
10.0ms
(cbrt base)
10.0ms
(cbrt base)

simplify39.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0321897
11111815
25001733

prune976.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* (- 2) (log (cbrt base))) (log (pow base (- 1/3))))
0.3b
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (pow base (- 1/3)))))
0.6b
(cbrt base)
5.0b
(pow base (- 1/3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×log-prod
12×associate-+l+
10×pow-unpow
cbrt-prod times-frac
add-exp-log associate-+r+
distribute-rgt-in unpow-prod-down distribute-lft-in add-cbrt-cube
pow1 pow-neg add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in log-rec associate-/r* associate-/l*
neg-sub0 associate-+r- log-div flip3-+ associate-/r/ flip-+ pow-sub sqr-pow
cbrt-undiv +-commutative distribute-lft-neg-out pow-to-exp neg-mul-1 distribute-neg-out pow-pow frac-2neg pow1/3 div-exp unsub-neg pow-exp clear-num sum-log div-inv
Counts
4 → 101
Calls
4 calls:
8.0ms
(+ (* (- 2) (log (cbrt base))) (log (pow base (- 1/3))))
7.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (pow base (- 1/3)))))
0.0ms
(cbrt base)
2.0ms
(pow base (- 1/3))

series127.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(+ (* (- 2) (log (cbrt base))) (log (pow base (- 1/3))))
59.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (pow base (- 1/3)))))
10.0ms
(cbrt base)
9.0ms
(pow base (- 1/3))

simplify49.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04191025
11503894
25002774

prune999.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes537.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
12911
23011
33011

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s8129×body80nan
978.0ms8000×body80valid