Details

Time bar (total: 3.1s)

sample51.0ms

Algorithm
intervals
Results
26.0ms66×body10240exit
10.0ms271×body80valid
2.0msbody640valid
1.0msbody1280valid
1.0msbody320valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.0b
(+ 1.0 (exp x))
0.3b
(log (+ 1.0 (exp x)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
log-div
flip3-+ flip-+
associate--l-
+-commutative sub-neg flip3-- flip--
Counts
3 → 11
Calls
3 calls:
6.0ms
(- (log (+ 1.0 (exp x))) (* x y))
2.0ms
(+ 1.0 (exp x))
2.0ms
(log (+ 1.0 (exp x)))

series128.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(- (log (+ 1.0 (exp x))) (* x y))
8.0ms
(+ 1.0 (exp x))
60.0ms
(log (+ 1.0 (exp x)))

simplify132.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0147139
1400139
21172136
34044135
45001135

prune44.0ms

Filtered
20 candidates to 13 candidates (65.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New19120
Fresh000
Picked011
Done000
Total19221

Merged error: 0.0b

Counts
21 → 2

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x)) (* x y))
0.0b
(+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))
0.0b
(+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-+l+ associate-+r+
associate--l+
sub-neg
distribute-rgt-in distribute-lft-in
+-commutative
flip3-+ flip-+
flip3-- flip--
Counts
3 → 28
Calls
3 calls:
9.0ms
(- (+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x)) (* x y))
4.0ms
(+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))
7.0ms
(+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x))

series458.0ms

Counts
3 → 9
Calls
3 calls:
73.0ms
(- (+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x)) (* x y))
328.0ms
(+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))
57.0ms
(+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x))

simplify110.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0222362
1804345
23943317
35001317

prune92.0ms

Filtered
37 candidates to 25 candidates (67.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New36137
Fresh000
Picked101
Done011
Total37239

Merged error: 0.0b

Counts
39 → 2

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))) (+ (* x (- 0.5 y)) (log 2.0)))
0.0b
(+ (* x (- 0.5 y)) (log 2.0))
0.0b
(* x (- 0.5 y))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-+l+
distribute-rgt-in sub-neg distribute-lft-in
associate-+r+ associate-*r/
flip3-+ frac-add flip-+
+-commutative flip3-- flip--
*-commutative
Counts
3 → 31
Calls
3 calls:
10.0ms
(+ (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))) (+ (* x (- 0.5 y)) (log 2.0)))
5.0ms
(+ (* x (- 0.5 y)) (log 2.0))
3.0ms
(* x (- 0.5 y))

series145.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(+ (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))) (+ (* x (- 0.5 y)) (log 2.0)))
37.0ms
(+ (* x (- 0.5 y)) (log 2.0))
37.0ms
(* x (- 0.5 y))

simplify39.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0315458
11337441
25002421

prune93.0ms

Filtered
40 candidates to 24 candidates (60.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New40040
Fresh000
Picked011
Done011
Total40242

Merged error: 0.0b

Counts
42 → 2

regimes45.0ms

Accuracy

0% (0.3b remaining)

Error of 0.5b against oracle of 0.2b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.7s

Algorithm
intervals
Results
948.0ms2318×body10240exit
322.0ms8409×body80valid
64.0ms127×body1280valid
61.0ms232×body640valid
26.0ms160×body320valid
13.0ms138×body160valid