Details

Time bar (total: 5.1s)

sample56.0ms

Algorithm
intervals
Results
20.0ms266×body80nan
18.0ms256×body80valid

simplify11.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.8b

Counts
2 → 1

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

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
505×*-un-lft-identity
216×add-sqr-sqrt
207×associate-*l*
169×times-frac
145×distribute-lft-out
133×pow1
120×swap-sqr
119×log-pow
84×distribute-lft-out--
58×unswap-sqr
56×difference-of-squares
43×add-cube-cbrt
13×associate-/r* associate-/l*
12×log-prod
10×add-exp-log add-cbrt-cube
associate-*r* sqrt-prod
distribute-rgt-in distribute-lft-in
add-log-exp
flip3-+ sqrt-div pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ associate-/l/
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 → 293
Calls
4 calls:
45.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))
5.0ms
(* (log base) (log base))
16.0ms
(sqrt (+ (* re re) (* im im)))

series248.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)))
27.0ms
(* (atan2 im re) (log base))
145.0ms
(* (log base) (log base))
42.0ms
(sqrt (+ (* re re) (* im im)))

simplify97.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05515486
120185292
250025253

prune502.0ms

Filtered
305 candidates to 95 candidates (31.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2969305
Fresh000
Picked101
Done000
Total2979306

Merged error: 0.1b

Counts
306 → 9

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series150.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0210469
1591433
21600413
34409390
45002390

prune175.0ms

Filtered
84 candidates to 45 candidates (53.6%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New77784
Fresh268
Picked101
Done000
Total801393

Merged error: 0.0b

Counts
93 → 13

localize8.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ -1 (log base))
0.3b
(* (atan2 im re) (/ -1 (log base)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×times-frac
23×*-un-lft-identity
22×add-cube-cbrt
16×associate-*r*
12×pow1
10×associate-*r/
add-exp-log add-cbrt-cube
associate-/r* log-pow
associate-/l*
associate-*l* clear-num
cbrt-undiv frac-2neg div-exp prod-exp un-div-inv cbrt-unprod div-inv add-log-exp unswap-sqr
pow-prod-down *-commutative
Counts
2 → 77
Calls
2 calls:
3.0ms
(/ -1 (log base))
9.0ms
(* (atan2 im re) (/ -1 (log base)))

series209.0ms

Counts
2 → 6
Calls
2 calls:
163.0ms
(/ -1 (log base))
45.0ms
(* (atan2 im re) (/ -1 (log base)))

simplify56.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0221408
11148375
25001336

prune204.0ms

Filtered
83 candidates to 55 candidates (66.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New79483
Fresh4812
Picked011
Done000
Total831396

Merged error: 0b

Counts
96 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
132×*-un-lft-identity
102×times-frac
82×add-sqr-sqrt add-cube-cbrt
65×cbrt-prod
50×log-pow
48×log-prod
45×distribute-rgt-out associate-*r*
44×pow1
32×associate-+l+
28×associate-/r*
27×cbrt-div
20×distribute-lft-out
16×distribute-rgt-in associate-+r+ distribute-lft-in
15×distribute-lft1-in
12×pow1/3 associate-/l*
10×associate-*l*
associate-+r- log-div
add-log-exp
add-exp-log add-cbrt-cube div-inv
frac-2neg clear-num
flip3-+ sum-log associate-/r/ flip-+
cbrt-undiv +-commutative div-exp
Counts
4 → 238
Calls
4 calls:
13.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
20.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
3.0ms
(cbrt (/ 1 base))
7.0ms
(cbrt (/ 1 base))

series704.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
259.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
176.0ms
(cbrt (/ 1 base))
172.0ms
(cbrt (/ 1 base))

simplify69.0ms

Algorithm
egg-herbie
Counts
250 → 250
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04842135
116631877
250021619

prune613.0ms

Filtered
250 candidates to 149 candidates (59.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2455250
Fresh8311
Picked101
Done011
Total2549263

Merged error: 0b

Counts
263 → 9

regimes206.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
02513
12713
22713

end0.0ms

sample1.5s

Algorithm
intervals
Results
578.0ms8000×body80valid
550.0ms8146×body80nan