Details

Time bar (total: 3.5s)

sample52.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
16.0ms234×body80nan

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

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.4b
(* (atan2 im re) (log base))
0.5b
(* (log base) (log base))
32.0b
(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:
41.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))
19.0ms
(sqrt (+ (* re re) (* im im)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
32.0ms
(* (atan2 im re) (log base))
152.0ms
(* (log base) (log base))
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify100.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05405487
119865294
250015252

prune444.0ms

Filtered
305 candidates to 95 candidates (68.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New29411305
Fresh000
Picked101
Done000
Total29511306

Merged error: 0.1b

Counts
306 → 11

localize6.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 frac-2neg div-exp clear-num div-inv add-log-exp
Counts
1 → 31
Calls
1 calls:
3.0ms
(/ (atan2 im re) (log base))

series34.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 4 (49.0ms)

IterNodesCost
0103207
1270193
2669192
31910190
45001188

prune77.0ms

Filtered
34 candidates to 22 candidates (35.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New241034
Fresh7310
Picked101
Done000
Total321345

Merged error: 0.0b

Counts
45 → 13

localize11.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
29×add-sqr-sqrt
26×times-frac
24×*-un-lft-identity
22×add-cube-cbrt
16×associate-*r*
15×add-exp-log
13×pow1
10×associate-*r/
add-cbrt-cube
associate-/r* log-pow
associate-/l*
div-exp prod-exp
associate-*l* clear-num un-div-inv unswap-sqr
cbrt-undiv rec-exp frac-2neg 1-exp cbrt-unprod div-inv add-log-exp
pow-flip pow-prod-down *-commutative inv-pow
Counts
2 → 85
Calls
2 calls:
3.0ms
(/ 1 (log base))
9.0ms
(* (atan2 im re) (/ 1 (log base)))

series195.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0213428
1848368
22691322
35001315

prune127.0ms

Filtered
91 candidates to 42 candidates (53.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New88391
Fresh3912
Picked011
Done000
Total9113104

Merged error: 0.0b

Counts
104 → 13

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
63×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
21×pow1
18×log-pow
15×add-exp-log
13×associate-/l*
10×associate-/r/
add-cbrt-cube
div-exp
div-inv
cbrt-undiv clear-num
frac-2neg remove-double-div
rec-exp 1-exp add-log-exp
pow-flip inv-pow
Counts
2 → 131
Calls
2 calls:
4.0ms
(/ (log base) (atan2 im re))
7.0ms
(/ 1 (/ (log base) (atan2 im re)))

series96.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03411026
11424914
25001807

prune127.0ms

Filtered
137 candidates to 59 candidates (56.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1334137
Fresh5611
Picked101
Done011
Total13911150

Merged error: 0.0b

Counts
150 → 11

regimes182.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
0113
1133
2133

end0.0ms

sample1.5s

Algorithm
intervals
Results
574.0ms8000×body80valid
533.0ms7882×body80nan