Details

Time bar (total: 6.0s)

sample64.0ms

Algorithm
intervals
Results
31.0ms140×body5120exit
8.0ms199×body80valid
4.0ms124×body80overflowed
3.0ms27×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
550018

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.2b

Counts
2 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(/ wj (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
5.4b
(- (+ (/ (/ 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
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
28.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series151.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ x (+ wj 1))
27.0ms
(/ wj (+ wj 1))
40.0ms
(/ (/ x (+ wj 1)) (exp wj))
60.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify81.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07211524
133031471
250011469

prune384.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1835188
Fresh011
Picked101
Done000
Total1846190

Merged error: 0.6b

Counts
190 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series54.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0162196
1645179
23837177
35001177

prune65.0ms

Filtered
38 candidates to 22 candidates (57.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New36238
Fresh055
Picked011
Done000
Total36844

Merged error: 0.6b

Counts
44 → 8

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

rewrite43.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:
22.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

series1.2s

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

simplify52.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03151593
112011500
250011416

prune271.0ms

Filtered
99 candidates to 75 candidates (75.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New96399
Fresh156
Picked101
Done011
Total989107

Merged error: 0.6b

Counts
107 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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))))
1.0b
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down
cbrt-div
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 → 63
Calls
4 calls:
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
9.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

series1.1s

Counts
4 → 12
Calls
4 calls:
276.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
271.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
450.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
132.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

simplify47.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04011079
113471006
25001990

prune272.0ms

Filtered
75 candidates to 66 candidates (88.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New73275
Fresh257
Picked101
Done011
Total76884

Merged error: 0.6b

Counts
84 → 8

regimes119.0ms

Accuracy

64.7% (0.6b remaining)

Error of 0.9b against oracle of 0.3b and baseline of 2.1b

bsearch26.0ms

Steps
ItersRangePoint
6
1.0577176516808163e-09
1.3648298396175304e-08
3.64129178563559e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02814
12814

end0.0ms

sample1.8s

Algorithm
intervals
Results
911.0ms3905×body5120exit
245.0ms6316×body80valid
140.0ms3847×body80overflowed
91.0ms758×body320valid
87.0ms467×body640valid
41.0ms526×body160valid

Profiling

Loading profile data...