Details

Time bar (total: 5.6s)

sample42.0ms

Algorithm
intervals
Results
20.0ms262×body80valid
2.0msbody640valid
1.0msbody320valid
0.0msbody1280valid
0.0msbody160valid

simplify47.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115
done500115

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.4b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(- (/ (* K (+ m n)) 2.0) M)
0.0b
(* K (+ m n))
34.6b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite126.0ms

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

series415.0ms

Counts
4 → 12
Calls
4 calls:
269.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
57.0ms
(- (/ (* K (+ m n)) 2.0) M)
30.0ms
(* K (+ m n))
60.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify38.0ms

Counts
79 → 79
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0378485
11267447
25002443
done5002443

prune610.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.0b

localize16.0ms

Local error

Found 1 expressions with local error:

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

rewrite59.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:
59.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series262.0ms

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

simplify43.0ms

Counts
23 → 23
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0156164
1433159
21446158
35001155
done5001155

prune104.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.0b

localize34.0ms

Local error

Found 4 expressions with local error:

14.1b
(cbrt (- (/ (* K (+ m n)) 2.0) M))
14.1b
(cbrt (- (/ (* K (+ m n)) 2.0) M))
14.1b
(cbrt (- (/ (* K (+ m n)) 2.0) M))
43.0b
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 52
Calls
4 calls:
13.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
13.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
13.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
61.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

series808.0ms

Counts
4 → 12
Calls
4 calls:
244.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
251.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
246.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
68.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

simplify47.0ms

Counts
64 → 64
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0214792
1511722
21517713
35001704
done5001704

prune400.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.9b

localize38.0ms

Local error

Found 4 expressions with local error:

14.1b
(cbrt (- (/ (* K (+ m n)) 2.0) M))
43.0b
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))
43.0b
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))
43.0b
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

rewrite192.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
cbrt-prod add-cube-cbrt
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-div
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 36
Calls
4 calls:
13.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
59.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))
60.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))
60.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

series444.0ms

Counts
4 → 12
Calls
4 calls:
246.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
67.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))
63.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))
68.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

simplify49.0ms

Counts
48 → 48
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0214808
1511686
21517683
35001680
done5001680

prune337.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.9b

regimes250.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310
done2310

end0.0ms

sample1.1s

Algorithm
intervals
Results
626.0ms8077×body80valid
52.0ms103×body1280valid
51.0ms155×body640valid
20.0ms85×body320valid
9.0ms55×body160valid