Details

Time bar (total: 17.9s)

sample46.0ms

Algorithm
intervals
Results
25.0ms264×body80valid

simplify101.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.5b

localize16.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (* x.im y.re) (* x.re y.im))
28.0b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite62.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:
21.0ms
(- (* x.im y.re) (* x.re y.im))
39.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series191.0ms

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

simplify2.3s

Counts
56 → 56
Iterations

Useful iterations: done (2.3s)

IterNodesCost
0971020
1271919
2930841
33199837
done5000836

prune238.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 16.1b

localize23.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.im y.re (- (* y.im x.re))) (hypot y.re y.im)))
0.8b
(fma x.im y.re (- (* y.im x.re)))
18.9b
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

rewrite50.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)
39.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)))
0.0ms
(fma x.im y.re (- (* y.im x.re)))
6.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

series551.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(hypot y.re y.im)
227.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)))
70.0ms
(fma x.im y.re (- (* y.im x.re)))
175.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

simplify3.7s

Counts
119 → 119
Iterations

Useful iterations: done (3.7s)

IterNodesCost
01482085
13461952
210921694
341891694
done50011660

prune504.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.2b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.1b
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
0.8b
(fma x.im y.re (- (* y.im x.re)))
18.9b
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

rewrite31.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:
1.0ms
(hypot y.re y.im)
15.0ms
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
0.0ms
(fma x.im y.re (- (* y.im x.re)))
5.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

series607.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(hypot y.re y.im)
228.0ms
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
72.0ms
(fma x.im y.re (- (* y.im x.re)))
245.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

simplify2.3s

Counts
133 → 133
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01692712
13402650
27522455
325582401
done50022337

prune660.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.1b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (* (cbrt 1) (cbrt 1)) (sqrt (hypot y.re y.im))) (/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (sqrt (hypot y.re y.im))))
0.3b
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (sqrt (hypot y.re y.im)))
0.8b
(fma x.im y.re (- (* y.im x.re)))
18.9b
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
316×times-frac
209×add-sqr-sqrt
161×add-cube-cbrt *-un-lft-identity
95×sqrt-prod
82×associate-*r*
47×add-exp-log
41×add-cbrt-cube
19×cbrt-undiv div-exp
17×div-inv
16×associate-/l*
15×unswap-sqr
12×prod-exp cbrt-unprod
10×associate-*l*
associate-/r*
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef associate-/l/
Counts
4 → 292
Calls
4 calls:
95.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (sqrt (hypot y.re y.im))) (/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (sqrt (hypot y.re y.im))))
20.0ms
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (sqrt (hypot y.re y.im)))
0.0ms
(fma x.im y.re (- (* y.im x.re)))
5.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

series1.2s

Counts
4 → 12
Calls
4 calls:
292.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (sqrt (hypot y.re y.im))) (/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (sqrt (hypot y.re y.im))))
602.0ms
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (sqrt (hypot y.re y.im)))
76.0ms
(fma x.im y.re (- (* y.im x.re)))
191.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

simplify2.0s

Counts
304 → 304
Iterations

Useful iterations: done (2.0s)

IterNodesCost
03579339
19908187
228437053
done50017037

prune1.5s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 6.1b

regimes311.0ms

Accuracy

32.8% (8.1b remaining)

Error of 12.9b against oracle of 4.8b and baseline of 16.9b

bsearch120.0ms

Steps
ItersRangePoint
8
2.0010442062530377e+129
1.0873747118125966e+132
9.991764747534992e+131
8
-2.3729376157764536e+152
-1.769171722317776e+149
-8.623094169584485e+150

simplify10.0ms

Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
02549
13640
23834
34234
done4234

end0.0ms

sample1.3s

Algorithm
intervals
Results
775.0ms8474×body80valid