Details

Time bar (total: 3.6s)

sample56.0ms

Algorithm
intervals
Results
27.0ms259×body80valid
4.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune16.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: 15.4b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

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

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

series111.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0465677
11514631
25002627

prune178.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 1.2b

Counts
90 → 4

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)

rewrite33.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:
22.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series81.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0307479
1865454
23603442
35001439

prune99.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New49150
Fresh033
Picked011
Done000
Total49554

Merged error: 1.2b

Counts
54 → 5

localize30.0ms

Local error

Found 4 expressions with local error:

16.3b
(cbrt (* K (+ m n)))
16.3b
(cbrt (* K (+ m n)))
16.3b
(cbrt (* K (+ m n)))
30.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite23.0ms

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

series109.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (57.0ms)

IterNodesCost
0186514
1386464
2918446
32313434
45001407

prune147.0ms

Filtered
49 candidates to 55 candidates (-12.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New53255
Fresh033
Picked101
Done011
Total54660

Merged error: 1.2b

Counts
60 → 6

localize35.0ms

Local error

Found 4 expressions with local error:

16.3b
(cbrt (* K (+ m n)))
30.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))
30.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))
30.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite35.0ms

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

series94.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 4 (57.0ms)

IterNodesCost
0186854
1386760
2918754
32313750
45001741

prune179.0ms

Filtered
46 candidates to 53 candidates (-15.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh134
Picked101
Done011
Total53659

Merged error: 1.2b

Counts
59 → 6

regimes449.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.6s

Algorithm
intervals
Results
861.0ms8131×body80valid
70.0ms158×body640valid
64.0ms107×body1280valid
29.0ms94×body320valid
11.0ms53×body160valid
4.0msbody2560valid

Profiling

Loading profile data...