Details

Time bar (total: 15.6s)

sample40.0ms

Algorithm
intervals
Results
22.0ms270×body80valid

simplify126.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.9b

localize22.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma y.re y.re (* y.im y.im))
0.5b
(- (* x.im y.re) (* x.re y.im))
25.4b
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

rewrite59.0ms

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

series280.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(fma y.re y.re (* y.im y.im))
75.0ms
(- (* x.im y.re) (* x.re y.im))
165.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

simplify3.0s

Counts
67 → 67
Iterations

Useful iterations: done (3.0s)

IterNodesCost
0971039
12281011
2761906
32655892
done5000886

prune277.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 14.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (hypot y.re y.im))
0.2b
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
0.5b
(- (* x.im y.re) (* x.re y.im))
13.8b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
43×times-frac
36×*-un-lft-identity
34×add-cube-cbrt
32×add-exp-log
20×add-cbrt-cube
13×associate-*r* associate-*l*
11×div-exp
prod-exp
pow1
cbrt-undiv associate-/r* associate-/l* add-log-exp unswap-sqr
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv
rec-exp 1-exp
flip3-- frac-2neg clear-num flip-- associate-/l/
frac-times sub-neg pow-flip fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 139
Calls
4 calls:
5.0ms
(/ 1 (hypot y.re y.im))
47.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
11.0ms
(- (* x.im y.re) (* x.re y.im))
32.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series828.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ 1 (hypot y.re y.im))
238.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
59.0ms
(- (* x.im y.re) (* x.re y.im))
469.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify1.9s

Counts
151 → 151
Iterations

Useful iterations: 2 (346.0ms)

IterNodesCost
01782462
14702264
215521997
done50001997

prune414.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.6b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
0.5b
(- (* x.im y.re) (* x.re y.im))
13.8b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite93.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
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg fma-neg diff-log prod-diff
Counts
3 → 121
Calls
3 calls:
35.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
24.0ms
(- (* x.im y.re) (* x.re y.im))
27.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series496.0ms

Counts
3 → 9
Calls
3 calls:
209.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
74.0ms
(- (* x.im y.re) (* x.re y.im))
213.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify2.8s

Counts
130 → 130
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01872814
14452738
212442548
344722493
done50002490

prune538.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (/ y.re (hypot y.re y.im)) x.im) (* (/ x.re (hypot y.re y.im)) y.im))
0.1b
(/ (- (* (/ y.re (hypot y.re y.im)) x.im) (* (/ x.re (hypot y.re y.im)) y.im)) (hypot y.re y.im))
2.1b
(* (/ y.re (hypot y.re y.im)) x.im)
8.9b
(* (/ x.re (hypot y.re y.im)) y.im)

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
29×times-frac
28×add-cube-cbrt *-un-lft-identity
26×associate-*l*
16×add-exp-log add-cbrt-cube
10×associate-*l/
pow1
associate-*r* add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u associate-/l/ unswap-sqr
cbrt-undiv div-exp associate-/r* div-inv associate-/l*
flip3-- pow-prod-down *-commutative frac-sub flip-- sub-div
sub-neg frac-2neg fma-neg diff-log div-sub prod-diff clear-num
Counts
4 → 120
Calls
4 calls:
28.0ms
(- (* (/ y.re (hypot y.re y.im)) x.im) (* (/ x.re (hypot y.re y.im)) y.im))
38.0ms
(/ (- (* (/ y.re (hypot y.re y.im)) x.im) (* (/ x.re (hypot y.re y.im)) y.im)) (hypot y.re y.im))
29.0ms
(* (/ y.re (hypot y.re y.im)) x.im)
32.0ms
(* (/ x.re (hypot y.re y.im)) y.im)

series904.0ms

Counts
4 → 12
Calls
4 calls:
241.0ms
(- (* (/ y.re (hypot y.re y.im)) x.im) (* (/ x.re (hypot y.re y.im)) y.im))
397.0ms
(/ (- (* (/ y.re (hypot y.re y.im)) x.im) (* (/ x.re (hypot y.re y.im)) y.im)) (hypot y.re y.im))
158.0ms
(* (/ y.re (hypot y.re y.im)) x.im)
107.0ms
(* (/ x.re (hypot y.re y.im)) y.im)

simplify1.5s

Counts
132 → 132
Iterations

Useful iterations: 2 (433.0ms)

IterNodesCost
02032079
14831982
214621825
done50001825

prune527.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes217.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01321
11819
done1819

end0.0ms

sample1.2s

Algorithm
intervals
Results
762.0ms8479×body80valid