Details

Time bar (total: 11.6s)

sample53.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
16.0ms241×body80nan

simplify81.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510022
610422
done10422

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.3b
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
0.3b
(* (atan2 im re) (log base))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1
log-prod
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-*l* associate-/r* associate-/l*
associate-/l/
cbrt-undiv hypot-udef flip3-- frac-2neg div-sub div-exp pow-prod-down prod-exp clear-num log-pow *-commutative flip-- cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 79
Calls
4 calls:
0.0ms
(hypot re im)
21.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
8.0ms
(* (atan2 im re) (log base))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series397.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot re im)
67.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
28.0ms
(* (atan2 im re) (log base))
257.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.6s

Counts
91 → 91
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01531628
13081592
29231401
332071342
done50021341

prune336.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×distribute-lft-neg-in distribute-rgt-neg-in
12×associate-/r*
pow1
log-pow
neg-mul-1
add-exp-log add-cbrt-cube associate-/l*
cbrt-undiv expm1-log1p-u frac-2neg div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 65
Calls
1 calls:
8.0ms
(/ (atan2 im re) (- (log base)))

series42.0ms

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

simplify2.8s

Counts
68 → 68
Iterations

Useful iterations: done (2.8s)

IterNodesCost
0108903
1186857
2396831
3777823
41638823
done5000820

prune167.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (fma 0.0 0.0 (pow (log base) 2)) (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im))))))
0.3b
(/ (fma 0.0 0.0 (pow (log base) 2)) (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))))
0.3b
(* (atan2 im re) (log base))
0.5b
(pow (log base) 2)

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
64×add-sqr-sqrt
62×add-cube-cbrt *-un-lft-identity
20×add-exp-log
18×associate-/r*
13×add-cbrt-cube
11×associate-/r/
10×pow1
div-exp
log-prod div-inv associate-/l*
flip3-- flip--
cbrt-undiv expm1-log1p-u unpow-prod-down associate-*r* log1p-expm1-u add-log-exp
distribute-rgt-in pow-unpow distribute-lft-in associate-*l*
rec-exp frac-2neg 1-exp clear-num log-pow
pow-to-exp pow-flip pow-pow pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod unpow2 inv-pow unswap-sqr sqr-pow
Counts
4 → 165
Calls
4 calls:
20.0ms
(/ 1 (/ (fma 0.0 0.0 (pow (log base) 2)) (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im))))))
13.0ms
(/ (fma 0.0 0.0 (pow (log base) 2)) (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))))
11.0ms
(* (atan2 im re) (log base))
3.0ms
(pow (log base) 2)

series436.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ 1 (/ (fma 0.0 0.0 (pow (log base) 2)) (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im))))))
129.0ms
(/ (fma 0.0 0.0 (pow (log base) 2)) (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))))
27.0ms
(* (atan2 im re) (log base))
148.0ms
(pow (log base) 2)

simplify1.1s

Counts
177 → 177
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02785040
15874725
214984251
done50004196

prune493.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (+ (* (atan2 im re) (* 2 (log (cbrt base)))) (* (atan2 im re) (log (cbrt base)))) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
0.5b
(fma (log base) (log base) (* 0.0 0.0))
0.6b
(cbrt base)
0.6b
(cbrt base)

rewrite230.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log cbrt-prod add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
pow1/3 associate-/l/
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- fma-udef div-inv
Counts
4 → 68
Calls
4 calls:
227.0ms
(/ (- (+ (* (atan2 im re) (* 2 (log (cbrt base)))) (* (atan2 im re) (log (cbrt base)))) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))
1.0ms
(cbrt base)
1.0ms
(cbrt base)

series794.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(/ (- (+ (* (atan2 im re) (* 2 (log (cbrt base)))) (* (atan2 im re) (log (cbrt base)))) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
263.0ms
(fma (log base) (log base) (* 0.0 0.0))
178.0ms
(cbrt base)
198.0ms
(cbrt base)

simplify714.0ms

Counts
80 → 80
Iterations

Useful iterations: done (711.0ms)

IterNodesCost
01311964
12991744
210081508
done50001400

prune405.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.0b

regimes199.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
088
1108
done108

end0.0ms

sample1.6s

Algorithm
intervals
Results
549.0ms8038×body80nan
530.0ms8000×body80valid