Details

Time bar (total: 9.3s)

sample20.0ms

Algorithm
intervals
Results
9.0ms277×body80valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01115
11713
22113
done2113

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.9b

localize9.0ms

Local error

Found 2 expressions with local error:

0.3b
(fma x.re y.re (* x.im y.im))
24.5b
(/ (fma x.re y.re (* x.im y.im)) (fma y.re y.re (* y.im y.im)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
0.0ms
(fma x.re y.re (* x.im y.im))
2.0ms
(/ (fma x.re y.re (* x.im y.im)) (fma y.re y.re (* y.im y.im)))

series133.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(fma x.re y.re (* x.im y.im))
91.0ms
(/ (fma x.re y.re (* x.im y.im)) (fma y.re y.re (* y.im y.im)))

simplify1.3s

Counts
45 → 45
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
065725
1104714
2294622
3797622
42334622
done5000622

prune141.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 15.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.3b
(fma y.re x.re (* x.im y.im))
0.3b
(* (/ 1 (hypot y.re y.im)) (/ (fma y.re x.re (* x.im y.im)) (hypot y.re y.im)))
15.3b
(/ (fma y.re x.re (* x.im y.im)) (hypot y.re y.im))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×times-frac
28×add-exp-log *-un-lft-identity
26×add-cube-cbrt
18×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
pow1 unswap-sqr
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-/r* div-inv associate-/l*
rec-exp 1-exp
frac-times hypot-udef frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
4 → 107
Calls
4 calls:
0.0ms
(hypot y.re y.im)
0.0ms
(fma y.re x.re (* x.im y.im))
13.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma y.re x.re (* x.im y.im)) (hypot y.re y.im)))
2.0ms
(/ (fma y.re x.re (* x.im y.im)) (hypot y.re y.im))

series371.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot y.re y.im)
41.0ms
(fma y.re x.re (* x.im y.im))
186.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma y.re x.re (* x.im y.im)) (hypot y.re y.im)))
98.0ms
(/ (fma y.re x.re (* x.im y.im)) (hypot y.re y.im))

simplify879.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (127.0ms)

IterNodesCost
01461955
13681833
214801579
done50001579

prune325.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 4.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im))))
0.3b
(fma y.re x.re (* x.im y.im))
0.3b
(* (/ 1 (hypot y.re y.im)) (/ 1 (/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im)))))
15.4b
(/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
143×add-sqr-sqrt
107×*-un-lft-identity
100×add-exp-log
96×add-cube-cbrt
50×div-exp
44×associate-*r*
32×add-cbrt-cube
28×prod-exp
17×rec-exp 1-exp
16×associate-/r*
15×unswap-sqr
13×cbrt-undiv associate-*l*
11×div-inv
pow1
cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-flip pow-prod-down inv-pow
frac-2neg clear-num associate-/r/
frac-times associate-*r/ associate-*l/ un-div-inv *-commutative fma-udef
Counts
4 → 240
Calls
4 calls:
8.0ms
(/ 1 (/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im))))
0.0ms
(fma y.re x.re (* x.im y.im))
29.0ms
(* (/ 1 (hypot y.re y.im)) (/ 1 (/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im)))))
2.0ms
(/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im)))

series440.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(/ 1 (/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im))))
39.0ms
(fma y.re x.re (* x.im y.im))
185.0ms
(* (/ 1 (hypot y.re y.im)) (/ 1 (/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im)))))
93.0ms
(/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im)))

simplify2.1s

Counts
252 → 252
Iterations

Useful iterations: 2 (409.0ms)

IterNodesCost
02915363
18434825
226414048
done50004048

prune550.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.0b
(hypot y.re y.im)
0.1b
(/ (/ (fma y.im x.im (* y.re x.re)) (hypot y.re y.im)) (hypot y.re y.im))
15.3b
(/ (fma y.im x.im (* y.re x.re)) (hypot y.re y.im))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
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
hypot-udef frac-2neg clear-num
associate-/l/
Counts
4 → 121
Calls
4 calls:
0.0ms
(hypot y.re y.im)
0.0ms
(hypot y.re y.im)
8.0ms
(/ (/ (fma y.im x.im (* y.re x.re)) (hypot y.re y.im)) (hypot y.re y.im))
2.0ms
(/ (fma y.im x.im (* y.re x.re)) (hypot y.re y.im))

series317.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot y.re y.im)
48.0ms
(hypot y.re y.im)
119.0ms
(/ (/ (fma y.im x.im (* y.re x.re)) (hypot y.re y.im)) (hypot y.re y.im))
105.0ms
(/ (fma y.im x.im (* y.re x.re)) (hypot y.re y.im))

simplify1.5s

Counts
133 → 133
Iterations

Useful iterations: 3 (396.0ms)

IterNodesCost
01612502
13392439
29552262
329942208
done50012208

prune367.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 1.8b

regimes218.0ms

Accuracy

26.8% (10.4b remaining)

Error of 12.9b against oracle of 2.5b and baseline of 16.8b

bsearch68.0ms

Steps
ItersRangePoint
5
8.957497130921995e+173
2.753131322655158e+174
9.568321133628251e+173
9
-2.4646235951984806e+94
-5.042571483055581e+85
-2.417601261285543e+94

simplify5.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02239
13035
23735
34035
done4035

end0.0ms

sample497.0ms

Algorithm
intervals
Results
290.0ms8488×body80valid