Details

Time bar (total: 1.9s)

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

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: 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)))

rewrite12.0ms

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

series239.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ 1.0 (+ x 1.0))
33.0ms
(/ 1.0 (- x 1.0))
180.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify37.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0295261
11107229
25002220

prune66.0ms

Filtered
34 candidates to 26 candidates (76.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New31334
Fresh000
Picked101
Done000
Total32335

Merged error: 0.3b

Counts
35 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative difference-of-squares
flip3-- flip--
associate-/r* frac-sub
sub-neg
flip3-+ associate--l+ associate-/r/ flip-+ associate--r+
+-commutative associate--l- frac-2neg clear-num div-inv
Counts
3 → 30
Calls
3 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
8.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
4.0ms
(- (- x 1.0) (+ x 1.0))

series113.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0284231
11302220
25001213

prune70.0ms

Filtered
39 candidates to 25 candidates (64.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New36339
Fresh202
Picked101
Done000
Total39342

Merged error: 0.3b

Counts
42 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
13×*-commutative
12×difference-of-squares
associate-/r*
associate-*l/
associate-/r/
flip3-- associate-*l* flip--
frac-2neg clear-num div-inv
neg-mul-1 sub-neg associate-*r* distribute-rgt-neg-out
Counts
3 → 30
Calls
3 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
7.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series147.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(- (* x x) (* 1.0 1.0))
56.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
50.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

simplify133.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (129.0ms)

IterNodesCost
0197187
1750176
24025167
35002166

prune70.0ms

Filtered
39 candidates to 25 candidates (64.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New36339
Fresh202
Picked011
Done000
Total38442

Merged error: 0b

Counts
42 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series95.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0220146
1721130
23982126
35001126

prune56.0ms

Filtered
26 candidates to 24 candidates (92.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New24226
Fresh202
Picked011
Done011
Total26430

Merged error: 0b

Counts
30 → 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
0136
1196
2226
3226

end0.0ms

sample446.0ms

Algorithm
intervals
Results
162.0ms1957×body640valid
95.0ms4203×body80valid
77.0ms1235×body320valid
25.0ms605×body160valid