Details

Time bar (total: 1.7s)

sample15.0ms

Algorithm
intervals
Results
4.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
frac-2neg clear-num
div-inv
associate-/r/
sub-neg flip3-- flip3-+ flip-- flip-+ distribute-lft-out--
Counts
2 → 19
Calls
2 calls:
3.0ms
(/ 1.0 (+ x 1.0))
6.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series96.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0242189
1905164
25002151

prune45.0ms

Filtered
25 candidates to 18 candidates (72.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New22325
Fresh000
Picked101
Done000
Total23326

Merged error: 0.3b

Counts
26 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
45×associate-/l/
39×clear-num
37×frac-2neg
30×frac-times frac-add distribute-neg-frac
24×associate-/r/
19×div-inv
16×flip3-+ flip-+
10×associate-*l/
distribute-lft-neg-in distribute-rgt-out associate-*r/
times-frac associate-/r*
div-sub associate-*r* associate-*l* *-commutative
neg-sub0 associate-+r- unsub-neg un-div-inv
+-commutative associate-/l*
Counts
3 → 105
Calls
3 calls:
5.0ms
(* (/ (+ x 1.0) 1.0) (/ x 1.0))
17.0ms
(/ (+ (/ x 1.0) (- (/ (+ x 1.0) 1.0))) (* (/ (+ x 1.0) 1.0) (/ x 1.0)))
6.0ms
(+ (/ x 1.0) (- (/ (+ x 1.0) 1.0)))

series99.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (131.0ms)

IterNodesCost
0636904
14057784
25001775

prune236.0ms

Filtered
114 candidates to 94 candidates (82.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1122114
Fresh202
Picked101
Done000
Total1152117

Merged error: 0.3b

Counts
117 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
30×frac-times
24×associate-/r/
23×clear-num
21×frac-2neg
16×associate-/l/
10×associate-*l/
flip3-+ flip-+
div-inv
associate-*r/
neg-mul-1
times-frac associate-/r*
associate-*r* associate-*l* *-commutative
un-div-inv
neg-sub0 div-sub distribute-frac-neg associate-/l*
Counts
2 → 65
Calls
2 calls:
5.0ms
(* (/ (+ x 1.0) 1.0) (/ x 1.0))
8.0ms
(/ (- 1.0) (* (/ (+ x 1.0) 1.0) (/ x 1.0)))

series93.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0366348
11924334
25002333

prune125.0ms

Filtered
71 candidates to 56 candidates (78.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New69271
Fresh101
Picked011
Done000
Total70373

Merged error: 0b

Counts
73 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
38×associate-/r/
28×times-frac div-inv
15×distribute-lft-neg-in distribute-rgt-neg-in
12×clear-num
11×frac-2neg flip3-+ flip-+
frac-times
associate-*r* associate-*l* *-commutative
associate-/l*
neg-mul-1
associate-/r*
associate-*r/ associate-*l/ associate-/l/ distribute-neg-frac
neg-sub0 div-sub distribute-frac-neg un-div-inv
Counts
2 → 68
Calls
2 calls:
3.0ms
(/ 1.0 (+ x 1.0))
9.0ms
(/ (- (/ 1.0 (+ x 1.0))) (* (/ 1 1.0) (/ x 1.0)))

series63.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0425514
12137453
25001453

prune131.0ms

Filtered
74 candidates to 58 candidates (78.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New73174
Fresh101
Picked011
Done011
Total74377

Merged error: 0b

Counts
77 → 3

regimes13.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
0187
1187

end0.0ms

sample402.0ms

Algorithm
intervals
Results
141.0ms1957×body640valid
81.0ms4201×body80valid
71.0ms1236×body320valid
22.0ms606×body160valid