Details

Time bar (total: 39.2s)

sample134.0ms

Algorithm
halfpoints

simplify3.7s

Counts
1 → 1
Iterations
IterNodes
done5000
113098
102235
91352
8902
7565
6401
5340
4256
3158
277
134
018

prune37.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize311.0ms

Local error

Found 4 expressions with local error:

0.1b
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (*.p16 (/.p16 (real->posit16 1) (sqrt.p16 (*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))) rand)))
0.1b
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.1b
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.2b
(*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
24×*p16-lft-identity-expand p16-*-un-lft-identity
23×associate-*r*
14×+p16-lft-identity-expand associate-*l* +p16-rgt-identity-expand
12×distribute-rgt-in distribute-lft-in
10×*p16-rgt-identity-expand
p16-distribute-lft-out -p16-rgt-identity-expand /p16-rgt-identity-expand distribute-lft-out
associate-+l+ associate-+r+ sub-neg introduce-quire p16-flip-- associate--r+ associate--r-
associate-*l/ associate-*r/
+-commutative *-commutative
distribute-rgt-out
Counts
4 → 103
Calls
4 calls:
37.0ms
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (*.p16 (/.p16 (real->posit16 1) (sqrt.p16 (*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))) rand)))
4.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
4.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
9.0ms
(*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (*.p16 (/.p16 (real->posit16 1) (sqrt.p16 (*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))) rand)))
0.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.0ms
(*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))

simplify5.1s

Counts
107 → 107
Iterations
IterNodes
done5025
33647
2522
1118
055

prune1.7s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize229.0ms

Local error

Found 4 expressions with local error:

0.1b
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (/.p16 (*.p16 rand (real->posit16 1)) (sqrt.p16 (*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))))
0.1b
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.1b
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.2b
(*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
16×*p16-lft-identity-expand associate-*r* p16-*-un-lft-identity
14×+p16-lft-identity-expand +p16-rgt-identity-expand
12×distribute-rgt-in distribute-lft-in
11×*p16-rgt-identity-expand
/p16-rgt-identity-expand
-p16-rgt-identity-expand
associate-*l*
associate-+l+ associate-+r+ sub-neg p16-distribute-lft-out introduce-quire p16-flip-- distribute-lft-out associate--r+ associate--r-
associate-*l/ associate-*r/
+-commutative distribute-rgt-out *-commutative
associate-/r/
Counts
4 → 96
Calls
4 calls:
41.0ms
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (/.p16 (*.p16 rand (real->posit16 1)) (sqrt.p16 (*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))))
2.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
2.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
4.0ms
(*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (/.p16 (*.p16 rand (real->posit16 1)) (sqrt.p16 (*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))))
0.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.0ms
(*.p16 (real->posit16 9) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))))

simplify4.7s

Counts
100 → 100
Iterations
IterNodes
done5022
33202
2524
1118
055

prune1.6s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize243.0ms

Local error

Found 4 expressions with local error:

0.1b
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.1b
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.2b
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (real->posit16 9))
0.2b
(*.p16 (/.p16 rand (sqrt.p16 (*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (real->posit16 9)))) (*.p16 (real->posit16 1) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
20×distribute-rgt-in distribute-lft-in
17×associate-*r*
14×+p16-lft-identity-expand +p16-rgt-identity-expand
11×*p16-lft-identity-expand /p16-rgt-identity-expand *p16-rgt-identity-expand p16-*-un-lft-identity
10×associate-*l* -p16-rgt-identity-expand
associate-*l/
associate-*r/
sub-neg associate--r-
introduce-quire p16-flip-- associate--r+
associate-/r* *-commutative
associate-/r/
Counts
4 → 101
Calls
4 calls:
2.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
2.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
3.0ms
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (real->posit16 9))
25.0ms
(*.p16 (/.p16 rand (sqrt.p16 (*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (real->posit16 9)))) (*.p16 (real->posit16 1) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.0ms
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (real->posit16 9))
0.0ms
(*.p16 (/.p16 rand (sqrt.p16 (*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (real->posit16 9)))) (*.p16 (real->posit16 1) (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))

simplify3.5s

Counts
105 → 105
Iterations
IterNodes
done5000
2932
1203
070

prune2.1s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

localize312.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt.p16 (+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))
0.1b
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (*.p16 (/.p16 (real->posit16 1) (sqrt.p16 (+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))) rand)))
0.1b
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.2b
(+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
57×*p16-lft-identity-expand p16-*-un-lft-identity
54×associate-*l*
28×p16-distribute-lft-out distribute-lft-out
24×associate-*r*
23×*p16-rgt-identity-expand
16×introduce-quire
15×+p16-lft-identity-expand +p16-rgt-identity-expand
11×insert-quire-fdp-add
10×distribute-rgt-in associate-+r+ distribute-lft-in
-p16-rgt-identity-expand
associate-+l+ /p16-rgt-identity-expand
distribute-rgt-out *-commutative
+-commutative
associate-*l/ p16-flip-- associate--r+
associate-+r- sub-neg insert-quire-add associate-*r/ associate-+l- associate--r-
Counts
4 → 146
Calls
4 calls:
0.0ms
(sqrt.p16 (+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))
18.0ms
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (*.p16 (/.p16 (real->posit16 1) (sqrt.p16 (+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))) rand)))
2.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
17.0ms
(+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(sqrt.p16 (+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))
0.0ms
(*.p16 (-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0))) (+.p16 (real->posit16 1) (*.p16 (/.p16 (real->posit16 1) (sqrt.p16 (+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0))))))) rand)))
0.0ms
(-.p16 a (/.p16 (real->posit16 1.0) (real->posit16 3.0)))
0.0ms
(+.p16 (*.p16 (real->posit16 9) a) (*.p16 (real->posit16 9) (neg.p16 (/.p16 (real->posit16 1.0) (real->posit16 3.0)))))

simplify10.2s

Counts
150 → 150
Iterations
IterNodes
done5010
34986
2669
1147
071

prune2.2s

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.1b

regimes590.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify6.0ms

Iterations
IterNodes
done20
120
018

end0.0ms

sample2.4s

Algorithm
halfpoints