Details

Time bar (total: 12.9s)

sample97.0ms

Algorithm
halfpoints

simplify12.0ms

Counts
1 → 1
Iterations
IterNodes
done13
213
112
07

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.7b

localize146.0ms

Local error

Found 2 expressions with local error:

0.1b
(sqrt.p16 (+.p16 x (real->posit16 1)))
0.7b
(-.p16 (sqrt.p16 (+.p16 x (real->posit16 1))) (sqrt.p16 x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
*p16-lft-identity-expand p16-*-un-lft-identity
introduce-quire
*p16-rgt-identity-expand
+p16-lft-identity-expand -p16-rgt-identity-expand +p16-rgt-identity-expand distribute-lft-out--
insert-quire-fdp-sub
associate--l+ /p16-rgt-identity-expand associate--r+
associate--l- insert-quire-sub sub-neg distribute-rgt-out-- p16-flip-- associate--r-
Counts
2 → 33
Calls
2 calls:
0.0ms
(sqrt.p16 (+.p16 x (real->posit16 1)))
22.0ms
(-.p16 (sqrt.p16 (+.p16 x (real->posit16 1))) (sqrt.p16 x))

series0.0ms

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

simplify1.2s

Counts
35 → 35
Iterations
IterNodes
done5002
3834
2126
137
023

prune272.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.7b

localize153.0ms

Local error

Found 4 expressions with local error:

0.1b
(+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))
0.1b
(/.p16 (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (-.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
0.2b
(*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (-.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
0.7b
(-.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
50×*p16-lft-identity-expand p16-*-un-lft-identity
22×*p16-rgt-identity-expand
16×p16-distribute-lft-out distribute-lft-out
12×associate-/r* +p16-lft-identity-expand introduce-quire p16-times-frac associate-*l* +p16-rgt-identity-expand
10×-p16-rgt-identity-expand /p16-rgt-identity-expand
associate-*r* distribute-lft-out--
distribute-rgt-in distribute-lft-in associate--l+
distribute-rgt-out associate-*r/ associate-/l/
sub-neg p16-flip-- insert-quire-fdp-add insert-quire-fdp-sub associate--r-
associate-+l+ associate-+r+ distribute-rgt-out-- associate-*l/ associate--r+
associate--l- +-commutative insert-quire-sub associate-+r- insert-quire-add associate-/r/ *-commutative associate-+l- associate-/l*
Counts
4 → 135
Calls
4 calls:
6.0ms
(+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))
12.0ms
(/.p16 (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (-.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
11.0ms
(*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (-.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
4.0ms
(-.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))

series0.0ms

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

simplify1.4s

Counts
139 → 139
Iterations
IterNodes
done5015
2723
1113
050

prune857.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize300.0ms

Local error

Found 4 expressions with local error:

0.1b
(*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
0.2b
(-.p16 (*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x))) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))
0.3b
(*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x)))
0.3b
(/.p16 (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (-.p16 (*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x))) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))) (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×*p16-lft-identity-expand p16-*-un-lft-identity
15×associate-*r* associate-*l*
14×/p16-rgt-identity-expand
12×+p16-lft-identity-expand *p16-rgt-identity-expand +p16-rgt-identity-expand
p16-distribute-lft-out distribute-lft-out
distribute-rgt-in distribute-lft-in
introduce-quire -p16-rgt-identity-expand associate--l+ associate--r+
associate-*r/
associate-*l/ associate-/l/
associate-/r/
distribute-rgt-out p16-flip-- *-commutative
associate--l- insert-quire-sub associate-/r* sub-neg p16-times-frac sqrt-sqrd.p16 insert-quire-fdp-sub associate-/l* associate--r- difference-of-squares
Counts
4 → 104
Calls
4 calls:
11.0ms
(*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
4.0ms
(-.p16 (*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x))) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))
2.0ms
(*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x)))
4.0ms
(/.p16 (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (-.p16 (*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x))) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))) (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))))

series0.0ms

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

simplify2.5s

Counts
108 → 108
Iterations
IterNodes
done5000
2671
1132
054

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.2b

localize244.0ms

Local error

Found 4 expressions with local error:

0.1b
(*.p16 (sqrt.p16 x) (sqrt.p16 x))
0.1b
(*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
0.2b
(-.p16 (+.p16 (real->posit16 1) x) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))
0.3b
(/.p16 (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (-.p16 (+.p16 (real->posit16 1) x) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))) (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×*p16-lft-identity-expand p16-*-un-lft-identity
15×associate-*r* associate-*l*
14×/p16-rgt-identity-expand
12×*p16-rgt-identity-expand
+p16-lft-identity-expand +p16-rgt-identity-expand
p16-distribute-lft-out introduce-quire distribute-lft-out
-p16-rgt-identity-expand
associate--r+
distribute-rgt-in distribute-lft-in associate-*r/
associate-*l/ associate-/l/
associate-/r/
associate--l- insert-quire-sub insert-quire-add distribute-rgt-out p16-flip-- *-commutative insert-quire-fdp-sub
associate-/r* sub-neg p16-times-frac associate--l+ associate-+l- sqrt-sqrd.p16 associate-/l* associate--r-
Counts
4 → 101
Calls
4 calls:
2.0ms
(*.p16 (sqrt.p16 x) (sqrt.p16 x))
6.0ms
(*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
10.0ms
(-.p16 (+.p16 (real->posit16 1) x) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))
4.0ms
(/.p16 (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (-.p16 (+.p16 (real->posit16 1) x) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))) (*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))))

series0.0ms

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

simplify1.5s

Counts
105 → 105
Iterations
IterNodes
done5005
2918
1142
055

prune819.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

regimes191.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done18
118
016

end0.0ms

sample2.1s

Algorithm
halfpoints