Details

Time bar (total: 19.1s)

sample97.0ms

Algorithm
intervals
Results
48.0ms253×body80valid
3.0msbody640valid
2.0msbody320valid
2.0msbody160valid
1.0msbody1280valid

simplify2.0s

Counts
1 → 1
Iterations

Useful iterations: 4 (134.0ms)

IterNodesCost
02129
15029
29329
321029
464028
5307828
done500028

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.5b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.6s

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
14×add-log-exp
12×add-sqr-sqrt
11×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 diff-log distribute-lft-out--
associate-*r/ associate-*r*
sub-neg times-frac associate-*l* associate-/r*
cbrt-undiv cos-sum distribute-rgt-neg-in flip3-+ div-exp neg-log prod-exp cbrt-unprod flip-+ associate-/l/ associate--r+
associate--l- neg-sub0 distribute-rgt-in cos-diff flip3-- frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative flip-- div-inv distribute-lft-out associate-/l* associate--r- difference-of-squares unswap-sqr
Counts
4 → 80
Calls
4 calls:
29.0ms
(/ (* K (+ m n)) 2.0)
1.5s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
24.0ms
(* K (+ m n))
41.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series475.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ (* K (+ m n)) 2.0)
277.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
42.0ms
(* K (+ m n))
79.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify1.4s

Counts
92 → 92
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01701279
14271230
217611100
done50001092

prune581.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.3b

localize22.0ms

Local error

Found 2 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))))

rewrite1.4s

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
12×add-log-exp
11×add-sqr-sqrt
distribute-lft-out--
unpow-prod-down diff-log
add-cube-cbrt
pow1 add-exp-log pow-unpow difference-of-squares
sub-neg distribute-rgt-neg-in neg-log add-cbrt-cube associate--r+
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow times-frac pow-exp flip-- associate--r- sqr-pow
Counts
2 → 44
Calls
2 calls:
66.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
1.3s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))

series623.0ms

Counts
2 → 6
Calls
2 calls:
373.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
250.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))

simplify1.9s

Counts
50 → 50
Iterations

Useful iterations: done (1.9s)

IterNodesCost
0122937
1312879
2833826
33166809
done5000801

prune265.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.3b

localize73.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
37.8b
(cos (- (/ (* K (+ m n)) 2.0) M))
37.8b
(cos (- (/ (* K (+ m n)) 2.0) M))
37.8b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite136.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:
4.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
36.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
37.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
58.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series484.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
82.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
93.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
87.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify2.8s

Counts
53 → 53
Iterations

Useful iterations: done (2.8s)

IterNodesCost
048853
184812
2126730
3209727
4451727
51262727
64297727
done5002687

prune405.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.3b

localize45.0ms

Local error

Found 4 expressions with local error:

0.5b
(log (exp (cos (- (/ (* K (+ m n)) 2.0) M))))
37.8b
(cos (- (/ (* K (+ m n)) 2.0) M))
37.8b
(cos (- (/ (* K (+ m n)) 2.0) M))
37.8b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
cos-sum
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
add-exp-log cos-diff sub-neg log-prod log-pow add-cbrt-cube add-log-exp
exp-prod
log-div exp-diff
rem-log-exp exp-sum
Counts
4 → 48
Calls
4 calls:
52.0ms
(log (exp (cos (- (/ (* K (+ m n)) 2.0) M))))
30.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
31.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
37.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series286.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(log (exp (cos (- (/ (* K (+ m n)) 2.0) M))))
65.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
66.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
63.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify798.0ms

Counts
60 → 60
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0661000
1110917
2176826
3291826
4547826
51314826
done5000826

prune482.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.3b

regimes355.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01720
12118
22218
done2218

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.9s8095×body80valid
101.0ms149×body640valid
84.0ms101×body1280valid
41.0ms90×body320valid
16.0ms55×body160valid
3.0msbody2560valid