Details

Time bar (total: 5.5s)

sample59.0ms

Algorithm
intervals
Results
22.0ms289×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.1b

localize22.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)))

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)))

series253.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04441213
118161100
250011070

prune416.0ms

Filtered
120 candidates to 79 candidates (65.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize12.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*
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)))

series155.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
0197434
1514402
21452386
33804373
45002373

prune179.0ms

Filtered
74 candidates to 43 candidates (58.1%)
Pruning

17 alts after pruning (16 fresh and 1 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))

rewrite33.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
cbrt-div associate-/l*
flip3-+ pow1/3 associate-/r/ flip-+
cbrt-undiv +-commutative associate-+r- log-div frac-2neg div-exp clear-num sum-log
Counts
4 → 148
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:
268.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
98.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
174.0ms
(cbrt (/ 1 base))
175.0ms
(cbrt (/ 1 base))

simplify45.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03991452
111351288
250011146

prune571.0ms

Filtered
160 candidates to 125 candidates (78.1%)
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)

rewrite22.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 div-exp 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 → 167
Calls
4 calls:
1.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)

series568.0ms

Counts
4 → 12
Calls
4 calls:
244.0ms
(log (pow base -1/3))
81.0ms
(/ (/ (atan2 im re) (log (pow base -1/3))) (+ 2 1))
70.0ms
(/ (atan2 im re) (log (pow base -1/3)))
173.0ms
(pow base -1/3)

simplify71.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05601468
128831390
250021381

prune495.0ms

Filtered
179 candidates to 133 candidates (74.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes122.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.6s

Algorithm
intervals
Results
596.0ms8087×body80nan
584.0ms8000×body80valid