Details

Time bar (total: 5.4s)

sample57.0ms

Algorithm
intervals
Results
25.0ms118×body5120exit
7.0ms194×body80valid
4.0ms134×body80overflowed
3.0ms26×body320valid
2.0ms12×body640valid
2.0ms26×body160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.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

localize13.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))
6.9b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite58.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))
10.0ms
(/ (/ x (+ wj 1)) (exp wj))
32.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series146.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07211524
133031471
250011469

prune411.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.3b

Counts
190 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

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

series80.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ x (pow wj 2))
29.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
19.0ms
(* 2 (* wj x))

simplify128.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0202247
1793231
24232228
35001228

prune276.0ms

Filtered
53 candidates to 32 candidates (60.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New49453
Fresh044
Picked011
Done000
Total49958

Merged error: 0.3b

Counts
58 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
13.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
8.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))

series1.2s

Counts
4 → 12
Calls
4 calls:
283.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
325.0ms
(cbrt (+ x (pow wj 2)))
320.0ms
(cbrt (+ x (pow wj 2)))
314.0ms
(cbrt (+ x (pow wj 2)))

simplify169.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (158.0ms)

IterNodesCost
0252878
1944827
24715760
35001749

prune270.0ms

Filtered
107 candidates to 75 candidates (70.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1043107
Fresh257
Picked101
Done011
Total1079116

Merged error: 0.2b

Counts
116 → 9

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))
7.7b
(- wj (/ wj (+ wj 1)))

rewrite36.0ms

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

series114.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ x (+ wj 1))
21.0ms
(/ wj (+ wj 1))
45.0ms
(/ (/ x (+ wj 1)) (exp wj))
25.0ms
(- wj (/ wj (+ wj 1)))

simplify81.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06341321
128441269
250011267

prune337.0ms

Filtered
183 candidates to 135 candidates (73.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1821183
Fresh437
Picked011
Done011
Total1866192

Merged error: 0.0b

Counts
192 → 6

regimes67.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12110

end0.0ms

sample1.7s

Algorithm
intervals
Results
817.0ms3753×body5120exit
230.0ms6373×body80valid
142.0ms3908×body80overflowed
85.0ms770×body320valid
70.0ms409×body640valid
39.0ms539×body160valid