Details

Time bar (total: 33.4s)

sample59.0ms

Algorithm
intervals
Results
31.0ms261×body80valid
4.0msbody1280valid
3.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify4.6s

Counts
1 → 1
Iterations

Useful iterations: 4 (127.0ms)

IterNodesCost
02129
15029
29329
319729
446528
5114128
6470928
done500028

prune18.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize56.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
0.0b
(* K (+ m n))
0.0b
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
32.9b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite4.2s

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
25×add-log-exp
13×add-sqr-sqrt
12×diff-log distribute-lft-out--
exp-prod
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
rem-exp-log
sub-neg distribute-rgt-neg-in associate-*r* neg-log
associate-*l* exp-sum
cos-sum associate-*r/ associate--r+ associate--r- difference-of-squares
associate--l- neg-sub0 distribute-rgt-in cos-diff flip3-- distribute-lft-in flip3-+ exp-diff pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
4 → 81
Calls
4 calls:
1.5s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
20.0ms
(* K (+ m n))
2.6s
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
66.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series636.0ms

Counts
4 → 12
Calls
4 calls:
288.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
36.0ms
(* K (+ m n))
195.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
116.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify2.8s

Counts
93 → 93
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
01641461
13891405
211021260
341881229
done50001229

prune675.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.0b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
0.0b
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

rewrite4.1s

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
24×add-log-exp
15×add-sqr-sqrt
13×distribute-lft-out--
12×diff-log
exp-prod
add-cube-cbrt unpow-prod-down
rem-exp-log
pow1 add-exp-log distribute-rgt-neg-in neg-log difference-of-squares
sub-neg pow-unpow exp-sum add-cbrt-cube
associate--r+ associate--r-
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow times-frac exp-diff pow-exp flip-- sqr-pow
Counts
3 → 68
Calls
3 calls:
79.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
1.5s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
2.6s
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

series874.0ms

Counts
3 → 9
Calls
3 calls:
383.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
298.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
193.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

simplify2.1s

Counts
77 → 77
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01521395
13521325
29141223
335161191
done50011183

prune366.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.0b

localize40.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
0.0b
(pow E (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

rewrite2.6s

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
16×add-sqr-sqrt
13×distribute-lft-out-- add-log-exp
11×pow-unpow
unpow-prod-down
add-cube-cbrt
diff-log
pow1 add-exp-log
distribute-rgt-neg-in difference-of-squares
unpow-prod-up sub-neg pow-exp add-cbrt-cube
pow-to-exp pow-pow neg-log associate--r+ associate--r- sqr-pow
associate--l- neg-sub0 e-exp-1 flip3-- times-frac flip-- pow-sub
Counts
3 → 71
Calls
3 calls:
79.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
1.6s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
920.0ms
(pow E (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

series877.0ms

Counts
3 → 9
Calls
3 calls:
390.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
269.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
217.0ms
(pow E (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

simplify2.6s

Counts
80 → 80
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01691662
14031541
210361446
338521403
done50011388

prune325.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.0b

localize48.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
32.9b
(cos (- (/ (* K (+ m n)) 2.0) M))
32.9b
(cos (- (/ (* K (+ m n)) 2.0) M))
32.9b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
cos-sum
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod cos-diff sub-neg
pow1/3
Counts
4 → 41
Calls
4 calls:
2.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
33.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
29.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
50.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series447.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
78.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
83.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
73.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify2.2s

Counts
53 → 53
Iterations

Useful iterations: done (2.2s)

IterNodesCost
048853
183812
2122730
3170727
4282727
5521727
61439727
done5000687

prune434.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 1.0b

regimes221.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01821
12319
done2319

end0.0ms

sample3.0s

Algorithm
intervals
Results
2.1s8103×body80valid
180.0ms133×body1280valid
158.0ms161×body640valid
62.0ms113×body320valid
17.0ms53×body160valid
4.0msbody2560valid