Details

Time bar (total: 9.3s)

sample24.0ms

Algorithm
intervals
Results
13.0ms277×body80valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.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)))

series127.0ms

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

simplify1.1s

Counts
45 → 45
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
065725
1104714
2294622
3797622
42334622
done5000622

prune150.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 15.8b

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

rewrite21.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))
15.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:
50.0ms
(hypot y.re y.im)
37.0ms
(fma y.re x.re (* x.im y.im))
185.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma y.re x.re (* x.im y.im)) (hypot y.re y.im)))
99.0ms
(/ (fma y.re x.re (* x.im y.im)) (hypot y.re y.im))

simplify850.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (117.0ms)

IterNodesCost
01461955
13681833
214801579
done50001579

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

rewrite54.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:
5.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))
32.0ms
(* (/ 1 (hypot y.re y.im)) (/ 1 (/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im)))))
5.0ms
(/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im)))

series436.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(/ 1 (/ (hypot y.re y.im) (fma y.re x.re (* x.im y.im))))
42.0ms
(fma y.re x.re (* x.im y.im))
186.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.2s

Counts
252 → 252
Iterations

Useful iterations: 2 (536.0ms)

IterNodesCost
02915363
18434825
226414048
done50004048

prune574.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.5b

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

rewrite13.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)
6.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))

series321.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot y.re y.im)
46.0ms
(hypot y.re y.im)
121.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.4s

Counts
133 → 133
Iterations

Useful iterations: 3 (386.0ms)

IterNodesCost
01612502
13392439
29552262
329942208
done50012208

prune429.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 1.8b

regimes229.0ms

Accuracy

26.8% (10.4b remaining)

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

bsearch73.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
02445
13241
23541
33841
done3841

end0.0ms

sample536.0ms

Algorithm
intervals
Results
308.0ms8488×body80valid