Details

Time bar (total: 4.8s)

sample71.0ms

Algorithm
intervals
Results
46.0ms249×body10240exit
6.0ms195×body80valid
3.0ms19×body640valid
3.0ms26×body320valid
1.0ms19×body160valid

simplify47.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

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

rewrite68.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))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
33.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series156.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ x (+ wj 1))
22.0ms
(/ wj (+ wj 1))
42.0ms
(/ (/ x (+ wj 1)) (exp wj))
63.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify125.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
010154090
145553249
250013243

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

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

series21.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
08872
132062
2123762
3344862
4500162

prune35.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

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

rewrite45.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))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
12.0ms
(- wj (/ wj (+ wj 1)))

series122.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ x (+ wj 1))
28.0ms
(/ wj (+ wj 1))
41.0ms
(/ (/ x (+ wj 1)) (exp wj))
28.0ms
(- wj (/ wj (+ wj 1)))

simplify107.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
09212790
140822167
250022164

prune436.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))
10.0ms
(/ (/ x (+ wj 1)) (exp wj))
11.0ms
(- (pow wj 4) (pow wj 3))

series161.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(/ x (+ wj 1))
49.0ms
(/ (/ x (+ wj 1)) (exp wj))
88.0ms
(- (pow wj 4) (pow wj 3))

simplify118.0ms

Algorithm
egg-herbie
Counts
254 → 254
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08442429
135521883
250011878

prune452.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

bsearch40.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02517
12517

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.4s7767×body10240exit
197.0ms6332×body80valid
72.0ms756×body320valid
68.0ms474×body640valid
30.0ms507×body160valid

Profiling

Loading profile data...