Details

Time bar (total: 16.4s)

sample30.0ms

Algorithm
intervals
Results
14.0ms268×body80valid

simplify101.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.4b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
1.4b
(- (* x.im y.re) (* x.re y.im))
24.9b
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite79.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:
14.0ms
(+ (* y.re y.re) (* y.im y.im))
14.0ms
(- (* x.im y.re) (* x.re y.im))
48.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

series244.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ (* y.re y.re) (* y.im y.im))
61.0ms
(- (* x.im y.re) (* x.re y.im))
137.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify2.1s

Counts
73 → 73
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01121202
13141070
21053961
33501961
done5000960

prune358.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 14.3b

localize13.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.8b
(fma x.im y.re (- (* y.im x.re)))
15.6b
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

rewrite62.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:
50.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))

series531.0ms

Counts
3 → 9
Calls
3 calls:
260.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)))
84.0ms
(fma x.im y.re (- (* y.im x.re)))
187.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

simplify3.3s

Counts
106 → 106
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01412025
13351894
210781642
341961642
done50011608

prune359.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.3b

localize13.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.8b
(fma x.im y.re (- (* y.im x.re)))
15.6b
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

rewrite38.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:
24.0ms
(/ (/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im)) (hypot y.re y.im))
1.0ms
(fma x.im y.re (- (* y.im x.re)))
9.0ms
(/ (fma x.im y.re (- (* y.im x.re))) (hypot y.re y.im))

series522.0ms

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

simplify2.3s

Counts
120 → 120
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01622652
13292592
27462403
325522349
done50002285

prune539.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))) (hypot y.re y.im))
0.2b
(/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re)))))
0.8b
(fma x.im y.re (- (* y.im x.re)))
15.6b
(/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))

rewrite88.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:
39.0ms
(/ (/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))) (hypot y.re y.im))
11.0ms
(/ 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))))

series669.0ms

Counts
4 → 12
Calls
4 calls:
291.0ms
(/ (/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))) (hypot y.re y.im))
174.0ms
(/ 1 (/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re)))))
79.0ms
(fma x.im y.re (- (* y.im x.re)))
125.0ms
(/ (hypot y.re y.im) (fma x.im y.re (- (* y.im x.re))))

simplify2.1s

Counts
331 → 331
Iterations

Useful iterations: done (2.1s)

IterNodesCost
04609298
110208210
219127632
done50007450

prune978.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.2b

regimes379.0ms

Accuracy

35.3% (7.3b remaining)

Error of 12.6b against oracle of 5.3b and baseline of 16.6b

bsearch149.0ms

Steps
ItersRangePoint
11
1.3202626764746345e+144
1.2662851632966894e+177
3.3678318389903335e+157
8
-7.066707918776839e+146
-1.0923850232644114e+143
-4.468015220407937e+144

simplify6.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02442
13236
23436
done3436

end0.0ms

sample1.4s

Algorithm
intervals
Results
853.0ms8530×body80valid