Details

Time bar (total: 26.0s)

sample109.0ms

Algorithm
intervals
Results
37.0ms277×body80nan
35.0ms256×body80valid

simplify29.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
01828
12721
23321
done3321

prune18.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.6b

localize63.0ms

Local error

Found 3 expressions with local error:

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

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

series879.0ms

Counts
3 → 9
Calls
3 calls:
183.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
253.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
443.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify3.7s

Counts
58 → 58
Iterations

Useful iterations: 4 (1.8s)

IterNodesCost
0991324
11791303
24131133
312371088
449941079
done50001079

prune406.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.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))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
27.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
10.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))

series1.3s

Counts
4 → 12
Calls
4 calls:
496.0ms
(/ 1 (hypot (log base) 0.0))
146.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
475.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
191.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))

simplify3.5s

Counts
142 → 142
Iterations

Useful iterations: done (3.5s)

IterNodesCost
01853303
14193105
212182729
342002714
done50002675

prune698.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
121×times-frac
109×add-sqr-sqrt
93×add-exp-log
73×*-un-lft-identity
62×add-cube-cbrt
45×div-exp
44×associate-*r*
29×add-cbrt-cube
28×prod-exp
16×rec-exp 1-exp
15×unswap-sqr
13×associate-*l*
11×cbrt-undiv
pow1
div-inv
associate-/r* cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-flip pow-prod-down inv-pow
frac-2neg clear-num
frac-times associate-*r/ associate-*l/ associate-/r/ un-div-inv *-commutative fma-udef
Counts
4 → 195
Calls
4 calls:
5.0ms
(/ 1 (hypot (log base) 0.0))
5.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))
64.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))))

series1.8s

Counts
4 → 12
Calls
4 calls:
595.0ms
(/ 1 (hypot (log base) 0.0))
541.0ms
(/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
127.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
568.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))))

simplify3.5s

Counts
207 → 207
Iterations

Useful iterations: done (3.5s)

IterNodesCost
02985665
17395133
216114615
344234441
done50004353

prune1.6s

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0b

localize36.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
10×add-exp-log add-cbrt-cube
associate-/r* div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
fma-udef associate-/l/
Counts
3 → 111
Calls
3 calls:
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
10.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
23.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (hypot (log base) 0.0))

series677.0ms

Counts
3 → 9
Calls
3 calls:
158.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
254.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
265.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (hypot (log base) 0.0))

simplify2.3s

Counts
120 → 120
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01823809
13683738
27893462
322203382
done50013283

prune681.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0b

regimes461.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01829
12228
done2228

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.6s8000×body80valid
1.5s8045×body80nan