Details

Time bar (total: 5.1s)

sample56.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
18.0ms217×body80nan

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
14416
25616
37416
48016
58016
done8016

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (atan2 im re) (log base))
0.3b
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.5b
(* (log base) (log base))
28.1b
(sqrt (+ (* re re) (* im im)))

rewrite58.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:
8.0ms
(* (atan2 im re) (log base))
31.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
9.0ms
(* (log base) (log base))
7.0ms
(sqrt (+ (* re re) (* im im)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (atan2 im re) (log base))
42.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
152.0ms
(* (log base) (log base))
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify56.0ms

Counts
120 → 120
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04441213
118161100
250011070
done50011070

prune422.0ms

Pruning

11 alts after pruning (11 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)))

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

series152.0ms

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

simplify110.0ms

Counts
74 → 74
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0197433
1536402
21518386
33905369
45001369
done5001369

prune161.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.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:
3.0ms
(log (/ 1 base))
12.0ms
(/ 1 (/ (log (/ 1 base)) (atan2 im re)))
10.0ms
(/ (log (/ 1 base)) (atan2 im re))

series215.0ms

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

simplify47.0ms

Counts
191 → 191
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04951582
119951392
250021240
done50021240

prune292.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
0.3b
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
0.6b
(cbrt (/ 1 base))
0.6b
(cbrt (/ 1 base))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
65×cbrt-prod
63×times-frac
58×*-un-lft-identity
53×add-sqr-sqrt add-cube-cbrt
48×log-prod
32×associate-+l+
16×distribute-rgt-in associate-+r+ distribute-lft-in
10×distribute-rgt-out
pow1
add-exp-log associate-/r* add-cbrt-cube div-inv
distribute-lft1-in log-pow add-log-exp
cbrt-div associate-/l*
flip3-+ pow1/3 associate-/r/ flip-+
cbrt-undiv +-commutative associate-+r- log-div frac-2neg div-exp clear-num sum-log
Counts
4 → 148
Calls
4 calls:
15.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
22.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
2.0ms
(cbrt (/ 1 base))
2.0ms
(cbrt (/ 1 base))

series700.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
264.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
172.0ms
(cbrt (/ 1 base))
171.0ms
(cbrt (/ 1 base))

simplify48.0ms

Counts
160 → 160
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03991452
111351288
250011146
done50011146

prune516.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes213.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02617
12817
22817
done2817

end0.0ms

sample1.6s

Algorithm
intervals
Results
547.0ms7931×body80nan
542.0ms8000×body80valid