Details

Time bar (total: 5.5s)

sample76.0ms

Algorithm
intervals
Results
50.0ms285×body10240exit
6.0ms201×body80valid
3.0ms27×body320valid
2.0ms13×body640valid
1.0ms19×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: 13.5b

Counts
2 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(/ x (+ wj 1))
0.0b
(/ wj (+ wj 1))
5.0b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite67.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:
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
31.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series136.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ (/ x (+ wj 1)) (exp wj))
25.0ms
(/ x (+ wj 1))
21.0ms
(/ wj (+ wj 1))
51.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify130.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
010154090
145553249
250013243

prune514.0ms

Filtered
272 candidates to 165 candidates (60.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2666272
Fresh101
Picked101
Done000
Total2686274

Merged error: 0.4b

Counts
274 → 6

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

series22.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08877
132062
2123762
3344862
4500162

prune48.0ms

Filtered
23 candidates to 13 candidates (56.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh055
Picked011
Done000
Total23629

Merged error: 0.4b

Counts
29 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(/ x (+ wj 1))
5.0b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
156×*-un-lft-identity
134×times-frac
87×add-sqr-sqrt
85×add-cube-cbrt
40×prod-diff
34×distribute-lft-out
22×associate-/l*
20×associate-/r/
16×add-cbrt-cube
14×add-exp-log
11×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--
sub-neg flip3-- prod-exp associate--l+ sum-log flip-- cbrt-unprod associate-/l/ difference-of-squares
Counts
4 → 219
Calls
4 calls:
9.0ms
(/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ x (+ wj 1))
31.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1)))

series210.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1))
42.0ms
(/ (/ x (+ wj 1)) (exp wj))
21.0ms
(/ x (+ wj 1))
93.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1)))

simplify64.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010063602
150012885

prune773.0ms

Filtered
231 candidates to 152 candidates (65.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2274231
Fresh314
Picked101
Done011
Total2316237

Merged error: 0.4b

Counts
237 → 6

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (fma wj wj (- 1 wj)) wj)
0.0b
(* (/ x (- (* wj wj) 1)) (- wj 1))
0.0b
(/ (* (/ x (- (* wj wj) 1)) (- wj 1)) (exp wj))
5.0b
(- (+ (/ (* (/ x (- (* wj wj) 1)) (- wj 1)) (exp wj)) wj) (/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1)))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
91×*-un-lft-identity
66×add-sqr-sqrt
58×prod-diff
50×add-cube-cbrt
38×times-frac
27×associate-*l*
20×add-cbrt-cube
17×add-exp-log
16×distribute-lft-out
11×distribute-rgt-in distribute-lft-in
10×associate-*r* associate-/r/
add-log-exp difference-of-squares
pow1
flip3-- flip-- div-inv
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/
expm1-log1p-u frac-times fma-neg difference-of-sqr-1 associate-*r/ log1p-expm1-u
sub-neg associate-/r* distribute-lft-out-- unswap-sqr
diff-log pow-prod-down associate-*l/ *-commutative frac-sub
frac-2neg associate--l+ clear-num sum-log associate-/l*
Counts
4 → 190
Calls
4 calls:
3.0ms
(* (fma wj wj (- 1 wj)) wj)
21.0ms
(* (/ x (- (* wj wj) 1)) (- wj 1))
15.0ms
(/ (* (/ x (- (* wj wj) 1)) (- wj 1)) (exp wj))
26.0ms
(- (+ (/ (* (/ x (- (* wj wj) 1)) (- wj 1)) (exp wj)) wj) (/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (fma wj wj (- 1 wj)) wj)
52.0ms
(* (/ x (- (* wj wj) 1)) (- wj 1))
69.0ms
(/ (* (/ x (- (* wj wj) 1)) (- wj 1)) (exp wj))
156.0ms
(- (+ (/ (* (/ x (- (* wj wj) 1)) (- wj 1)) (exp wj)) wj) (/ (* (fma wj wj (- 1 wj)) wj) (+ (pow wj 3) 1)))

simplify59.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010703782
150022928

prune611.0ms

Filtered
202 candidates to 118 candidates (58.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1984202
Fresh404
Picked101
Done011
Total2035208

Merged error: 0.4b

Counts
208 → 5

regimes81.0ms

Accuracy

66.2% (0.6b remaining)

Error of 0.9b against oracle of 0.3b and baseline of 2.0b

bsearch39.0ms

Steps
ItersRangePoint
6
3.695394219707434e-09
1.8310444829011e-08
4.906835481587709e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05839
15839

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s7437×body10240exit
193.0ms6263×body80valid
75.0ms493×body640valid
75.0ms787×body320valid
34.0ms541×body160valid