Details

Time bar (total: 3.9s)

sample75.0ms

Algorithm
intervals
Results
28.0ms256×body80valid
21.0ms236×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
14416
25616
37416
48016
58016

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.9b

Counts
2 → 1

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

rewrite25.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:
9.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))
4.0ms
(sqrt (+ (* re re) (* im im)))

series44.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04411237
117381127
250011101

prune214.0ms

Filtered
75 candidates to 120 candidates (-60.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10713120
Fresh000
Picked101
Done000
Total10813121

Merged error: 0.1b

Counts
121 → 13

localize9.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (atan2 im re) (/ (+ 0 (log base)) 1))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
117×times-frac
93×*-un-lft-identity
57×add-sqr-sqrt add-cube-cbrt
24×distribute-lft-out
19×associate-/r*
13×pow1
12×log-pow
add-exp-log
add-cbrt-cube
div-exp div-inv
cbrt-undiv associate-/l*
frac-2neg 1-exp clear-num associate-/r/ add-log-exp
Counts
1 → 95
Calls
1 calls:
9.0ms
(/ (atan2 im re) (/ (+ 0 (log base)) 1))

series11.0ms

Counts
1 → 3
Calls
1 calls:
10.0ms
(/ (atan2 im re) (/ (+ 0 (log base)) 1))

simplify67.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0355941
11467819
24142698
35001698

prune133.0ms

Filtered
37 candidates to 98 candidates (-164.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New881098
Fresh4812
Picked101
Done000
Total9318111

Merged error: 0.0b

Counts
111 → 18

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
69×times-frac
41×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×log-pow
26×pow1
21×distribute-lft-neg-in distribute-rgt-neg-in
13×log-prod
12×pow-flip inv-pow
10×associate-/l*
add-exp-log
neg-mul-1
associate-/r*
rem-log-exp add-cbrt-cube
div-exp
div-inv add-log-exp
cbrt-undiv neg-sub0 log-div rec-exp frac-2neg 1-exp div-sub distribute-frac-neg log-rec clear-num
Counts
2 → 119
Calls
2 calls:
3.0ms
(log (/ 1 base))
6.0ms
(/ (neg (atan2 im re)) (log (/ 1 base)))

series24.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(log (/ 1 base))
13.0ms
(/ (neg (atan2 im re)) (log (/ 1 base)))

simplify96.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0334929
11125892
24345844
35002830

prune157.0ms

Filtered
65 candidates to 125 candidates (-92.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1196125
Fresh9817
Picked101
Done000
Total12914143

Merged error: 0.0b

Counts
143 → 14

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (neg (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))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
105×times-frac
86×*-un-lft-identity
74×add-sqr-sqrt add-cube-cbrt
65×cbrt-prod
48×log-prod
32×associate-+l+
24×distribute-rgt-out
21×distribute-lft-neg-in distribute-rgt-neg-in
16×pow1 distribute-rgt-in associate-+r+ distribute-lft-in
12×distribute-lft1-in log-pow
10×associate-/l*
neg-mul-1
add-exp-log associate-/r* add-cbrt-cube div-inv
add-log-exp
cbrt-div
flip3-+ pow1/3 associate-/r/ flip-+
cbrt-undiv +-commutative neg-sub0 associate-+r- log-div frac-2neg div-sub distribute-frac-neg div-exp clear-num sum-log
Counts
4 → 199
Calls
4 calls:
10.0ms
(/ (neg (atan2 im re)) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
13.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
2.0ms
(cbrt (/ 1 base))
3.0ms
(cbrt (/ 1 base))

series113.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ (neg (atan2 im re)) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
42.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
21.0ms
(cbrt (/ 1 base))
22.0ms
(cbrt (/ 1 base))

simplify133.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
05412363
113882122
245331935
350021874

prune376.0ms

Filtered
154 candidates to 211 candidates (-37.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2065211
Fresh6713
Picked011
Done000
Total21213225

Merged error: 0.0b

Counts
225 → 13

regimes422.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01911
11911

end0.0ms

sample1.8s

Algorithm
intervals
Results
760.0ms8000×body80valid
589.0ms6656×body80nan

Profiling

Loading profile data...