Details

Time bar (total: 3.7s)

sample56.0ms

Algorithm
intervals
Results
20.0ms256×body80valid
19.0ms253×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
14416
25616
37416
48016
58016

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

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))
31.2b
(sqrt (+ (* re re) (* im im)))

rewrite27.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:
12.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)))

series253.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04441213
118161100
250011070

prune423.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.0ms

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

series37.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0118301
1327280
2965275
32738274
45001274

prune110.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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 div-exp prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 66
Calls
2 calls:
2.0ms
(/ -1 (log base))
8.0ms
(* (atan2 im re) (/ -1 (log base)))

series205.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0205385
1914347
24574312
35001308

prune168.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
76×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
48×log-pow
35×pow1
25×associate-/r*
17×pow-flip inv-pow
15×add-exp-log
add-cbrt-cube associate-/l*
div-exp
div-inv
cbrt-undiv
rec-exp frac-2neg 1-exp clear-num add-log-exp
log-div div-sub distribute-frac-neg log-rec associate-/r/
Counts
2 → 153
Calls
2 calls:
7.0ms
(/ 1 (/ (log (/ 1 base)) (atan2 im re)))
6.0ms
(/ (log (/ 1 base)) (atan2 im re))

series94.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04231449
118001277
250011138

prune223.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes225.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0145
1165
2165

end0.0ms

sample1.5s

Algorithm
intervals
Results
582.0ms8000×body80valid
570.0ms7893×body80nan