Details

Time bar (total: 4.0s)

sample53.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
26.0ms250×body80valid
2.0msbody1280invalid
2.0msbody640invalid
1.0msbody640valid
1.0ms13×body80invalid
1.0msbody320invalid
1.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune16.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.9b

Counts
2 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
25×add-log-exp
13×add-sqr-sqrt
12×diff-log distribute-lft-out--
exp-prod
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
rem-exp-log
sub-neg distribute-rgt-neg-in associate-*r* neg-log
associate-*l* exp-sum
cos-sum associate-*r/ associate--r+ associate--r- difference-of-squares
associate--l- neg-sub0 distribute-rgt-in cos-diff flip3-- distribute-lft-in flip3-+ exp-diff pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
4 → 81
Calls
4 calls:
6.0ms
(* K (+ m n))
20.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
20.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series126.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0393762
11362694
25002690

prune179.0ms

Filtered
61 candidates to 93 candidates (-52.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New88593
Fresh101
Picked101
Done000
Total90595

Merged error: 1.2b

Counts
95 → 5

localize15.0ms

Local error

Found 3 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))))
0.0b
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
24×add-log-exp
15×add-sqr-sqrt
13×distribute-lft-out--
12×diff-log
exp-prod
add-cube-cbrt unpow-prod-down
rem-exp-log
pow1 add-exp-log distribute-rgt-neg-in neg-log difference-of-squares
sub-neg pow-unpow exp-sum add-cbrt-cube
associate--r+ associate--r-
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow times-frac exp-diff pow-exp flip-- sqr-pow
Counts
3 → 68
Calls
3 calls:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
20.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
22.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

series137.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
40.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
56.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

simplify37.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0386731
11174686
25001677

prune139.0ms

Filtered
51 candidates to 77 candidates (-51.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New75277
Fresh044
Picked101
Done000
Total76682

Merged error: 1.2b

Counts
82 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
37×add-log-exp
24×exp-prod
18×diff-log distribute-lft-out--
15×rem-exp-log
14×add-sqr-sqrt
12×exp-sum
add-cube-cbrt
cbrt-prod distribute-rgt-neg-in neg-log
pow1 add-exp-log sub-neg exp-diff add-cbrt-cube associate--r-
difference-of-squares
cbrt-div pow1/3
Counts
4 → 87
Calls
4 calls:
21.0ms
(cbrt (exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
24.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
21.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
20.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(cbrt (exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
55.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
56.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
53.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

simplify69.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
02251058
1625975
22674964
35001954

prune319.0ms

Filtered
71 candidates to 99 candidates (-39.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New99099
Fresh055
Picked011
Done000
Total996105

Merged error: 1.2b

Counts
105 → 6

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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))

series124.0ms

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

simplify168.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0207539
1429499
21164478
34632454
45001454

prune126.0ms

Filtered
53 candidates to 64 candidates (-20.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New61364
Fresh134
Picked101
Done011
Total63770

Merged error: 1.1b

Counts
70 → 7

regimes443.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02535
12735
22735

end0.0ms

sample1.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
840.0ms7828×body80valid
44.0ms75×body1280invalid
35.0ms76×body640invalid
33.0ms53×body1280valid
30.0ms263×body80invalid
29.0ms65×body640valid
17.0ms54×body320invalid
14.0ms43×body320valid
8.0ms40×body160invalid
4.0msbody2560invalid
2.0ms11×body160valid

Profiling

Loading profile data...