Details

Time bar (total: 5.3s)

sample59.0ms

Algorithm
intervals
Results
27.0ms255×body80valid
4.0msbody1280valid
2.0msbody320valid
1.0msbody640valid
0.0msbody160valid

simplify50.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)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.2b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
14×*-un-lft-identity
12×add-exp-log
11×add-cbrt-cube
10×add-cube-cbrt
pow1
unpow-prod-down
times-frac associate-*r/ associate-*r* add-log-exp
pow-unpow associate-*l* associate-/r*
cbrt-undiv cos-sum flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/ difference-of-squares
distribute-rgt-in cos-diff pow-to-exp sub-neg pow-pow frac-2neg distribute-lft-in pow-prod-down pow-exp clear-num *-commutative div-inv distribute-lft-out associate-/l* distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 76
Calls
4 calls:
14.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(* K (+ m n))
7.0ms
(/ (* K (+ m n)) 2.0)
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series381.0ms

Counts
4 → 12
Calls
4 calls:
260.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
25.0ms
(* K (+ m n))
44.0ms
(/ (* K (+ m n)) 2.0)
52.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0411487
11722437
25001437

prune324.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New84488
Fresh000
Picked101
Done000
Total85489

Merged error: 1.4b

Counts
89 → 4

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-sqr-sqrt
add-log-exp
unpow-prod-down
add-cube-cbrt
pow1 add-exp-log pow-unpow
associate-+r+ sum-log add-cbrt-cube distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative pow-to-exp associate-+r- sub-neg pow-pow flip3-+ times-frac diff-log pow-exp flip-+ sqr-pow
Counts
2 → 37
Calls
2 calls:
17.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series436.0ms

Counts
2 → 6
Calls
2 calls:
175.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
261.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify74.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0253368
1720351
22937346
35001343

prune128.0ms

Filtered
43 candidates to 31 candidates (72.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh033
Picked011
Done000
Total43447

Merged error: 1.4b

Counts
47 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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))
20.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series481.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(cbrt (+ m n))
131.0ms
(cbrt (+ m n))
124.0ms
(cbrt (+ m n))
101.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

prune327.0ms

Filtered
64 candidates to 52 candidates (81.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New60464
Fresh022
Picked101
Done011
Total61768

Merged error: 1.4b

Counts
68 → 7

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series506.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0251811
1768724
24193716
35001716

prune311.0ms

Filtered
73 candidates to 52 candidates (71.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New72173
Fresh145
Picked011
Done011
Total73780

Merged error: 1.4b

Counts
80 → 7

regimes255.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
859.0ms8126×body80valid
70.0ms110×body1280valid
67.0ms151×body640valid
36.0ms113×body320valid
14.0ms67×body160valid
1.0msbody2560valid

Profiling

Loading profile data...