Details

Time bar (total: 8.0s)

analyze2.3s

Algorithm
search

sample57.0ms

Algorithm
intervals
Results
28.0ms251×body80valid
6.0msbody640valid
2.0msbody1280invalid
1.0msbody320invalid
1.0msbody80invalid
1.0msbody640invalid
1.0msbody1280valid
0.0msbody160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune11.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: 17.0b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (neg (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)
37.2b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite56.0ms

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

series241.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0516881
11857790
25002784

prune189.0ms

Filtered
62 candidates to 87 candidates (-40.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New82587
Fresh000
Picked101
Done000
Total83588

Merged error: 1.0b

Counts
88 → 5

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
*-un-lft-identity
unpow-prod-down
add-cube-cbrt add-log-exp difference-of-squares
pow1 add-exp-log pow-unpow
times-frac add-cbrt-cube distribute-lft-out--
pow-to-exp sub-neg flip3-- pow-pow diff-log pow-exp flip-- sqr-pow
Counts
2 → 35
Calls
2 calls:
10.0ms
(- (/ (+ m n) 2.0) M)
13.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series45.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(- (/ (+ m n) 2.0) M)
40.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify61.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0230282
1676270
22402264
35001261

prune86.0ms

Filtered
30 candidates to 41 candidates (-36.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New41041
Fresh044
Picked011
Done000
Total41546

Merged error: 1.0b

Counts
46 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
14.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series94.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (37.0ms)

IterNodesCost
0130345
1254312
2456282
31079279
45001267

prune137.0ms

Filtered
43 candidates to 55 candidates (-27.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New53255
Fresh123
Picked101
Done011
Total55560

Merged error: 1.0b

Counts
60 → 5

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
16.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (* (cbrt (* (cbrt K) (cbrt K))) (cbrt (cbrt K))) (+ m n))) 2.0) M))

series95.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (56.0ms)

IterNodesCost
0135441
1304396
2761366
32072363
45001354

prune105.0ms

Filtered
43 candidates to 55 candidates (-27.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New53255
Fresh213
Picked101
Done011
Total56460

Merged error: 1.0b

Counts
60 → 4

regimes365.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
02110
12310
22310

end0.0ms

analyze2.3s

Algorithm
search

sample1.4s

Algorithm
intervals
Results
897.0ms7824×body80valid
53.0ms87×body1280invalid
38.0ms86×body640invalid
35.0ms75×body640valid
28.0ms226×body80invalid
26.0ms40×body1280valid
21.0ms66×body320invalid
14.0ms42×body320valid
7.0ms30×body160invalid
4.0ms19×body160valid

Profiling

Loading profile data...