Details

Time bar (total: 2.8s)

sample23.0ms

Algorithm
intervals
Results
6.0ms54×body640valid
4.0ms140×body80valid
3.0ms34×body320valid
2.0ms14×body1280valid
1.0ms14×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

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

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.7b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
37×frac-2neg clear-num
36×frac-sub
33×frac-add
flip3-- flip--
associate-/r/
sub-neg associate-+l+ flip3-+ flip-+ div-inv
+-commutative associate-+l-
Counts
4 → 62
Calls
4 calls:
2.0ms
(/ 1.0 (- x 1.0))
3.0ms
(/ 1.0 (+ x 1.0))
6.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1.0 (- x 1.0))
26.0ms
(/ 1.0 (+ x 1.0))
44.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
228.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify86.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07341044
13209942
25001942

prune158.0ms

Filtered
74 candidates to 56 candidates (75.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New72274
Fresh000
Picked011
Done000
Total72375

Merged error: 0.0b

Counts
75 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
0.0b
(/ (- (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))) (* (+ x 1.0) (* (- x) (- x 1.0))))
0.0b
(* (+ x 1.0) (* (- x) (- x 1.0)))
17.0b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
78×associate-*l/
36×flip3-- flip--
32×frac-add
28×frac-times
26×associate-*r/
24×flip3-+ flip-+
18×associate-/l/ distribute-neg-frac
12×distribute-rgt-in distribute-lft-in
neg-mul-1 associate-*r*
sub-neg associate-/r/
*-commutative
times-frac associate-/r*
associate-+l+
associate-*l*
+-commutative distribute-lft-neg-out neg-sub0 frac-2neg div-sub distribute-frac-neg clear-num distribute-rgt-neg-out div-inv associate-/l*
Counts
4 → 99
Calls
4 calls:
7.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
24.0ms
(/ (- (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))) (* (+ x 1.0) (* (- x) (- x 1.0))))
6.0ms
(* (+ x 1.0) (* (- x) (- x 1.0)))
13.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series264.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
93.0ms
(/ (- (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))) (* (+ x 1.0) (* (- x) (- x 1.0))))
125.0ms
(* (+ x 1.0) (* (- x) (- x 1.0)))
1.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09021919
150011897

prune436.0ms

Filtered
111 candidates to 91 candidates (82.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1101111
Fresh011
Picked101
Done011
Total1113114

Merged error: 0.0b

Counts
114 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- x) (- x 1.0))
0.0b
(* (+ x 1.0) (* (- x) (- x 1.0)))
0.1b
(/ (- 2.0) (* (+ x 1.0) (* (- x) (- x 1.0))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*r/
10×distribute-rgt-in neg-mul-1 distribute-lft-in
associate-*r*
frac-times associate-/r/
flip3-- *-commutative flip--
sub-neg flip3-+ flip-+
times-frac associate-/r*
associate-*l* associate-*l/
distribute-lft-neg-out
neg-sub0 frac-2neg div-sub distribute-frac-neg clear-num distribute-rgt-neg-out div-inv associate-/l*
Counts
3 → 54
Calls
3 calls:
3.0ms
(* (- x) (- x 1.0))
6.0ms
(* (+ x 1.0) (* (- x) (- x 1.0)))
7.0ms
(/ (- 2.0) (* (+ x 1.0) (* (- x) (- x 1.0))))

series296.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(* (- x) (- x 1.0))
132.0ms
(* (+ x 1.0) (* (- x) (- x 1.0)))
94.0ms
(/ (- 2.0) (* (+ x 1.0) (* (- x) (- x 1.0))))

simplify40.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0336421
11404412
25001387

prune124.0ms

Filtered
63 candidates to 47 candidates (74.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New60363
Fresh101
Picked101
Done011
Total62466

Merged error: 0.0b

Counts
66 → 4

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (- 2.0) (- (* 1.0 x) (pow x 3)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
neg-mul-1 distribute-rgt-out-- unpow3 associate-/r/
neg-sub0 flip3-- frac-2neg times-frac div-sub distribute-frac-neg clear-num associate-/r* flip-- div-inv associate-/l*
Counts
1 → 10
Calls
1 calls:
8.0ms
(/ (- 2.0) (- (* 1.0 x) (pow x 3)))

series66.0ms

Counts
1 → 3
Calls
1 calls:
66.0ms
(/ (- 2.0) (- (* 1.0 x) (pow x 3)))

simplify48.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
012575
141271
2167070
3500270

prune36.0ms

Filtered
13 candidates to 12 candidates (92.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh022
Picked011
Done101
Total13417

Merged error: 0.0b

Counts
17 → 4

regimes16.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample638.0ms

Algorithm
intervals
Results
216.0ms1825×body640valid
124.0ms4122×body80valid
87.0ms592×body1280valid
80.0ms940×body320valid
30.0ms523×body160valid