Details

Time bar (total: 6.1s)

sample67.0ms

Algorithm
intervals
Results
41.0ms247×body10240exit
6.0ms197×body80valid
3.0ms28×body320valid
2.0ms11×body640valid
1.0ms25×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.3b

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

rewrite638.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:
11.0ms
(/ wj (+ wj 1))
11.0ms
(/ x (+ wj 1))
23.0ms
(/ (/ x (+ wj 1)) (exp wj))
578.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series130.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ wj (+ wj 1))
21.0ms
(/ x (+ wj 1))
41.0ms
(/ (/ x (+ wj 1)) (exp wj))
50.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify128.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
010154090
145553249
250013243

prune507.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.0ms

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

series45.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ x (pow wj 2))
18.0ms
(* 2 (* wj x))

simplify72.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0156135
1573114
22454114
35002112

prune95.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.4b

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite18.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:
17.0ms
(* 2 (* wj x))

series20.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
08872
132062
2123762
3344862
4500162

prune48.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.4b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp wj))
0.0b
(/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj)))
0.0b
(/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))
5.5b
(- (+ (* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

rewrite699.0ms

Algorithm
rewrite-expression-head
Rules
247×times-frac
220×*-un-lft-identity
164×add-sqr-sqrt
158×add-cube-cbrt
72×sqrt-prod
54×prod-diff
30×distribute-lft-out
21×associate-/l*
20×associate-/r/
12×flip3-+ associate-/r* flip-+ div-inv
11×add-exp-log add-cbrt-cube
add-log-exp
pow1
cbrt-undiv expm1-log1p-u sqrt-pow1 div-exp log1p-expm1-u
exp-prod fma-neg associate-/l/
frac-2neg diff-log clear-num frac-sub difference-of-squares
associate-+r- sub-neg rem-sqrt-square flip3-- pow1/2 div-sub associate--l+ sum-log flip-- distribute-lft-out--
Counts
4 → 289
Calls
4 calls:
3.0ms
(sqrt (exp wj))
43.0ms
(/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj)))
49.0ms
(/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))
590.0ms
(- (+ (* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (exp wj))
73.0ms
(/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj)))
26.0ms
(/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))
163.0ms
(- (+ (* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

simplify80.0ms

Algorithm
egg-herbie
Counts
301 → 301
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
012986439
150025433

prune855.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.4b

regimes75.0ms

Accuracy

63.8% (0.7b remaining)

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

bsearch42.0ms

Steps
ItersRangePoint
9
1.3954058465167228e-14
2.0679924946935743e-09
1.9744252120415485e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04023
15123
25123

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.3s7586×body10240exit
191.0ms6314×body80valid
71.0ms801×body320valid
67.0ms455×body640valid
29.0ms510×body160valid