Details

Time bar (total: 21.5s)

sample117.0ms

Algorithm
intervals
Results
52.0ms251×body80nan
30.0ms256×body80valid

simplify19.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
01828
12721
23321
done3321

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite8.0ms

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

series1.1s

Counts
4 → 12
Calls
4 calls:
51.0ms
(hypot re im)
154.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
220.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
712.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.3s

Counts
71 → 71
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01111384
11961361
24331185
312611140
done50001131

prune551.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
89×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
42×sqrt-prod
16×associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r* div-inv
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num fma-udef
associate-/l/
Counts
4 → 163
Calls
4 calls:
5.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
20.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series966.0ms

Counts
4 → 12
Calls
4 calls:
228.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
127.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
290.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
321.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.0s

Counts
175 → 175
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02596925
15336630
211105576
329965382
done50025253

prune860.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.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
frac-2neg clear-num
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ un-div-inv *-commutative fma-udef inv-pow
Counts
4 → 131
Calls
4 calls:
12.0ms
(/ 1 (hypot (log base) 0.0))
5.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
35.0ms
(* (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (/ 1 (hypot (log base) 0.0)))

series1.2s

Counts
4 → 12
Calls
4 calls:
466.0ms
(/ 1 (hypot (log base) 0.0))
265.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
164.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
276.0ms
(* (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (/ 1 (hypot (log base) 0.0)))

simplify3.0s

Counts
143 → 143
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01863267
14233072
211132688
336042663
done50002634

prune910.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0b

localize54.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
430×times-frac
210×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
40×add-exp-log
30×div-exp div-inv
18×add-cbrt-cube
16×associate-/r* associate-/l*
10×1-exp
cbrt-undiv
pow1
expm1-log1p-u unpow-prod-down rec-exp log1p-expm1-u add-log-exp
pow-unpow
frac-2neg clear-num
pow-to-exp pow-pow pow-exp associate-/r/ log-pow fma-udef associate-/l/ unpow2 sqr-pow
Counts
4 → 287
Calls
4 calls:
24.0ms
(/ (/ 1 1) (/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))))
10.0ms
(/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
6.0ms
(pow (log base) 2)

series1.3s

Counts
4 → 12
Calls
4 calls:
382.0ms
(/ (/ 1 1) (/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))))
556.0ms
(/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
126.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
213.0ms
(pow (log base) 2)

simplify3.1s

Counts
299 → 299
Iterations

Useful iterations: done (3.0s)

IterNodesCost
047612217
1109010416
216529333
340319248
done50019246

prune612.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0b

regimes442.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01524
11924
done1924

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.6s8157×body80nan
1.4s8000×body80valid