Details

Time bar (total: 6.4s)

sample71.0ms

Algorithm
intervals
Results
48.0ms283×body10240exit
6.0ms210×body80valid
2.0ms23×body320valid
1.0ms21×body160valid
1.0msbody640valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.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.3b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite376.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:
5.0ms
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ wj (+ wj 1))
344.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series147.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ x (+ wj 1))
47.0ms
(/ (/ x (+ wj 1)) (exp wj))
21.0ms
(/ wj (+ wj 1))
56.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify80.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
07211524
133031471
250021471

prune481.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 3 expressions with local error:

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

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

series86.0ms

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

simplify140.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0202247
1793231
24232228
35001228

prune118.0ms

Filtered
53 candidates to 32 candidates (60.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube 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 → 87
Calls
4 calls:
146.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
17.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
18.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
22.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

series1.2s

Counts
4 → 12
Calls
4 calls:
350.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
293.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
293.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
296.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

simplify51.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03151593
112011500
250011416

prune332.0ms

Filtered
99 candidates to 75 candidates (75.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.5b

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series141.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ x (+ wj 1))
47.0ms
(/ (/ x (+ wj 1)) (exp wj))
23.0ms
(/ wj (+ wj 1))
36.0ms
(- wj (/ wj (+ wj 1)))

simplify74.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06341321
128441269
250011267

prune495.0ms

Filtered
183 candidates to 135 candidates (73.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

regimes55.0ms

Accuracy

0% (1.0b remaining)

Error of 1.1b against oracle of 0.1b and baseline of 1.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12110

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.4s7586×body10240exit
196.0ms6315×body80valid
72.0ms776×body320valid
65.0ms454×body640valid
41.0ms539×body160valid