Details

Time bar (total: 11.0s)

sample46.0ms

Algorithm
intervals
Results
20.0ms266×body80valid
4.0ms12×body640valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
198×add-sqr-sqrt
167×*-un-lft-identity
150×prod-diff
81×add-cube-cbrt
78×unpow-prod-down
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
51×difference-of-squares
43×distribute-lft-out--
24×fma-neg
23×cos-sum
22×times-frac
14×add-log-exp
13×sqr-pow
11×associate--r+
pow1 add-exp-log
neg-mul-1 diff-log add-cbrt-cube
expm1-log1p-u associate-*r* log1p-expm1-u
sub-neg pow-unpow associate-*l* div-inv
associate-*r/ neg-log
associate--l- neg-sub0 distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr
Counts
4 → 259
Calls
4 calls:
19.0ms
(* K (+ m n))
1.1s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
55.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
38.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series557.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* K (+ m n))
194.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
270.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
65.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify102.0ms

Algorithm
egg-herbie
Counts
271 → 271
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
09916064
128834404
250014329

prune689.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.5b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
189×add-sqr-sqrt
158×*-un-lft-identity
138×prod-diff
78×unpow-prod-down
72×add-cube-cbrt
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
52×difference-of-squares
44×distribute-lft-out--
27×fma-neg
15×add-log-exp
13×times-frac sqr-pow
11×associate--r+
diff-log
neg-mul-1
pow1 add-exp-log
expm1-log1p-u sub-neg pow-unpow add-cbrt-cube log1p-expm1-u
flip3-- neg-log flip--
associate--l- neg-sub0 pow-to-exp pow-pow pow-exp associate--r-
Counts
3 → 229
Calls
3 calls:
6.0ms
(- l (fabs (- m n)))
1.1s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
55.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series472.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(- l (fabs (- m n)))
194.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
264.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify84.0ms

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06505353
118663800
250013192

prune447.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.5b

localize43.0ms

Local error

Found 4 expressions with local error:

11.6b
(cbrt (/ (* K (+ m n)) 2.0))
11.6b
(cbrt (/ (* K (+ m n)) 2.0))
31.2b
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))
31.3b
(sin (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div pow1/3 fma-udef div-inv
cos-sum sin-sum
Counts
4 → 56
Calls
4 calls:
6.0ms
(cbrt (/ (* K (+ m n)) 2.0))
6.0ms
(cbrt (/ (* K (+ m n)) 2.0))
5.0ms
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))
3.0ms
(sin (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))

series1.6s

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

simplify58.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0270940
1622851
21689835
35002831

prune669.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.5b

localize49.0ms

Local error

Found 4 expressions with local error:

11.6b
(cbrt (/ (* K (+ m n)) 2.0))
11.6b
(cbrt (/ (* K (+ m n)) 2.0))
31.2b
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))
31.3b
(sin (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div pow1/3 fma-udef div-inv
cos-sum sin-sum
Counts
4 → 56
Calls
4 calls:
6.0ms
(cbrt (/ (* K (+ m n)) 2.0))
6.0ms
(cbrt (/ (* K (+ m n)) 2.0))
2.0ms
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))
3.0ms
(sin (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))

series1.4s

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt (/ (* K (+ m n)) 2.0))
161.0ms
(cbrt (/ (* K (+ m n)) 2.0))
541.0ms
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))
522.0ms
(sin (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- (* M 1))))

simplify58.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0270940
1622851
21689835
35002831

prune701.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.5b

regimes367.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
622.0ms8115×body80valid
53.0ms165×body640valid
51.0ms113×body1280valid
24.0ms106×body320valid
9.0ms57×body160valid
4.0msbody2560valid