Details

Time bar (total: 1.6m)

sample292.0ms

Algorithm
halfpoints

simplify29.0ms

Counts
1 → 1
Iterations
IterNodes
418
318
217
115
010

prune22.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.2b

localize264.0ms

Local error

Found 4 expressions with local error:

0.2b
(-.p16 (*.p16 b_2 b_2) (*.p16 a c))
0.3b
(/.p16 (-.p16 (neg.p16 b_2) (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c)))) a)
0.4b
(sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c)))
1.5b
(-.p16 (neg.p16 b_2) (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
14×*p16-lft-identity-expand p16-*-un-lft-identity
10×introduce-quire *p16-rgt-identity-expand
+p16-lft-identity-expand -p16-rgt-identity-expand +p16-rgt-identity-expand associate-/l* distribute-lft-out--
/p16-rgt-identity-expand
associate--l+ insert-quire-fdp-sub associate--r+
p16-flip--
associate--l- insert-quire-sub sub-neg distribute-rgt-out-- associate--r- associate-/l/
Counts
4 → 69
Calls
4 calls:
7.0ms
(-.p16 (*.p16 b_2 b_2) (*.p16 a c))
7.0ms
(/.p16 (-.p16 (neg.p16 b_2) (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c)))) a)
0.0ms
(sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c)))
7.0ms
(-.p16 (neg.p16 b_2) (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c))))

series1.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(-.p16 (*.p16 b_2 b_2) (*.p16 a c))
0.0ms
(/.p16 (-.p16 (neg.p16 b_2) (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c)))) a)
0.0ms
(sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c)))
0.0ms
(-.p16 (neg.p16 b_2) (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c))))

simplify49.3s

Counts
73 → 73
Iterations
IterNodes
425291
31835
2304
181
044

prune1.7s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.7b

localize176.0ms

Local error

Found 4 expressions with local error:

0.3b
(/.p16 (-.p16 (neg.p16 b_2) (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))) a)
0.4b
(sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))
1.5b
(-.p16 (neg.p16 b_2) (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))))
5.7b
(quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
13×*p16-lft-identity-expand p16-*-un-lft-identity
*p16-rgt-identity-expand
associate-/l* distribute-lft-out--
introduce-quire
+p16-lft-identity-expand -p16-rgt-identity-expand +p16-rgt-identity-expand
/p16-rgt-identity-expand
insert-quire-fdp-sub
distribute-rgt-out-- associate--l+ p16-flip-- associate--r+ associate-/l/
associate--l- insert-quire-sub sub-neg associate--r-
Counts
4 → 51
Calls
4 calls:
3.0ms
(/.p16 (-.p16 (neg.p16 b_2) (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))) a)
0.0ms
(sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))
3.0ms
(-.p16 (neg.p16 b_2) (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))))
0.0ms
(quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(/.p16 (-.p16 (neg.p16 b_2) (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))) a)
0.0ms
(sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))
0.0ms
(-.p16 (neg.p16 b_2) (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))))
0.0ms
(quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)

simplify16.3s

Counts
55 → 55
Iterations
IterNodes
413003
3978
2166
151
033

prune1.9s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.7b

localize328.0ms

Local error

Found 4 expressions with local error:

0.3b
(/.p16 a (-.p16 (real->posit16 0.0) (+.p16 (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))) b_2)))
0.4b
(sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))
1.5b
(+.p16 (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))) b_2)
5.7b
(quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r* *p16-lft-identity-expand p16-*-un-lft-identity
*p16-rgt-identity-expand
+p16-lft-identity-expand introduce-quire -p16-rgt-identity-expand /p16-rgt-identity-expand +p16-rgt-identity-expand distribute-lft-out--
associate-+l+ associate-/r/
+-commutative insert-quire-add distribute-rgt-out-- p16-flip-- associate-+l-
Counts
4 → 39
Calls
4 calls:
5.0ms
(/.p16 a (-.p16 (real->posit16 0.0) (+.p16 (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))) b_2)))
0.0ms
(sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))
3.0ms
(+.p16 (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))) b_2)
0.0ms
(quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(/.p16 a (-.p16 (real->posit16 0.0) (+.p16 (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))) b_2)))
0.0ms
(sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)))
0.0ms
(+.p16 (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c))) b_2)
0.0ms
(quire16-mul-sub (posit16->quire16 (*.p16 b_2 b_2)) a c)

simplify12.9s

Counts
43 → 43
Iterations
IterNodes
52841
4565
3192
280
144
027

prune1.8s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.6b

localize207.0ms

Local error

Found 4 expressions with local error:

0.2b
(-.p16 (*.p16 b_2 b_2) (*.p16 c a))
0.3b
(/.p16 a (-.p16 (real->posit16 0.0) (+.p16 (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a))) b_2)))
0.4b
(sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a)))
1.5b
(+.p16 (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a))) b_2)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
*p16-lft-identity-expand p16-*-un-lft-identity
associate-/r*
+p16-lft-identity-expand introduce-quire -p16-rgt-identity-expand *p16-rgt-identity-expand +p16-rgt-identity-expand
/p16-rgt-identity-expand
distribute-lft-out--
associate-+l+ associate--l+ p16-flip-- associate-/r/ associate--r+
associate--l- +-commutative insert-quire-sub sub-neg insert-quire-add distribute-rgt-out-- associate-+l- insert-quire-fdp-sub associate--r-
Counts
4 → 57
Calls
4 calls:
6.0ms
(-.p16 (*.p16 b_2 b_2) (*.p16 c a))
10.0ms
(/.p16 a (-.p16 (real->posit16 0.0) (+.p16 (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a))) b_2)))
1.0ms
(sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a)))
7.0ms
(+.p16 (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a))) b_2)

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(-.p16 (*.p16 b_2 b_2) (*.p16 c a))
0.0ms
(/.p16 a (-.p16 (real->posit16 0.0) (+.p16 (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a))) b_2)))
0.0ms
(sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a)))
0.0ms
(+.p16 (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 c a))) b_2)

simplify3.9s

Counts
61 → 61
Iterations
IterNodes
47915
3924
2236
175
038

prune1.7s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 1.6b

regimes585.0ms

Accuracy

0% (0.4b remaining)

Error of 1.7b against oracle of 1.3b and baseline of 1.7b

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
111
011

end0.0ms

sample3.5s

Algorithm
halfpoints