Details

Time bar (total: 5.5s)

sample47.0ms

Algorithm
intervals
Results
25.0ms260×body80valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune13.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.6b

Counts
2 → 2

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

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

series486.0ms

Counts
4 → 12
Calls
4 calls:
276.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
124.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
26.0ms
(* K (+ m n))
60.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify51.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0437613
11474567
25001562

prune326.0ms

Filtered
89 candidates to 62 candidates (69.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh101
Picked101
Done000
Total87491

Merged error: 0.9b

Counts
91 → 4

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
24×add-log-exp
15×add-sqr-sqrt
13×distribute-lft-out--
12×diff-log
exp-prod
add-cube-cbrt unpow-prod-down
rem-exp-log
pow1 add-exp-log distribute-rgt-neg-in neg-log difference-of-squares
sub-neg pow-unpow exp-sum add-cbrt-cube
associate--r+ associate--r-
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow times-frac exp-diff pow-exp flip-- sqr-pow
Counts
3 → 68
Calls
3 calls:
22.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
21.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

series569.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0356720
11112675
25002670

prune201.0ms

Filtered
77 candidates to 51 candidates (66.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New77077
Fresh033
Picked011
Done000
Total77481

Merged error: 0.9b

Counts
81 → 4

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
cos-sum
cos-diff sub-neg
Counts
4 → 52
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
15.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series528.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt (+ m n))
128.0ms
(cbrt (+ m n))
130.0ms
(cbrt (+ m n))
100.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify153.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (146.0ms)

IterNodesCost
0186485
1416445
21213439
34532439
45003433

prune326.0ms

Filtered
64 candidates to 52 candidates (81.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New61364
Fresh022
Picked101
Done011
Total62668

Merged error: 0.9b

Counts
68 → 6

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
cos-sum
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log cbrt-prod add-cbrt-cube add-log-exp
cos-diff sub-neg
cbrt-div
flip3-+ pow1/3 flip-+ distribute-lft-out
Counts
4 → 44
Calls
4 calls:
3.0ms
(cbrt (+ m n))
19.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))
16.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))
16.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series430.0ms

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

simplify165.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 4 (157.0ms)

IterNodesCost
0186759
1416679
21213677
34532677
45003675

prune337.0ms

Filtered
56 candidates to 47 candidates (83.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New55156
Fresh134
Picked101
Done011
Total57562

Merged error: 0.9b

Counts
62 → 5

regimes199.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.3s

Algorithm
intervals
Results
822.0ms8082×body80valid
68.0ms113×body1280valid
67.0ms159×body640valid
25.0ms83×body320valid
13.0ms62×body160valid
4.0msbody2560valid

Profiling

Loading profile data...