Details

Time bar (total: 9.3s)

sample22.0ms

Algorithm
intervals
Results
11.0ms272×body80valid

simplify6.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: 25.6b

localize9.0ms

Local error

Found 3 expressions with local error:

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

series157.0ms

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

simplify701.0ms

Counts
58 → 58
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
074833
1116819
2389707
31479707
done5000707

prune174.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 17.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

series380.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma x.re y.re (* x.im y.im))
54.0ms
(/ 1 (hypot y.re y.im))
179.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)))
111.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify943.0ms

Counts
142 → 142
Iterations

Useful iterations: 2 (140.0ms)

IterNodesCost
01542192
13852031
215231759
done50001759

prune346.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.8b

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series288.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(fma x.re y.re (* y.im x.im))
123.0ms
(/ (/ (fma x.re y.re (* y.im x.im)) (hypot y.re y.im)) (hypot y.re y.im))
124.0ms
(/ (fma x.re y.re (* y.im x.im)) (hypot y.re y.im))

simplify1.9s

Counts
120 → 120
Iterations

Useful iterations: 3 (593.0ms)

IterNodesCost
01602484
13342423
211282246
335342192
done50002192

prune341.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot y.re y.im))
0.1b
(/ (/ (/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im))) (hypot y.re y.im))
8.2b
(/ (/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im)))
8.5b
(/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im)))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
1644×times-frac
787×add-sqr-sqrt
786×add-cube-cbrt *-un-lft-identity
627×sqrt-prod
161×associate-/l*
38×div-inv
20×add-exp-log add-cbrt-cube
15×associate-/r*
10×cbrt-undiv div-exp
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
associate-/l/
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 799
Calls
4 calls:
1.0ms
(sqrt (hypot y.re y.im))
41.0ms
(/ (/ (/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im))) (hypot y.re y.im))
10.0ms
(/ (/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im)))
3.0ms
(/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im)))

series594.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(sqrt (hypot y.re y.im))
133.0ms
(/ (/ (/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im))) (hypot y.re y.im))
126.0ms
(/ (/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im)))
250.0ms
(/ (fma x.re y.re (* y.im x.im)) (sqrt (hypot y.re y.im)))

simplify820.0ms

Counts
811 → 811
Iterations

Useful iterations: done (788.0ms)

IterNodesCost
084830067
1199227372
done500026874

prune1.6s

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 6.2b

regimes210.0ms

Accuracy

36.1% (7.3b remaining)

Error of 12.9b against oracle of 5.6b and baseline of 17.0b

bsearch70.0ms

Steps
ItersRangePoint
8
7.599228493726907e+133
3.825156670365702e+136
1.3841272509628985e+136
6
-1.1032309685048642e+159
-2.4649475886005464e+158
-3.819667997978458e+158

simplify7.0ms

Iterations

Useful iterations: 2 (2.0ms)

IterNodesCost
02345
13039
23133
34033
44133
54333
done4333

end0.0ms

sample505.0ms

Algorithm
intervals
Results
298.0ms8482×body80valid