Details

Time bar (total: 4.8s)

sample56.0ms

Algorithm
intervals
Results
21.0ms256×body80valid
17.0ms266×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03116
15216
26816
38816
410216
510616
610616

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

rewrite24.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
expm1-log1p-u log1p-expm1-u 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-- hypot-def div-inv
Counts
4 → 117
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))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series238.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)))
25.0ms
(* (atan2 im re) (log base))
143.0ms
(* (log base) (log base))
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify61.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04661254
119241122
250011081

prune407.0ms

Filtered
129 candidates to 89 candidates (69.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1218129
Fresh000
Picked101
Done000
Total1228130

Merged error: 0.1b

Counts
130 → 8

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
cbrt-undiv log-div rec-exp frac-2neg 1-exp log-rec clear-num
Counts
2 → 72
Calls
2 calls:
3.0ms
(log (/ 1 base))
4.0ms
(/ (atan2 im re) (log (/ 1 base)))

series151.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0201449
1540418
21522402
33981385
45002385

prune249.0ms

Filtered
78 candidates to 46 candidates (59.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New70878
Fresh347
Picked101
Done000
Total741286

Merged error: 0.0b

Counts
86 → 12

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt times-frac
20×add-cube-cbrt *-un-lft-identity
16×associate-*r*
11×pow1
add-exp-log add-cbrt-cube
log-pow
associate-/r*
associate-*l* associate-/l*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 70
Calls
2 calls:
3.0ms
(/ -1 (log base))
7.0ms
(* (atan2 im re) (/ -1 (log base)))

series196.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0209396
11008363
25001323

prune171.0ms

Filtered
76 candidates to 49 candidates (64.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New72476
Fresh3811
Picked101
Done000
Total761288

Merged error: 0b

Counts
88 → 12

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

rewrite32.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
expm1-log1p-u log1p-expm1-u
cbrt-div associate-/l*
flip3-+ pow1/3 associate-/r/ flip-+
cbrt-undiv +-commutative associate-+r- log-div fma-def frac-2neg div-exp clear-num sum-log
Counts
4 → 157
Calls
4 calls:
6.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
11.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
2.0ms
(cbrt (/ 1 base))
6.0ms
(cbrt (/ 1 base))

series688.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
254.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
172.0ms
(cbrt (/ 1 base))
167.0ms
(cbrt (/ 1 base))

simplify49.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04481462
112941299
250021152

prune558.0ms

Filtered
169 candidates to 136 candidates (80.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1663169
Fresh6511
Picked101
Done000
Total1738181

Merged error: 0b

Counts
181 → 8

regimes172.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
02512
12712
22712

end0.0ms

sample1.5s

Algorithm
intervals
Results
566.0ms8000×body80valid
542.0ms8146×body80nan