Details

Time bar (total: 7.0s)

sample69.0ms

Algorithm
intervals
Results
45.0ms238×body10240exit
6.0ms196×body80valid
3.0ms31×body320valid
2.0ms16×body640valid
1.0ms18×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.8b

localize9.0ms

Local error

Found 4 expressions with local error:

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

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

series141.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ wj (+ wj 1))
39.0ms
(/ (/ x (+ wj 1)) (exp wj))
27.0ms
(/ x (+ wj 1))
54.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify82.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07211524
133031471
250011469

prune422.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
diff-log
sub-neg flip3-- associate-*r* associate--l+ sum-log *-commutative flip--
Counts
2 → 32
Calls
2 calls:
39.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
6.0ms
(* 2 (* wj x))

series51.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0162196
1645179
23837177
35001177

prune68.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

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

rewrite196.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:
142.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))))
17.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
17.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

series1.2s

Counts
4 → 12
Calls
4 calls:
308.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
287.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
282.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
285.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

simplify58.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03151593
112011500
250011416

prune281.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×cbrt-div
unpow-prod-down
pow1 add-exp-log
pow1/3 add-cbrt-cube add-log-exp
pow-unpow flip3-- flip--
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
19.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
18.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
18.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
38.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

series978.0ms

Counts
4 → 12
Calls
4 calls:
280.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
288.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
279.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
131.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

simplify53.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03951260
114231191
250011170

prune495.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.2b

regimes95.0ms

Accuracy

47.6% (0.9b remaining)

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

bsearch44.0ms

Steps
ItersRangePoint
9
4.896495915127463e-10
0.16998237910242062
3.1088434258944978e-06

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03433
13433

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.5s7582×body10240exit
199.0ms6332×body80valid
73.0ms478×body640valid
72.0ms756×body320valid
32.0ms510×body160valid