Details

Time bar (total: 1.3s)

sample18.0ms

Algorithm
intervals
Results
7.0ms62×body640valid
3.0ms139×body80valid
2.0ms37×body320valid
1.0ms18×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

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

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series82.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ 1.0 (+ x 1.0))
57.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify36.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0290237
11115202
25002187

prune61.0ms

Filtered
31 candidates to 24 candidates (77.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New28331
Fresh000
Picked101
Done000
Total29332

Merged error: 0.3b

Counts
32 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
neg-mul-1 times-frac associate-*l* *-commutative
associate-*l/ distribute-neg-frac
associate-/r* associate-/l*
distribute-lft-neg-out flip3-- flip3-+ associate-*r/ associate-/r/ flip-- flip-+ associate-/l/ associate--r+
+-commutative sub-neg frac-2neg distribute-frac-neg clear-num div-inv
Counts
3 → 34
Calls
3 calls:
3.0ms
(* (- (+ x 1.0)) x)
8.0ms
(/ (* (- 1.0) (- x (+ x 1.0))) (* (- (+ x 1.0)) x))
2.0ms
(- x (+ x 1.0))

series102.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(* (- (+ x 1.0)) x)
34.0ms
(/ (* (- 1.0) (- x (+ x 1.0))) (* (- (+ x 1.0)) x))
9.0ms
(- x (+ x 1.0))

simplify30.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0268225
1990206
25002189

prune73.0ms

Filtered
43 candidates to 31 candidates (72.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New40343
Fresh202
Picked101
Done000
Total43346

Merged error: 0.0b

Counts
46 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l*
associate-*l/ associate-/r/ associate-/l/ distribute-neg-frac
frac-2neg associate-*l* clear-num div-inv
neg-mul-1 flip3-+ associate-/r* flip-+
*-commutative
Counts
2 → 18
Calls
2 calls:
3.0ms
(/ 1.0 (- (+ x 1.0)))
6.0ms
(/ (* (/ 1.0 (- (+ x 1.0))) 1.0) x)

series57.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0172108
1489102
2245899
3500196

prune50.0ms

Filtered
24 candidates to 21 candidates (87.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New23124
Fresh112
Picked011
Done000
Total24327

Merged error: 0b

Counts
27 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
36×frac-times
28×associate-/r/
25×clear-num
23×frac-2neg
16×associate-/l/ distribute-neg-frac
12×associate-*l/
neg-mul-1 flip3-+ flip-+ associate-/l*
associate-*r/
div-inv
associate-/r*
associate-*r* associate-*l* un-div-inv *-commutative
distribute-lft-neg-out distribute-frac-neg inv-pow
Counts
2 → 68
Calls
2 calls:
6.0ms
(* (/ (- (+ x 1.0)) 1.0) (/ x 1.0))
9.0ms
(/ 1 (* (/ (- (+ x 1.0)) 1.0) (/ x 1.0)))

series93.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(* (/ (- (+ x 1.0)) 1.0) (/ x 1.0))
34.0ms
(/ 1 (* (/ (- (+ x 1.0)) 1.0) (/ x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0371331
11728294
25001293

prune128.0ms

Filtered
74 candidates to 61 candidates (82.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh011
Picked011
Done011
Total74377

Merged error: 0b

Counts
77 → 3

regimes15.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
0125
1135
2135

end0.0ms

sample399.0ms

Algorithm
intervals
Results
142.0ms1957×body640valid
85.0ms4201×body80valid
66.0ms1236×body320valid
22.0ms606×body160valid