Details

Time bar (total: 12.7s)

sample82.0ms

Algorithm
halfpoints

simplify13.0ms

Counts
1 → 1
Iterations
IterNodes
done13
213
112
07

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.7b

localize147.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.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)))
5.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

prune298.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.6b

localize188.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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))
11.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)))
10.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

prune852.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize265.0ms

Local error

Found 4 expressions with local error:

0.1b
(-.p16 (*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x))) (*.p16 (sqrt.p16 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.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))))
0.3b
(*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x)))

rewrite17.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:
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)))
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)))
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))))
2.0ms
(*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x)))

series0.0ms

Counts
4 → 4
Calls
4 calls:
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 (+.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 (+.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))))
0.0ms
(*.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 (+.p16 (real->posit16 1) x)))

simplify2.0s

Counts
108 → 108
Iterations
IterNodes
done5000
2651
1132
054

prune1.0s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

localize213.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 (real->posit16 1) x) (*.p16 (sqrt.p16 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.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))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
31×*p16-lft-identity-expand p16-*-un-lft-identity
13×*p16-rgt-identity-expand
12×p16-distribute-lft-out introduce-quire associate-*r* associate-*l* /p16-rgt-identity-expand distribute-lft-out
+p16-lft-identity-expand -p16-rgt-identity-expand +p16-rgt-identity-expand
associate--r+
associate-*r/ associate-/l/
distribute-rgt-in insert-quire-add distribute-lft-in distribute-rgt-out associate-*l/ associate-/r/ insert-quire-fdp-add
associate--l- insert-quire-sub associate-+l+ associate-+r+ p16-flip-- associate-+l- insert-quire-fdp-sub
+-commutative associate-+r- associate-/r* sub-neg p16-times-frac associate--l+ *-commutative associate-/l* associate--r-
Counts
4 → 107
Calls
4 calls:
3.0ms
(+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x))
9.0ms
(-.p16 (+.p16 (real->posit16 1) x) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))
22.0ms
(*.p16 (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)) (+.p16 (sqrt.p16 (+.p16 (real->posit16 1) x)) (sqrt.p16 x)))
9.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 (+.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 (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 (+.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
111 → 111
Iterations
IterNodes
done5002
2975
1148
059

prune945.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes207.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.3s

Algorithm
halfpoints