Details

Time bar (total: 4.2s)

sample64.0ms

Algorithm
intervals
Results
25.0ms98×body5120exit
7.0ms214×body80valid
4.0ms131×body80overflowed
2.0ms13×body640valid
2.0ms17×body320valid
1.0ms16×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (5.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: 10.3b

Counts
2 → 2

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

rewrite57.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))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
7.0ms
(/ x (+ wj 1))
28.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series34.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07211524
133031471
250021469

prune250.0ms

Filtered
138 candidates to 188 candidates (-36.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1853188
Fresh011
Picked101
Done000
Total1864190

Merged error: 0.4b

Counts
190 → 4

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

series10.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0162194
1645176
23837174
35001174

prune58.0ms

Filtered
22 candidates to 38 candidates (-72.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New35338
Fresh033
Picked011
Done000
Total35742

Merged error: 0.4b

Counts
42 → 7

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

rewrite38.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:
16.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))))

series169.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
41.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
39.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
41.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

simplify52.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03311613
111861520
250011414

prune335.0ms

Filtered
75 candidates to 99 candidates (-32.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New95499
Fresh145
Picked101
Done011
Total979106

Merged error: 0.4b

Counts
106 → 9

localize20.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))))
0.6b
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-- pow1/3 add-cbrt-cube flip-- add-log-exp
Counts
4 → 52
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))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

series162.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
41.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
39.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
41.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

simplify95.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0188912
1587860
22904832
35002828

prune448.0ms

Filtered
56 candidates to 64 candidates (-14.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New63164
Fresh077
Picked101
Done011
Total64973

Merged error: 0.4b

Counts
73 → 9

regimes219.0ms

Accuracy

77.1% (0.4b remaining)

Error of 0.7b against oracle of 0.3b and baseline of 2.2b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03322
13322

end0.0ms

sample1.8s

Algorithm
intervals
Results
857.0ms3914×body5120exit
229.0ms6308×body80valid
142.0ms3923×body80overflowed
92.0ms821×body320valid
78.0ms453×body640valid
38.0ms525×body160valid

Profiling

Loading profile data...