Details

Time bar (total: 3.8s)

sample24.0ms

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

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

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
37×frac-2neg clear-num
36×frac-sub
33×frac-add
11×div-inv
10×associate-/r/
prod-diff
associate-+l+ flip3-- flip3-+ flip-- flip-+
fma-neg
sub-neg
+-commutative associate-+l-
Counts
4 → 71
Calls
4 calls:
3.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)))

series326.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1.0 (- x 1.0))
25.0ms
(/ 1.0 (+ x 1.0))
48.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
225.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify97.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08271090
13620964
25001941

prune204.0ms

Filtered
83 candidates to 65 candidates (78.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New81283
Fresh000
Picked011
Done000
Total81384

Merged error: 0.0b

Counts
84 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0))
0.0b
(/ (fma (+ x 1.0) (* 1.0 (/ x 2.0)) (- (* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0)))) (* (+ x 1.0) (* (/ x 2.0) (- x 1.0))))
0.0b
(* (+ x 1.0) (* (/ x 2.0) (- x 1.0)))
29.0b
(fma (+ x 1.0) (* 1.0 (/ x 2.0)) (- (* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
80×frac-times
36×associate-*r/
35×associate-/r/
25×flip3-- flip--
24×flip3-+ flip-+
22×associate-*l/
19×frac-2neg clear-num
10×distribute-rgt-in distribute-lft-in
sub-neg associate-*r*
associate-/r* *-commutative
associate-*l* div-inv
distribute-lft-neg-out neg-mul-1 fma-udef
Counts
4 → 100
Calls
4 calls:
4.0ms
(* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0))
9.0ms
(/ (fma (+ x 1.0) (* 1.0 (/ x 2.0)) (- (* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0)))) (* (+ x 1.0) (* (/ x 2.0) (- x 1.0))))
8.0ms
(* (+ x 1.0) (* (/ x 2.0) (- x 1.0)))
1.0ms
(fma (+ x 1.0) (* 1.0 (/ x 2.0)) (- (* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0))))

series789.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0))
375.0ms
(/ (fma (+ x 1.0) (* 1.0 (/ x 2.0)) (- (* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0)))) (* (+ x 1.0) (* (/ x 2.0) (- x 1.0))))
121.0ms
(* (+ x 1.0) (* (/ x 2.0) (- x 1.0)))
239.0ms
(fma (+ x 1.0) (* 1.0 (/ x 2.0)) (- (* (- (fma 1.0 (/ x 2.0) (- (+ x 1.0)))) (- x 1.0))))

simplify93.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06131412
135121396
250021392

prune420.0ms

Filtered
112 candidates to 95 candidates (84.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1102112
Fresh101
Picked101
Done011
Total1123115

Merged error: 0.0b

Counts
115 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
86×frac-times
36×associate-*r/
35×associate-/r/
28×flip3-- flip--
25×associate-*l/
24×flip3-+ flip-+
22×frac-2neg clear-num
10×distribute-rgt-in distribute-lft-in
sub-neg associate-*r*
associate-/r* *-commutative
div-inv
associate-*l*
Counts
3 → 107
Calls
3 calls:
4.0ms
(* (/ x 2.0) (- x 1.0))
12.0ms
(* (+ x 1.0) (* (/ x 2.0) (- x 1.0)))
9.0ms
(/ 1.0 (* (+ x 1.0) (* (/ x 2.0) (- x 1.0))))

series275.0ms

Counts
3 → 9
Calls
3 calls:
66.0ms
(* (/ x 2.0) (- x 1.0))
120.0ms
(* (+ x 1.0) (* (/ x 2.0) (- x 1.0)))
88.0ms
(/ 1.0 (* (+ x 1.0) (* (/ x 2.0) (- x 1.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0567900
13333895
25001895

prune301.0ms

Filtered
116 candidates to 100 candidates (86.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1133116
Fresh101
Picked101
Done011
Total1154119

Merged error: 0.0b

Counts
119 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.0ms

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

series179.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(* (/ x 2.0) (- x 1.0))
25.0ms
(/ 1.0 (+ x 1.0))
90.0ms
(/ (/ 1.0 (+ x 1.0)) (* (/ x 2.0) (- x 1.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0415375
11788355
25001350

prune135.0ms

Filtered
63 candidates to 53 candidates (84.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New63063
Fresh022
Picked011
Done011
Total63467

Merged error: 0.0b

Counts
67 → 4

regimes33.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116
1116

end0.0ms

sample613.0ms

Algorithm
intervals
Results
207.0ms1825×body640valid
123.0ms4122×body80valid
83.0ms592×body1280valid
76.0ms940×body320valid
29.0ms523×body160valid