Details

Time bar (total: 9.4s)

sample20.0ms

Algorithm
intervals
Results
9.0ms275×body80valid

simplify47.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.6b

localize9.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
22.3b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-sub div-exp prod-diff clear-num flip-+ div-inv
Counts
2 → 50
Calls
2 calls:
3.0ms
(- (* x.im y.re) (* x.re y.im))
10.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series127.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(- (* x.im y.re) (* x.re y.im))
87.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify1.0s

Counts
56 → 56
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0971020
1270919
2938841
33219837
done5000835

prune168.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 11.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.3b
(- (* y.re x.im) (* y.im x.re))
0.3b
(* (/ 1 (hypot y.re y.im)) (/ (- (* y.re x.im) (* y.im x.re)) (hypot y.re y.im)))
12.0b
(/ (- (* y.re x.im) (* y.im x.re)) (hypot y.re y.im))

rewrite33.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 add-log-exp unswap-sqr
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u
associate-/r* div-inv associate-/l*
rec-exp flip3-- 1-exp flip-- associate-/l/
frac-times sub-neg hypot-udef frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 116
Calls
4 calls:
0.0ms
(hypot y.re y.im)
3.0ms
(- (* y.re x.im) (* y.im x.re))
19.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* y.re x.im) (* y.im x.re)) (hypot y.re y.im)))
7.0ms
(/ (- (* y.re x.im) (* y.im x.re)) (hypot y.re y.im))

series386.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot y.re y.im)
41.0ms
(- (* y.re x.im) (* y.im x.re))
188.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* y.re x.im) (* y.im x.re)) (hypot y.re y.im)))
108.0ms
(/ (- (* y.re x.im) (* y.im x.re)) (hypot y.re y.im))

simplify820.0ms

Counts
128 → 128
Iterations

Useful iterations: 2 (156.0ms)

IterNodesCost
01692225
14902088
219151817
done50011817

prune360.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 3.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.1b
(/ (/ (fma y.re x.im (- (* x.re y.im))) (hypot y.re y.im)) (hypot y.re y.im))
0.3b
(fma y.re x.im (- (* x.re y.im)))
12.0b
(/ (fma y.re x.im (- (* x.re y.im))) (hypot y.re y.im))

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

series309.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot y.re y.im)
112.0ms
(/ (/ (fma y.re x.im (- (* x.re y.im))) (hypot y.re y.im)) (hypot y.re y.im))
44.0ms
(fma y.re x.im (- (* x.re y.im)))
104.0ms
(/ (fma y.re x.im (- (* x.re y.im))) (hypot y.re y.im))

simplify1.5s

Counts
133 → 133
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01692712
13512650
210112455
334592401
done50012399

prune421.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 3.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1 (/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im))))) (hypot y.re y.im))
0.1b
(/ 1 (/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im)))))
0.3b
(fma y.re x.im (- (* x.re y.im)))
12.1b
(/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
480×times-frac
239×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
50×associate-/l*
36×add-exp-log
23×div-inv
22×div-exp
20×add-cbrt-cube
19×associate-/r*
10×cbrt-undiv
pow1 associate-/r/
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-flip fma-udef associate-/l/ inv-pow
Counts
4 → 319
Calls
4 calls:
17.0ms
(/ (/ 1 (/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im))))) (hypot y.re y.im))
9.0ms
(/ 1 (/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im)))))
0.0ms
(fma y.re x.im (- (* x.re y.im)))
2.0ms
(/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im))))

series462.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(/ (/ 1 (/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im))))) (hypot y.re y.im))
122.0ms
(/ 1 (/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im)))))
48.0ms
(fma y.re x.im (- (* x.re y.im)))
98.0ms
(/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im))))

simplify2.3s

Counts
331 → 331
Iterations

Useful iterations: done (2.2s)

IterNodesCost
04609298
110978458
235077632
done50007626

prune616.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 3.9b

regimes188.0ms

Accuracy

35.1% (7.0b remaining)

Error of 12.6b against oracle of 5.7b and baseline of 16.4b

bsearch76.0ms

Steps
ItersRangePoint
6
4.497054947537868e+154
5.359771339659149e+155
5.3202544266061094e+154
9
-9.04709806302392e+124
-4.4188440889263735e+116
-2.7774429101464625e+124

simplify6.0ms

Iterations

Useful iterations: 2 (3.0ms)

IterNodesCost
02548
13642
23936
34836
done4836

end0.0ms

sample506.0ms

Algorithm
intervals
Results
295.0ms8478×body80valid