Details

Time bar (total: 7.1s)

sample67.0ms

Algorithm
intervals
Results
44.0ms235×body10240exit
6.0ms213×body80valid
3.0ms29×body320valid
1.0msbody640valid
1.0ms13×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

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.4b

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

rewrite69.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
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
13.0ms
(/ (/ x (+ wj 1)) (exp wj))
33.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series146.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ wj (+ wj 1))
22.0ms
(/ x (+ wj 1))
39.0ms
(/ (/ x (+ wj 1)) (exp wj))
60.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
010154090
145553249
250013243

prune524.0ms

Filtered
272 candidates to 165 candidates (60.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2675272
Fresh101
Picked101
Done000
Total2695274

Merged error: 0.1b

Counts
274 → 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))

rewrite14.0ms

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

series51.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0195282
1764240
25001222

prune100.0ms

Filtered
50 candidates to 32 candidates (64.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New49150
Fresh044
Picked011
Done000
Total49655

Merged error: 0.1b

Counts
55 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(cbrt (+ x (pow wj 2)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
13.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
5.0ms
(cbrt (+ x (pow wj 2)))

series1.2s

Counts
4 → 12
Calls
4 calls:
276.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
325.0ms
(cbrt (+ x (pow wj 2)))
324.0ms
(cbrt (+ x (pow wj 2)))
320.0ms
(cbrt (+ x (pow wj 2)))

simplify175.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0259918
1988867
24915790
35001790

prune370.0ms

Filtered
115 candidates to 86 candidates (74.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1141115
Fresh044
Picked101
Done011
Total1156121

Merged error: 0.1b

Counts
121 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (cbrt (+ x (pow wj 2))))
0.6b
(cbrt (cbrt (+ x (pow wj 2))))
0.6b
(cbrt (cbrt (+ x (pow wj 2))))
0.9b
(pow (cbrt (cbrt (+ x (pow wj 2)))) 4)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
44×cbrt-prod
22×*-un-lft-identity
14×add-sqr-sqrt add-cube-cbrt
12×cbrt-div
10×unpow-prod-down
pow1 add-exp-log
expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u distribute-lft-out add-log-exp
pow-unpow flip3-+ flip-+
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 84
Calls
4 calls:
5.0ms
(cbrt (cbrt (+ x (pow wj 2))))
5.0ms
(cbrt (cbrt (+ x (pow wj 2))))
5.0ms
(cbrt (cbrt (+ x (pow wj 2))))
7.0ms
(pow (cbrt (cbrt (+ x (pow wj 2)))) 4)

series1.5s

Counts
4 → 12
Calls
4 calls:
373.0ms
(cbrt (cbrt (+ x (pow wj 2))))
328.0ms
(cbrt (cbrt (+ x (pow wj 2))))
330.0ms
(cbrt (cbrt (+ x (pow wj 2))))
420.0ms
(pow (cbrt (cbrt (+ x (pow wj 2)))) 4)

simplify104.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0277771
1893735
23688704
35002665

prune359.0ms

Filtered
96 candidates to 71 candidates (74.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New95196
Fresh044
Picked011
Done011
Total957102

Merged error: 0.1b

Counts
102 → 7

regimes73.0ms

Accuracy

60.7% (0.7b remaining)

Error of 1.0b against oracle of 0.3b and baseline of 2.1b

bsearch39.0ms

Steps
ItersRangePoint
8
4.278730963433957e-11
2.0940920541712224e-07
8.741130488109898e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13116

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s7551×body10240exit
187.0ms6295×body80valid
69.0ms770×body320valid
68.0ms484×body640valid
33.0ms553×body160valid