Details

Time bar (total: 3.6s)

sample55.0ms

Algorithm
intervals
Results
23.0ms116×body5120exit
7.0ms206×body80valid
6.0ms20×body640valid
4.0ms146×body80overflowed
2.0ms19×body320valid
1.0ms12×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.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
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
9.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:
24.0ms
(/ wj (+ wj 1))
23.0ms
(/ x (+ wj 1))
40.0ms
(/ (/ x (+ wj 1)) (exp wj))
60.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify83.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07211524
133031471
250021469

prune383.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.1b

Counts
190 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series54.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0162194
1645176
23837174
35001174

prune61.0ms

Filtered
38 candidates to 22 candidates (57.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh044
Picked011
Done000
Total37643

Merged error: 0.1b

Counts
43 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(+ (exp wj) (* wj (exp wj)))
0.3b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
3.3b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
16×add-cube-cbrt times-frac
add-cbrt-cube add-log-exp
add-exp-log
pow1
distribute-rgt-out distribute-rgt1-in associate-/r*
associate-*r* associate-*l* associate-/l*
flip3-- flip3-+ div-sub associate-/r/ flip-- flip-+ associate-/l/ difference-of-squares
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 87
Calls
4 calls:
5.0ms
(* wj (exp wj))
4.0ms
(+ (exp wj) (* wj (exp wj)))
9.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
13.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series163.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* wj (exp wj))
37.0ms
(+ (exp wj) (* wj (exp wj)))
40.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
56.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0394942
11478877
25001855

prune199.0ms

Filtered
99 candidates to 81 candidates (81.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh044
Picked011
Done011
Total996105

Merged error: 0.1b

Counts
105 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ x (pow wj 2)) (* 2 (* wj x)))
0.0b
(* 2 (* wj x))
3.2b
(exp (log (- (+ x (pow wj 2)) (* 2 (* wj x)))))

rewrite21.0ms

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

series82.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0202366
1706336
23930321
35001315

prune94.0ms

Filtered
58 candidates to 34 candidates (58.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New57158
Fresh033
Picked101
Done022
Total58664

Merged error: 0.1b

Counts
64 → 6

regimes105.0ms

Accuracy

33.5% (1.1b remaining)

Error of 1.4b against oracle of 0.3b and baseline of 1.9b

bsearch35.0ms

Steps
ItersRangePoint
8
-4.3160224528650695e-07
-6.165672362765855e-10
-5.835378867376918e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02214
12214

end0.0ms

sample1.6s

Algorithm
intervals
Results
782.0ms3787×body5120exit
220.0ms6330×body80valid
123.0ms3898×body80overflowed
86.0ms775×body320valid
72.0ms434×body640valid
38.0ms554×body160valid

Profiling

Loading profile data...