Details

Time bar (total: 2.5s)

sample19.0ms

Algorithm
intervals
Results
6.0ms59×body1280valid
3.0ms139×body80valid
2.0ms24×body640valid
1.0ms24×body320valid
0.0ms10×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

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: 27.6b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
15×frac-sub
10×frac-2neg clear-num
associate-/l/
flip3-+ flip-+
associate-/r/
flip3-- flip-- div-inv
sub-neg
Counts
3 → 31
Calls
3 calls:
3.0ms
(/ x (+ x 1.0))
4.0ms
(/ (+ x 1.0) (- x 1.0))
8.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series211.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ x (+ x 1.0))
38.0ms
(/ (+ x 1.0) (- x 1.0))
134.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify62.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0410393
12108367
25002349

prune92.0ms

Filtered
40 candidates to 34 candidates (85.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh000
Picked101
Done000
Total37441

Merged error: 0.2b

Counts
41 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-/r/
12×associate-/l/ associate--r+
10×frac-times
associate-+r+ flip3-- flip--
div-sub
+-commutative frac-2neg clear-num
flip3-+ associate-*l/ flip-+
distribute-rgt-in distribute-lft-in div-inv
associate-/r*
associate-*r/
sub-neg associate-*l* *-commutative
Counts
4 → 52
Calls
4 calls:
3.0ms
(/ (+ x 1.0) x)
3.0ms
(/ (+ x 1.0) x)
10.0ms
(/ (- x (+ 1.0 (* (/ (+ x 1.0) x) (+ x 1.0)))) (* (/ (+ x 1.0) x) (- x 1.0)))
4.0ms
(- x (+ 1.0 (* (/ (+ x 1.0) x) (+ x 1.0))))

series224.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ (+ x 1.0) x)
50.0ms
(/ (+ x 1.0) x)
88.0ms
(/ (- x (+ 1.0 (* (/ (+ x 1.0) x) (+ x 1.0)))) (* (/ (+ x 1.0) x) (- x 1.0)))
35.0ms
(- x (+ 1.0 (* (/ (+ x 1.0) x) (+ x 1.0))))

simplify55.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0441568
11908527
25002516

prune135.0ms

Filtered
64 candidates to 52 candidates (81.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New61364
Fresh213
Picked101
Done000
Total64468

Merged error: 0.0b

Counts
68 → 4

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-times
17×associate-/r/
16×associate-/l/
13×flip3-- flip--
10×associate-*l/
frac-2neg clear-num
flip3-+ flip-+
associate-*r/ div-inv
div-sub associate-/r*
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
associate--l- neg-sub0
Counts
3 → 55
Calls
3 calls:
6.0ms
(* (/ (+ x 1.0) x) (- x 1.0))
3.0ms
(/ (+ x 1.0) x)
10.0ms
(/ (- (/ (- 1.0) x) 3.0) (* (/ (+ x 1.0) x) (- x 1.0)))

series241.0ms

Counts
3 → 9
Calls
3 calls:
107.0ms
(* (/ (+ x 1.0) x) (- x 1.0))
45.0ms
(/ (+ x 1.0) x)
89.0ms
(/ (- (/ (- 1.0) x) 3.0) (* (/ (+ x 1.0) x) (- x 1.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0430469
11927458
25001451

prune150.0ms

Filtered
64 candidates to 54 candidates (84.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New61364
Fresh303
Picked101
Done000
Total65368

Merged error: 0b

Counts
68 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
45×associate-/r/
27×associate-/r*
24×frac-times
15×flip3-- flip--
13×clear-num
12×frac-2neg associate-*l/ div-inv
flip3-+ associate-*l* flip-+
associate-*r/
div-sub
distribute-rgt-in sub-neg distribute-lft-in *-commutative associate-/l/
associate--l- neg-sub0 remove-double-div inv-pow
Counts
4 → 78
Calls
4 calls:
3.0ms
(/ x (+ x 1.0))
7.0ms
(* (/ 1 (/ x (+ x 1.0))) (- x 1.0))
11.0ms
(/ (- (/ (- 1.0) x) 3.0) (* (/ 1 (/ x (+ x 1.0))) (- x 1.0)))
4.0ms
(/ 1 (/ x (+ x 1.0)))

series284.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ x (+ x 1.0))
103.0ms
(* (/ 1 (/ x (+ x 1.0))) (- x 1.0))
91.0ms
(/ (- (/ (- 1.0) x) 3.0) (* (/ 1 (/ x (+ x 1.0))) (- x 1.0)))
49.0ms
(/ 1 (/ x (+ x 1.0)))

simplify97.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0504595
12991537
25002537

prune191.0ms

Filtered
90 candidates to 74 candidates (82.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New90090
Fresh022
Picked011
Done000
Total90393

Merged error: 0b

Counts
93 → 3

regimes12.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0199
1199

end0.0ms

sample537.0ms

Algorithm
intervals
Results
190.0ms1737×body1280valid
106.0ms1253×body640valid
96.0ms4086×body80valid
36.0ms584×body320valid
15.0ms340×body160valid