Details

Time bar (total: 3.1s)

sample62.0ms

Algorithm
intervals
Results
27.0ms130×body5120exit
7.0ms194×body80valid
4.0ms138×body80overflowed
4.0ms20×body640valid
3.0ms27×body320valid
1.0ms16×body160valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
0474012
1474012

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: 14.4b

Counts
2 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (exp wj))
0.0b
(/ (- (/ x (exp wj)) wj) (+ wj 1))
4.3b
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
48×add-sqr-sqrt
38×times-frac
23×add-cube-cbrt
10×difference-of-squares
associate-/l*
distribute-lft-out
associate-/r* add-cbrt-cube
add-exp-log
distribute-lft-out-- add-log-exp
pow1
cbrt-undiv frac-2neg flip3-+ div-sub div-exp clear-num associate-/r/ flip-+ div-inv associate-/l/
+-commutative associate-+r- flip3-- sum-log flip--
Counts
3 → 91
Calls
3 calls:
4.0ms
(/ x (exp wj))
11.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
15.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

series29.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(/ x (exp wj))
10.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
9.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

simplify47.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
052201346

prune116.0ms

Filtered
73 candidates to 100 candidates (-37.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New973100
Fresh101
Picked101
Done000
Total993102

Merged error: 0.1b

Counts
102 → 3

localize6.0ms

Local error

Found 1 expressions with local error:

0.3b
(* wj (- wj (* x 2)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
5.0ms
(* wj (- wj (* x 2)))

series6.0ms

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

simplify18.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
05184230

prune37.0ms

Filtered
19 candidates to 27 candidates (-42.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh022
Picked011
Done000
Total26430

Merged error: 0.1b

Counts
30 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
44×*-un-lft-identity
38×times-frac
30×associate-*l*
24×add-cube-cbrt
11×add-cbrt-cube add-log-exp
10×add-exp-log
difference-of-squares
pow1 distribute-lft-out
flip3-+ flip-+
associate-+r+ distribute-lft-out--
associate-*r* associate-/r* sum-log associate-/l*
cbrt-undiv +-commutative distribute-rgt-in frac-times distribute-lft-in associate-*r/ div-exp prod-exp associate-/r/ cbrt-unprod div-inv unswap-sqr
associate-+r- sub-neg frac-2neg diff-log pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 110
Calls
4 calls:
4.0ms
(/ x (exp wj))
8.0ms
(+ (* wj wj) (- (* 1 1) (* wj 1)))
22.0ms
(* (/ (- (/ x (exp wj)) wj) (+ 1 (pow wj 3))) (+ (* wj wj) (- (* 1 1) (* wj 1))))
4.0ms
(+ wj (* (/ (- (/ x (exp wj)) wj) (+ 1 (pow wj 3))) (+ (* wj wj) (- (* 1 1) (* wj 1)))))

series65.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ x (exp wj))
2.0ms
(+ (* wj wj) (- (* 1 1) (* wj 1)))
23.0ms
(* (/ (- (/ x (exp wj)) wj) (+ 1 (pow wj 3))) (+ (* wj wj) (- (* 1 1) (* wj 1))))
32.0ms
(+ wj (* (/ (- (/ x (exp wj)) wj) (+ 1 (pow wj 3))) (+ (* wj wj) (- (* 1 1) (* wj 1)))))

simplify39.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
052642072

prune173.0ms

Filtered
91 candidates to 122 candidates (-34.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1220122
Fresh022
Picked011
Done011
Total1224126

Merged error: 0.1b

Counts
126 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (exp wj))
0.0b
(/ (+ wj 1) (- (/ x (exp wj)) wj))
0.2b
(/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj)))
6.2b
(+ wj (/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj))))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
240×times-frac
206×*-un-lft-identity
204×add-sqr-sqrt
99×add-cube-cbrt
42×difference-of-squares
39×associate-/r*
33×distribute-lft-out
21×distribute-lft-out--
18×add-exp-log
13×add-cbrt-cube
11×associate-/r/
10×associate-/l*
div-exp
div-inv
add-log-exp
pow1 cbrt-undiv flip3-- flip--
frac-2neg clear-num
rec-exp flip3-+ 1-exp flip-+ associate-/l/
+-commutative pow-flip sum-log inv-pow
Counts
4 → 234
Calls
4 calls:
4.0ms
(/ x (exp wj))
13.0ms
(/ (+ wj 1) (- (/ x (exp wj)) wj))
15.0ms
(/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj)))
28.0ms
(+ wj (/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj))))

series43.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ x (exp wj))
17.0ms
(/ (+ wj 1) (- (/ x (exp wj)) wj))
9.0ms
(/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj)))
9.0ms
(+ wj (/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj))))

simplify89.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050594198

prune203.0ms

Filtered
142 candidates to 246 candidates (-73.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2460246
Fresh011
Picked011
Done022
Total2464250

Merged error: 0.1b

Counts
250 → 4

regimes77.0ms

Accuracy

0% (1.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0109
1109

end0.0ms

sample1.8s

Algorithm
intervals
Results
818.0ms3811×body5120exit
222.0ms6323×body80valid
127.0ms3836×body80overflowed
96.0ms805×body320valid
71.0ms418×body640valid
38.0ms526×body160valid

Profiling

Loading profile data...