Details

Time bar (total: 6.0s)

sample65.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

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

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

rewrite61.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))
10.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ wj (+ wj 1))
34.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series36.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07211524
133031471
250011471

prune1.8s

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

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

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

series17.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0202250
1789230
24182227
35001227

prune114.0ms

Filtered
53 candidates to 32 candidates (39.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh033
Picked011
Done000
Total51657

Merged error: 0.2b

Counts
57 → 6

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

rewrite39.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)))))
6.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))))

series174.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)))))
42.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
40.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
43.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

simplify56.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03311631
111861538
250011432

prune414.0ms

Filtered
99 candidates to 75 candidates (24.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New97299
Fresh044
Picked101
Done011
Total987105

Merged error: 0.2b

Counts
105 → 7

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

rewrite33.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:
5.0ms
(* wj (exp wj))
5.0ms
(* wj (exp wj))
9.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
12.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series36.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0368913
11407859
25002844

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

regimes199.0ms

Accuracy

41.9% (0.9b remaining)

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

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

sample2.0s

Algorithm
intervals
Results
1.1s3931×body5120exit
215.0ms6355×body80valid
118.0ms3846×body80overflowed
78.0ms719×body320valid
76.0ms443×body640valid
39.0ms562×body160valid

Profiling

Loading profile data...