Details

Time bar (total: 2.0s)

sample17.0ms

Algorithm
intervals
Results
5.0ms62×body640valid
3.0ms138×body80valid
2.0ms36×body320valid
1.0ms20×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune1.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: 13.4b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
0.0b
(/ 1.0 (- x 1.0))
2.3b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-/r/
11×div-inv
prod-diff frac-sub
frac-2neg clear-num
flip-- flip-+
flip3-- flip3-+
fma-neg
distribute-lft-out--
sub-neg
Counts
3 → 37
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
3.0ms
(/ 1.0 (- x 1.0))
7.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series233.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
181.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0392513
11483423
25001388

prune100.0ms

Filtered
46 candidates to 35 candidates (76.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0.3b

Counts
47 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) (/ (- x 1.0) 1.0))
0.0b
(/ (- (- x 1.0) (+ x 1.0)) (* (+ x 1.0) (/ (- x 1.0) 1.0)))
1.5b
(- (- x 1.0) (+ x 1.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-times
18×associate-/r/ associate-/l/
16×flip3-+ flip-+
12×flip3-- flip--
10×associate-*r/
clear-num
frac-sub
frac-2neg
div-sub associate-*l/ associate--r+
associate-/r* div-inv
+-commutative associate--l- sub-neg associate-*r* associate--l+ un-div-inv *-commutative
Counts
3 → 67
Calls
3 calls:
5.0ms
(* (+ x 1.0) (/ (- x 1.0) 1.0))
11.0ms
(/ (- (- x 1.0) (+ x 1.0)) (* (+ x 1.0) (/ (- x 1.0) 1.0)))
4.0ms
(- (- x 1.0) (+ x 1.0))

series191.0ms

Counts
3 → 9
Calls
3 calls:
99.0ms
(* (+ x 1.0) (/ (- x 1.0) 1.0))
85.0ms
(/ (- (- x 1.0) (+ x 1.0)) (* (+ x 1.0) (/ (- x 1.0) 1.0)))
7.0ms
(- (- x 1.0) (+ x 1.0))

simplify105.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
0502613
13084591
25002587

prune176.0ms

Filtered
76 candidates to 66 candidates (86.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73376
Fresh202
Picked101
Done000
Total76379

Merged error: 0.3b

Counts
79 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-times
18×associate-/r/
12×flip3-+ flip-+ associate-/l/
10×associate-*r/
clear-num
frac-2neg
flip3-- flip--
neg-mul-1 associate-*l/ div-inv
times-frac associate-*r* associate-/r* *-commutative
un-div-inv
neg-sub0 div-sub distribute-frac-neg associate-/l*
Counts
2 → 50
Calls
2 calls:
5.0ms
(* (+ x 1.0) (/ (- x 1.0) 1.0))
7.0ms
(/ (- 2.0) (* (+ x 1.0) (/ (- x 1.0) 1.0)))

series160.0ms

Counts
2 → 6
Calls
2 calls:
90.0ms
(* (+ x 1.0) (/ (- x 1.0) 1.0))
69.0ms
(/ (- 2.0) (* (+ x 1.0) (/ (- x 1.0) 1.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0309361
11536352
25002346

prune136.0ms

Filtered
56 candidates to 50 candidates (89.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New53356
Fresh202
Picked101
Done000
Total56359

Merged error: 0b

Counts
59 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-/r/
associate-/l/ associate-/l*
div-inv
frac-2neg clear-num
neg-mul-1
div-sub distribute-frac-neg
neg-sub0 flip3-- times-frac associate-/r* flip--
flip3-+ flip-+
Counts
2 → 32
Calls
2 calls:
4.0ms
(/ (- 2.0) (/ (- x 1.0) 1.0))
7.0ms
(/ (/ (- 2.0) (/ (- x 1.0) 1.0)) (+ x 1.0))

series104.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(/ (- 2.0) (/ (- x 1.0) 1.0))
70.0ms
(/ (/ (- 2.0) (/ (- x 1.0) 1.0)) (+ x 1.0))

simplify29.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0237192
1952175
25001169

prune69.0ms

Filtered
38 candidates to 32 candidates (84.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh112
Picked011
Done000
Total38341

Merged error: 0b

Counts
41 → 3

regimes16.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
0126
1146
2146

end0.0ms

sample459.0ms

Algorithm
intervals
Results
171.0ms1957×body640valid
98.0ms4203×body80valid
78.0ms1235×body320valid
26.0ms605×body160valid