Details

Time bar (total: 4.5s)

sample62.0ms

Algorithm
intervals
Results
31.0ms139×body5120exit
7.0ms196×body80valid
4.0ms138×body80overflowed
3.0ms33×body320valid
3.0ms16×body640valid
1.0ms14×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune6.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: 14.2b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(/ wj (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
3.7b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
118×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
24×associate-/l*
21×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log associate-/r*
add-log-exp
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1
frac-2neg clear-num
diff-log frac-sub distribute-lft-out-- difference-of-squares
sub-neg flip3-- associate--l+ sum-log flip-- associate-/l/
Counts
4 → 176
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
35.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series146.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ x (+ wj 1))
21.0ms
(/ wj (+ wj 1))
39.0ms
(/ (/ x (+ wj 1)) (exp wj))
59.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify79.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07211524
133031471
250011469

prune371.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1835188
Fresh101
Picked101
Done000
Total1855190

Merged error: 0.2b

Counts
190 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (pow wj 2))
0.0b
(* 2 (* wj x))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
2 → 30
Calls
2 calls:
4.0ms
(+ x (pow wj 2))
5.0ms
(* 2 (* wj x))

series52.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ x (pow wj 2))
20.0ms
(* 2 (* wj x))

simplify67.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0149122
1550108
22362107
35001107

prune60.0ms

Filtered
36 candidates to 21 candidates (58.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh044
Picked011
Done000
Total34741

Merged error: 0.2b

Counts
41 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(* (cbrt (+ wj 1)) (cbrt (+ wj 1)))
3.7b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (/ wj (* (cbrt (+ wj 1)) (cbrt (+ wj 1)))) (cbrt (+ wj 1))))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
109×*-un-lft-identity
108×times-frac
86×add-sqr-sqrt
64×add-cube-cbrt
30×cbrt-prod
20×distribute-lft-out
18×associate-/l*
14×cbrt-div
12×flip3-+ flip-+
11×pow1
add-exp-log swap-sqr add-cbrt-cube add-log-exp
associate-/r/
pow1/3 associate-*r* associate-*l*
div-inv difference-of-squares
frac-times unswap-sqr
cbrt-undiv div-exp associate-/r*
diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up frac-sub distribute-lft-out--
pow2 sub-neg flip3-- frac-2neg pow-plus prod-exp associate--l+ clear-num sum-log *-commutative flip-- cbrt-unprod associate-/l/
Counts
4 → 180
Calls
4 calls:
3.0ms
(cbrt (+ wj 1))
10.0ms
(/ (/ x (+ wj 1)) (exp wj))
10.0ms
(* (cbrt (+ wj 1)) (cbrt (+ wj 1)))
60.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (/ wj (* (cbrt (+ wj 1)) (cbrt (+ wj 1)))) (cbrt (+ wj 1))))

series358.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(cbrt (+ wj 1))
233.0ms
(/ (/ x (+ wj 1)) (exp wj))
33.0ms
(* (cbrt (+ wj 1)) (cbrt (+ wj 1)))
59.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (/ wj (* (cbrt (+ wj 1)) (cbrt (+ wj 1)))) (cbrt (+ wj 1))))

simplify96.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
08412030
138191899
250011868

prune415.0ms

Filtered
192 candidates to 136 candidates (70.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1911192
Fresh055
Picked011
Done011
Total1918199

Merged error: 0.2b

Counts
199 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
3.7b
(- (+ (* (/ (cbrt x) (/ (sqrt (exp wj)) (cbrt x))) (/ (/ (cbrt x) (+ wj 1)) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
cbrt-prod *-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
pow1/3
diff-log frac-sub difference-of-squares
sub-neg flip3-- flip3-+ times-frac associate--l+ sum-log flip-- flip-+ distribute-lft-out--
Counts
4 → 52
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
52.0ms
(- (+ (* (/ (cbrt x) (/ (sqrt (exp wj)) (cbrt x))) (/ (/ (cbrt x) (+ wj 1)) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

series601.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt x)
181.0ms
(cbrt x)
170.0ms
(cbrt x)
73.0ms
(- (+ (* (/ (cbrt x) (/ (sqrt (exp wj)) (cbrt x))) (/ (/ (cbrt x) (+ wj 1)) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

simplify37.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0261745
1938693
25002640

prune175.0ms

Filtered
64 candidates to 53 candidates (82.8%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh055
Picked011
Done022
Total64872

Merged error: 0.2b

Counts
72 → 8

regimes65.0ms

Accuracy

0% (1.9b remaining)

Error of 2.3b against oracle of 0.3b and baseline of 2.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample1.6s

Algorithm
intervals
Results
820.0ms3924×body5120exit
228.0ms6361×body80valid
122.0ms3778×body80overflowed
81.0ms732×body320valid
70.0ms428×body640valid
40.0ms567×body160valid