Details

Time bar (total: 5.8s)

analyze2.4s

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
12.5%87.3%0.2%9
12.5%87.3%0.2%10
18.7%81.1%0.2%11
18.7%81.1%0.2%12
18.7%81.1%0.2%13
20.5%79.3%0.2%14

sample51.0ms

Algorithm
intervals
Results
25.0ms252×body80valid
3.0msbody640invalid
2.0msbody1280invalid
1.0msbody1280valid
1.0msbody640valid
1.0msbody80invalid
1.0msbody160invalid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0498628
1498628

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: 12.9b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series110.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
8.0ms
(* K (/ (+ m n) 2.0))
39.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
22.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify51.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049411178
149411178

prune187.0ms

Filtered
66 candidates to 92 candidates (-39.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New88492
Fresh000
Picked101
Done000
Total89493

Merged error: 0.8b

Counts
93 → 4

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite43.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
diff-log sum-log distribute-lft-out
+-commutative pow-to-exp sub-neg flip3-- pow-pow flip3-+ times-frac pow-exp flip-- flip-+ associate--r+ sqr-pow
Counts
3 → 48
Calls
3 calls:
14.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
15.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
13.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series130.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
40.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
55.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04929925
14929925

prune104.0ms

Filtered
43 candidates to 57 candidates (-32.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh033
Picked011
Done000
Total57461

Merged error: 0.8b

Counts
61 → 4

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

rewrite35.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-diff sub-neg cos-sum
Counts
4 → 51
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
24.0ms
(cos (- (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (/ (cbrt (+ m n)) 2.0)) M))

series124.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
04848546
14848546

prune133.0ms

Filtered
52 candidates to 63 candidates (-21.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New62163
Fresh022
Picked011
Done011
Total62567

Merged error: 0.8b

Counts
67 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

14.3b
(cbrt (* K (/ (+ m n) 2.0)))
14.3b
(cbrt (* K (/ (+ m n) 2.0)))
14.3b
(cbrt (* K (/ (+ m n) 2.0)))
32.9b
(cos (- (* (* (cbrt (* K (/ (+ m n) 2.0))) (cbrt (* K (/ (+ m n) 2.0)))) (cbrt (* K (/ (+ m n) 2.0)))) M))

rewrite29.0ms

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

series144.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
04838480
14838480

prune122.0ms

Filtered
43 candidates to 51 candidates (-18.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New50151
Fresh112
Picked011
Done022
Total51556

Merged error: 0.8b

Counts
56 → 5

regimes380.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06117
16117

end0.0ms

sample1.3s

Algorithm
intervals
Results
818.0ms7824×body80valid
40.0ms69×body1280invalid
37.0ms85×body640invalid
31.0ms71×body640valid
28.0ms45×body1280valid
27.0ms279×body80invalid
24.0ms77×body320invalid
12.0ms38×body320valid
7.0ms36×body160invalid
5.0ms22×body160valid
3.0msbody2560invalid

Profiling

Loading profile data...