Details

Time bar (total: 16.5s)

sample44.0ms

Algorithm
intervals
Results
22.0ms272×body80valid

simplify13.0ms

Counts
1 → 1
Iterations
IterNodes
done21
221
117
011

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.5b

localize43.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

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

series208.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(fma y.im y.im (* y.re y.re))
51.0ms
(fma x.re y.re (* x.im y.im))
113.0ms
(/ (fma x.re y.re (* x.im y.im)) (fma y.im y.im (* y.re y.re)))

simplify1.9s

Counts
58 → 58
Iterations
IterNodes
done5007
43040
3829
2287
1116
073

prune375.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 30.7b

localize42.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x.re y.re (* x.im y.im))
17.5b
(/ (fma x.re y.re (* x.im y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
33.1b
(sqrt (fma y.im y.im (* y.re y.re)))
33.1b
(sqrt (fma y.im y.im (* y.re y.re)))

rewrite16.0ms

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

series361.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(fma x.re y.re (* x.im y.im))
167.0ms
(/ (fma x.re y.re (* x.im y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
50.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
78.0ms
(sqrt (fma y.im y.im (* y.re y.re)))

simplify3.1s

Counts
95 → 95
Iterations
IterNodes
done5000
54414
41335
3532
2242
1138
090

prune792.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 27.9b

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma y.im y.im (* y.re y.re))
0.5b
(fma x.re y.re (* x.im y.im))
0.8b
(/ 1 (/ (fma y.im y.im (* y.re y.re)) (fma x.re y.re (* x.im y.im))))
30.6b
(/ (fma y.im y.im (* y.re y.re)) (fma x.re y.re (* x.im y.im)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
17×add-exp-log
16×associate-/r*
11×add-cbrt-cube
div-exp
div-inv associate-/l*
pow1
expm1-log1p-u cbrt-undiv log1p-expm1-u add-log-exp
rec-exp clear-num frac-2neg 1-exp fma-udef
associate-/r/ pow-flip inv-pow
Counts
4 → 127
Calls
4 calls:
0.0ms
(fma y.im y.im (* y.re y.re))
0.0ms
(fma x.re y.re (* x.im y.im))
8.0ms
(/ 1 (/ (fma y.im y.im (* y.re y.re)) (fma x.re y.re (* x.im y.im))))
6.0ms
(/ (fma y.im y.im (* y.re y.re)) (fma x.re y.re (* x.im y.im)))

series443.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(fma y.im y.im (* y.re y.re))
74.0ms
(fma x.re y.re (* x.im y.im))
202.0ms
(/ 1 (/ (fma y.im y.im (* y.re y.re)) (fma x.re y.re (* x.im y.im))))
117.0ms
(/ (fma y.im y.im (* y.re y.re)) (fma x.re y.re (* x.im y.im)))

simplify2.2s

Counts
139 → 139
Iterations
IterNodes
done5020
32894
2837
1372
0171

prune1.3s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 15.2b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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
clear-num frac-2neg
frac-times pow-prod-down associate-*l/ associate-*r/ *-commutative fma-udef pow-flip inv-pow
Counts
4 → 130
Calls
4 calls:
4.0ms
(/ 1 (hypot y.im y.re))
0.0ms
(fma y.im x.im (* y.re x.re))
24.0ms
(* (/ 1 (hypot y.im y.re)) (/ (fma y.im x.im (* y.re x.re)) (hypot y.im y.re)))
8.0ms
(/ (fma y.im x.im (* y.re x.re)) (hypot y.im y.re))

series482.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ 1 (hypot y.im y.re))
56.0ms
(fma y.im x.im (* y.re x.re))
231.0ms
(* (/ 1 (hypot y.im y.re)) (/ (fma y.im x.im (* y.re x.re)) (hypot y.im y.re)))
130.0ms
(/ (fma y.im x.im (* y.re x.re)) (hypot y.im y.re))

simplify2.2s

Counts
142 → 142
Iterations
IterNodes
done5003
21334
1403
0152

prune881.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.2b

regimes696.0ms

Accuracy

28.8% (8.5b remaining)

Error of 13.5b against oracle of 5.0b and baseline of 16.9b

bsearch97.0ms

Steps
ItersRangePoint
9
1.5493309259746312e+165
3.1548477376268985e+170
7.009208612122959e+165
9
-1.791129263346789e+252
-1.6718985510668067e+245
-1.6968892796472902e+245

simplify7.0ms

Iterations
IterNodes
done32
332
229
126
020

end0.0ms

sample1.1s

Algorithm
intervals
Results
808.0ms8471×body80valid