Details

Time bar (total: 14.9s)

sample124.0ms

Algorithm
intervals
Results
48.0ms256×body80valid
39.0ms314×body80nan

simplify94.0ms

Counts
1 → 1
Iterations
IterNodes
done106
6106
5102
488
368
252
131
018

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize28.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×*-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log
pow1
associate-*l*
expm1-log1p-u associate-/r* associate-*r* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv clear-num frac-2neg div-exp pow-prod-down prod-exp log-pow *-commutative cbrt-unprod fma-udef div-inv unswap-sqr
Counts
3 → 60
Calls
3 calls:
8.0ms
(/ (fma (- 0.0) (log (hypot im re)) (* (log base) (atan2 im re))) (fma (log base) (log base) (* 0.0 0.0)))
13.0ms
(* (log base) (atan2 im re))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series607.0ms

Counts
3 → 9
Calls
3 calls:
175.0ms
(/ (fma (- 0.0) (log (hypot im re)) (* (log base) (atan2 im re))) (fma (log base) (log base) (* 0.0 0.0)))
67.0ms
(* (log base) (atan2 im re))
365.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify384.0ms

Counts
69 → 69
Iterations
IterNodes
done5000
2727
1222
0116

prune756.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
43×times-frac
36×*-un-lft-identity
34×add-cube-cbrt
32×add-exp-log
20×add-cbrt-cube
13×associate-*r* associate-*l*
11×div-exp
prod-exp
pow1
cbrt-undiv associate-/r* associate-/l* unswap-sqr
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv add-log-exp
rec-exp 1-exp
clear-num frac-2neg
frac-times pow-prod-down associate-*l/ associate-*r/ *-commutative fma-udef pow-flip inv-pow
Counts
4 → 130
Calls
4 calls:
31.0ms
(* (/ 1 (hypot 0.0 (log base))) (/ (fma (log base) (atan2 im re) (* (log (hypot im re)) (- 0.0))) (hypot 0.0 (log base))))
5.0ms
(/ 1 (hypot 0.0 (log base)))
4.0ms
(/ (fma (log base) (atan2 im re) (* (log (hypot im re)) (- 0.0))) (hypot 0.0 (log base)))
0.0ms
(fma (log base) (atan2 im re) (* (log (hypot im re)) (- 0.0)))

series1.3s

Counts
4 → 12
Calls
4 calls:
308.0ms
(* (/ 1 (hypot 0.0 (log base))) (/ (fma (log base) (atan2 im re) (* (log (hypot im re)) (- 0.0))) (hypot 0.0 (log base))))
569.0ms
(/ 1 (hypot 0.0 (log base)))
318.0ms
(/ (fma (log base) (atan2 im re) (* (log (hypot im re)) (- 0.0))) (hypot 0.0 (log base)))
58.0ms
(fma (log base) (atan2 im re) (* (log (hypot im re)) (- 0.0)))

simplify1.8s

Counts
142 → 142
Iterations
IterNodes
done5001
23066
1469
0182

prune1.1s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite5.0ms

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

series57.0ms

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

simplify897.0ms

Counts
36 → 36
Iterations
IterNodes
done5001
31366
2302
1110
064

prune180.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize38.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 add-cbrt-cube add-exp-log
*-un-lft-identity add-cube-cbrt
hypot-udef
expm1-log1p-u times-frac swap-sqr associate-*r* associate-*l* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod
pow2 clear-num associate-/r* rem-square-sqrt frac-2neg pow-plus sqrt-unprod pow-prod-down pow-sqr *-commutative pow-prod-up fma-udef div-inv unswap-sqr
Counts
3 → 62
Calls
3 calls:
13.0ms
(/ (fma (log base) (atan2 im re) (* (- (log (hypot im re))) 0.0)) (* (hypot 0.0 (log base)) (hypot 0.0 (log base))))
1.0ms
(fma (log base) (atan2 im re) (* (- (log (hypot im re))) 0.0))
19.0ms
(* (hypot 0.0 (log base)) (hypot 0.0 (log base)))

series972.0ms

Counts
3 → 9
Calls
3 calls:
368.0ms
(/ (fma (log base) (atan2 im re) (* (- (log (hypot im re))) 0.0)) (* (hypot 0.0 (log base)) (hypot 0.0 (log base))))
146.0ms
(fma (log base) (atan2 im re) (* (- (log (hypot im re))) 0.0))
458.0ms
(* (hypot 0.0 (log base)) (hypot 0.0 (log base)))

simplify916.0ms

Counts
71 → 71
Iterations
IterNodes
done5000
21135
1258
0103

prune506.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes497.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done6
06

end0.0ms

sample4.4s

Algorithm
intervals
Results
1.9s7990×body80nan
1.7s8000×body80valid