Details

Time bar (total: 22.5s)

sample104.0ms

Algorithm
intervals
Results
39.0ms256×body80valid
30.0ms245×body80nan

simplify16.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
01828
12721
23321
done3321

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize19.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)) (fma (log base) (log base) (* 0.0 0.0)))
0.4b
(fma (log (hypot re im)) (log base) (* (atan2 im re) 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)
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 (hypot re im)) (log base) (* (atan2 im re) 0.0))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.4s

Counts
4 → 12
Calls
4 calls:
85.0ms
(hypot re im)
273.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
191.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
838.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.3s

Counts
71 → 71
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01111384
11971361
24921185
318521140
done50011135

prune578.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize35.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.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.4b
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite43.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:
9.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
19.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))))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
213.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
353.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))))
183.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
441.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.3s

Counts
175 → 175
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02596925
15466630
220825592
done50015387

prune981.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
0.4b
(/ (hypot (log base) 0.0) (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))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
735×times-frac
347×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
135×sqrt-prod
47×associate-/l*
30×div-inv
25×add-exp-log
15×div-exp add-cbrt-cube
associate-/r*
cbrt-undiv associate-/r/
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num fma-udef
associate-/l/
Counts
4 → 386
Calls
4 calls:
36.0ms
(/ (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
6.0ms
(/ (hypot (log base) 0.0) (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))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.5s

Counts
4 → 12
Calls
4 calls:
523.0ms
(/ (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
544.0ms
(/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
144.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
337.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.2s

Counts
398 → 398
Iterations

Useful iterations: done (1.2s)

IterNodesCost
063420577
1155818839
done500015863

prune1.3s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0b

localize48.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)) (sqrt (hypot (log base) 0.0)))
0.4b
(/ (/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (hypot (log base) 0.0))) (sqrt (sqrt (fma (log base) (log base) (* 0.0 0.0)))))
0.4b
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite302.0ms

Algorithm
rewrite-expression-head
Rules
2199×times-frac
1179×sqrt-prod
1020×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
95×associate-/l*
79×div-inv
18×add-exp-log add-cbrt-cube
15×associate-/r*
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num fma-udef associate-/l/
Counts
4 → 982
Calls
4 calls:
23.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (hypot (log base) 0.0)))
94.0ms
(/ (/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (hypot (log base) 0.0))) (sqrt (sqrt (fma (log base) (log base) (* 0.0 0.0)))))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.3s

Counts
4 → 12
Calls
4 calls:
344.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (hypot (log base) 0.0)))
351.0ms
(/ (/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (hypot (log base) 0.0))) (sqrt (sqrt (fma (log base) (log base) (* 0.0 0.0)))))
161.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
493.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.6s

Counts
994 → 994
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0107964664
1256259822
done500052071

prune3.9s

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes340.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01627
11727
done1727

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.5s8000×body80valid
1.5s7978×body80nan