Details

Time bar (total: 9.8s)

sample44.0ms

Algorithm
intervals
Results
20.0ms259×body80valid
3.0ms10×body640valid
2.0msbody1280valid
1.0msbody160valid
0.0msbody320valid

simplify49.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)

Merged error: 15.6b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite3.4s

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

series682.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0489871
11795780
25001777

prune350.0ms

Filtered
87 candidates to 62 candidates (71.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.9b

localize18.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)

rewrite578.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:
545.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
31.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series438.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0277469
1798444
23368435
35001432

prune156.0ms

Filtered
50 candidates to 34 candidates (68.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.9b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
cos-sum
cos-diff sub-neg
Counts
4 → 52
Calls
4 calls:
2.0ms
(cbrt (+ m n))
2.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
141.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series489.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(cbrt (+ m n))
136.0ms
(cbrt (+ m n))
125.0ms
(cbrt (+ m n))
98.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify152.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (146.0ms)

IterNodesCost
0186485
1416445
21213439
34532439
45001433

prune353.0ms

Filtered
64 candidates to 52 candidates (81.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.9b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite427.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
cbrt-prod add-sqr-sqrt add-cube-cbrt
pow1
add-exp-log cbrt-div cos-sum log-prod log-pow add-cbrt-cube add-log-exp
exp-prod
cos-diff sub-neg log-div flip3-+ exp-diff pow1/3 flip-+ distribute-lft-out
rem-log-exp exp-sum
Counts
4 → 56
Calls
4 calls:
2.0ms
(cbrt (+ m n))
2.0ms
(cbrt (+ m n))
278.0ms
(log (exp (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))))
144.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series467.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(cbrt (+ m n))
127.0ms
(cbrt (+ m n))
102.0ms
(log (exp (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))))
105.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify48.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0226762
1488687
21374683
35001683

prune392.0ms

Filtered
68 candidates to 57 candidates (83.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.9b

regimes230.0ms

Accuracy

0% (0.3b remaining)

Error of 1.6b against oracle of 1.3b and baseline of 1.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
653.0ms8091×body80valid
62.0ms122×body1280valid
62.0ms174×body640valid
28.0ms113×body320valid
11.0ms67×body160valid
1.0msbody2560valid