Details

Time bar (total: 8.7s)

sample40.0ms

Algorithm
intervals
Results
20.0ms258×body80valid
2.0msbody640valid
1.0msbody1280valid
0.0msbody320valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.7b

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

rewrite3.3s

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:
3.2s
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
9.0ms
(* K (+ m n))
30.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
14.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series696.0ms

Counts
4 → 12
Calls
4 calls:
355.0ms
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
25.0ms
(* K (+ m n))
260.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify48.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0489871
11795780
25001777

prune561.0ms

Filtered
87 candidates to 62 candidates (71.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.8b

localize19.0ms

Local error

Found 1 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
unpow-prod-down
*-un-lft-identity
add-cube-cbrt pow-unpow
pow1 add-exp-log difference-of-squares
pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 20
Calls
1 calls:
30.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series258.0ms

Counts
1 → 3
Calls
1 calls:
258.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify43.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0156164
1433159
21446158
35001155

prune93.0ms

Filtered
23 candidates to 17 candidates (73.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.8b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.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:
0.0ms
(cbrt K)
0.0ms
(cbrt K)
0.0ms
(cbrt K)
47.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series624.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt K)
176.0ms
(cbrt K)
178.0ms
(cbrt K)
101.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify93.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0111309
1265279
2681273
33070273
45001273

prune297.0ms

Filtered
55 candidates to 46 candidates (83.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.8b

localize29.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt K)
0.6b
(cbrt K)
0.6b
(pow (cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M)) 3)
33.7b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1 add-exp-log add-cbrt-cube
add-log-exp
unpow-prod-down pow-unpow cube-prod
cos-sum pow1/3
cos-diff cube-mult pow-to-exp sub-neg pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 55
Calls
4 calls:
0.0ms
(cbrt K)
0.0ms
(cbrt K)
2.0ms
(pow (cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M)) 3)
46.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series609.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt K)
167.0ms
(cbrt K)
171.0ms
(pow (cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M)) 3)
101.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify136.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0178625
1591554
23445546
35003546

prune316.0ms

Filtered
67 candidates to 48 candidates (71.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.8b

regimes227.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
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
620.0ms8080×body80valid
55.0ms117×body1280valid
50.0ms146×body640valid
23.0ms101×body320valid
7.0ms47×body160valid
1.0msbody2560valid