Details

Time bar (total: 5.7s)

sample63.0ms

Algorithm
intervals
Results
28.0ms118×body5120exit
7.0ms200×body80valid
4.0ms112×body80overflowed
2.0ms22×body320valid
2.0ms15×body640valid
2.0ms23×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune11.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.5b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(/ wj (+ wj 1))
6.2b
(- (+ (/ (/ 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:
7.0ms
(/ x (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ wj (+ wj 1))
27.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series35.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07211524
133031471
250011471

prune1.7s

Filtered
188 candidates to 138 candidates (26.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1853188
Fresh011
Picked101
Done000
Total1864190

Merged error: 0.2b

Counts
190 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

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

series19.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0202245
1793228
24232225
35001225

prune115.0ms

Filtered
53 candidates to 32 candidates (39.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New50353
Fresh033
Picked011
Done000
Total50757

Merged error: 0.2b

Counts
57 → 7

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

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

series167.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03311631
111861538
250011432

prune416.0ms

Filtered
99 candidates to 75 candidates (24.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New97299
Fresh145
Picked101
Done011
Total997106

Merged error: 0.2b

Counts
106 → 7

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(* wj (exp wj))
0.3b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
6.2b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
24×*-un-lft-identity
18×add-cube-cbrt
16×times-frac
10×add-cbrt-cube
pow1 add-exp-log
associate-*r* associate-*l* add-log-exp
associate-/r*
distribute-rgt-out distribute-rgt1-in
associate-/l*
flip3-- div-sub pow-prod-down prod-exp associate-/r/ *-commutative flip-- cbrt-unprod associate-/l/ difference-of-squares unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num flip-+ div-inv distribute-lft-out-- associate--r-
Counts
4 → 92
Calls
4 calls:
4.0ms
(* wj (exp wj))
5.0ms
(* wj (exp wj))
9.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
11.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series33.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* wj (exp wj))
3.0ms
(* wj (exp wj))
11.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
15.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0368913
11407859
25002844

prune542.0ms

Filtered
104 candidates to 81 candidates (22.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh145
Picked011
Done011
Total1047111

Merged error: 0.2b

Counts
111 → 7

regimes193.0ms

Accuracy

41.9% (0.9b remaining)

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

bsearch52.0ms

Steps
ItersRangePoint
9
-0.0038973504402139516
-1.289397842534223e-10
-4.241712932752003e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02214
12214

end0.0ms

sample1.8s

Algorithm
intervals
Results
847.0ms3931×body5120exit
214.0ms6355×body80valid
125.0ms3846×body80overflowed
78.0ms719×body320valid
74.0ms443×body640valid
42.0ms562×body160valid

Profiling

Loading profile data...