Details

Time bar (total: 10.1s)

sample22.0ms

Algorithm
intervals
Results
9.0ms269×body80valid

simplify66.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.2b

localize13.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
27.7b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-sub div-exp prod-diff clear-num flip-+ div-inv
Counts
2 → 50
Calls
2 calls:
8.0ms
(- (* x.im y.re) (* x.re y.im))
25.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series130.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(- (* x.im y.re) (* x.re y.im))
92.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify1.3s

Counts
56 → 56
Iterations

Useful iterations: done (1.3s)

IterNodesCost
0971020
1271919
2930841
33199837
done5000836

prune156.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 13.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (hypot y.re y.im))
0.2b
(* (/ 1 (hypot y.re y.im)) (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)))
0.3b
(fma x.im y.re (- (* y.im x.re)))
17.4b
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

rewrite39.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 y.re y.im))
23.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)))
0.0ms
(fma x.im y.re (- (* y.im x.re)))
5.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

series428.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ 1 (hypot y.re y.im))
187.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)))
47.0ms
(fma x.im y.re (- (* y.im x.re)))
140.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

simplify2.6s

Counts
142 → 142
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01552322
13582140
210941888
341241874
done50011840

prune340.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.5b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
0.3b
(fma x.im y.re (- (* y.im x.re)))
17.4b
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

rewrite23.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:
13.0ms
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
0.0ms
(fma x.im y.re (- (* y.im x.re)))
5.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

series333.0ms

Counts
3 → 9
Calls
3 calls:
142.0ms
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
46.0ms
(fma x.im y.re (- (* y.im x.re)))
145.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

simplify1.5s

Counts
120 → 120
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01622652
13292592
27462403
325522349
done50002285

prune388.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.5b

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (+ (* y.re x.im) (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
0.3b
(+ (* y.re x.im) (- (* y.im x.re)))
17.4b
(/ (+ (* y.re x.im) (- (* y.im x.re))) (hypot y.re y.im))

rewrite69.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
div-sub
add-log-exp
associate-/r* div-inv
cbrt-undiv div-exp
pow1 neg-sub0 expm1-log1p-u associate-+r- unsub-neg log1p-expm1-u associate-/l/
frac-2neg flip3-+ clear-num sum-log flip-+
+-commutative fma-def neg-log
Counts
3 → 127
Calls
3 calls:
28.0ms
(/ (/ (+ (* y.re x.im) (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
8.0ms
(+ (* y.re x.im) (- (* y.im x.re)))
25.0ms
(/ (+ (* y.re x.im) (- (* y.im x.re))) (hypot y.re y.im))

series281.0ms

Counts
3 → 9
Calls
3 calls:
125.0ms
(/ (/ (+ (* y.re x.im) (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
43.0ms
(+ (* y.re x.im) (- (* y.im x.re)))
112.0ms
(/ (+ (* y.re x.im) (- (* y.im x.re))) (hypot y.re y.im))

simplify1.0s

Counts
136 → 136
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01873058
14412807
212652612
done50002556

prune401.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.5b

regimes199.0ms

Accuracy

33.1% (8.1b remaining)

Error of 12.9b against oracle of 4.8b and baseline of 16.9b

bsearch64.0ms

Steps
ItersRangePoint
5
3.1995439014547363e+193
7.923655262303924e+193
3.313512139340002e+193
8
-4.354416350763856e+162
-3.226459196029535e+159
-2.0381197724134258e+160

simplify10.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02650
13944
24244
34544
44644
done4644

end0.0ms

sample585.0ms

Algorithm
intervals
Results
289.0ms8473×body80valid