Details

Time bar (total: 12.8s)

sample24.0ms

Algorithm
intervals
Results
7.0ms64×body640valid
4.0ms139×body80valid
2.0ms15×body1280valid
2.0ms23×body320valid
1.0ms16×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.3b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
3.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.0ms
(/ 1.0 (- x 1.0))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series526.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07341044
13209942
25001942

prune160.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.1b

Counts
75 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite336.0ms

Algorithm
rewrite-expression-head
Rules
1738×frac-times
1626×associate-*l/
1272×frac-sub
1224×clear-num
1190×distribute-neg-frac
1168×frac-2neg
1140×frac-add
904×associate-/l/
595×associate-*r/
528×flip3-+ flip-+
476×flip3-- flip--
56×un-div-inv
distribute-rgt-in distribute-lft-in
+-commutative associate-*l*
distribute-neg-in associate--r+
sub-neg *-commutative
associate-*r* div-inv
neg-sub0 associate-+r- neg-mul-1 unsub-neg distribute-rgt-neg-out
Counts
4 → 1444
Calls
4 calls:
11.0ms
(* (- x 1.0) (+ (/ x 2.0) (- (/ (+ x 1.0) 1.0))))
6.0ms
(+ (/ x 2.0) (- (/ (+ x 1.0) 1.0)))
11.0ms
(* (* (/ (+ x 1.0) 1.0) (/ x 2.0)) (- (- x 1.0)))
78.0ms
(- (* (* (/ (+ x 1.0) 1.0) (/ x 2.0)) (- 1.0)) (* (- x 1.0) (+ (/ x 2.0) (- (/ (+ x 1.0) 1.0)))))

series221.0ms

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

simplify538.0ms

Algorithm
egg-herbie
Counts
1456 → 1456
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0536055656

prune8.5s

Filtered
1456 candidates to 1444 candidates (99.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New145511456
Fresh011
Picked101
Done011
Total145631459

Merged error: 0.1b

Counts
1459 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
201×frac-times
100×distribute-neg-frac
83×associate-*l/
78×clear-num
74×associate-/r/
71×frac-2neg
56×associate-/l/
50×flip3-- flip--
28×flip3-+ flip-+
25×associate-*r/
16×associate-*l*
11×neg-mul-1
div-inv
times-frac associate-*r* associate-/r* un-div-inv *-commutative
distribute-neg-in
distribute-rgt-in sub-neg distribute-lft-in
neg-sub0 div-sub distribute-frac-neg distribute-rgt-neg-out associate-/l*
Counts
3 → 206
Calls
3 calls:
5.0ms
(* (/ (+ x 1.0) 1.0) (/ x 2.0))
11.0ms
(* (* (/ (+ x 1.0) 1.0) (/ x 2.0)) (- (- x 1.0)))
15.0ms
(/ (- 1.0) (* (* (/ (+ x 1.0) 1.0) (/ x 2.0)) (- (- x 1.0))))

series284.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
014861904
150021849

prune597.0ms

Filtered
215 candidates to 193 candidates (89.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2114215
Fresh101
Picked101
Done101
Total2144218

Merged error: 0b

Counts
218 → 4

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
118×frac-times
68×associate-/r/ distribute-neg-frac
57×clear-num
51×frac-2neg
50×associate-*l/
34×flip3-- flip--
25×associate-*l*
22×associate-*r/
21×times-frac
20×div-inv
10×associate-*r* *-commutative
flip3-+ flip-+
neg-mul-1 associate-/r*
un-div-inv
associate-/l*
distribute-neg-in associate-/l/
div-sub distribute-frac-neg
neg-sub0 distribute-rgt-in sub-neg distribute-lft-in
distribute-rgt-neg-out
Counts
3 → 159
Calls
3 calls:
14.0ms
(* (* (/ 1 1.0) (/ x 2.0)) (- (- x 1.0)))
3.0ms
(/ (- 1.0) (+ x 1.0))
14.0ms
(/ (/ (- 1.0) (+ x 1.0)) (* (* (/ 1 1.0) (/ x 2.0)) (- (- x 1.0))))

series188.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(* (* (/ 1 1.0) (/ x 2.0)) (- (- x 1.0)))
25.0ms
(/ (- 1.0) (+ x 1.0))
91.0ms
(/ (/ (- 1.0) (+ x 1.0)) (* (* (/ 1 1.0) (/ x 2.0)) (- (- x 1.0))))

simplify42.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011221443
150011305

prune414.0ms

Filtered
168 candidates to 140 candidates (83.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1662168
Fresh213
Picked011
Done000
Total1684172

Merged error: 0b

Counts
172 → 4

regimes17.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12910
23610
34010
44010

end0.0ms

sample611.0ms

Algorithm
intervals
Results
212.0ms1901×body640valid
123.0ms4168×body80valid
79.0ms567×body1280valid
74.0ms909×body320valid
28.0ms460×body160valid