Details

Time bar (total: 4.8s)

sample72.0ms

Algorithm
intervals
Results
49.0ms279×body10240exit
6.0ms208×body80valid
2.0ms26×body320valid
1.0ms11×body640valid
1.0ms13×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.6b

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
118×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
24×associate-/l*
21×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log associate-/r*
add-log-exp
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1
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 → 176
Calls
4 calls:
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
29.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series138.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ (/ x (+ wj 1)) (exp wj))
24.0ms
(/ x (+ wj 1))
20.0ms
(/ wj (+ wj 1))
56.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify79.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07211524
133031471
250011471

prune423.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

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

series75.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
28.0ms
(+ x (pow wj 2))
18.0ms
(* 2 (* wj x))

simplify131.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0202247
1793231
24232228
35001228

prune94.0ms

Filtered
53 candidates to 32 candidates (60.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize9.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))
4.2b
(- wj (/ wj (+ wj 1)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
115×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
24×associate-/l*
20×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log associate-/r*
div-inv
flip3-+ flip-+ add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num
difference-of-squares
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
4 → 171
Calls
4 calls:
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
11.0ms
(- wj (/ wj (+ wj 1)))

series108.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (/ x (+ wj 1)) (exp wj))
26.0ms
(/ x (+ wj 1))
20.0ms
(/ wj (+ wj 1))
25.0ms
(- wj (/ wj (+ wj 1)))

simplify69.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06341321
128441269
250011267

prune402.0ms

Filtered
183 candidates to 135 candidates (73.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(/ x (+ wj 1))
0.0b
(+ (/ (/ x (+ wj 1)) (exp wj)) (- (+ (pow wj 4) (pow wj 2)) (pow wj 3)))
0.0b
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
110×*-un-lft-identity
71×add-sqr-sqrt
64×add-cube-cbrt
21×distribute-lft-out associate-/l*
18×add-log-exp
11×add-cbrt-cube
10×associate-/r/
add-exp-log
associate-/r*
flip3-+ flip-+ div-inv
sum-log
pow1 cbrt-undiv diff-log div-exp distribute-lft-out-- difference-of-squares
associate-+r+
sub-neg flip3-- frac-2neg frac-add associate--l+ clear-num flip--
+-commutative associate-+r- unpow-prod-down cube-prod associate-/l/ sqr-pow
Counts
4 → 165
Calls
4 calls:
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
8.0ms
(/ x (+ wj 1))
40.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) (- (+ (pow wj 4) (pow wj 2)) (pow wj 3)))
13.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

series168.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (/ x (+ wj 1)) (exp wj))
22.0ms
(/ x (+ wj 1))
79.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) (- (+ (pow wj 4) (pow wj 2)) (pow wj 3)))
26.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))

simplify81.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07081602
132121546
250011544

prune504.0ms

Filtered
177 candidates to 125 candidates (70.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes50.0ms

Accuracy

59.5% (0.9b remaining)

Error of 0.9b against oracle of 0.1b and baseline of 2.2b

bsearch27.0ms

Steps
ItersRangePoint
6
3.323618918651299e-14
2.1623414934535763e-13
2.138070941262753e-13

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03624
13624

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s7700×body10240exit
184.0ms6334×body80valid
74.0ms772×body320valid
61.0ms429×body640valid
31.0ms531×body160valid