Details

Time bar (total: 27.1s)

sample73.0ms

Algorithm
intervals
Results
45.0ms261×body80valid
3.0msbody1280valid
3.0msbody320valid
3.0msbody640valid

simplify1.1s

Counts
1 → 1
Iterations
IterNodes
53132
4821
3260
2102
151
021

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.1b

localize50.0ms

Local error

Found 4 expressions with local error:

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

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
20×add-sqr-sqrt
16×associate-*r*
15×add-cube-cbrt
13×times-frac
add-cbrt-cube add-exp-log
pow1 prod-diff add-log-exp
cos-sum
expm1-log1p-u insert-posit16 log1p-expm1-u
associate-*l* distribute-lft-out
sub-neg prod-exp cbrt-unprod unswap-sqr
cos-diff cbrt-undiv flip3-- fma-neg diff-log div-exp pow-prod-down associate-*r/ *-commutative fma-udef div-inv flip--
Counts
4 → 84
Calls
4 calls:
25.0ms
(- (* K (/ (+ m n) 2)) M)
0.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
33.0ms
(* K (/ (+ m n) 2))
45.0ms
(cos (- (* K (/ (+ m n) 2)) M))

series456.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- (* K (/ (+ m n) 2)) M)
198.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
55.0ms
(* K (/ (+ m n) 2))
117.0ms
(cos (- (* K (/ (+ m n) 2)) M))

simplify1.4s

Counts
96 → 96
Iterations
IterNodes
33267
21054
1405
0188

prune1.7s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.4b

localize49.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.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 fma-udef insert-posit16 log1p-expm1-u add-log-exp
Counts
1 → 11
Calls
1 calls:
1.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)

series203.0ms

Counts
1 → 3
Calls
1 calls:
203.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)

simplify3.2s

Counts
14 → 14
Iterations
IterNodes
56545
41190
3343
2130
164
033

prune307.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.4b

localize57.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
18.8b
(posit16->real (real->posit16 (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)))

rewrite1.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
fma-udef remove-posit16
Counts
2 → 22
Calls
2 calls:
0.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
1.0ms
(posit16->real (real->posit16 (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)))

series387.0ms

Counts
2 → 6
Calls
2 calls:
178.0ms
(fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)
209.0ms
(posit16->real (real->posit16 (fma (- (/ (+ m n) 2) M) (- (/ (+ m n) 2) M) l)))

simplify2.7s

Counts
28 → 28
Iterations
IterNodes
56290
41213
3358
2143
177
044

prune830.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 1.4b

localize62.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ K (sqrt 2)) (/ (+ m n) (sqrt 2)))
0.4b
(/ K (sqrt 2))
0.5b
(/ (+ m n) (sqrt 2))
34.4b
(cos (- (* (/ K (sqrt 2)) (/ (+ m n) (sqrt 2))) M))

rewrite428.0ms

Algorithm
rewrite-expression-head
Rules
96×times-frac
95×add-sqr-sqrt
91×*-un-lft-identity
65×add-cube-cbrt
54×sqrt-prod
28×associate-*r*
22×associate-*l*
20×add-cbrt-cube add-exp-log
13×distribute-lft-out
12×associate-/r*
unswap-sqr
associate-/l*
pow1 cbrt-undiv div-exp
cos-sum
expm1-log1p-u prod-exp cbrt-unprod insert-posit16 log1p-expm1-u div-inv add-log-exp
prod-diff
clear-num frac-2neg associate-/l/
cos-diff frac-times sub-neg flip3-+ pow-prod-down associate-*l/ associate-*r/ *-commutative flip-+
Counts
4 → 191
Calls
4 calls:
363.0ms
(* (/ K (sqrt 2)) (/ (+ m n) (sqrt 2)))
5.0ms
(/ K (sqrt 2))
15.0ms
(/ (+ m n) (sqrt 2))
41.0ms
(cos (- (* (/ K (sqrt 2)) (/ (+ m n) (sqrt 2))) M))

series869.0ms

Counts
4 → 12
Calls
4 calls:
219.0ms
(* (/ K (sqrt 2)) (/ (+ m n) (sqrt 2)))
99.0ms
(/ K (sqrt 2))
104.0ms
(/ (+ m n) (sqrt 2))
447.0ms
(cos (- (* (/ K (sqrt 2)) (/ (+ m n) (sqrt 2))) M))

simplify5.1s

Counts
203 → 203
Iterations
IterNodes
38839
21975
1622
0256

prune4.1s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.3b

regimes571.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
217
117
015

end0.0ms

sample3.4s

Algorithm
intervals
Results
2.6s8108×body80valid
156.0ms106×body1280valid
136.0ms142×body640valid
107.0ms112×body320valid
21.0ms49×body160valid
4.0msbody2560valid