Details

Time bar (total: 6.0s)

sample42.0ms

Algorithm
intervals
Results
21.0ms260×body80valid
2.0msbody1280valid
1.0msbody640valid
0.0msbody320valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune9.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: 13.5b

Counts
2 → 1

localize28.0ms

Local error

Found 4 expressions with local error:

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

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

series521.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0435667
11447621
25001620

prune519.0ms

Filtered
89 candidates to 60 candidates (67.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New86389
Fresh000
Picked101
Done000
Total87390

Merged error: 0.6b

Counts
90 → 3

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.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:
25.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series432.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0277469
1798444
23368435
35001432

prune152.0ms

Filtered
50 candidates to 34 candidates (68.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New50050
Fresh022
Picked011
Done000
Total50353

Merged error: 0.6b

Counts
53 → 3

localize27.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
0.5b
(* (cbrt (+ m n)) (cbrt (+ m n)))
36.1b
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod *-un-lft-identity
22×add-sqr-sqrt
16×cbrt-div
14×add-cube-cbrt
11×pow1
swap-sqr
flip3-+ pow1/3 flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
cos-sum associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 cos-diff sub-neg pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 91
Calls
4 calls:
3.0ms
(cbrt (+ m n))
5.0ms
(cbrt (+ m n))
10.0ms
(* (cbrt (+ m n)) (cbrt (+ m n)))
17.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series499.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(cbrt (+ m n))
121.0ms
(cbrt (+ m n))
159.0ms
(* (cbrt (+ m n)) (cbrt (+ m n)))
98.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify158.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
0308808
11031751
24783705
35001701

prune452.0ms

Filtered
103 candidates to 71 candidates (68.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1003103
Fresh101
Picked101
Done011
Total1024106

Merged error: 0.6b

Counts
106 → 4

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
92×cbrt-prod
38×add-sqr-sqrt *-un-lft-identity
32×cbrt-div
20×add-cube-cbrt
12×swap-sqr
11×pow1
10×associate-*r* associate-*l*
unswap-sqr
flip3-+ pow1/3 flip-+ distribute-lft-out
add-exp-log
frac-times add-cbrt-cube add-log-exp
cos-sum associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 cos-diff sub-neg pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 111
Calls
4 calls:
4.0ms
(cbrt (cbrt (+ m n)))
4.0ms
(cbrt (cbrt (+ m n)))
14.0ms
(* (cbrt (cbrt (+ m n))) (cbrt (cbrt (+ m n))))
29.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (* (* (cbrt (cbrt (+ m n))) (cbrt (cbrt (+ m n)))) (cbrt (cbrt (+ m n)))))) (cbrt (+ m n))) 2.0) M))

series722.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(cbrt (cbrt (+ m n)))
189.0ms
(cbrt (cbrt (+ m n)))
246.0ms
(* (cbrt (cbrt (+ m n))) (cbrt (cbrt (+ m n))))
97.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (* (* (cbrt (cbrt (+ m n))) (cbrt (cbrt (+ m n)))) (cbrt (cbrt (+ m n)))))) (cbrt (+ m n))) 2.0) M))

simplify144.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
03431364
110381277
247381186
350011181

prune590.0ms

Filtered
123 candidates to 84 candidates (68.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1212123
Fresh202
Picked011
Done011
Total1234127

Merged error: 0.6b

Counts
127 → 4

regimes169.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
676.0ms8087×body80valid
67.0ms132×body1280valid
55.0ms145×body640valid
28.0ms108×body320valid
7.0ms43×body160valid
1.0msbody2560valid