Details

Time bar (total: 18.0s)

analyze7.2s

Algorithm
search
sampling

Space saved by range analysis: 0.243902%

Space saved by search: 0.925829%

Guaranteed chance to sample good point: 37.168142%

sample53.0ms

Algorithm
intervals
Results
33.0ms252×body80valid
1.0msbody640invalid
1.0msbody1280valid
1.0msbody320valid
0.0msbody320invalid
0.0msbody160valid
0.0msbody80invalid
0.0msbody160invalid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 14.2b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

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

series104.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* K (+ m n))
37.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
41.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify42.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0465677
11514631
25002627

prune173.0ms

Filtered
60 candidates to 89 candidates (-48.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590

Merged error: 0.8b

Counts
90 → 5

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

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:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
23.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))

series79.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0307479
1865454
23603442
35003439

prune93.0ms

Filtered
34 candidates to 50 candidates (-47.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New50050
Fresh044
Picked011
Done000
Total50555

Merged error: 0.8b

Counts
55 → 5

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.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))
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
16.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series119.0ms

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

simplify161.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0207539
1429499
21164478
34632454
45001454

prune156.0ms

Filtered
52 candidates to 64 candidates (-23.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New60464
Fresh213
Picked101
Done011
Total63669

Merged error: 0.8b

Counts
69 → 6

localize33.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ m n))
0.6b
(cbrt (+ m n))
0.6b
(log (exp (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))))
35.1b
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

rewrite42.0ms

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

series115.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(cbrt (+ m n))
29.0ms
(cbrt (+ m n))
30.0ms
(log (exp (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))))
27.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify47.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0246798
1498723
21314709
35001693

prune149.0ms

Filtered
55 candidates to 68 candidates (-23.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh044
Picked101
Done011
Total68674

Merged error: 0.8b

Counts
74 → 6

regimes424.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

analyze7.2s

Algorithm
search
sampling

Space saved by range analysis: 0.243902%

Space saved by search: 0.925829%

Guaranteed chance to sample good point: 37.168142%

sample1.4s

Algorithm
intervals
Results
893.0ms7843×body80valid
47.0ms76×body1280invalid
33.0ms76×body640invalid
27.0ms59×body640valid
27.0ms250×body80invalid
27.0ms41×body1280valid
26.0ms64×body320invalid
10.0ms32×body320valid
7.0ms34×body160invalid
6.0ms25×body160valid
4.0msbody2560invalid

Profiling

Loading profile data...