Details

Time bar (total: 2.4s)

sample56.0ms

Algorithm
intervals
Results
23.0ms117×body5120exit
7.0ms196×body80valid
5.0ms14×body640valid
4.0ms137×body80overflowed
3.0ms32×body320valid
1.0ms18×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

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

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(/ wj (+ wj 1))
0.0b
(/ x (+ wj 1))
4.8b
(- (+ (/ (/ 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:
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ wj (+ wj 1))
7.0ms
(/ x (+ wj 1))
29.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series140.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07211524
133031471
250011471

prune367.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1844188
Fresh011
Picked101
Done000
Total1855190

Merged error: 0.4b

Counts
190 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

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:
5.0ms
(* 2 (* wj x))
4.0ms
(+ x (pow wj 2))

series48.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(* 2 (* wj x))
29.0ms
(+ x (pow wj 2))

simplify72.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0149122
1551108
22352107
35001107

prune61.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.4b

Counts
41 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

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

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

series113.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06311335
128411279
250011275

prune340.0ms

Filtered
183 candidates to 135 candidates (73.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1821183
Fresh145
Picked011
Done011
Total1837190

Merged error: 0.1b

Counts
190 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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
(/ x (+ wj 1))
0.0b
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

rewrite79.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:
46.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) (- (+ (pow wj 4) (pow wj 2)) (pow wj 3)))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ x (+ wj 1))
12.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

series174.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) (- (+ (pow wj 4) (pow wj 2)) (pow wj 3)))
40.0ms
(/ (/ x (+ wj 1)) (exp wj))
26.0ms
(/ x (+ wj 1))
27.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

simplify82.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
07111588
132151534
250011532

prune450.0ms

Filtered
177 candidates to 125 candidates (70.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1752177
Fresh134
Picked101
Done022
Total1777184

Merged error: 0.1b

Counts
184 → 7

regimes118.0ms

bsearch2.0ms

Profiling

Loading profile data...