Details

Time bar (total: 22.5s)

sample114.0ms

Algorithm
intervals
Results
66.0ms267×body80valid
14.0msbody1280valid
5.0msbody320valid
3.0msbody640valid
1.0msbody160valid

simplify993.0ms

Counts
1 → 1

prune30.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.2b

localize63.0ms

Local error

Found 4 expressions with local error:

34.1b
(cos (- (* K (/ (+ m n) 2)) M))
0.0b
(- (* K (/ (+ m n) 2)) M)
0.0b
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
0.0b
(- (fabs (- m n)) (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity prod-diff
13×add-cube-cbrt
add-log-exp
cos-sum
expm1-log1p-u pow1 add-cbrt-cube fma-neg add-exp-log insert-posit16 log1p-expm1-u
sub-neg
flip3-- diff-log fma-udef flip--
cos-diff associate--r+ distribute-lft-out-- difference-of-squares
Counts
4 → 76
Calls
4 calls:
Slowest
25.0ms
(cos (- (* K (/ (+ m n) 2)) M))
20.0ms
(- (* K (/ (+ m n) 2)) M)
10.0ms
(- (fabs (- m n)) (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l))
0.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)

series584.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
220.0ms
(- (fabs (- m n)) (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l))
206.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
86.0ms
(- (* K (/ (+ m n) 2)) M)
70.0ms
(cos (- (* K (/ (+ m n) 2)) M))

simplify989.0ms

Counts
88 → 88

prune1.7s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.0b

localize50.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
0.0b
(- (fabs (- m n)) (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
prod-diff add-cube-cbrt
add-log-exp
fma-neg
expm1-log1p-u pow1 add-cbrt-cube add-exp-log fma-udef insert-posit16 log1p-expm1-u
sub-neg flip3-- diff-log flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
Slowest
5.0ms
(- (fabs (- m n)) (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l))
0.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)

series399.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
203.0ms
(- (fabs (- m n)) (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l))
196.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)

simplify2.4s

Counts
47 → 47

prune840.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 1.0b

localize60.0ms

Local error

Found 4 expressions with local error:

54.0b
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
34.1b
(cos (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))
0.0b
(- (* K (/ (+ m n) 2)) M)
0.0b
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
prod-diff
sub-neg flip3-- fma-neg diff-log fma-udef remove-posit16 flip--
Counts
4 → 51
Calls
4 calls:
Slowest
25.0ms
(- (* K (/ (+ m n) 2)) M)
5.0ms
(cos (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))
1.0ms
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
0.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)

series439.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
183.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
86.0ms
(cos (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))
85.0ms
(- (* K (/ (+ m n) 2)) M)
84.0ms
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))

simplify2.2s

Counts
63 → 63

prune2.0s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 1.0b

localize113.0ms

Local error

Found 4 expressions with local error:

54.0b
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
54.0b
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
54.0b
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
45.8b
(cos (* (* (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))) (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))) (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16 log1p-expm1-u add-log-exp
remove-posit16
Counts
4 → 43
Calls
4 calls:
Slowest
57.0ms
(cos (* (* (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))) (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))) (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))))
1.0ms
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
0.0ms
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
0.0ms
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))

series381.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
100.0ms
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
99.0ms
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
98.0ms
(posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))
83.0ms
(cos (* (* (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M)))) (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))) (cbrt (posit16->real (real->posit16 (- (* K (/ (+ m n) 2)) M))))))

simplify2.8s

Counts
55 → 55

prune1.9s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.0b

regimes425.0ms

Accuracy

0% (0.2b remaining)

Error of 1.3b against oracle of 1.1b and baseline of 1.3b

bsearch4.0ms

end0.0ms

sample3.9s

Algorithm
intervals
Results
2.7s8115×body80valid
547.0ms161×body640valid
188.0ms134×body1280valid
82.0ms99×body320valid
28.0ms55×body160valid
1.0msbody2560valid