Details

Time bar (total: 3.8s)

sample61.0ms

Algorithm
intervals
Results
29.0ms128×body5120exit
8.0ms205×body80valid
4.0ms117×body80overflowed
4.0ms23×body640valid
2.0ms18×body320valid
1.0ms12×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

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

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(* wj (exp wj))
0.0b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
3.2b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

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

series169.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* wj (exp wj))
30.0ms
(* wj (exp wj))
47.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
58.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0368913
11407859
25001845

prune218.0ms

Filtered
104 candidates to 81 candidates (77.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1013104
Fresh101
Picked101
Done000
Total1033106

Merged error: 0.1b

Counts
106 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series82.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ x (* wj (- wj (* x 2))))
51.0ms
(* wj (- wj (* x 2)))

simplify129.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0185229
1733208
23921207
35001207

prune66.0ms

Filtered
45 candidates to 28 candidates (62.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh022
Picked011
Done000
Total43548

Merged error: 0.1b

Counts
48 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series146.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (exp wj) (* wj (exp wj)))
52.0ms
(/ x (+ (exp wj) (* wj (exp wj))))
30.0ms
(* wj (exp wj))
27.0ms
(- wj (/ wj (/ (* (+ wj 1) (exp wj)) (exp wj))))

simplify52.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0362710
11416637
25001604

prune212.0ms

Filtered
95 candidates to 77 candidates (81.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New94195
Fresh213
Picked011
Done011
Total964100

Merged error: 0.0b

Counts
100 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
0.0b
(+ (exp wj) (* wj (exp wj)))
0.0b
(/ x (+ (exp wj) (* wj (exp wj))))
0.0b
(* wj (exp wj))

rewrite30.0ms

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

series148.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
36.0ms
(+ (exp wj) (* wj (exp wj)))
47.0ms
(/ x (+ (exp wj) (* wj (exp wj))))
34.0ms
(* wj (exp wj))

simplify51.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0376700
11437644
25001625

prune279.0ms

Filtered
100 candidates to 77 candidates (77.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New991100
Fresh011
Picked101
Done022
Total1004104

Merged error: 0.0b

Counts
104 → 4

regimes45.0ms

Accuracy

0% (1.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample1.8s

Algorithm
intervals
Results
910.0ms3809×body5120exit
245.0ms6289×body80valid
137.0ms3722×body80overflowed
95.0ms793×body320valid
90.0ms474×body640valid
47.0ms522×body160valid