Details

Time bar (total: 4.3s)

sample62.0ms

Algorithm
intervals
Results
27.0ms131×body5120exit
7.0ms195×body80valid
4.0ms118×body80overflowed
4.0ms19×body160valid
4.0ms19×body640valid
3.0ms26×body320valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune7.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.3b

Counts
2 → 2

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
231×*-un-lft-identity
175×times-frac
129×add-sqr-sqrt
124×add-cube-cbrt
72×prod-diff
52×distribute-lft-out
24×associate-/l*
20×associate-/r/
13×add-cbrt-cube
11×add-exp-log flip3-+ associate-/r* flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u fma-neg log1p-expm1-u
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 → 260
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
34.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series140.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ x (+ wj 1))
20.0ms
(/ wj (+ wj 1))
37.0ms
(/ (/ x (+ wj 1)) (exp wj))
58.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify125.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
010124140
145523266
250013260

prune443.0ms

Filtered
272 candidates to 165 candidates (60.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2693272
Fresh101
Picked101
Done000
Total2713274

Merged error: 0.2b

Counts
274 → 3

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite6.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
expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
Counts
1 → 20
Calls
1 calls:
5.0ms
(* 2 (* wj x))

series22.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
08872
132062
2123762
3344862
4500162

prune30.0ms

Filtered
23 candidates to 13 candidates (56.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh022
Picked011
Done000
Total23326

Merged error: 0.2b

Counts
26 → 3

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))
4.8b
(- wj (/ wj (+ wj 1)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
176×*-un-lft-identity
163×times-frac
121×add-sqr-sqrt
116×add-cube-cbrt
54×prod-diff
29×distribute-lft-out
24×associate-/l*
18×associate-/r/
13×add-cbrt-cube
11×add-exp-log associate-/r*
10×div-inv
flip3-+ flip-+
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg fma-neg clear-num
difference-of-squares
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
4 → 236
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
13.0ms
(/ (/ x (+ wj 1)) (exp wj))
11.0ms
(- wj (/ wj (+ wj 1)))

series111.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ x (+ wj 1))
20.0ms
(/ wj (+ wj 1))
44.0ms
(/ (/ x (+ wj 1)) (exp wj))
25.0ms
(- wj (/ wj (+ wj 1)))

simplify110.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
09212790
140822167
250022164

prune403.0ms

Filtered
248 candidates to 162 candidates (65.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2471248
Fresh101
Picked011
Done011
Total2483251

Merged error: 0b

Counts
251 → 3

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
144×*-un-lft-identity
127×add-sqr-sqrt
114×times-frac
110×add-cube-cbrt
84×prod-diff
67×unpow-prod-down
27×sqr-pow
24×cube-prod
21×associate-/l*
16×distribute-lft-out
12×difference-of-squares
10×associate-/r/ add-cbrt-cube
add-exp-log
cube-mult fma-neg unpow3 associate-/r*
div-inv
flip3-+ flip-+ add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
3 → 245
Calls
3 calls:
5.0ms
(/ x (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
11.0ms
(- (pow wj 4) (pow wj 3))

series142.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(/ x (+ wj 1))
43.0ms
(/ (/ x (+ wj 1)) (exp wj))
78.0ms
(- (pow wj 4) (pow wj 3))

simplify121.0ms

Algorithm
egg-herbie
Counts
254 → 254
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
08442429
135521883
250011878

prune433.0ms

Filtered
254 candidates to 126 candidates (49.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2540254
Fresh000
Picked011
Done022
Total2543257

Merged error: 0b

Counts
257 → 3

regimes38.0ms

Accuracy

81.4% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 1.1b

bsearch39.0ms

Steps
ItersRangePoint
9
6.477031086687721e-14
5.08584384811324e-07
4.979081091515752e-07

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02517
12517

end0.0ms

sample1.7s

Algorithm
intervals
Results
846.0ms3902×body5120exit
240.0ms6332×body80valid
134.0ms3865×body80overflowed
86.0ms756×body320valid
84.0ms474×body640valid
38.0ms507×body160valid