Details

Time bar (total: 5.5s)

sample103.0ms

Algorithm
intervals
Results
45.0ms256×body80valid
39.0ms250×body80nan

simplify10.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: 31.1b

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

rewrite29.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))
6.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series246.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04441214
118161100
250011070

prune419.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

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

series153.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0197433
1536402
21518386
33905369
45001369

prune172.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
165×times-frac
84×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
51×log-pow
38×pow1
25×associate-/r*
21×add-exp-log
18×pow-flip inv-pow
13×log-prod
10×div-exp add-cbrt-cube
associate-/l*
div-inv
cbrt-undiv rem-log-exp
rec-exp 1-exp add-log-exp
log-div frac-2neg log-rec clear-num
div-sub distribute-frac-neg associate-/r/
Counts
3 → 182
Calls
3 calls:
2.0ms
(log (/ 1 base))
7.0ms
(/ 1 (/ (log (/ 1 base)) (atan2 im re)))
6.0ms
(/ (log (/ 1 base)) (atan2 im re))

series215.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(log (/ 1 base))
48.0ms
(/ 1 (/ (log (/ 1 base)) (atan2 im re)))
46.0ms
(/ (log (/ 1 base)) (atan2 im re))

simplify50.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04951582
120011392
250011240

prune310.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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))
12.0ms
(* (atan2 im re) (/ -1 (log base)))

series208.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0205380
11004347
25001307

prune143.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes207.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1176
2176

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.3s8000×body80valid
1.3s8022×body80nan