Details

Time bar (total: 7.3s)

sample76.0ms

Algorithm
intervals
Results
39.0ms117×body10240exit
10.0ms205×body80valid
6.0ms133×body80overflowed
4.0ms17×body640valid
3.0ms21×body320valid
2.0ms18×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.7b

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

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

series139.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07211524
133031471
250011469

prune409.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

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-log-exp
add-sqr-sqrt add-cube-cbrt associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
2 → 30
Calls
2 calls:
5.0ms
(+ x (pow wj 2))
6.0ms
(* 2 (* wj x))

series49.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ x (pow wj 2))
18.0ms
(* 2 (* wj x))

simplify66.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0149122
1550108
22362107
35001107

prune71.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
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 → 95
Calls
4 calls:
38.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
4.0ms
(cbrt (+ x (pow wj 2)))
7.0ms
(cbrt (+ x (pow wj 2)))
5.0ms
(cbrt (+ x (pow wj 2)))

series1.2s

Counts
4 → 12
Calls
4 calls:
270.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
317.0ms
(cbrt (+ x (pow wj 2)))
316.0ms
(cbrt (+ x (pow wj 2)))
308.0ms
(cbrt (+ x (pow wj 2)))

simplify163.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (153.0ms)

IterNodesCost
0252878
1944827
24715760
35001749

prune278.0ms

Pruning

11 alts after pruning (10 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)))
0.5b
(cbrt (cbrt (+ x (pow wj 2))))
0.5b
(cbrt (cbrt (+ x (pow wj 2))))
1.1b
(pow (cbrt (cbrt (+ x (pow wj 2)))) 5)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
37×cbrt-prod
21×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
10×unpow-prod-down cbrt-div
pow1 add-exp-log
pow1/3 add-cbrt-cube distribute-lft-out add-log-exp
pow-unpow flip3-+ flip-+
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 73
Calls
4 calls:
4.0ms
(cbrt (+ x (pow wj 2)))
5.0ms
(cbrt (cbrt (+ x (pow wj 2))))
5.0ms
(cbrt (cbrt (+ x (pow wj 2))))
11.0ms
(pow (cbrt (cbrt (+ x (pow wj 2)))) 5)

series1.4s

Counts
4 → 12
Calls
4 calls:
321.0ms
(cbrt (+ x (pow wj 2)))
322.0ms
(cbrt (cbrt (+ x (pow wj 2))))
321.0ms
(cbrt (cbrt (+ x (pow wj 2))))
463.0ms
(pow (cbrt (cbrt (+ x (pow wj 2)))) 5)

simplify42.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0328675
11159641
25002635

prune335.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.3b

regimes93.0ms

Accuracy

38.1% (1.2b remaining)

Error of 1.5b against oracle of 0.3b and baseline of 2.3b

bsearch6.0ms

Steps
ItersRangePoint
1
3.0649639386435413e-28
3.2966406264355945e-28
3.238721454487581e-28

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.2s3766×body10240exit
321.0ms6268×body80valid
176.0ms3853×body80overflowed
129.0ms827×body320valid
102.0ms446×body640valid
55.0ms537×body160valid