Details

Time bar (total: 5.6s)

sample47.0ms

Algorithm
intervals
Results
24.0ms256×body80valid
2.0msbody640valid
2.0msbody320valid
1.0msbody1280valid
1.0msbody160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.0b

Counts
2 → 1

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
21×*-un-lft-identity
17×add-cube-cbrt
13×times-frac
add-exp-log add-cbrt-cube
pow1
unpow-prod-down
cos-sum associate-*r* exp-sum associate-/r* add-log-exp
pow-unpow associate-*l* associate-/l*
sub-neg div-sub associate-*r/ difference-of-squares
cbrt-undiv distribute-rgt-in cos-diff pow-to-exp associate-+r- pow-pow frac-2neg distribute-lft-in flip3-+ exp-diff div-exp pow-prod-down pow-exp prod-exp clear-num associate-/r/ *-commutative cbrt-unprod flip-+ div-inv distribute-lft-out distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 87
Calls
4 calls:
26.0ms
(/ (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
6.0ms
(* K (+ m n))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series702.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05001257
118281167
250011167

prune356.0ms

Filtered
99 candidates to 74 candidates (74.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New93699
Fresh000
Picked101
Done000
Total946100

Merged error: 1.6b

Counts
100 → 6

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

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

series437.0ms

Counts
3 → 9
Calls
3 calls:
166.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
17.0ms
(- l (fabs (- m n)))
254.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify81.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0294456
1798439
23064434
35001431

prune172.0ms

Filtered
60 candidates to 42 candidates (70.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh055
Picked011
Done000
Total60666

Merged error: 1.6b

Counts
66 → 6

localize29.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
34.0b
(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))

series479.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(cbrt (+ m n))
126.0ms
(cbrt (+ m n))
132.0ms
(cbrt (+ m n))
98.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify176.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (165.0ms)

IterNodesCost
0186485
1416445
21213439
34532439
45001433

prune308.0ms

Filtered
64 candidates to 52 candidates (81.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New61364
Fresh134
Picked101
Done011
Total63770

Merged error: 1.6b

Counts
70 → 7

localize42.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.5b
(cbrt (pow (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M)) 3))
0.6b
(pow (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M)) 3)
34.0b
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod
13×*-un-lft-identity
11×add-sqr-sqrt add-cube-cbrt
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
add-log-exp
pow-unpow
cube-mult cbrt-div cos-sum pow1/3 unpow3 sqr-pow
cos-diff pow-to-exp sub-neg pow-pow flip3-+ pow-exp rem-cbrt-cube flip-+ distribute-lft-out rem-cube-cbrt
Counts
4 → 68
Calls
4 calls:
4.0ms
(cbrt (+ m n))
4.0ms
(cbrt (pow (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M)) 3))
5.0ms
(pow (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M)) 3)
29.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series479.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(cbrt (+ m n))
97.0ms
(cbrt (pow (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M)) 3))
160.0ms
(pow (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M)) 3)
96.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify164.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
02661180
18031102
242651094
350011094

prune281.0ms

Filtered
80 candidates to 50 candidates (62.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh055
Picked101
Done011
Total80787

Merged error: 1.6b

Counts
87 → 7

regimes285.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
799.0ms8071×body80valid
76.0ms173×body640valid
72.0ms122×body1280valid
40.0ms125×body320valid
13.0ms64×body160valid
4.0msbody2560valid

Profiling

Loading profile data...