Details

Time bar (total: 4.0s)

sample50.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
15.0ms234×body80nan

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03116
15216
26816
38816
410216
510616
610616

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.6b

Counts
2 → 1

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

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
505×*-un-lft-identity
266×add-sqr-sqrt
207×associate-*l*
169×times-frac
145×distribute-lft-out
133×pow1
130×swap-sqr
119×log-pow
84×distribute-lft-out--
68×unswap-sqr
56×difference-of-squares
43×add-cube-cbrt
26×hypot-def
13×associate-/r* associate-/l*
12×log-prod *-commutative
10×add-exp-log add-cbrt-cube
associate-*r* sqrt-prod
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-+ sqrt-div pow-prod-down prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/
cbrt-undiv +-commutative 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 → 327
Calls
4 calls:
57.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))
18.0ms
(sqrt (+ (* re re) (* im im)))

series257.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
339 → 339
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05645478
120815120
250015058

prune688.0ms

Filtered
339 candidates to 114 candidates (66.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New32811339
Fresh000
Picked101
Done000
Total32911340

Merged error: 0.1b

Counts
340 → 11

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
associate-/r* log-pow
add-exp-log add-cbrt-cube associate-/l*
cbrt-undiv expm1-log1p-u frac-2neg div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 33
Calls
1 calls:
3.0ms
(/ (atan2 im re) (log base))

series33.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 4 (49.0ms)

IterNodesCost
0105215
1272201
2671200
31918198
45002196

prune80.0ms

Filtered
36 candidates to 24 candidates (33.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New27936
Fresh7310
Picked101
Done000
Total351247

Merged error: 0.0b

Counts
47 → 12

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(expm1 (log1p (/ (atan2 im re) (log base))))
0.2b
(log1p (/ (atan2 im re) (log base)))
0.3b
(/ (atan2 im re) (log base))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
pow1
add-exp-log add-cbrt-cube
expm1-log1p-u associate-/r* log-pow log1p-expm1-u
associate-/l* add-log-exp
expm1-log1p
cbrt-undiv log1p-udef frac-2neg log1p-expm1 div-exp clear-num div-inv expm1-udef
Counts
3 → 56
Calls
3 calls:
1.0ms
(expm1 (log1p (/ (atan2 im re) (log base))))
1.0ms
(log1p (/ (atan2 im re) (log base)))
3.0ms
(/ (atan2 im re) (log base))

series147.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(expm1 (log1p (/ (atan2 im re) (log base))))
59.0ms
(log1p (/ (atan2 im re) (log base)))
33.0ms
(/ (atan2 im re) (log base))

simplify54.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (49.0ms)

IterNodesCost
0134363
1314331
2720327
31983320
45002314

prune130.0ms

Filtered
65 candidates to 39 candidates (40.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New61465
Fresh3811
Picked101
Done000
Total651277

Merged error: 0.0b

Counts
77 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(expm1 (log1p (* (atan2 im re) (/ 1 (log base)))))
0.2b
(log1p (* (atan2 im re) (/ 1 (log base))))
0.3b
(/ 1 (log base))
0.3b
(* (atan2 im re) (/ 1 (log base)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
26×*-un-lft-identity times-frac
24×add-cube-cbrt
17×add-exp-log
16×associate-*r*
15×pow1
11×add-cbrt-cube
10×associate-*r/
associate-/r* log-pow
associate-/l*
expm1-log1p-u log1p-expm1-u
div-exp prod-exp add-log-exp
associate-*l* clear-num un-div-inv unswap-sqr
cbrt-undiv rec-exp expm1-log1p frac-2neg 1-exp cbrt-unprod div-inv
log1p-udef pow-flip log1p-expm1 pow-prod-down *-commutative inv-pow expm1-udef
Counts
4 → 112
Calls
4 calls:
1.0ms
(expm1 (log1p (* (atan2 im re) (/ 1 (log base)))))
1.0ms
(log1p (* (atan2 im re) (/ 1 (log base))))
3.0ms
(/ 1 (log base))
9.0ms
(* (atan2 im re) (/ 1 (log base)))

series342.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(expm1 (log1p (* (atan2 im re) (/ 1 (log base)))))
88.0ms
(log1p (* (atan2 im re) (/ 1 (log base))))
154.0ms
(/ 1 (log base))
36.0ms
(* (atan2 im re) (/ 1 (log base)))

simplify51.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0248616
1903534
22768483
35001469

prune169.0ms

Filtered
124 candidates to 67 candidates (46.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1195124
Fresh4711
Picked011
Done000
Total12313136

Merged error: 0b

Counts
136 → 13

regimes215.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample1.4s

Algorithm
intervals
Results
554.0ms8000×body80valid
528.0ms7882×body80nan