Details

Time bar (total: 3.3s)

sample63.0ms

Algorithm
intervals
Results
23.0ms107×body5120exit
8.0ms204×body80valid
4.0ms114×body80overflowed
3.0ms18×body640valid
3.0ms26×body320valid
1.0ms11×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 2

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

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

series37.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07211524
133031471
250021469

prune243.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1853188
Fresh011
Picked101
Done000
Total1864190

Merged error: 0.1b

Counts
190 → 4

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* *-commutative add-log-exp
Counts
1 → 18
Calls
1 calls:
4.0ms
(* 2 (* wj x))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(* 2 (* wj x))

simplify74.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
08666
131856
2123556
3344456
4500156

prune28.0ms

Filtered
11 candidates to 21 candidates (-90.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh033
Picked011
Done000
Total21425

Merged error: 0.1b

Counts
25 → 4

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

series22.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06341321
128441269
250011267

prune213.0ms

Filtered
135 candidates to 183 candidates (-35.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1821183
Fresh112
Picked011
Done011
Total1834187

Merged error: 0.0b

Counts
187 → 4

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
97×*-un-lft-identity
63×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
17×distribute-lft-out
10×associate-/r/ add-cbrt-cube
add-exp-log
associate-/r*
flip3-+ flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num
+-commutative sum-log associate-/l/
Counts
3 → 135
Calls
3 calls:
5.0ms
(/ x (+ wj 1))
7.0ms
(+ (pow wj 4) (pow wj 2))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))

series24.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/ x (+ wj 1))
7.0ms
(+ (pow wj 4) (pow wj 2))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))

simplify62.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05611127
125571078
250021076

prune240.0ms

Filtered
105 candidates to 144 candidates (-37.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1431144
Fresh011
Picked101
Done022
Total1444148

Merged error: 0b

Counts
148 → 4

regimes138.0ms

Accuracy

58.1% (0.8b remaining)

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

bsearch18.0ms

Steps
ItersRangePoint
8
5.353569180289533e-16
8.530910627817271e-13
8.436137989387881e-13

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12613

end0.0ms

sample1.8s

Algorithm
intervals
Results
844.0ms3801×body5120exit
239.0ms6349×body80valid
135.0ms3857×body80overflowed
89.0ms758×body320valid
78.0ms453×body640valid
39.0ms526×body160valid

Profiling

Loading profile data...