Details

Time bar (total: 16.3s)

sample29.0ms

Algorithm
intervals
Results
13.0ms271×body80valid

simplify135.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.7b

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

rewrite63.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:
16.0ms
(- (* x.im y.re) (* x.re y.im))
45.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

series198.0ms

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

simplify2.8s

Counts
54 → 54
Iterations

Useful iterations: done (2.8s)

IterNodesCost
088931
1216906
2713807
32539807
done5000801

prune181.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 16.4b

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

rewrite84.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))
42.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
12.0ms
(- (* x.im y.re) (* x.re y.im))
21.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series548.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(/ 1 (hypot y.re y.im))
262.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
66.0ms
(- (* x.im y.re) (* x.re y.im))
155.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify2.2s

Counts
151 → 151
Iterations

Useful iterations: 2 (295.0ms)

IterNodesCost
01782462
14702264
215521997
done50001997

prune586.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.3b

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

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

series425.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(hypot y.re y.im)
166.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
48.0ms
(- (* x.im y.re) (* x.re y.im))
143.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

prune657.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.0b

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

rewrite137.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:
23.0ms
(- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im))))
72.0ms
(/ (- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im)))) (hypot y.re y.im))
24.0ms
(* y.im (/ x.re (hypot y.re y.im)))
10.0ms
(/ (* y.re x.im) (hypot y.re y.im))

series841.0ms

Counts
4 → 12
Calls
4 calls:
262.0ms
(- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im))))
349.0ms
(/ (- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im)))) (hypot y.re y.im))
115.0ms
(* y.im (/ x.re (hypot y.re y.im)))
115.0ms
(/ (* y.re x.im) (hypot y.re y.im))

simplify1.6s

Counts
133 → 133
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01882282
14612168
214431974
done50011956

prune652.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

regimes229.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: 1 (3.0ms)

IterNodesCost
01423
12119
22519
done2519

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.2s8497×body80valid