Details

Time bar (total: 5.8s)

sample72.0ms

Algorithm
intervals
Results
48.0ms269×body10240exit
6.0ms199×body80valid
2.0ms24×body320valid
2.0ms15×body640valid
1.0ms21×body160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.9b

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

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

series143.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
010154090
145553249
250013243

prune515.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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:
5.0ms
(+ x (pow wj 2))
6.0ms
(* 2 (* wj x))

series51.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ x (pow wj 2))
22.0ms
(* 2 (* wj x))

simplify69.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0156135
1573114
22454114
35002112

prune98.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

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

series19.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08872
132062
2123762
3344862
4500162

prune51.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt wj)
0.6b
(cbrt wj)
0.6b
(cbrt wj)
11.5b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (cbrt wj) (cbrt wj)) (/ (+ wj 1) (cbrt wj))))

rewrite451.0ms

Algorithm
rewrite-expression-head
Rules
226×*-un-lft-identity
213×times-frac
132×prod-diff
115×add-sqr-sqrt
105×add-cube-cbrt
59×distribute-lft-out
58×cbrt-prod
add-log-exp
div-inv
pow1 add-exp-log expm1-log1p-u fma-neg associate-/r/ add-cbrt-cube log1p-expm1-u difference-of-squares
pow1/3
diff-log frac-sub distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
4 → 199
Calls
4 calls:
0.0ms
(cbrt wj)
0.0ms
(cbrt wj)
1.0ms
(cbrt wj)
434.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (cbrt wj) (cbrt wj)) (/ (+ wj 1) (cbrt wj))))

series781.0ms

Counts
4 → 12
Calls
4 calls:
361.0ms
(cbrt wj)
175.0ms
(cbrt wj)
179.0ms
(cbrt wj)
66.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (cbrt wj) (cbrt wj)) (/ (+ wj 1) (cbrt wj))))

simplify151.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
08797714
138795760
250015733

prune459.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.2b

regimes105.0ms

Accuracy

40.3% (1.1b remaining)

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

bsearch34.0ms

Steps
ItersRangePoint
9
-6.7357437175194845e-09
-5.4793573196899966e-14
-5.8145946613870445e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02514
12714
22714

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s7583×body10240exit
181.0ms6253×body80valid
71.0ms803×body320valid
65.0ms463×body640valid
32.0ms557×body160valid