Details

Time bar (total: 5.3s)

sample108.0ms

Algorithm
intervals
Results
56.0ms236×body5120exit
8.0ms201×body80valid
6.0ms171×body80overflowed
3.0ms25×body320valid
2.0ms12×body640valid
2.0ms21×body160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.2b

Counts
2 → 2

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))
5.5b
(- (+ (/ (/ 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:
5.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
28.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
14.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify78.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07211524
133031471
250021469

prune270.0ms

Filtered
188 candidates to 138 candidates (26.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1817188
Fresh101
Picked101
Done000
Total1837190

Merged error: 0.3b

Counts
190 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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
(* 2 (* wj x))
7.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
4.0ms
(+ x (pow wj 2))

series16.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0202245
1794228
24221225
35001225

prune86.0ms

Filtered
53 candidates to 32 candidates (39.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh066
Picked011
Done000
Total51960

Merged error: 0.3b

Counts
60 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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:
12.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
50.0ms
(cbrt (+ x (pow wj 2)))
52.0ms
(cbrt (+ x (pow wj 2)))
53.0ms
(cbrt (+ x (pow wj 2)))

simplify129.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0286944
1927893
24130787
35001764

prune290.0ms

Filtered
107 candidates to 72 candidates (32.7%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1034107
Fresh077
Picked101
Done011
Total10412116

Merged error: 0.3b

Counts
116 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod *-un-lft-identity
add-sqr-sqrt add-cube-cbrt cbrt-div
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
4 → 56
Calls
4 calls:
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(cbrt (+ x (pow wj 2)))
52.0ms
(cbrt (+ x (pow wj 2)))
52.0ms
(cbrt (+ x (pow wj 2)))
50.0ms
(cbrt (+ x (pow wj 2)))

simplify49.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0153512
1401484
21286440
35002408

prune261.0ms

Filtered
68 candidates to 52 candidates (23.5%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh1910
Picked011
Done011
Total681280

Merged error: 0.3b

Counts
80 → 12

regimes197.0ms

Accuracy

99% (0.0b remaining)

Error of 0.3b against oracle of 0.3b and baseline of 2.9b

bsearch39.0ms

Steps
ItersRangePoint
6
3.5951959953897148e-09
4.864098429866354e-08
5.727669950508331e-09
9
-7.423143984796011e-06
-3.6764408498900916e-11
-4.8108578209830974e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04828
15928
25928

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.8s7548×body5120exit
252.0ms6358×body80valid
185.0ms5120×body80overflowed
92.0ms791×body320valid
77.0ms444×body640valid
43.0ms554×body160valid

Profiling

Loading profile data...