Details

Time bar (total: 21.8s)

sample120.0ms

Algorithm
intervals
Results
51.0ms251×body80nan
39.0ms256×body80valid

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01828
12721
23321
done3321

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize20.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))

rewrite22.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)
14.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))

series876.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(hypot re im)
131.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
243.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
424.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

prune462.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize32.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))

rewrite45.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:
10.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
26.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))

series1.2s

Counts
4 → 12
Calls
4 calls:
238.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))
341.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))))
420.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.2s

Counts
175 → 175
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02596925
15336630
211105576
329965382
done50025253

prune980.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize20.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)))

rewrite56.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:
5.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))
40.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:
550.0ms
(/ 1 (hypot (log base) 0.0))
242.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))
213.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.5s

Counts
143 → 143
Iterations

Useful iterations: done (3.5s)

IterNodesCost
01863267
14233072
211132688
336042663
done50002634

prune798.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0b

localize43.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 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)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×add-exp-log
16×associate-/r*
11×add-cbrt-cube
div-exp
pow1
div-inv associate-/l*
cbrt-undiv expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp
pow-unpow
rec-exp frac-2neg 1-exp clear-num
pow-to-exp pow-flip pow-pow pow-exp associate-/r/ log-pow fma-udef unpow2 inv-pow sqr-pow
Counts
4 → 138
Calls
4 calls:
11.0ms
(/ 1 (/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))))
5.0ms
(/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
4.0ms
(pow (log base) 2)

series1.4s

Counts
4 → 12
Calls
4 calls:
454.0ms
(/ 1 (/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))))
536.0ms
(/ (fma 0.0 0.0 (pow (log base) 2)) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
143.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
275.0ms
(pow (log base) 2)

simplify2.3s

Counts
150 → 150
Iterations

Useful iterations: done (2.3s)

IterNodesCost
02234283
14454024
29693562
332213537
done50003535

prune543.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0b

regimes488.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01524
11924
done1924

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.8s8000×body80valid
1.8s8157×body80nan