Details

Time bar (total: 12.2s)

sample62.0ms

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

simplify3.3s

Counts
1 → 1
Iterations

Useful iterations: 4 (64.0ms)

IterNodesCost
02129
15029
29229
319529
442828
5122828
6458128
done500128

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 16.4b

Counts
2 → 1

localize21.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
(pow (- (/ (+ m n) 2.0) M) 2.0)
33.5b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite50.0ms

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

series115.0ms

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

simplify1.1s

Counts
82 → 82
Iterations

Useful iterations: 3 (407.0ms)

IterNodesCost
01871188
14421105
210061018
326971015
done50001015

prune181.0ms

Filtered
58 candidates to 82 candidates (-41.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483

Merged error: 0.8b

Counts
83 → 4

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

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

series87.0ms

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

simplify779.0ms

Counts
43 → 43
Iterations

Useful iterations: 3 (213.0ms)

IterNodesCost
0120785
1286723
2618676
31763673
done5001673

prune96.0ms

Filtered
31 candidates to 43 candidates (-38.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh033
Picked011
Done000
Total43447

Merged error: 0.8b

Counts
47 → 4

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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)))
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
10.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
10.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series131.0ms

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

simplify2.3s

Counts
53 → 53
Iterations

Useful iterations: done (2.3s)

IterNodesCost
049855
185812
2122730
3167727
4269727
5508727
61327727
done5000687

prune188.0ms

Filtered
43 candidates to 53 candidates (-23.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New53053
Fresh022
Picked011
Done011
Total53457

Merged error: 0.8b

Counts
57 → 4

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
cos-sum
cos-diff sub-neg
Counts
4 → 52
Calls
4 calls:
3.0ms
(cbrt (+ m n))
4.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
17.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series130.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(cbrt (+ m n))
32.0ms
(cbrt (+ m n))
36.0ms
(cbrt (+ m n))
29.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify1.4s

Counts
64 → 64
Iterations

Useful iterations: 4 (654.0ms)

IterNodesCost
0102931
1208895
2406683
3927593
42506578
done5000578

prune123.0ms

Filtered
50 candidates to 64 candidates (-28.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New62264
Fresh011
Picked101
Done022
Total63568

Merged error: 0.8b

Counts
68 → 5

regimes400.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01619
12019
done2019

end0.0ms

sample1.6s

Algorithm
intervals
Results
835.0ms8065×body80valid
76.0ms120×body1280valid
75.0ms179×body640valid
35.0ms112×body320valid
17.0ms65×body160valid
2.0msbody2560valid

Profiling

Loading profile data...