Details

Time bar (total: 20.1s)

sample49.0ms

Algorithm
intervals
Results
22.0ms254×body80valid
3.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify3.1s

Counts
1 → 1
Iterations

Useful iterations: 4 (81.0ms)

IterNodesCost
02129
15029
29329
319729
446528
5114128
6470928
done500028

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.7b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite5.6s

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
14×*-un-lft-identity
10×add-cube-cbrt associate-*r*
pow1
add-exp-log add-cbrt-cube
unpow-prod-down associate-*l*
add-log-exp
pow-unpow associate-*r/ exp-sum
sub-neg cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
distribute-rgt-in cos-diff pow-to-exp pow-pow distribute-lft-in flip3-+ times-frac exp-diff pow-exp flip-+ distribute-lft-out distribute-lft-out-- associate--r- sqr-pow
Counts
4 → 75
Calls
4 calls:
5.5s
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
55.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
22.0ms
(* K (+ m n))
28.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series747.0ms

Counts
4 → 12
Calls
4 calls:
392.0ms
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
264.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
26.0ms
(* K (+ m n))
64.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify1.7s

Counts
87 → 87
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02051657
14901601
213171414
344201395
done50011394

prune370.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 2.2b

localize14.0ms

Local error

Found 1 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
unpow-prod-down
*-un-lft-identity
add-cube-cbrt pow-unpow
pow1 add-exp-log difference-of-squares
pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 20
Calls
1 calls:
55.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series260.0ms

Counts
1 → 3
Calls
1 calls:
260.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify1.6s

Counts
23 → 23
Iterations

Useful iterations: done (1.6s)

IterNodesCost
074337
1157318
2312305
3731304
41771296
done5001295

prune94.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 2.2b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

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

series628.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(cbrt K)
174.0ms
(cbrt K)
175.0ms
(cbrt K)
107.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify1.9s

Counts
55 → 55
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
060516
1112498
2249386
3596335
42147335
done5000335

prune268.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 2.2b

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ K (/ 2.0 (+ m n)))
0.6b
(pow (cos (- (/ K (/ 2.0 (+ m n))) M)) 3)
0.6b
(cbrt (pow (cos (- (/ K (/ 2.0 (+ m n))) M)) 3))
38.0b
(cos (- (/ K (/ 2.0 (+ m n))) M))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
85×*-un-lft-identity
61×add-sqr-sqrt add-cube-cbrt
18×associate-/r*
12×cbrt-prod distribute-lft-out
10×add-exp-log add-cbrt-cube
associate-/r/
unpow-prod-down cube-prod
pow1 div-inv
flip3-+ flip-+ add-log-exp
cbrt-undiv pow-unpow div-exp associate-/l*
cube-mult cos-sum unpow3 sqr-pow
cos-diff pow-to-exp sub-neg pow-pow frac-2neg pow1/3 pow-exp clear-num rem-cbrt-cube rem-cube-cbrt
Counts
4 → 144
Calls
4 calls:
17.0ms
(/ K (/ 2.0 (+ m n)))
5.0ms
(pow (cos (- (/ K (/ 2.0 (+ m n))) M)) 3)
3.0ms
(cbrt (pow (cos (- (/ K (/ 2.0 (+ m n))) M)) 3))
101.0ms
(cos (- (/ K (/ 2.0 (+ m n))) M))

series303.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ K (/ 2.0 (+ m n)))
134.0ms
(pow (cos (- (/ K (/ 2.0 (+ m n))) M)) 3)
64.0ms
(cbrt (pow (cos (- (/ K (/ 2.0 (+ m n))) M)) 3))
60.0ms
(cos (- (/ K (/ 2.0 (+ m n))) M))

simplify879.0ms

Counts
156 → 156
Iterations

Useful iterations: done (875.0ms)

IterNodesCost
02462636
15202336
216282147
done50012141

prune636.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 2.1b

regimes396.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01720
12118
done2118

end0.0ms

sample1.2s

Algorithm
intervals
Results
634.0ms8107×body80valid
57.0ms121×body1280valid
47.0ms145×body640valid
24.0ms104×body320valid
9.0ms55×body160valid
2.0msbody2560valid