Details

Time bar (total: 5.8s)

analyze2.5s

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

sample53.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
0498628
1498628

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

Counts
2 → 1

localize25.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))

rewrite43.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:
14.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
8.0ms
(* K (/ (+ m n) 2.0))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
8.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series112.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049411178
149411178

prune188.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)

rewrite41.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:
13.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
17.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series115.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
41.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
39.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
04929925
14929925

prune103.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

localize25.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))

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

series118.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
04848546
14848546

prune136.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

localize25.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))

rewrite27.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:
5.0ms
(cbrt (* K (/ (+ m n) 2.0)))
5.0ms
(cbrt (* K (/ (+ m n) 2.0)))
5.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))

series141.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04838480
14838480

prune126.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

regimes387.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.4s

Algorithm
intervals
Results
838.0ms7824×body80valid
44.0ms69×body1280invalid
36.0ms85×body640invalid
31.0ms71×body640valid
29.0ms45×body1280valid
28.0ms279×body80invalid
24.0ms77×body320invalid
12.0ms38×body320valid
8.0ms36×body160invalid
5.0ms22×body160valid
3.0msbody2560invalid

Profiling

Loading profile data...