Details

Time bar (total: 12.9s)

sample37.0ms

Algorithm
intervals
Results
19.0ms271×body80valid

simplify9.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01115
11713
22113
done2113

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.2b

localize9.0ms

Local error

Found 2 expressions with local error:

0.5b
(fma x.re y.re (* x.im y.im))
27.7b
(/ (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)))

series119.0ms

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

simplify1.5s

Counts
45 → 45
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
065725
1100714
2248622
3711622
42075622
done5000622

prune140.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 15.3b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
2.0ms
(/ 1 (hypot y.re y.im))
14.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)))
0.0ms
(fma x.re y.re (* x.im y.im))
3.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

series382.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ 1 (hypot y.re y.im))
177.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)))
40.0ms
(fma x.re y.re (* x.im y.im))
113.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify3.1s

Counts
142 → 142
Iterations

Useful iterations: 2 (163.0ms)

IterNodesCost
01542192
13732009
210971759
344161759
done50001759

prune358.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.8b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (hypot y.re y.im))
0.5b
(fma x.re y.re (* x.im y.im))
14.9b
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

rewrite12.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:
6.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (hypot y.re y.im))
0.0ms
(fma x.re y.re (* x.im y.im))
2.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

series283.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (hypot y.re y.im))
43.0ms
(fma x.re y.re (* x.im y.im))
119.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify1.9s

Counts
120 → 120
Iterations

Useful iterations: 3 (647.0ms)

IterNodesCost
01612484
13282423
27882246
322682192
done50012192

prune353.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 6.7b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (hypot y.re y.im))
0.1b
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
0.5b
(fma x.re y.re (* x.im y.im))
15.1b
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.re y.im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log
29×add-sqr-sqrt
23×*-un-lft-identity times-frac
22×add-cube-cbrt
20×add-cbrt-cube
13×associate-*r*
11×div-exp
prod-exp
pow1
cbrt-undiv associate-/r*
expm1-log1p-u cbrt-unprod log1p-expm1-u associate-/l* add-log-exp
rec-exp 1-exp associate-*l* div-inv unswap-sqr
frac-2neg associate-*r/ clear-num un-div-inv associate-/l/
pow-flip pow-prod-down *-commutative fma-udef inv-pow
Counts
4 → 110
Calls
4 calls:
2.0ms
(/ 1 (hypot y.re y.im))
6.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
0.0ms
(fma x.re y.re (* x.im y.im))
8.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.re y.im)))

series328.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ 1 (hypot y.re y.im))
116.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
41.0ms
(fma x.re y.re (* x.im y.im))
115.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.re y.im)))

simplify3.3s

Counts
122 → 122
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
01331652
12961440
28481212
332511198
done50011198

prune259.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 6.7b

regimes200.0ms

Accuracy

17.1% (9.3b remaining)

Error of 15.2b against oracle of 5.9b and baseline of 17.1b

bsearch37.0ms

Steps
ItersRangePoint
8
2.628607714327905e+165
1.5081126682302347e+169
1.188025612414445e+166

simplify6.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01627
12123
done2123

end0.0ms

sample525.0ms

Algorithm
intervals
Results
299.0ms8497×body80valid