Details

Time bar (total: 8.3s)

sample148.0ms

Algorithm
intervals
Results
57.0ms256×body80valid
49.0ms277×body80nan

simplify4.0ms

Counts
1 → 1

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.8b

localize23.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.6b
(* (log base) (log base))
29.7b
(sqrt (+ (* re re) (* im im)))

rewrite153.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:
61.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
17.0ms
(* (atan2 im re) (log base))
24.0ms
(* (log base) (log base))
48.0ms
(sqrt (+ (* re re) (* im im)))

series437.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
46.0ms
(* (atan2 im re) (log base))
257.0ms
(* (log base) (log base))
66.0ms
(sqrt (+ (* re re) (* im im)))

simplify63.0ms

Counts
120 → 120

prune1.2s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 1 expressions with local error:

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

rewrite17.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:
14.0ms
(/ (atan2 im re) (log (/ 1 base)))

series76.0ms

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

simplify61.0ms

Counts
42 → 42

prune161.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
38×times-frac
31×add-sqr-sqrt
25×*-un-lft-identity
24×add-cube-cbrt
22×associate-*r*
21×log-pow
19×pow1
15×add-exp-log
add-cbrt-cube
pow-flip inv-pow
associate-/r*
div-exp prod-exp
associate-*l* associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv add-log-exp
frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative
Counts
2 → 88
Calls
2 calls:
9.0ms
(/ 1 (log (/ 1 base)))
36.0ms
(* (atan2 im re) (/ 1 (log (/ 1 base))))

series297.0ms

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

simplify57.0ms

Counts
94 → 94

prune354.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite52.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:
22.0ms
(/ (log (/ 1 base)) (atan2 im re))
14.0ms
(/ 1 (/ (log (/ 1 base)) (atan2 im re)))

series138.0ms

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

simplify39.0ms

Counts
159 → 159

prune545.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.0b

regimes349.0ms

Accuracy

21.7% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify51.0ms

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.9s8045×body80nan
1.3s8000×body80valid