Details

Time bar (total: 5.9s)

sample59.0ms

Algorithm
intervals
Results
26.0ms123×body5120exit
7.0ms207×body80valid
4.0ms134×body80overflowed
3.0ms19×body640valid
2.0ms18×body320valid
1.0ms14×body160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune6.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: 11.9b

Counts
2 → 2

localize9.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))
4.4b
(- (+ (/ (/ 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
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
28.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series142.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ x (+ wj 1))
22.0ms
(/ wj (+ wj 1))
43.0ms
(/ (/ x (+ wj 1)) (exp wj))
55.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify81.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07181538
133001481
250011479

prune398.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1835188
Fresh101
Picked101
Done000
Total1855190

Merged error: 0.1b

Counts
190 → 5

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* *-commutative add-log-exp
Counts
1 → 18
Calls
1 calls:
5.0ms
(* 2 (* wj x))

series20.0ms

Counts
1 → 3
Calls
1 calls:
20.0ms
(* 2 (* wj x))

simplify78.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08666
131856
2123556
3344456
4500156

prune35.0ms

Filtered
21 candidates to 11 candidates (52.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh044
Picked011
Done000
Total21526

Merged error: 0.1b

Counts
26 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1)))
0.0b
(/ (exp wj) (- wj 1))
0.0b
(/ wj (+ wj 1))
4.4b
(- (+ (/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1))) wj) (/ wj (+ wj 1)))

rewrite223.0ms

Algorithm
rewrite-expression-head
Rules
1255×times-frac
707×add-sqr-sqrt
654×*-un-lft-identity
458×add-cube-cbrt
208×difference-of-squares
99×associate-/r/
63×distribute-lft-out--
61×difference-of-sqr-1
50×div-inv
49×flip3-- flip--
38×associate-/r*
24×associate-/l*
20×add-cbrt-cube
17×add-exp-log
10×cbrt-undiv div-exp
add-log-exp
distribute-lft-out
pow1
frac-2neg clear-num
flip3-+ diff-log frac-sub flip-+
sub-neg associate--l+ sum-log associate-/l/
Counts
4 → 649
Calls
4 calls:
26.0ms
(/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1)))
6.0ms
(/ (exp wj) (- wj 1))
5.0ms
(/ wj (+ wj 1))
130.0ms
(- (+ (/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1))) wj) (/ wj (+ wj 1)))

series425.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1)))
18.0ms
(/ (exp wj) (- wj 1))
21.0ms
(/ wj (+ wj 1))
313.0ms
(- (+ (/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1))) wj) (/ wj (+ wj 1)))

simplify164.0ms

Algorithm
egg-herbie
Counts
661 → 661
Iterations

Useful iterations: 1 (56.0ms)

IterNodesCost
0301011732
1500111400

prune1.4s

Filtered
661 candidates to 411 candidates (62.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New6610661
Fresh033
Picked011
Done011
Total6615666

Merged error: 0.1b

Counts
666 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj))
0.0b
(/ wj (+ wj 1))
0.0b
(* (/ x (+ (pow wj 3) (pow 1 3))) (/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj)))
4.4b
(- (+ (* (/ x (+ (pow wj 3) (pow 1 3))) (/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
85×*-un-lft-identity
65×times-frac
59×add-sqr-sqrt
42×add-cube-cbrt
36×associate-*l*
22×distribute-lft-out
20×add-cbrt-cube
17×add-exp-log
13×associate-*r*
12×unpow-prod-down cube-prod
add-log-exp
associate-/r*
pow1 cbrt-undiv div-exp associate-/l*
flip3-+ prod-exp associate-/r/ cbrt-unprod flip-+ div-inv unswap-sqr
cube-mult sum-cubes
frac-2neg diff-log clear-num frac-sub associate-/l/ difference-of-squares
frac-times associate-+r- sub-neg flip3-- div-sub associate-*r/ pow-prod-down associate-*l/ associate--l+ sum-log *-commutative flip-- distribute-lft-out--
Counts
4 → 155
Calls
4 calls:
10.0ms
(/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj))
8.0ms
(/ wj (+ wj 1))
29.0ms
(* (/ x (+ (pow wj 3) (pow 1 3))) (/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj)))
31.0ms
(- (+ (* (/ x (+ (pow wj 3) (pow 1 3))) (/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

series319.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj))
22.0ms
(/ wj (+ wj 1))
94.0ms
(* (/ x (+ (pow wj 3) (pow 1 3))) (/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj)))
179.0ms
(- (+ (* (/ x (+ (pow wj 3) (pow 1 3))) (/ (+ (* wj wj) (- (* 1 1) (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

simplify109.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
08301936
141601785
250031773

prune493.0ms

Filtered
167 candidates to 123 candidates (73.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1670167
Fresh022
Picked011
Done022
Total1675172

Merged error: 0.1b

Counts
172 → 5

regimes47.0ms

Accuracy

0% (1.8b remaining)

Error of 2.0b against oracle of 0.3b and baseline of 2.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample1.7s

Algorithm
intervals
Results
855.0ms3931×body5120exit
220.0ms6263×body80valid
120.0ms3757×body80overflowed
93.0ms786×body320valid
85.0ms500×body640valid
38.0ms522×body160valid

Profiling

Loading profile data...