Details

Time bar (total: 21.9s)

sample81.0ms

Algorithm
intervals
Results
27.0ms251×body80nan
27.0ms256×body80valid

simplify15.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
01828
12721
23321
done3321

prune41.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

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

rewrite9.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)))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series896.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(hypot re im)
187.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
177.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
454.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

prune397.0ms

Pruning

14 alts after pruning (14 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) (* (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))

rewrite59.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))
23.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 base) (log base) (* 0.0 0.0))

series1.1s

Counts
4 → 12
Calls
4 calls:
190.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
117.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
374.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))))
422.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.2s

Counts
175 → 175
Iterations

Useful iterations: done (2.2s)

IterNodesCost
02596925
15336630
211105576
329965382
done50025253

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

rewrite41.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/ *-commutative fma-udef inv-pow
Counts
4 → 130
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 0.0 (log base)))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
25.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))))

series1.7s

Counts
4 → 12
Calls
4 calls:
500.0ms
(/ 1 (hypot (log base) 0.0))
493.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))
131.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
612.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))))

simplify2.8s

Counts
142 → 142
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01973303
14373105
212522729
341662723
done50002721

prune811.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
32×add-exp-log
28×times-frac
26×add-cbrt-cube
23×add-cube-cbrt *-un-lft-identity
13×associate-*r*
10×cbrt-undiv div-exp
prod-exp cbrt-unprod
associate-*l*
pow1 associate-/r*
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp unswap-sqr
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef
Counts
4 → 112
Calls
4 calls:
29.0ms
(/ (* (cbrt 1) (cbrt 1)) (hypot (log base) 0.0))
8.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
52.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))))

series1.4s

Counts
4 → 12
Calls
4 calls:
486.0ms
(/ (* (cbrt 1) (cbrt 1)) (hypot (log base) 0.0))
208.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))
131.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
596.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))))

simplify2.8s

Counts
124 → 124
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01863345
14442937
211892408
339922402
done50002400

prune774.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes379.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01624
12022
done2022

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.6s8000×body80valid
1.4s8157×body80nan