Details

Time bar (total: 11.3s)

sample20.0ms

Algorithm
intervals
Results
9.0ms264×body80valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
11713
22113
done2113

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma y.re y.re (* y.im y.im))
0.5b
(fma x.re y.re (* x.im y.im))
26.5b
(/ (fma x.re y.re (* x.im y.im)) (fma y.re y.re (* y.im y.im)))

rewrite4.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 y.re y.re (* y.im y.im))
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)))

series161.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(fma y.re y.re (* y.im y.im))
41.0ms
(fma x.re y.re (* x.im y.im))
88.0ms
(/ (fma x.re y.re (* x.im y.im)) (fma y.re y.re (* y.im y.im)))

simplify1.6s

Counts
58 → 58
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
074833
1112819
2287707
3804707
42545707
done5000707

prune193.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 18.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.2b
(* (/ 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))
17.5b
(/ (fma x.re y.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)
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))
2.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

series388.0ms

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

simplify3.2s

Counts
119 → 119
Iterations

Useful iterations: 2 (157.0ms)

IterNodesCost
01471955
13611821
210911579
345911579
done50011579

prune350.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
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))
17.5b
(/ (fma x.re y.re (* x.im y.im)) (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
frac-2neg clear-num
hypot-udef fma-udef associate-/l/
Counts
4 → 121
Calls
4 calls:
0.0ms
(hypot y.re y.im)
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))

series331.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(hypot y.re y.im)
121.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (hypot y.re y.im))
38.0ms
(fma x.re y.re (* x.im y.im))
123.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify1.8s

Counts
133 → 133
Iterations

Useful iterations: 3 (659.0ms)

IterNodesCost
01682544
13392481
28002298
322722244
done50002244

prune443.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 5.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.2b
(* (/ 1 (hypot y.re y.im)) (/ (fma x.re y.re (* x.im y.im)) (pow (hypot y.re y.im) 1)))
0.5b
(fma x.re y.re (* x.im y.im))
17.5b
(/ (fma x.re y.re (* x.im y.im)) (pow (hypot y.re y.im) 1))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt
68×times-frac
53×add-exp-log
45×*-un-lft-identity
41×add-cube-cbrt
25×associate-*r*
24×unpow-prod-down
23×div-exp
18×add-cbrt-cube
16×prod-exp
13×associate-*l*
12×unswap-sqr
10×sqr-pow
associate-/r*
pow1
cbrt-undiv pow-to-exp pow-exp
expm1-log1p-u rec-exp 1-exp cbrt-unprod log1p-expm1-u add-log-exp
div-inv associate-/l*
frac-times hypot-udef frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
4 → 151
Calls
4 calls:
0.0ms
(hypot y.re y.im)
25.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.re y.re (* x.im y.im)) (pow (hypot y.re y.im) 1)))
0.0ms
(fma x.re y.re (* x.im y.im))
4.0ms
(/ (fma x.re y.re (* x.im y.im)) (pow (hypot y.re y.im) 1))

series395.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot y.re y.im)
192.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.re y.re (* x.im y.im)) (pow (hypot y.re y.im) 1)))
38.0ms
(fma x.re y.re (* x.im y.im))
119.0ms
(/ (fma x.re y.re (* x.im y.im)) (pow (hypot y.re y.im) 1))

simplify912.0ms

Counts
163 → 163
Iterations

Useful iterations: 2 (377.0ms)

IterNodesCost
02093304
15322742
215952275
done50002275

prune409.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.8b

regimes234.0ms

Accuracy

37.8% (7.2b remaining)

Error of 13.1b against oracle of 5.9b and baseline of 17.4b

bsearch107.0ms

Steps
ItersRangePoint
11
5.286434132095145e+107
2.6900018818139096e+129
1.8955542797321017e+121
10
-3.4896836630642546e+148
-1.4395777107888637e+138
-6.751507617690198e+142

simplify6.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02547
13241
23341
33641
43741
done3741

end0.0ms

sample546.0ms

Algorithm
intervals
Results
320.0ms8511×body80valid