Details

Time bar (total: 5.3s)

sample48.0ms

Algorithm
intervals
Results
25.0ms259×body80valid
3.0msbody1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.7b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

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:
29.0ms
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(* K (+ m n))
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series695.0ms

Counts
4 → 12
Calls
4 calls:
348.0ms
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
265.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
29.0ms
(* K (+ m n))
53.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0489871
11795780
25001777

prune369.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.6b

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)

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

series465.0ms

Counts
2 → 6
Calls
2 calls:
188.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
277.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

prune180.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.6b

localize30.0ms

Local error

Found 4 expressions with local error:

12.0b
(cbrt (* K (+ m n)))
12.0b
(cbrt (* K (+ m n)))
12.0b
(cbrt (* K (+ m n)))
33.6b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

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

series389.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (48.0ms)

IterNodesCost
0186496
1357446
2740422
31608419
45001407

prune316.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.5b

localize34.0ms

Local error

Found 4 expressions with local error:

12.0b
(cbrt (* K (+ m n)))
12.0b
(cbrt (* K (+ m n)))
12.0b
(cbrt (* K (+ m n)))
33.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (* (cbrt (cbrt (* K (+ m n)))) (cbrt (cbrt (* K (+ m n))))) (cbrt (cbrt (* K (+ m n)))))) 2.0) M))

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

series385.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (53.0ms)

IterNodesCost
0194672
1390600
2844576
32082573
45002564

prune340.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.5b

regimes293.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.3s

Algorithm
intervals
Results
760.0ms8063×body80valid
69.0ms124×body1280valid
65.0ms164×body640valid
34.0ms117×body320valid
12.0ms55×body160valid
4.0msbody2560valid