Details

Time bar (total: 14.9s)

sample49.0ms

Algorithm
intervals
Results
23.0ms269×body80valid

simplify159.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.8b

localize29.0ms

Local error

Found 2 expressions with local error:

0.7b
(- (* x.im y.re) (* x.re y.im))
24.4b
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

rewrite60.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-- flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num div-inv
Counts
2 → 48
Calls
2 calls:
18.0ms
(- (* x.im y.re) (* x.re y.im))
40.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

series243.0ms

Counts
2 → 6
Calls
2 calls:
68.0ms
(- (* x.im y.re) (* x.re y.im))
176.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

simplify2.9s

Counts
54 → 54
Iterations

Useful iterations: done (2.9s)

IterNodesCost
088931
1216906
2713807
32539807
done5000801

prune226.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 16.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(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.7b
(- (* x.im y.re) (* x.re y.im))
16.1b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite84.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)
49.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))
20.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series513.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(hypot y.re y.im)
230.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
61.0ms
(- (* x.im y.re) (* x.re y.im))
146.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify1.9s

Counts
128 → 128
Iterations

Useful iterations: 2 (298.0ms)

IterNodesCost
01712225
14562076
215201817
done50001817

prune416.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 6.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.1b
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
0.7b
(- (* x.im y.re) (* x.re y.im))
16.1b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite68.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 add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg hypot-udef fma-neg diff-log prod-diff
Counts
4 → 131
Calls
4 calls:
0.0ms
(hypot y.re y.im)
25.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
10.0ms
(- (* x.im y.re) (* x.re y.im))
26.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series451.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(hypot y.re y.im)
151.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
53.0ms
(- (* x.im y.re) (* x.re y.im))
182.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify2.4s

Counts
143 → 143
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01942874
14542796
212522600
344782545
done50002542

prune601.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 1.8b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im))))
0.1b
(/ (- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im)))) (hypot y.re y.im))
6.8b
(* y.im (/ x.re (hypot y.re y.im)))
9.2b
(/ (* y.re x.im) (hypot y.re y.im))

rewrite95.0ms

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

series712.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im))))
312.0ms
(/ (- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im)))) (hypot y.re y.im))
91.0ms
(* y.im (/ x.re (hypot y.re y.im)))
95.0ms
(/ (* y.re x.im) (hypot y.re y.im))

simplify1.8s

Counts
133 → 133
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01882282
14612168
214431974
done50011956

prune718.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes174.0ms

Accuracy

0% (1.2b remaining)

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

bsearch0.0ms

simplify8.0ms

Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
01626
12421
22819
done2819

end0.0ms

sample1.2s

Algorithm
intervals
Results
717.0ms8494×body80valid