Details

Time bar (total: 3.8s)

sample58.0ms

Algorithm
intervals
Results
31.0ms256×body80valid
3.0msbody1280valid
3.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
0514728

prune12.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: 15.9b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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:
8.0ms
(* K (/ (+ m n) 2.0))
6.0ms
(- (* K (/ (+ m n) 2.0)) M)
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
10.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series85.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* K (/ (+ m n) 2.0))
13.0ms
(- (* K (/ (+ m n) 2.0)) M)
43.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
21.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify49.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05170976

prune176.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 1.0b

Counts
90 → 4

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
unpow-prod-down
add-cube-cbrt add-log-exp
pow1 add-exp-log pow-unpow
add-cbrt-cube difference-of-squares
+-commutative pow-to-exp pow-pow flip3-+ times-frac pow-exp sum-log flip-+ distribute-lft-out distribute-lft-out-- sqr-pow
Counts
2 → 32
Calls
2 calls:
14.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
12.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series79.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04896512
14896512

prune78.0ms

Filtered
29 candidates to 38 candidates (-31.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38038
Fresh033
Picked011
Done000
Total38442

Merged error: 1.0b

Counts
42 → 4

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
48×cbrt-prod
46×*-un-lft-identity
36×times-frac
28×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-div pow1/3 div-inv
cos-sum
cos-diff sub-neg
Counts
4 → 85
Calls
4 calls:
4.0ms
(cbrt (/ (+ m n) 2.0))
4.0ms
(cbrt (/ (+ m n) 2.0))
4.0ms
(cbrt (/ (+ m n) 2.0))
23.0ms
(cos (- (* (* K (* (cbrt (/ (+ m n) 2.0)) (cbrt (/ (+ m n) 2.0)))) (cbrt (/ (+ m n) 2.0))) M))

series149.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(cbrt (/ (+ m n) 2.0))
37.0ms
(cbrt (/ (+ m n) 2.0))
40.0ms
(cbrt (/ (+ m n) 2.0))
35.0ms
(cos (- (* (* K (* (cbrt (/ (+ m n) 2.0)) (cbrt (/ (+ m n) 2.0)))) (cbrt (/ (+ m n) 2.0))) M))

simplify65.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049231139
149231139

prune243.0ms

Filtered
75 candidates to 97 candidates (-29.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New96197
Fresh112
Picked011
Done011
Total974101

Merged error: 1.0b

Counts
101 → 4

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-prod
32×*-un-lft-identity
24×times-frac
22×cbrt-div
20×add-sqr-sqrt add-cube-cbrt
flip3-+ flip-+ distribute-lft-out
pow1 add-exp-log frac-times add-cbrt-cube add-log-exp
pow1/3
cos-sum associate-*r/ associate-*l/ div-inv
cos-diff sub-neg
Counts
4 → 77
Calls
4 calls:
4.0ms
(cbrt (/ (+ m n) 2.0))
4.0ms
(cbrt (/ (+ m n) 2.0))
8.0ms
(cbrt (* (cbrt (+ m n)) (cbrt (+ m n))))
36.0ms
(cos (- (* (* K (* (cbrt (/ (+ m n) 2.0)) (cbrt (/ (+ m n) 2.0)))) (* (cbrt (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (/ (cbrt (+ m n)) 2.0)))) M))

series196.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(cbrt (/ (+ m n) 2.0))
38.0ms
(cbrt (/ (+ m n) 2.0))
49.0ms
(cbrt (* (cbrt (+ m n)) (cbrt (+ m n))))
71.0ms
(cos (- (* (* K (* (cbrt (/ (+ m n) 2.0)) (cbrt (/ (+ m n) 2.0)))) (* (cbrt (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (/ (cbrt (+ m n)) 2.0)))) M))

simplify60.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
048991568
148991568

prune245.0ms

Filtered
71 candidates to 89 candidates (-25.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86389
Fresh011
Picked011
Done112
Total87693

Merged error: 0.9b

Counts
93 → 6

regimes430.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
827.0ms8072×body80valid
75.0ms126×body1280valid
70.0ms166×body640valid
30.0ms99×body320valid
13.0ms61×body160valid
1.0msbody2560valid

Profiling

Loading profile data...