Details

Time bar (total: 6.2s)

sample63.0ms

Algorithm
intervals
Results
23.0ms292×body80nan
18.0ms256×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
14416
25616
37416
48016
58016

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.6b

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

rewrite58.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:
27.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
8.0ms
(* (atan2 im re) (log base))
12.0ms
(* (log base) (log base))
7.0ms
(sqrt (+ (* re re) (* im im)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
26.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
120 → 120
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04441213
118161100
250011070

prune407.0ms

Pruning

11 alts after pruning (11 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*
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:
3.0ms
(log (/ 1 base))
6.0ms
(/ (atan2 im re) (log (/ 1 base)))

series147.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0197434
1514402
21452386
33804373
45002373

prune171.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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
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 frac-2neg div-exp unsub-neg clear-num sum-log
Counts
4 → 110
Calls
4 calls:
23.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
17.0ms
(+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base))))
1.0ms
(cbrt base)
1.0ms
(cbrt base)

series1.1s

Counts
4 → 12
Calls
4 calls:
202.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
512.0ms
(+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base))))
167.0ms
(cbrt base)
170.0ms
(cbrt base)

simplify44.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04501197
113661030
25002916

prune459.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* (- 2) (log (exp (log (pow base 1/3))))) (log (/ 1 (cbrt base))))
0.5b
(cbrt base)
4.1b
(exp (log (pow base 1/3)))
5.0b
(pow base 1/3)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
63×log-prod
29×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×associate-+r+
21×exp-sum
20×associate-+l+
18×times-frac
12×cbrt-prod unpow-prod-down
10×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-log-exp
exp-prod add-cbrt-cube sqr-pow
pow-unpow log-rec
+-commutative distribute-lft-neg-out pow-to-exp associate-+r- log-div distribute-neg-out pow-pow flip3-+ unpow1/3 pow1/3 unsub-neg pow-exp sum-log log-pow flip-+ div-inv rem-exp-log
Counts
4 → 105
Calls
4 calls:
26.0ms
(+ (* (- 2) (log (exp (log (pow base 1/3))))) (log (/ 1 (cbrt base))))
1.0ms
(cbrt base)
4.0ms
(exp (log (pow base 1/3)))
2.0ms
(pow base 1/3)

series988.0ms

Counts
4 → 12
Calls
4 calls:
506.0ms
(+ (* (- 2) (log (exp (log (pow base 1/3))))) (log (/ 1 (cbrt base))))
163.0ms
(cbrt base)
158.0ms
(exp (log (pow base 1/3)))
159.0ms
(pow base 1/3)

simplify49.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0498794
11642555
25002416

prune371.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes183.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
02813
13413
23513
33513

end0.0ms

sample1.6s

Algorithm
intervals
Results
561.0ms8000×body80valid
558.0ms8023×body80nan