Details

Time bar (total: 8.4s)

analyze2.3s

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

sample50.0ms

Algorithm
intervals
Results
26.0ms249×body80valid
2.0msbody640valid
1.0ms13×body80invalid
1.0msbody320invalid
1.0msbody640invalid
1.0msbody1280valid
1.0msbody1280invalid
0.0msbody320valid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
0535528

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

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cos (- (* K (/ (+ m n) 2.0)) M)) (exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)))
35.5b
(cos (- (* K (/ (+ m n) 2.0)) M))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity
10×add-log-exp
add-cube-cbrt
pow1
add-exp-log unpow-prod-down exp-prod add-cbrt-cube
associate-*r*
sub-neg pow-unpow associate-*l* rem-exp-log distribute-lft-out-- difference-of-squares
exp-diff diff-log exp-sum
cos-diff pow-to-exp cos-sum pow-pow times-frac associate-*r/ pow-prod-down pow-exp prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr sqr-pow
Counts
4 → 67
Calls
4 calls:
21.0ms
(* (cos (- (* K (/ (+ m n) 2.0)) M)) (exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
17.0ms
(exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)))
7.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series273.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(* (cos (- (* K (/ (+ m n) 2.0)) M)) (exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))))
40.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
51.0ms
(exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)))
22.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify45.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
050811489

prune179.0ms

Filtered
60 candidates to 79 candidates (-31.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75479
Fresh000
Picked101
Done000
Total76480

Merged error: 1.5b

Counts
80 → 4

localize14.0ms

Local error

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
17×add-log-exp
16×add-sqr-sqrt
add-cube-cbrt
unpow-prod-down exp-prod
pow1 add-exp-log distribute-lft-out--
diff-log add-cbrt-cube difference-of-squares
pow-unpow sum-log rem-exp-log distribute-lft-out
sub-neg
+-commutative pow-to-exp flip3-- pow-pow flip3-+ times-frac exp-diff exp-sum pow-exp flip-- flip-+ associate--r+ sqr-pow
Counts
4 → 66
Calls
4 calls:
13.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
15.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
18.0ms
(exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)))

series163.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
39.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
38.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
52.0ms
(exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)))

simplify43.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049701265
149701265

prune136.0ms

Filtered
58 candidates to 78 candidates (-34.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh033
Picked011
Done000
Total78482

Merged error: 1.5b

Counts
82 → 4

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×cbrt-prod
13×*-un-lft-identity
add-cube-cbrt
cbrt-div difference-of-squares
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-- times-frac pow1/3 flip-- distribute-lft-out--
cos-diff sub-neg cos-sum
Counts
4 → 57
Calls
4 calls:
9.0ms
(cbrt (- (/ (+ m n) 2.0) M))
9.0ms
(cbrt (- (/ (+ m n) 2.0) M))
9.0ms
(cbrt (- (/ (+ m n) 2.0) M))
7.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series136.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
05240948

prune252.0ms

Filtered
62 candidates to 69 candidates (-11.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New67269
Fresh022
Picked101
Done011
Total68573

Merged error: 1.5b

Counts
73 → 5

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
27×cbrt-prod
23×add-sqr-sqrt
14×*-un-lft-identity
add-cube-cbrt cbrt-div
difference-of-squares
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-- times-frac pow1/3 flip-- distribute-lft-out--
cos-diff sub-neg cos-sum
Counts
4 → 60
Calls
4 calls:
10.0ms
(cbrt (- (/ (+ m n) 2.0) M))
9.0ms
(cbrt (- (/ (+ m n) 2.0) M))
10.0ms
(cbrt (cbrt (- (/ (+ m n) 2.0) M)))
7.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series132.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
052231005

prune305.0ms

Filtered
62 candidates to 72 candidates (-16.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh033
Picked101
Done011
Total72577

Merged error: 1.5b

Counts
77 → 5

regimes390.0ms

Accuracy

0% (0.2b remaining)

Error of 1.2b against oracle of 1.0b and baseline of 1.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02017
12017

end0.0ms

analyze2.3s

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

sample1.4s

Algorithm
intervals
Results
845.0ms7852×body80valid
41.0ms85×body640invalid
40.0ms66×body1280invalid
29.0ms285×body80invalid
29.0ms64×body640valid
23.0ms58×body320invalid
21.0ms32×body1280valid
16.0ms37×body320valid
7.0ms34×body160invalid
4.0msbody2560invalid
3.0ms15×body160valid

Profiling

Loading profile data...