Details

Time bar (total: 15.9s)

sample82.0ms

Algorithm
intervals
Results
25.0ms250×body80nan
25.0ms256×body80valid

simplify13.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01828
12721
23321
done3321

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
5.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))

series523.0ms

Counts
3 → 9
Calls
3 calls:
152.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
108.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
262.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.5s

Counts
58 → 58
Iterations

Useful iterations: 4 (1.1s)

IterNodesCost
0991324
11791303
24101133
312341088
449971079
done50001079

prune284.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.0b

localize21.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 (fma (log base) (log base) (* 0.0 0.0))))
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))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite26.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:
13.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))))
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))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series807.0ms

Counts
4 → 12
Calls
4 calls:
260.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))))
163.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
112.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
272.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.6s

Counts
175 → 175
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02596925
15336630
211055576
329875382
done50015253

prune686.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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:
16.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))) (sqrt (fma (log base) (log base) (* 0.0 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))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series969.0ms

Counts
4 → 12
Calls
4 calls:
409.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
167.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))
114.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
279.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.5s

Counts
175 → 175
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02596925
15336630
212295607
329595496
done50015379

prune638.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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 0.0 (log base)))
24.0ms
(* (/ 1 (hypot 0.0 (log base))) (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))))
5.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
369.0ms
(/ 1 (hypot 0.0 (log base)))
376.0ms
(* (/ 1 (hypot 0.0 (log base))) (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))))
350.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))
148.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))

simplify2.6s

Counts
142 → 142
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01843337
14153136
212272762
341902747
done50002707

prune434.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0b

regimes287.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01627
11727
done1727

end0.0ms

sample1.6s

Algorithm
intervals
Results
538.0ms8023×body80nan
531.0ms8000×body80valid