Details

Time bar (total: 4.8s)

sample61.0ms

Algorithm
intervals
Results
28.0ms119×body5120exit
7.0ms198×body80valid
5.0ms151×body80overflowed
4.0ms20×body640valid
2.0ms19×body320valid
2.0ms21×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

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

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)) wj)
0.0b
(/ (/ x (+ wj 1)) (exp wj))
6.7b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
277×*-un-lft-identity
253×times-frac
163×add-sqr-sqrt
158×add-cube-cbrt
72×prod-diff
58×fma-def distribute-lft-out
24×associate-/r/
21×associate-/l*
14×flip3-+ flip-+ div-inv
11×add-cbrt-cube add-log-exp
add-exp-log
associate-/r*
pow1 cbrt-undiv expm1-log1p-u fma-neg div-exp log1p-expm1-u
frac-2neg diff-log clear-num sum-log frac-sub distribute-lft-out-- difference-of-squares
+-commutative sub-neg flip3-- associate--l+ flip-- associate-/l/
Counts
4 → 297
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
26.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
13.0ms
(/ (/ x (+ wj 1)) (exp wj))
32.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series363.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ x (+ wj 1))
243.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
39.0ms
(/ (/ x (+ wj 1)) (exp wj))
59.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify131.0ms

Algorithm
egg-herbie
Counts
309 → 309
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
09944057
143933219
250013211

prune545.0ms

Filtered
309 candidates to 200 candidates (64.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3045309
Fresh101
Picked101
Done000
Total3065311

Merged error: 0.1b

Counts
311 → 5

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt
fma-neg prod-diff
expm1-log1p-u fma-def associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out
diff-log sum-log
+-commutative sub-neg flip3-- flip3-+ associate-*r* associate--l+ *-commutative flip-- flip-+
Counts
3 → 61
Calls
3 calls:
5.0ms
(+ x (pow wj 2))
8.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
5.0ms
(* 2 (* wj x))

series78.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ x (pow wj 2))
29.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
19.0ms
(* 2 (* wj x))

simplify39.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0237344
1922293
25001274

prune113.0ms

Filtered
70 candidates to 49 candidates (70.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New70070
Fresh044
Picked011
Done000
Total70575

Merged error: 0.1b

Counts
75 → 5

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))
7.9b
(- wj (/ wj (+ wj 1)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
176×*-un-lft-identity
163×times-frac
121×add-sqr-sqrt
116×add-cube-cbrt
54×prod-diff
29×distribute-lft-out
24×associate-/l*
18×associate-/r/
13×add-cbrt-cube
11×add-exp-log associate-/r*
10×div-inv
flip3-+ flip-+
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg fma-neg clear-num
difference-of-squares
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
4 → 236
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
11.0ms
(- wj (/ wj (+ wj 1)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ x (+ wj 1))
20.0ms
(/ wj (+ wj 1))
38.0ms
(/ (/ x (+ wj 1)) (exp wj))
30.0ms
(- wj (/ wj (+ wj 1)))

simplify108.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
09212790
140822167
250022164

prune408.0ms

Filtered
248 candidates to 162 candidates (65.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2462248
Fresh123
Picked101
Done011
Total2485253

Merged error: 0.1b

Counts
253 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(- (pow wj 4) (pow wj 3))
0.0b
(fma wj wj (- (pow wj 4) (pow wj 3)))
0.0b
(/ (/ x (+ wj 1)) (exp wj))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
145×*-un-lft-identity
128×add-sqr-sqrt
114×times-frac
111×add-cube-cbrt
84×prod-diff
67×unpow-prod-down
27×sqr-pow
24×cube-prod
21×associate-/l*
16×distribute-lft-out
12×difference-of-squares
11×add-cbrt-cube
10×associate-/r/
add-exp-log
cube-mult fma-neg unpow3 associate-/r*
div-inv add-log-exp
flip3-+ flip-+
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
frac-2neg clear-num
sub-neg flip3-- diff-log flip-- fma-udef associate-/l/ distribute-lft-out--
Counts
4 → 255
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
11.0ms
(- (pow wj 4) (pow wj 3))
1.0ms
(fma wj wj (- (pow wj 4) (pow wj 3)))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))

series174.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ x (+ wj 1))
78.0ms
(- (pow wj 4) (pow wj 3))
29.0ms
(fma wj wj (- (pow wj 4) (pow wj 3)))
45.0ms
(/ (/ x (+ wj 1)) (exp wj))

simplify127.0ms

Algorithm
egg-herbie
Counts
267 → 267
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
08622505
136381947
250021942

prune458.0ms

Filtered
267 candidates to 136 candidates (50.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2670267
Fresh033
Picked011
Done011
Total2675272

Merged error: 0.1b

Counts
272 → 5

regimes56.0ms

Accuracy

78.6% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 1.1b

bsearch34.0ms

Steps
ItersRangePoint
7
1.578317661697433e-06
0.00034751998712624757
9.967380119741091e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03326
13326

end0.0ms

sample1.7s

Algorithm
intervals
Results
870.0ms3849×body5120exit
228.0ms6236×body80valid
130.0ms3836×body80overflowed
90.0ms514×body640valid
89.0ms782×body320valid
40.0ms538×body160valid