Details

Time bar (total: 4.6s)

sample45.0ms

Algorithm
intervals
Results
22.0ms257×body80valid
3.0msbody640valid
1.0msbody320valid
1.0msbody160valid
1.0msbody1280valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 15.5b

Counts
2 → 1

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(* K (+ m n))
21.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series522.0ms

Counts
4 → 12
Calls
4 calls:
260.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
24.0ms
(* K (+ m n))
181.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0435667
11447621
25002620

prune295.0ms

Filtered
89 candidates to 60 candidates (67.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 1.0b

Counts
90 → 4

localize15.0ms

Local error

Found 2 expressions with local error:

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

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

series461.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0277469
1798444
23368435
35001432

prune137.0ms

Filtered
50 candidates to 34 candidates (68.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50050
Fresh033
Picked011
Done000
Total50454

Merged error: 1.0b

Counts
54 → 4

localize27.0ms

Local error

Found 4 expressions with local error:

16.4b
(cbrt (* K (+ m n)))
16.4b
(cbrt (* K (+ m n)))
16.4b
(cbrt (* K (+ m n)))
34.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

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

series373.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (47.0ms)

IterNodesCost
0186496
1357446
2740422
31608419
45001407

prune277.0ms

Filtered
55 candidates to 46 candidates (83.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New51455
Fresh112
Picked101
Done011
Total53659

Merged error: 1.0b

Counts
59 → 6

localize39.0ms

Local error

Found 4 expressions with local error:

16.4b
(cbrt (* K (+ m n)))
34.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))
34.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))
34.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite36.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:
5.0ms
(cbrt (* K (+ m n)))
10.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))
10.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

series283.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (* K (+ m n)))
59.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))
56.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))
60.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

simplify56.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 4 (47.0ms)

IterNodesCost
0186848
1357754
2740746
31608745
45001741

prune307.0ms

Filtered
53 candidates to 45 candidates (84.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New52153
Fresh134
Picked011
Done011
Total53659

Merged error: 1.0b

Counts
59 → 6

regimes242.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
688.0ms8075×body80valid
61.0ms121×body1280valid
57.0ms150×body640valid
34.0ms133×body320valid
8.0ms43×body160valid
2.0msbody2560valid