Details

Time bar (total: 21.6s)

sample137.0ms

Algorithm
intervals
Results
89.0ms267×body80valid
8.0msbody1280valid
6.0msbody320valid
4.0msbody640valid
1.0msbody160valid

simplify869.0ms

Counts
1 → 1

prune26.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.2b

localize60.0ms

Local error

Found 4 expressions with local error:

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

rewrite663.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
26×*-un-lft-identity
11×pow1 add-log-exp
10×difference-of-squares
flip3-- swap-sqr add-cube-cbrt flip-- distribute-lft-out--
add-cbrt-cube associate-*r* associate-*l* add-exp-log
sub-neg
frac-times times-frac insert-posit16
diff-log
distribute-rgt-in cos-sum distribute-lft-in associate-*l/ associate-*r/
pow2 cos-diff sum-log pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod associate--r+ unswap-sqr
Counts
4 → 92
Calls
4 calls:
Slowest
560.0ms
(* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))
54.0ms
(- (fabs (- m n)) (+ l (* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))))
24.0ms
(- (/ (* (+ m n) K) 2) M)
23.0ms
(cos (- (/ (* (+ m n) K) 2) M))

series484.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
189.0ms
(- (fabs (- m n)) (+ l (* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))))
120.0ms
(* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))
93.0ms
(cos (- (/ (* (+ m n) K) 2) M))
83.0ms
(- (/ (* (+ m n) K) 2) M)

simplify668.0ms

Counts
104 → 104

prune1.8s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.0b

localize26.0ms

Local error

Found 3 expressions with local error:

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

rewrite300.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
23×*-un-lft-identity
10×pow1 add-log-exp
difference-of-squares
swap-sqr
flip3-- add-cube-cbrt flip-- distribute-lft-out--
associate-*r* associate-*l*
sub-neg add-cbrt-cube add-exp-log
distribute-rgt-in frac-times associate-+r+ distribute-lft-in times-frac
insert-posit16
sum-log diff-log associate-*l/ associate-*r/
pow2 +-commutative flip3-+ pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod flip-+ associate--r+ unswap-sqr
Counts
3 → 82
Calls
3 calls:
Slowest
219.0ms
(* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))
44.0ms
(+ l (* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M)))
35.0ms
(- (fabs (- m n)) (+ l (* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))))

series655.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
276.0ms
(+ l (* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M)))
258.0ms
(- (fabs (- m n)) (+ l (* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))))
122.0ms
(* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))

simplify2.0s

Counts
91 → 91

prune1.3s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 1.0b

localize82.0ms

Local error

Found 4 expressions with local error:

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

rewrite212.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
24×*-un-lft-identity
11×pow1
difference-of-squares
swap-sqr add-cube-cbrt
flip3-- flip-- distribute-lft-out--
add-cbrt-cube associate-*r* associate-*l* add-exp-log add-log-exp
frac-times times-frac insert-posit16
sub-neg
distribute-rgt-in distribute-lft-in associate-*l/ associate-*r/
pow2 pow-plus diff-log pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod remove-posit16 unswap-sqr
Counts
4 → 81
Calls
4 calls:
Slowest
196.0ms
(* (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M))
12.0ms
(- (/ (* (+ m n) K) 2) M)
2.0ms
(cos (posit16->real (real->posit16 (- (/ (* (+ m n) K) 2) M))))
0.0ms
(posit16->real (real->posit16 (- (/ (* (+ m n) K) 2) M)))

series326.0ms

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

simplify1.6s

Counts
93 → 93

prune2.7s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 1.0b

localize110.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

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

series334.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
89.0ms
(posit16->real (real->posit16 (- (/ (* (+ m n) K) 2) M)))
89.0ms
(cos (* (* (cbrt (posit16->real (real->posit16 (- (/ (* (+ m n) K) 2) M)))) (cbrt (posit16->real (real->posit16 (- (/ (* (+ m n) K) 2) M))))) (cbrt (posit16->real (real->posit16 (- (/ (* (+ m n) K) 2) M))))))
86.0ms
(posit16->real (real->posit16 (- (/ (* (+ m n) K) 2) M)))
70.0ms
(posit16->real (real->posit16 (- (/ (* (+ m n) K) 2) M)))

simplify1.8s

Counts
47 → 47

prune1.4s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.0b

regimes488.0ms

Accuracy

0% (0.2b remaining)

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

bsearch3.0ms

end0.0ms

sample3.4s

Algorithm
intervals
Results
2.6s8115×body80valid
205.0ms134×body1280valid
151.0ms161×body640valid
92.0ms99×body320valid
24.0ms55×body160valid
3.0msbody2560valid