Details

Time bar (total: 6.2s)

sample46.0ms

Algorithm
intervals
Results
24.0ms265×body80valid
2.0msbody320valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.8b

Counts
2 → 2

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
44×*-un-lft-identity
40×times-frac
32×add-cube-cbrt
16×associate-*r*
13×associate-/l*
12×associate-*l*
10×add-exp-log
add-cbrt-cube
unpow-prod-down add-log-exp
pow1
*-commutative distribute-lft-out unswap-sqr
pow-unpow associate-/r* difference-of-squares
cbrt-undiv sub-neg cos-sum associate-*r/ div-exp associate-/l/ distribute-lft-out--
cos-diff pow-to-exp flip3-- pow-pow frac-2neg flip3-+ diff-log pow-exp prod-exp clear-num flip-- cbrt-unprod flip-+ div-inv sqr-pow
Counts
4 → 115
Calls
4 calls:
3.0ms
(- l (fabs (- m n)))
12.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
12.0ms
(/ (* K (+ m n)) 2.0)
23.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series365.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0564828
12363781
25001781

prune506.0ms

Filtered
127 candidates to 93 candidates (73.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1234127
Fresh101
Picked101
Done000
Total1254129

Merged error: 0.8b

Counts
129 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
27×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt exp-sum
12×add-log-exp
10×add-exp-log associate-+r+ exp-prod
associate-/r*
pow1 sub-neg unpow-prod-down pow-flip add-cbrt-cube
+-commutative
div-exp distribute-lft-out distribute-lft-out--
pow-unpow rem-exp-log associate-/l* difference-of-squares
associate-+r- rec-exp exp-diff diff-log 1-exp sum-log
cbrt-undiv pow-to-exp flip3-- pow-pow frac-2neg pow-exp clear-num associate-/r/ flip-- div-inv inv-pow sqr-pow
Counts
4 → 110
Calls
4 calls:
24.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
21.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
3.0ms
(- l (fabs (- m n)))
12.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series543.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
113.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
12.0ms
(- l (fabs (- m n)))
258.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify49.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04331296
114961201
250021160

prune328.0ms

Filtered
122 candidates to 71 candidates (58.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1211122
Fresh033
Picked101
Done000
Total1224126

Merged error: 0.8b

Counts
126 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
16×*-un-lft-identity
12×unpow-prod-down
add-cube-cbrt add-log-exp
pow1 add-exp-log pow-unpow difference-of-squares
add-cbrt-cube distribute-lft-out--
pow-to-exp sub-neg flip3-- pow-pow times-frac diff-log pow-exp flip-- sqr-pow
Counts
4 → 68
Calls
4 calls:
3.0ms
(- l (fabs (- m n)))
3.0ms
(- l (fabs (- m n)))
12.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
13.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series550.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- l (fabs (- m n)))
15.0ms
(- l (fabs (- m n)))
261.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
261.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify54.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0214518
1546494
21696492
35002486

prune353.0ms

Filtered
80 candidates to 56 candidates (70.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New80080
Fresh033
Picked011
Done000
Total80484

Merged error: 0.8b

Counts
84 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite418.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
51×times-frac
48×*-un-lft-identity
40×add-cube-cbrt
24×associate-*l*
22×cbrt-prod
17×associate-/r*
16×associate-*r*
11×add-cbrt-cube
add-exp-log
unswap-sqr
pow1 *-commutative distribute-lft-out add-log-exp
cbrt-undiv associate-/l*
cos-sum pow1/3 associate-*r/ div-exp associate-/r/ cbrt-unprod
cos-diff sub-neg frac-2neg flip3-+ prod-exp clear-num flip-+ div-inv
Counts
4 → 120
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
11.0ms
(/ 2.0 (* (cbrt K) (+ m n)))
400.0ms
(cos (- (/ (* (cbrt K) (cbrt K)) (/ 2.0 (* (cbrt K) (+ m n)))) M))

series569.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(cbrt K)
172.0ms
(cbrt K)
123.0ms
(/ 2.0 (* (cbrt K) (+ m n)))
101.0ms
(cos (- (/ (* (cbrt K) (cbrt K)) (/ 2.0 (* (cbrt K) (+ m n)))) M))

simplify54.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0465980
11833922
25001918

prune614.0ms

Filtered
132 candidates to 104 candidates (78.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1302132
Fresh022
Picked101
Done011
Total1315136

Merged error: 0.8b

Counts
136 → 5

regimes197.0ms

Accuracy

0% (0.2b 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
02223
12223

end0.0ms

sample1.2s

Algorithm
intervals
Results
684.0ms8160×body80valid
60.0ms117×body1280valid
60.0ms157×body640valid
32.0ms108×body320valid
9.0ms49×body160valid
4.0msbody2560valid