Details

simplify38.1m (85.7%)

sample3.2m (7.3%)

Algorithm
67×halfpoints

prune2.2m (4.9%)

localize33.6s (1.3%)

regimes17.5s (0.7%)

Accuracy

Total 8.0b remaining (31.8%)

Threshold costs 8.0b (31.8%)

0.9b0%Octave 3.8, jcobi/4
0.5b0%quadp (p42, positive)
0.4b0%quadm (p42, negative)
0.4b0%math.sqrt on complex, imaginary part, im greater than 0 branch
0.4b0%_divideComplex, imaginary part

rewrite5.7s (0.2%)

Algorithm
123×rewrite-expression-head
Calls

400 calls:

536.0ms
(/.p16 (+.p16 (+.p16 (+.p16 alpha beta) (*.p16 beta alpha)) (real->posit16 1.0)) (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) (real->posit16 1))))
271.0ms
(+.p16 (/.p16 (/.p16 (*.p16 (+.p16 alpha beta) (-.p16 beta alpha)) (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) i))) (+.p16 (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) i)) (real->posit16 2.0))) (real->posit16 1.0))
131.0ms
(/.p16 (+.p16 (/.p16 (-.p16 beta alpha) (+.p16 (+.p16 alpha beta) (real->posit16 2.0))) (real->posit16 1.0)) (real->posit16 2.0))
111.0ms
(/.p16 (/.p16 (+.p16 (+.p16 (+.p16 alpha beta) (*.p16 beta alpha)) (real->posit16 1.0)) (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) (real->posit16 1)))) (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) (real->posit16 1))))
100.0ms
(/.p16 (/.p16 (*.p16 (+.p16 alpha beta) (-.p16 beta alpha)) (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) i))) (+.p16 (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) i)) (real->posit16 2.0)))
Rules
4564×p16-times-frac
4478×*p16-lft-identity-expand p16-*-un-lft-identity
3512×*p16-rgt-identity-expand
1077×/p16-rgt-identity-expand
961×introduce-quire
873×+p16-lft-identity-expand +p16-rgt-identity-expand
715×distribute-lft-out p16-distribute-lft-out
628×-p16-rgt-identity-expand
592×distribute-lft-in distribute-rgt-in
528×associate-/r*
510×distribute-lft-out--
504×associate-/r/
455×associate-/l*
431×associate-*r*
371×associate-*l*
350×associate--l+
347×insert-quire-fdp-add
315×distribute-rgt-out
216×insert-quire-fdp-sub
209×associate-*r/ distribute-rgt-out--
177×associate-*l/
172×p16-flip--
164×associate-+l+
159×difference-of-squares
158×associate-+r+
151×associate-/l/
122×associate--r+
116×sub-neg
104×insert-quire-add
97×insert-quire-sub
88×*-commutative
84×associate-+l-
71×associate-+r-
69×associate--l- associate--r-
67×+-commutative
53×distribute-lft1-in
23×difference-of-sqr-1
remove-double-div.p16
sqrt-sqrd.p16

series30.0ms (0.0%)

Calls

400 calls:

0.0ms
(*.p16 (+.p16 im im) re)
0.0ms
(-.p16 (neg.p16 b_2) (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c))))
0.0ms
(-.p16 (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a))) b_2)
0.0ms
(*.p16 (-.p16 re im) (+.p16 im re))
0.0ms
(-.p16 (neg.p16 b) (sqrt.p16 (-.p16 (*.p16 b b) (*.p16 (real->posit16 4) (*.p16 a c)))))

bsearch1.0ms (0.0%)

end1.0ms (0.0%)