Details

Time bar (total: 6.7s)

sample41.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* K (+ m n)) 2.0) M)
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(* K (+ m n))
34.6b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
42×*-un-lft-identity prod-diff
36×add-cube-cbrt
23×cos-sum
22×times-frac
pow1 add-exp-log fma-neg div-inv
unpow-prod-down add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r* log1p-expm1-u
pow-unpow associate-*l* difference-of-squares
sub-neg associate-*r/ distribute-lft-out--
distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ diff-log pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr sqr-pow
Counts
4 → 124
Calls
4 calls:
9.0ms
(- (/ (* K (+ m n)) 2.0) M)
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(* K (+ m n))
16.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series424.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- (/ (* K (+ m n)) 2.0) M)
270.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
39.0ms
(* K (+ m n))
60.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify70.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06121660
119071270
250031268

prune485.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.8b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
24×add-sqr-sqrt
14×add-cube-cbrt add-log-exp
12×unpow-prod-down
11×associate-+r+
10×fma-def
prod-diff
exp-prod
pow1 add-exp-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
expm1-log1p-u pow-unpow add-cbrt-cube log1p-expm1-u rem-exp-log
associate-+r- times-frac diff-log sqr-pow
+-commutative pow-to-exp sub-neg pow-pow flip3-+ exp-diff exp-sum pow-exp flip-+
Counts
3 → 79
Calls
3 calls:
18.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
22.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series572.0ms

Counts
3 → 9
Calls
3 calls:
184.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
115.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
273.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0406746
11310664
25001642

prune343.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.8b

localize31.0ms

Local error

Found 4 expressions with local error:

15.6b
(cbrt (* K (+ m n)))
15.6b
(cbrt (* K (+ m n)))
15.6b
(cbrt (* K (+ m n)))
34.8b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
23×cos-sum
21×prod-diff
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
cbrt-div associate-*r/
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod flip3-+ pow1/3 flip-+ div-inv
cos-diff sub-neg
Counts
4 → 72
Calls
4 calls:
5.0ms
(cbrt (* K (+ m n)))
5.0ms
(cbrt (* K (+ m n)))
5.0ms
(cbrt (* K (+ m n)))
13.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

series390.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(cbrt (* K (+ m n)))
108.0ms
(cbrt (* K (+ m n)))
113.0ms
(cbrt (* K (+ m n)))
56.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

simplify63.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
04261888
17861586
218781562
350021391

prune416.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.8b

localize45.0ms

Local error

Found 4 expressions with local error:

15.6b
(cbrt (* K (+ m n)))
15.6b
(cbrt (* K (+ m n)))
34.6b
(cos (fma (/ (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (* K (+ m n))) (cbrt 2.0)) (- (* M 1))))
35.0b
(sin (fma (/ (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (* K (+ m n))) (cbrt 2.0)) (- (* M 1))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt cbrt-div *-un-lft-identity associate-*r/ add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod flip3-+ pow1/3 flip-+ fma-udef
cos-sum sin-sum
Counts
4 → 46
Calls
4 calls:
5.0ms
(cbrt (* K (+ m n)))
5.0ms
(cbrt (* K (+ m n)))
2.0ms
(cos (fma (/ (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (* K (+ m n))) (cbrt 2.0)) (- (* M 1))))
2.0ms
(sin (fma (/ (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (* K (+ m n))) (cbrt 2.0)) (- (* M 1))))

series1.5s

Counts
4 → 12
Calls
4 calls:
105.0ms
(cbrt (* K (+ m n)))
105.0ms
(cbrt (* K (+ m n)))
567.0ms
(cos (fma (/ (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (* K (+ m n))) (cbrt 2.0)) (- (* M 1))))
747.0ms
(sin (fma (/ (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (* K (+ m n))) (cbrt 2.0)) (- (* M 1))))

simplify58.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0304910
1719813
21946797
35001795

prune583.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.8b

regimes223.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.1s

Algorithm
intervals
Results
676.0ms8074×body80valid
67.0ms133×body1280valid
49.0ms139×body640valid
29.0ms88×body320valid
14.0ms78×body160valid
2.0msbody2560valid