Details

Time bar (total: 3.0s)

sample52.0ms

Algorithm
intervals
Results
27.0ms255×body80valid
2.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
0514728

prune16.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: 13.7b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* K (/ (+ m n) 2.0)) M)
0.0b
(* K (/ (+ m n) 2.0))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
32.9b
(cos (- (* K (/ (+ m n) 2.0)) M))

rewrite34.0ms

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

series82.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (* K (/ (+ m n) 2.0)) M)
8.0ms
(* K (/ (+ m n) 2.0))
38.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
24.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify47.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05170976

prune172.0ms

Filtered
62 candidates to 89 candidates (-43.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New86389
Fresh000
Picked101
Done000
Total87390

Merged error: 0.8b

Counts
90 → 3

localize13.0ms

Local error

Found 1 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
unpow-prod-down
*-un-lft-identity
add-cube-cbrt pow-unpow
pow1 add-exp-log difference-of-squares
pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 20
Calls
1 calls:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series39.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify52.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
05110296

prune49.0ms

Filtered
17 candidates to 23 candidates (-35.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh022
Picked011
Done000
Total23326

Merged error: 0.8b

Counts
26 → 3

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt K)
0.6b
(cbrt K)
0.6b
(cbrt K)
32.9b
(cos (- (* (* (cbrt K) (cbrt K)) (* (+ m n) (/ (cbrt K) 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)) (* (+ m n) (/ (cbrt K) 2.0))) M))

series93.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05275329

prune90.0ms

Filtered
40 candidates to 55 candidates (-37.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New55055
Fresh011
Picked011
Done011
Total55358

Merged error: 0.8b

Counts
58 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
2.0b
(exp (log (* K (/ (+ m n) 2.0))))
10.4b
(log (* K (/ (+ m n) 2.0)))
16.4b
(cos (- (exp (log (* K (/ (+ m n) 2.0)))) M))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×pow1 add-exp-log
*-un-lft-identity
add-cube-cbrt
unpow-prod-down
exp-prod
log-pow add-cbrt-cube add-log-exp
pow-unpow rem-log-exp
log-div cos-sum log-prod associate-*r/ pow-prod-down prod-exp difference-of-squares
cos-diff pow-to-exp sub-neg pow-pow times-frac exp-diff div-exp exp-sum pow-exp rem-exp-log distribute-lft-out-- sqr-pow
Counts
4 → 59
Calls
4 calls:
9.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(exp (log (* K (/ (+ m n) 2.0))))
6.0ms
(log (* K (/ (+ m n) 2.0)))
10.0ms
(cos (- (exp (log (* K (/ (+ m n) 2.0)))) M))

series82.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
8.0ms
(exp (log (* K (/ (+ m n) 2.0))))
14.0ms
(log (* K (/ (+ m n) 2.0)))
22.0ms
(cos (- (exp (log (* K (/ (+ m n) 2.0)))) M))

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05006743

prune133.0ms

Filtered
50 candidates to 71 candidates (-42.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New69271
Fresh000
Picked101
Done022
Total70474

Merged error: 0.8b

Counts
74 → 4

regimes342.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02017
12017

end0.0ms

sample1.5s

Algorithm
intervals
Results
826.0ms8076×body80valid
66.0ms111×body1280valid
63.0ms150×body640valid
39.0ms117×body320valid
13.0ms59×body160valid
2.0msbody2560valid

Profiling

Loading profile data...