Details

Time bar (total: 8.4s)

sample69.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

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

series186.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ x (+ wj 1))
52.0ms
(/ (/ x (+ wj 1)) (exp wj))
29.0ms
(/ wj (+ wj 1))
76.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify87.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (20.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

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

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

series105.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ x (pow wj 2))
42.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
25.0ms
(* 2 (* wj x))

simplify153.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0202245
1793228
24232225
35001225

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

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

rewrite57.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:
29.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
11.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

series1.8s

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

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

rewrite34.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))))
13.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series282.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* wj (exp wj))
62.0ms
(* wj (exp wj))
71.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
110.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0368913
11407859
25002844

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

regimes233.0ms

Accuracy

41.9% (0.9b remaining)

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

bsearch77.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02214
12214

end0.0ms

sample1.9s

Algorithm
intervals
Results
915.0ms3931×body5120exit
237.0ms6355×body80valid
129.0ms3846×body80overflowed
86.0ms719×body320valid
85.0ms443×body640valid
42.0ms562×body160valid

Profiling

Loading profile data...