Details

Time bar (total: 1.2m)

sample147.0ms

Algorithm
halfpoints

simplify44.5s

Counts
1 → 1
Iterations
IterNodes
done2020
242020
231917
221649
211414
201220
191034
18883
17729
16602
15501
14423
13321
12264
11209
10169
9138
8114
791
682
561
450
341
233
122
012

prune44.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.1b

localize177.0ms

Local error

Found 4 expressions with local error:

0.1b
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
0.1b
(/.p16 (real->posit16 1) (+.p16 x (real->posit16 1)))
0.4b
(-.p16 (/.p16 (real->posit16 1) (+.p16 x (real->posit16 1))) (/.p16 (real->posit16 2) x))
0.9b
(+.p16 (-.p16 (/.p16 (real->posit16 1) (+.p16 x (real->posit16 1))) (/.p16 (real->posit16 2) x)) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
111×*p16-lft-identity-expand p16-*-un-lft-identity
89×*p16-rgt-identity-expand
83×introduce-quire
70×insert-quire-fdp-add
63×p16-times-frac
48×insert-quire-fdp-sub
20×distribute-lft-out--
19×associate-/r/ /p16-rgt-identity-expand
16×insert-quire-sub p16-distribute-lft-out distribute-lft-out
10×distribute-rgt-out--
+p16-lft-identity-expand +p16-rgt-identity-expand
-p16-rgt-identity-expand
p16-flip--
associate-+l+ associate-/r* associate-/l*
insert-quire-add
associate--l+
associate-+r+ sub-neg distribute-rgt-out associate--r+ associate--r- associate-/l/
associate--l- +-commutative associate-+r- associate-+l-
Counts
4 → 205
Calls
4 calls:
3.0ms
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
3.0ms
(/.p16 (real->posit16 1) (+.p16 x (real->posit16 1)))
10.0ms
(-.p16 (/.p16 (real->posit16 1) (+.p16 x (real->posit16 1))) (/.p16 (real->posit16 2) x))
54.0ms
(+.p16 (-.p16 (/.p16 (real->posit16 1) (+.p16 x (real->posit16 1))) (/.p16 (real->posit16 2) x)) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
0.0ms
(/.p16 (real->posit16 1) (+.p16 x (real->posit16 1)))
0.0ms
(-.p16 (/.p16 (real->posit16 1) (+.p16 x (real->posit16 1))) (/.p16 (real->posit16 2) x))
0.0ms
(+.p16 (-.p16 (/.p16 (real->posit16 1) (+.p16 x (real->posit16 1))) (/.p16 (real->posit16 2) x)) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))))

simplify736.0ms

Counts
209 → 209
Iterations
IterNodes
done2001
32001
2408
1111
070

prune11.5s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.9b

localize451.0ms

Local error

Found 4 expressions with local error:

0.1b
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
0.1b
(/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))
14.2b
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0))
23.8b
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0)) (real->posit16 1.0) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
18×*p16-lft-identity-expand p16-times-frac *p16-rgt-identity-expand p16-*-un-lft-identity
associate-/r* /p16-rgt-identity-expand associate-/l*
associate-/r/
+p16-lft-identity-expand introduce-quire -p16-rgt-identity-expand +p16-rgt-identity-expand associate-/l/
p16-flip--
Counts
4 → 51
Calls
4 calls:
5.0ms
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
8.0ms
(/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))
0.0ms
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0))
1.0ms
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0)) (real->posit16 1.0) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
0.0ms
(/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))
0.0ms
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0))
0.0ms
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0)) (real->posit16 1.0) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))))

simplify1.4s

Counts
55 → 55
Iterations
IterNodes
done2002
52002
41017
3381
2141
145
033

prune2.8s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.9b

localize391.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1)))
0.2b
(/.p16 (real->posit16 1) (*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1))))
14.2b
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x))
25.1b
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x)) (/.p16 (real->posit16 1) (*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1)))) (+.p16 (real->posit16 1) x))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
/p16-rgt-identity-expand
*p16-lft-identity-expand *p16-rgt-identity-expand p16-*-un-lft-identity
distribute-rgt-in distribute-lft-in +p16-lft-identity-expand -p16-rgt-identity-expand associate-*r/ associate-/r/ +p16-rgt-identity-expand
p16-times-frac associate-*r* associate-*l* associate-/l*
sub-neg introduce-quire associate-*l/ p16-flip-- associate--r-
associate-/r* *-commutative associate-/l/
Counts
4 → 46
Calls
4 calls:
5.0ms
(*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1)))
2.0ms
(/.p16 (real->posit16 1) (*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1))))
0.0ms
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x))
0.0ms
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x)) (/.p16 (real->posit16 1) (*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1)))) (+.p16 (real->posit16 1) x))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1)))
0.0ms
(/.p16 (real->posit16 1) (*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1))))
0.0ms
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x))
0.0ms
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x)) (/.p16 (real->posit16 1) (*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1)))) (+.p16 (real->posit16 1) x))

simplify1.2s

Counts
50 → 50
Iterations
IterNodes
done2040
42040
31063
2197
186
044

prune2.7s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.9b

localize278.0ms

Local error

Found 4 expressions with local error:

0.1b
(/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))
0.2b
(/.p16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x)) (-.p16 x (real->posit16 1)))
14.2b
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x))
25.1b
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x)) (/.p16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x)) (-.p16 x (real->posit16 1))) (+.p16 (real->posit16 1) x))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
84×p16-times-frac
52×*p16-lft-identity-expand *p16-rgt-identity-expand p16-*-un-lft-identity
16×associate-/l*
/p16-rgt-identity-expand
associate-/r/
associate-/r*
+p16-lft-identity-expand introduce-quire -p16-rgt-identity-expand +p16-rgt-identity-expand associate-/l/
p16-flip--
Counts
4 → 91
Calls
4 calls:
4.0ms
(/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))
7.0ms
(/.p16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x)) (-.p16 x (real->posit16 1)))
0.0ms
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x))
0.0ms
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x)) (/.p16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x)) (-.p16 x (real->posit16 1))) (+.p16 (real->posit16 1) x))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))
0.0ms
(/.p16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x)) (-.p16 x (real->posit16 1)))
0.0ms
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x))
0.0ms
(quire16-mul-add (quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (real->posit16 1.0) (/.p16 (real->posit16 2) x)) (/.p16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x)) (-.p16 x (real->posit16 1))) (+.p16 (real->posit16 1) x))

simplify927.0ms

Counts
95 → 95
Iterations
IterNodes
done2000
42000
31380
2482
184
043

prune3.6s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.9b

regimes146.0ms

Accuracy

0% (0.2b remaining)

Error of 0.9b against oracle of 0.7b and baseline of 0.9b

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done18
118
016

end0.0ms

sample1.7s

Algorithm
halfpoints