Details

Time bar (total: 5.7m)

sample86.0ms

Algorithm
halfpoints

simplify5.5m

Counts
1 → 1
Iterations
IterNodes
done5000
314854
304480
293983
283473
273156
262815
252501
242204
231917
221649
211414
201220
191034
18883
17729
16602
15501
14423
13321
12264
11209
10169
9138
8114
791
682
561
450
341
233
122
012

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.2b

localize151.0ms

Local error

Found 4 expressions with local error:

0.1b
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
0.2b
(/.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.8b
(+.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))))

rewrite67.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:
2.0ms
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
3.0ms
(/.p16 (real->posit16 1) (+.p16 x (real->posit16 1)))
9.0ms
(-.p16 (/.p16 (real->posit16 1) (+.p16 x (real->posit16 1))) (/.p16 (real->posit16 2) x))
50.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))))

simplify1.4s

Counts
209 → 209
Iterations
IterNodes
done5007
32469
2408
1111
070

prune1.1s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.9b

localize238.0ms

Local error

Found 4 expressions with local error:

0.1b
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
0.2b
(/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))
15.0b
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0))
22.5b
(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)) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))) (real->posit16 1.0))

rewrite7.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:
2.0ms
(/.p16 (real->posit16 1) (-.p16 x (real->posit16 1)))
4.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)) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))) (real->posit16 1.0))

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)) (/.p16 (real->posit16 1) (-.p16 x (real->posit16 1))) (real->posit16 1.0))

simplify2.1s

Counts
55 → 55
Iterations
IterNodes
done5000
52686
41017
3381
2141
145
033

prune481.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.9b

localize262.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))))
15.0b
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0))
25.5b
(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)) (/.p16 (real->posit16 1) (*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1)))) (+.p16 (real->posit16 1) x))

rewrite7.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:
4.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))) (/.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)) (/.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))) (/.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)) (/.p16 (real->posit16 1) (*.p16 (+.p16 x (real->posit16 1)) (-.p16 x (real->posit16 1)))) (+.p16 (real->posit16 1) x))

simplify1.1s

Counts
50 → 50
Iterations
IterNodes
done5001
31063
2197
186
044

prune702.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.9b

localize237.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.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)))
15.0b
(quire16-mul-sub (posit16->quire16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x))) (/.p16 (real->posit16 2) x) (real->posit16 1.0))
25.5b
(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)) (/.p16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x)) (-.p16 x (real->posit16 1))) (+.p16 (real->posit16 1) x))

rewrite12.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))
6.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))) (/.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)) (/.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))) (/.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)) (/.p16 (/.p16 (real->posit16 1) (+.p16 (real->posit16 1) x)) (-.p16 x (real->posit16 1))) (+.p16 (real->posit16 1) x))

simplify1.2s

Counts
95 → 95
Iterations
IterNodes
done5002
31380
2482
184
043

prune548.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.9b

regimes151.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done18
118
016

end0.0ms

sample1.7s

Algorithm
halfpoints