Details

Time bar (total: 12.3s)

sample35.0ms

Algorithm
intervals
Results
15.0ms280×body80valid

simplify73.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.4b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite43.0ms

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

series156.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* y.re y.re) (* y.im y.im))
38.0ms
(- (* x.im y.re) (* x.re y.im))
89.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify1.5s

Counts
73 → 73
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01121202
13141070
21053961
33501961
done5000960

prune200.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 13.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
34×times-frac
27×add-exp-log *-un-lft-identity
25×add-cube-cbrt
17×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
unswap-sqr
pow1 cbrt-undiv
cbrt-unprod
expm1-log1p-u associate-/r* log1p-expm1-u div-inv associate-/l* add-log-exp
rec-exp 1-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
3 → 97
Calls
3 calls:
25.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)))
5.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

series384.0ms

Counts
3 → 9
Calls
3 calls:
190.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)))
50.0ms
(fma x.im y.re (- (* y.im x.re)))
144.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

simplify2.6s

Counts
106 → 106
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01412025
13351894
210781642
341961642
done50011608

prune265.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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:
10.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))

series330.0ms

Counts
3 → 9
Calls
3 calls:
140.0ms
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
50.0ms
(fma x.im y.re (- (* y.im x.re)))
140.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

simplify1.6s

Counts
120 → 120
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01622652
13292592
27462403
325522349
done50002285

prune336.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re)))))
0.3b
(* (/ 1 (hypot y.re y.im)) (/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))))
0.3b
(fma x.im y.re (- (* y.im x.re)))
15.1b
(/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
143×add-sqr-sqrt
107×*-un-lft-identity
100×add-exp-log
96×add-cube-cbrt
50×div-exp
44×associate-*r*
32×add-cbrt-cube
28×prod-exp
17×rec-exp 1-exp
16×associate-/r*
15×unswap-sqr
13×cbrt-undiv associate-*l*
11×div-inv
pow1
cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-flip pow-prod-down inv-pow
frac-2neg clear-num associate-/r/
frac-times associate-*r/ associate-*l/ un-div-inv *-commutative fma-udef
Counts
4 → 240
Calls
4 calls:
9.0ms
(/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re)))))
43.0ms
(* (/ 1 (hypot y.re y.im)) (/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))))
0.0ms
(fma x.im y.re (- (* y.im x.re)))
5.0ms
(/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))

series463.0ms

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

simplify2.8s

Counts
252 → 252
Iterations

Useful iterations: done (2.8s)

IterNodesCost
02935682
17295007
215414342
344394324
done50004246

prune503.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.3b

regimes217.0ms

Accuracy

31.9% (7.9b remaining)

Error of 13.2b against oracle of 5.3b and baseline of 16.9b

bsearch59.0ms

Steps
ItersRangePoint
6
3.0458708391958014e+68
1.5303859857698357e+69
1.5144682182949202e+69
9
-1.5363030971934703e+144
-2.4882870722039588e+138
-8.156571467291585e+143

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01934
12534
22734
done2734

end0.0ms

sample559.0ms

Algorithm
intervals
Results
272.0ms8467×body80valid