Details

Time bar (total: 8.3s)

analyze2.4s

Algorithm
search

sample53.0ms

Algorithm
intervals
Results
26.0ms248×body80valid
2.0msbody1280valid
2.0msbody640invalid
2.0msbody1280invalid
1.0ms12×body80invalid
1.0msbody320valid
1.0msbody640valid
1.0msbody160invalid
1.0msbody320invalid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 14.9b

Counts
2 → 1

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

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

series106.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0465677
11514631
25002627

prune180.0ms

Filtered
60 candidates to 89 candidates (-48.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New82789
Fresh000
Picked101
Done000
Total83790

Merged error: 1.6b

Counts
90 → 7

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
12×add-log-exp
11×add-sqr-sqrt
distribute-lft-out--
unpow-prod-down diff-log
add-cube-cbrt
pow1 add-exp-log pow-unpow difference-of-squares
sub-neg distribute-rgt-neg-in neg-log add-cbrt-cube associate--r+
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow times-frac pow-exp flip-- associate--r- sqr-pow
Counts
2 → 44
Calls
2 calls:
20.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series80.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
41.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify84.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0307479
1865454
23603442
35001439

prune104.0ms

Filtered
34 candidates to 50 candidates (-47.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New50050
Fresh066
Picked011
Done000
Total50757

Merged error: 1.6b

Counts
57 → 7

localize29.0ms

Local error

Found 4 expressions with local error:

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

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

series93.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (37.0ms)

IterNodesCost
0130345
1254312
2456282
31079279
45001267

prune135.0ms

Filtered
43 candidates to 55 candidates (-27.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New50555
Fresh325
Picked101
Done011
Total54862

Merged error: 1.5b

Counts
62 → 8

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series102.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 4 (36.0ms)

IterNodesCost
0130627
1254560
2456550
31079549
45001545

prune157.0ms

Filtered
44 candidates to 53 candidates (-20.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New50353
Fresh246
Picked011
Done011
Total52961

Merged error: 1.5b

Counts
61 → 9

regimes540.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

analyze2.5s

Algorithm
search

sample1.4s

Algorithm
intervals
Results
846.0ms7817×body80valid
40.0ms94×body640invalid
36.0ms59×body1280invalid
34.0ms74×body640valid
31.0ms270×body80invalid
30.0ms47×body1280valid
21.0ms65×body320invalid
14.0ms45×body320valid
8.0ms35×body160invalid
4.0ms17×body160valid
4.0msbody2560invalid

Profiling

Loading profile data...