Details

Time bar (total: 7.1s)

sample63.0ms

Algorithm
intervals
Results
38.0ms259×body80valid
5.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
1.0msbody160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.2b

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

rewrite602.0ms

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

series536.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
25.0ms
(* K (+ m n))
269.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
56.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0435667
11447621
25001620

prune347.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.2b

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)

rewrite576.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
15×add-log-exp
14×add-sqr-sqrt
distribute-lft-out--
diff-log
unpow-prod-down
add-cube-cbrt
pow1 add-exp-log difference-of-squares
sub-neg pow-unpow add-cbrt-cube
flip3-- distribute-rgt-neg-in neg-log flip-- associate--r+
associate--l- neg-sub0 pow-to-exp pow-pow times-frac pow-exp associate--r- sqr-pow
Counts
3 → 58
Calls
3 calls:
2.0ms
(- l (fabs (- m n)))
539.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
33.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series465.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(- l (fabs (- m n)))
186.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
268.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify86.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0317557
1875532
23493523
35002520

prune223.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.2b

localize26.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt K)
0.7b
(cbrt K)
0.7b
(cbrt K)
34.6b
(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))

series642.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0111309
1265279
2681273
33070273
45001273

prune307.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.2b

localize38.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt K)
34.6b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))
34.6b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))
34.6b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

rewrite139.0ms

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

series480.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0111615
1265549
2681547
33070547
45001547

prune337.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 1.2b

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

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.1s8083×body80valid
91.0ms165×body640valid
73.0ms101×body1280valid
40.0ms99×body320valid
16.0ms56×body160valid
2.0msbody2560valid