Details

Time bar (total: 15.6s)

sample27.0ms

Algorithm
intervals
Results
12.0ms271×body80valid

simplify79.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.7b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite67.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:
17.0ms
(- (* x.im y.re) (* x.re y.im))
47.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

series206.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(- (* x.im y.re) (* x.re y.im))
150.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

prune224.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 16.4b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.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))
52.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
8.0ms
(- (* x.im y.re) (* x.re y.im))
22.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series623.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(/ 1 (hypot y.re y.im))
264.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
47.0ms
(- (* x.im y.re) (* x.re y.im))
239.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify2.0s

Counts
151 → 151
Iterations

Useful iterations: 2 (361.0ms)

IterNodesCost
01782462
14702264
215521997
done50001997

prune545.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.3b

localize17.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))

rewrite94.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)
23.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
19.0ms
(- (* x.im y.re) (* x.re y.im))
47.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series518.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(hypot y.re y.im)
186.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
72.0ms
(- (* x.im y.re) (* x.re y.im))
198.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify3.0s

Counts
143 → 143
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01942874
14542796
212522600
344782545
done50002542

prune573.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 2.0b

localize25.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.6b
(* y.im (/ x.re (hypot y.re y.im)))
11.1b
(/ (* y.re x.im) (hypot y.re y.im))

rewrite124.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:
24.0ms
(- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im))))
70.0ms
(/ (- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im)))) (hypot y.re y.im))
13.0ms
(* y.im (/ x.re (hypot y.re y.im)))
10.0ms
(/ (* y.re x.im) (hypot y.re y.im))

series736.0ms

Counts
4 → 12
Calls
4 calls:
253.0ms
(- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im))))
287.0ms
(/ (- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im)))) (hypot y.re y.im))
96.0ms
(* y.im (/ x.re (hypot y.re y.im)))
100.0ms
(/ (* y.re x.im) (hypot y.re y.im))

simplify1.5s

Counts
133 → 133
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01882282
14612168
214431974
done50011956

prune657.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

regimes157.0ms

Accuracy

0% (1.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01321
11819
done1819

end0.0ms

sample1.4s

Algorithm
intervals
Results
821.0ms8497×body80valid