Details

Time bar (total: 5.7s)

sample60.0ms

Algorithm
intervals
Results
29.0ms140×body5120exit
7.0ms199×body80valid
4.0ms124×body80overflowed
3.0ms27×body320valid
2.0ms12×body640valid
2.0ms21×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune7.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

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

rewrite56.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))
30.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series141.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07211524
133031471
250011469

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

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

series49.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0162196
1645179
23837177
35001177

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

rewrite42.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:
17.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
9.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.1s

Counts
4 → 12
Calls
4 calls:
292.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
262.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
265.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
260.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

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

rewrite34.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:
9.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
10.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

series928.0ms

Counts
4 → 12
Calls
4 calls:
259.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
282.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
264.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
123.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

simplify51.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04011056
11440996
25001981

prune291.0ms

Filtered
75 candidates to 61 candidates (81.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New73275
Fresh257
Picked101
Done011
Total76884

Merged error: 0.6b

Counts
84 → 8

regimes127.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

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02814
12814

end0.0ms

sample1.7s

Algorithm
intervals
Results
848.0ms3905×body5120exit
233.0ms6316×body80valid
128.0ms3847×body80overflowed
85.0ms758×body320valid
83.0ms467×body640valid
39.0ms526×body160valid

Profiling

Loading profile data...