Details

Time bar (total: 21.1s)

sample122.0ms

Algorithm
intervals
Results
43.0ms273×body80nan
36.0ms256×body80valid

simplify39.0ms

Counts
1 → 1
Iterations
IterNodes
done33
233
127
018

prune26.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize25.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt *-un-lft-identity
17×add-cube-cbrt
16×pow1
times-frac
add-cbrt-cube add-exp-log
log-prod swap-sqr log-pow
associate-*r* associate-*l*
distribute-rgt-in expm1-log1p-u associate-/r* distribute-lft-in log1p-expm1-u associate-/l* add-log-exp
pow2 cbrt-undiv clear-num frac-2neg pow-plus div-exp pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef div-inv unswap-sqr
Counts
3 → 77
Calls
3 calls:
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
4.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (* (log base) (log base))))
8.0ms
(* (log base) (log base))

series831.0ms

Counts
3 → 9
Calls
3 calls:
202.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
422.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (* (log base) (log base))))
207.0ms
(* (log base) (log base))

simplify1.6s

Counts
86 → 86
Iterations
IterNodes
done5001
21550
1289
0136

prune710.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize57.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
97×add-sqr-sqrt *-un-lft-identity
95×add-cube-cbrt
42×sqrt-prod
17×pow1
16×associate-/l*
13×add-cbrt-cube add-exp-log
associate-/r* div-inv
log-prod swap-sqr log-pow
expm1-log1p-u cbrt-undiv div-exp associate-*r* associate-*l* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in
clear-num frac-2neg
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef unswap-sqr associate-/l/
Counts
4 → 191
Calls
4 calls:
18.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (hypot (log base) 0.0)) (sqrt (fma 0.0 0.0 (* (log base) (log base)))))
8.0ms
(/ (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (hypot (log base) 0.0))
1.0ms
(fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re)))
16.0ms
(* (log base) (log base))

series944.0ms

Counts
4 → 12
Calls
4 calls:
370.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (hypot (log base) 0.0)) (sqrt (fma 0.0 0.0 (* (log base) (log base)))))
236.0ms
(/ (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (hypot (log base) 0.0))
117.0ms
(fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re)))
220.0ms
(* (log base) (log base))

simplify1.9s

Counts
203 → 203
Iterations
IterNodes
done5000
22826
1624
0288

prune1.4s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.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/ un-div-inv *-commutative fma-udef pow-flip inv-pow
Counts
4 → 131
Calls
4 calls:
8.0ms
(/ (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (hypot (log base) 0.0))
8.0ms
(/ 1 (hypot (log base) 0.0))
46.0ms
(* (/ (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (hypot (log base) 0.0)) (/ 1 (hypot (log base) 0.0)))
1.0ms
(fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re)))

series1.1s

Counts
4 → 12
Calls
4 calls:
217.0ms
(/ (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (hypot (log base) 0.0))
490.0ms
(/ 1 (hypot (log base) 0.0))
216.0ms
(* (/ (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (hypot (log base) 0.0)) (/ 1 (hypot (log base) 0.0)))
137.0ms
(fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re)))

simplify2.1s

Counts
143 → 143
Iterations
IterNodes
done5000
22971
1463
0186

prune1.0s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

localize48.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
155×times-frac
103×add-sqr-sqrt
91×*-un-lft-identity
90×add-cube-cbrt
43×associate-*r*
32×add-exp-log
20×add-cbrt-cube
16×associate-/l*
14×div-exp
11×div-inv
10×pow1
cbrt-undiv
associate-/r*
prod-exp unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp 1-exp associate-*l* cbrt-unprod
clear-num frac-2neg pow-flip inv-pow pow-div
pow-prod-down associate-*r/ *-commutative fma-udef associate-/l/
Counts
4 → 190
Calls
4 calls:
12.0ms
(/ (/ 1 (hypot (log base) 0.0)) (hypot (log base) 0.0))
4.0ms
(/ 1 (hypot (log base) 0.0))
0.0ms
(fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re)))
40.0ms
(* (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (/ (/ 1 (hypot (log base) 0.0)) (hypot (log base) 0.0)))

series1.6s

Counts
4 → 12
Calls
4 calls:
639.0ms
(/ (/ 1 (hypot (log base) 0.0)) (hypot (log base) 0.0))
523.0ms
(/ 1 (hypot (log base) 0.0))
170.0ms
(fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re)))
266.0ms
(* (fma (log (hypot re im)) (log base) (* 0.0 (atan2 im re))) (/ (/ 1 (hypot (log base) 0.0)) (hypot (log base) 0.0)))

simplify1.6s

Counts
202 → 202
Iterations
IterNodes
done5000
23341
1649
0264

prune1.3s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0b

regimes558.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done19
119
015

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.8s8000×body80valid
1.5s8160×body80nan