Details

Time bar (total: 8.0s)

sample41.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody80overflowed
0.0msbody320valid
0.0msbody160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.4b

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

rewrite430.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
15×add-sqr-sqrt
add-log-exp
add-cube-cbrt
pow1 add-exp-log
unpow-prod-down add-cbrt-cube
associate-*r*
pow-unpow associate-*l* distribute-lft-out
sub-neg cos-sum associate-+r+ flip3-+ associate-*r/ sum-log flip-+ distribute-lft-out-- difference-of-squares
+-commutative distribute-rgt-in cos-diff pow-to-exp associate-+r- pow-pow distribute-lft-in times-frac diff-log pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod unswap-sqr sqr-pow
Counts
4 → 70
Calls
4 calls:
327.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
18.0ms
(* K (+ m n))
55.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
28.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series605.0ms

Counts
4 → 12
Calls
4 calls:
287.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
28.0ms
(* K (+ m n))
237.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
53.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0411566
11369528
25001523

prune302.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.3b

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
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)

rewrite2.1s

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
20×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
add-log-exp
unpow-prod-down pow-flip
pow1 add-exp-log exp-prod add-cbrt-cube
exp-sum associate-/r* distribute-lft-out
pow-unpow associate-/l* distribute-lft-out--
associate-+r- associate-+r+ div-exp sum-log difference-of-squares
cbrt-undiv +-commutative pow-to-exp sub-neg rec-exp pow-pow frac-2neg flip3-+ exp-diff diff-log 1-exp pow-exp clear-num associate-/r/ flip-+ div-inv inv-pow sqr-pow
Counts
3 → 78
Calls
3 calls:
326.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
1.7s
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
55.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series542.0ms

Counts
3 → 9
Calls
3 calls:
158.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
150.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
234.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify47.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04121005
11568934
25001910

prune253.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.3b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
82.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series606.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(cbrt K)
170.0ms
(cbrt K)
169.0ms
(cbrt K)
93.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify97.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0111309
1265279
2681273
33070273
45001273

prune285.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.3b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
82.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series612.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt K)
172.0ms
(cbrt K)
169.0ms
(cbrt K)
93.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify98.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0111309
1265279
2681273
33070273
45001273

prune310.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 1.3b

regimes207.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.1s

Algorithm
intervals
Results
634.0ms8121×body80valid
29.0ms85×body640valid
19.0ms255×body80overflowed
17.0ms33×body1280valid
10.0ms42×body320valid
3.0ms16×body160valid