Details

Time bar (total: 2.3s)

sample15.0ms

Algorithm
intervals
Results
3.0ms47×body640valid
3.0ms141×body80valid
3.0ms48×body320valid
1.0ms20×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: 12.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
3.2b
(- (/ 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))
5.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series84.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(/ 1.0 (+ x 1.0))
56.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify32.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0242189
1905164
25002151

prune48.0ms

Filtered
25 candidates to 18 candidates (72.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New21425
Fresh000
Picked101
Done000
Total22426

Merged error: 0.3b

Counts
26 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.0ms

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

series100.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0287268
11420251
25001239

prune103.0ms

Filtered
52 candidates to 42 candidates (80.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh303
Picked101
Done000
Total52456

Merged error: 0.0b

Counts
56 → 4

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (/ (- 0 1.0) x) (+ x 1.0))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
frac-2neg div-sub distribute-frac-neg clear-num associate-/r/ div-inv
flip3-- flip3-+ sub0-neg flip-- flip-+ associate-/l*
Counts
1 → 13
Calls
1 calls:
5.0ms
(/ (/ (- 0 1.0) x) (+ x 1.0))

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(/ (/ (- 0 1.0) x) (+ x 1.0))

simplify1.1s

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
014479
162867
2467167
3500167

prune34.0ms

Filtered
16 candidates to 13 candidates (81.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh123
Picked011
Done000
Total16420

Merged error: 0.0b

Counts
20 → 4

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.4b
(/ (- (* 0 0) (* 1.0 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
31×*-commutative
20×difference-of-squares
16×times-frac
10×associate-*l*
associate-*l/
associate-/r* associate-/l*
flip3-+ associate-/r/ flip-+ associate-/l/
flip3-- frac-2neg div-sub clear-num flip-- div-inv
Counts
2 → 35
Calls
2 calls:
3.0ms
(* (+ x 1.0) x)
9.0ms
(/ (- (* 0 0) (* 1.0 1.0)) (* (* (+ x 1.0) x) 1.0))

series83.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(* (+ x 1.0) x)
41.0ms
(/ (- (* 0 0) (* 1.0 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0226217
11406190
25001170

prune56.0ms

Filtered
41 candidates to 23 candidates (56.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New39241
Fresh202
Picked011
Done011
Total41445

Merged error: 0.0b

Counts
45 → 4

regimes15.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
0115
1135
2155
3195
4215
5215

end0.0ms

sample414.0ms

Algorithm
intervals
Results
139.0ms1924×body640valid
90.0ms4195×body80valid
72.0ms1206×body320valid
25.0ms676×body160valid