Details

Time bar (total: 14.8s)

sample38.0ms

Algorithm
intervals
Results
15.0ms272×body80valid

simplify115.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite40.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:
13.0ms
(- (* x.im y.re) (* x.re y.im))
25.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

series172.0ms

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

simplify2.6s

Counts
54 → 54
Iterations

Useful iterations: done (2.6s)

IterNodesCost
088931
1216906
2713807
32539807
done5000801

prune202.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 19.2b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.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 unswap-sqr
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-/r* div-inv associate-/l*
rec-exp hypot-udef 1-exp associate-/l/
frac-times flip3-- frac-2neg div-sub associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip--
Counts
4 → 110
Calls
4 calls:
0.0ms
(hypot y.re y.im)
0.0ms
(hypot y.re y.im)
57.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
31.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series533.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(hypot y.re y.im)
71.0ms
(hypot y.re y.im)
245.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
166.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify1.9s

Counts
122 → 122
Iterations

Useful iterations: 2 (217.0ms)

IterNodesCost
01522083
14041941
213441691
done50001691

prune484.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 6.8b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.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
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
div-sub associate-/l/
hypot-udef frac-2neg clear-num
flip3-- flip--
Counts
4 → 125
Calls
4 calls:
1.0ms
(hypot y.re y.im)
1.0ms
(hypot y.re y.im)
39.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
43.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series470.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(hypot y.re y.im)
61.0ms
(hypot y.re y.im)
165.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)) (hypot y.re y.im))
181.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify3.0s

Counts
137 → 137
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01752732
14032661
210782474
337972420
done50012354

prune714.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 2.7b

localize22.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))
8.8b
(* y.im (/ x.re (hypot y.re y.im)))
11.4b
(/ (* 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:
28.0ms
(- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im))))
53.0ms
(/ (- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im)))) (hypot y.re y.im))
32.0ms
(* y.im (/ x.re (hypot y.re y.im)))
20.0ms
(/ (* y.re x.im) (hypot y.re y.im))

series799.0ms

Counts
4 → 12
Calls
4 calls:
260.0ms
(- (/ (* y.re x.im) (hypot y.re y.im)) (* y.im (/ x.re (hypot y.re y.im))))
331.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)))
112.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

prune545.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes285.0ms

Accuracy

43.3% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 1.3b

bsearch76.0ms

Steps
ItersRangePoint
8
1.3585133677703968e-39
2.3498384803082583e-36
1.529815048138218e-38
4
-2.6910019437958406e+40
-1.5126856462889343e+40
-1.541489361906309e+40

simplify4.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02773
13547
done3547

end0.0ms

sample879.0ms

Algorithm
intervals
Results
416.0ms8509×body80valid