Details

Time bar (total: 4.6s)

sample101.0ms

Algorithm
intervals
Results
58.0ms261×body5120exit
8.0ms215×body80valid
6.0ms179×body80overflowed
3.0ms16×body640valid
2.0ms17×body320valid
1.0ms15×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.2b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.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))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ wj (+ wj 1))
31.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
2.0ms
(/ wj (+ wj 1))
15.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify81.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07211524
133031471
250011471

prune253.0ms

Filtered
188 candidates to 138 candidates (26.6%)
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 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))

rewrite16.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)))
4.0ms
(* 2 (* wj x))

series16.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ x (pow wj 2))
7.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
3.0ms
(* 2 (* wj x))

simplify127.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0202245
1793228
24232225
35001225

prune70.0ms

Filtered
53 candidates to 32 candidates (39.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New52153
Fresh044
Picked011
Done000
Total52658

Merged error: 0.2b

Counts
58 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ wj (+ wj 1))
8.0ms
(- wj (/ wj (+ wj 1)))

series22.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
2.0ms
(/ wj (+ wj 1))
3.0ms
(- wj (/ wj (+ wj 1)))

simplify72.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06341321
128441269
250021267

prune221.0ms

Filtered
183 candidates to 135 candidates (26.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1812183
Fresh314
Picked101
Done011
Total1854189

Merged error: 0.0b

Counts
189 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(+ (/ (/ x (+ wj 1)) (exp wj)) (- (+ (pow wj 4) (pow wj 2)) (pow wj 3)))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
110×*-un-lft-identity
71×add-sqr-sqrt
64×add-cube-cbrt
21×distribute-lft-out associate-/l*
18×add-log-exp
11×add-cbrt-cube
10×associate-/r/
add-exp-log
associate-/r*
flip3-+ flip-+ div-inv
sum-log
pow1 cbrt-undiv diff-log div-exp distribute-lft-out-- difference-of-squares
associate-+r+
sub-neg flip3-- frac-2neg frac-add associate--l+ clear-num flip--
+-commutative associate-+r- unpow-prod-down cube-prod associate-/l/ sqr-pow
Counts
4 → 165
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
44.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) (- (+ (pow wj 4) (pow wj 2)) (pow wj 3)))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
11.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

series44.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
22.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) (- (+ (pow wj 4) (pow wj 2)) (pow wj 3)))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
4.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

simplify83.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07111588
132151534
250021532

prune318.0ms

Filtered
177 candidates to 125 candidates (29.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1761177
Fresh022
Picked011
Done011
Total1765181

Merged error: 0.0b

Counts
181 → 5

regimes94.0ms

Accuracy

0% (1.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02110
12110

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.7s7657×body5120exit
240.0ms6408×body80valid
170.0ms4958×body80overflowed
83.0ms764×body320valid
73.0ms449×body640valid
40.0ms527×body160valid

Profiling

Loading profile data...