Details

Time bar (total: 9.5s)

sample20.0ms

Algorithm
intervals
Results
9.0ms275×body80valid

simplify45.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)))

rewrite153.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:
142.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)))

series125.0ms

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

simplify1.1s

Counts
56 → 56
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0971020
1270919
2938841
33219837
done5000835

prune170.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 11.0b

localize10.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))

rewrite34.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))
17.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))

series389.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(hypot y.re y.im)
41.0ms
(- (* y.re x.im) (* y.im x.re))
189.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* y.re x.im) (* y.im x.re)) (hypot y.re y.im)))
110.0ms
(/ (- (* y.re x.im) (* y.im x.re)) (hypot y.re y.im))

simplify827.0ms

Counts
128 → 128
Iterations

Useful iterations: 2 (159.0ms)

IterNodesCost
01692225
14902088
219151817
done50011817

prune357.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 3.9b

localize14.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))

rewrite12.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)
5.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))

series308.0ms

Counts
4 → 12
Calls
4 calls:
46.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))
47.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

prune448.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 3.9b

localize14.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))))

rewrite42.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))
5.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))))

series457.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(/ (/ 1 (/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im))))) (hypot y.re y.im))
120.0ms
(/ 1 (/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im)))))
47.0ms
(fma y.re x.im (- (* x.re y.im)))
96.0ms
(/ (hypot y.re y.im) (fma y.re x.im (- (* x.re y.im))))

simplify2.0s

Counts
331 → 331
Iterations

Useful iterations: done (2.0s)

IterNodesCost
04609298
110978458
235077632
done50007626

prune664.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

bsearch82.0ms

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

simplify8.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02760
13854
24154
34454
44854
55054
done5054

end0.0ms

sample515.0ms

Algorithm
intervals
Results
301.0ms8478×body80valid