Details

Time bar (total: 5.1s)

sample48.0ms

Algorithm
intervals
Results
25.0ms259×body80valid
2.0msbody640valid
2.0msbody1280valid
1.0msbody320valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune14.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: 15.1b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series510.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0411566
11369528
25001523

prune290.0ms

Filtered
82 candidates to 58 candidates (70.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483

Merged error: 1.7b

Counts
83 → 4

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

rewrite31.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:
19.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series428.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0253368
1720351
22937346
35002343

prune126.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.7b

Counts
47 → 4

localize25.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
35.6b
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

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

series470.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(cbrt (+ m n))
120.0ms
(cbrt (+ m n))
123.0ms
(cbrt (+ m n))
102.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify157.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (150.0ms)

IterNodesCost
0186485
1416445
21213439
34532439
45001433

prune316.0ms

Filtered
64 candidates to 52 candidates (81.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New60464
Fresh022
Picked011
Done011
Total60868

Merged error: 1.6b

Counts
68 → 8

localize29.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
0.6b
(log (exp (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))))
35.6b
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

rewrite45.0ms

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

series441.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(cbrt (+ m n))
123.0ms
(cbrt (+ m n))
96.0ms
(log (exp (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))))
96.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify47.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0226762
1488687
21374683
35001683

prune311.0ms

Filtered
68 candidates to 56 candidates (82.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New66268
Fresh145
Picked011
Done112
Total68876

Merged error: 1.6b

Counts
76 → 8

regimes281.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
791.0ms8086×body80valid
78.0ms136×body1280valid
73.0ms180×body640valid
30.0ms99×body320valid
8.0ms40×body160valid