Details

Time bar (total: 4.1s)

analyze335.0ms

Algorithm
search

sample56.0ms

Algorithm
intervals
Results
30.0ms135×body5120exit
7.0ms198×body80valid
3.0ms27×body320valid
2.0ms14×body640valid
1.0ms17×body160valid
0.0msbody80invalid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune11.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: 13.0b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.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))
28.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series33.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07211524
133031471
250021469

prune266.0ms

Filtered
138 candidates to 188 candidates (-36.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1817188
Fresh101
Picked101
Done000
Total1837190

Merged error: 0.4b

Counts
190 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series9.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ x (pow wj 2))
3.0ms
(* 2 (* wj x))

simplify66.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0149122
1550108
22362107
35001107

prune72.0ms

Filtered
21 candidates to 36 candidates (-71.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New32436
Fresh066
Picked011
Done000
Total321143

Merged error: 0.4b

Counts
43 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
94×add-sqr-sqrt
80×*-un-lft-identity
77×times-frac
46×add-cube-cbrt
25×associate-*r*
24×associate-*l*
22×difference-of-squares
20×add-cbrt-cube
17×add-exp-log
10×difference-of-sqr-1 associate-/l*
add-log-exp
distribute-lft-out--
associate-/r*
pow1 cbrt-undiv div-exp
prod-exp associate-/r/ cbrt-unprod div-inv distribute-lft-out unswap-sqr
flip3-- flip--
frac-2neg flip3-+ diff-log clear-num frac-sub flip-+ associate-/l/
frac-times sub-neg div-sub associate-*r/ pow-prod-down associate-*l/ associate--l+ sum-log *-commutative
Counts
4 → 171
Calls
4 calls:
22.0ms
(* (/ x (- (* wj wj) 1)) (/ (- wj 1) (exp wj)))
7.0ms
(/ (- wj 1) (exp wj))
5.0ms
(/ wj (+ wj 1))
20.0ms
(- (+ (* (/ x (- (* wj wj) 1)) (/ (- wj 1) (exp wj))) wj) (/ wj (+ wj 1)))

series63.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (/ x (- (* wj wj) 1)) (/ (- wj 1) (exp wj)))
7.0ms
(/ (- wj 1) (exp wj))
2.0ms
(/ wj (+ wj 1))
36.0ms
(- (+ (* (/ x (- (* wj wj) 1)) (/ (- wj 1) (exp wj))) wj) (/ wj (+ wj 1)))

simplify105.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08441620
145311505
250011505

prune242.0ms

Filtered
127 candidates to 183 candidates (-44.1%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1830183
Fresh099
Picked011
Done011
Total18311194

Merged error: 0.4b

Counts
194 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite122.0ms

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

series80.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(cbrt (- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1))))
14.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))
14.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))
14.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify43.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03711438
111151366
250011327

prune235.0ms

Filtered
70 candidates to 91 candidates (-30.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New89291
Fresh178
Picked101
Done022
Total9111102

Merged error: 0.4b

Counts
102 → 11

regimes158.0ms

Accuracy

66.7% (0.6b remaining)

Error of 0.9b against oracle of 0.3b and baseline of 2.0b

bsearch16.0ms

Steps
ItersRangePoint
4
1.288041754191043e-10
1.9158217489964554e-10
1.896203624158786e-10

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13116

end0.0ms

analyze325.0ms

Algorithm
search

sample1.5s

Algorithm
intervals
Results
850.0ms3785×body5120exit
237.0ms6240×body80valid
93.0ms778×body320valid
77.0ms441×body640valid
43.0ms541×body160valid
4.0ms82×body80invalid
0.0ms12×body80overflowed

Profiling

Loading profile data...