Details

Time bar (total: 1.5s)

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

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

Counts
2 → 1

localize5.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))

rewrite10.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))

series89.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0290237
11115202
25002187

prune63.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.4b

Counts
32 → 3

localize6.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))
2.7b
(- x (+ x 1.0))

rewrite16.0ms

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

series92.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (+ x 1.0) x)
37.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
8.0ms
(- x (+ x 1.0))

simplify129.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0197143
1727135
24192122
35001122

prune61.0ms

Filtered
33 candidates to 24 candidates (72.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New29433
Fresh202
Picked101
Done000
Total32436

Merged error: 0.0b

Counts
36 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
14×associate-/r/
10×associate-/l/
associate-/r* associate-/l*
frac-2neg clear-num div-inv
flip3-- flip3-+ flip-- flip-+
Counts
2 → 26
Calls
2 calls:
4.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
6.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series67.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0223143
11021130
25001126

prune67.0ms

Filtered
32 candidates to 26 candidates (81.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New32032
Fresh033
Picked011
Done000
Total32436

Merged error: 0.0b

Counts
36 → 4

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-/r/
10×associate-/l/
clear-num
associate-*l/
frac-2neg associate-/r* div-inv associate-/l*
flip3-+ *-commutative flip-+ remove-double-div
flip3-- flip-- inv-pow
Counts
2 → 23
Calls
2 calls:
3.0ms
(* (+ x 1.0) x)
8.0ms
(/ 1 (/ (/ (* (+ x 1.0) x) 1.0) (- 0 1.0)))

series85.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(* (+ x 1.0) x)
37.0ms
(/ 1 (/ (/ (* (+ x 1.0) x) 1.0) (- 0 1.0)))

simplify194.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0146110
1589103
2415095
3500195

prune59.0ms

Filtered
29 candidates to 24 candidates (82.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New28129
Fresh112
Picked011
Done011
Total29433

Merged error: 0.0b

Counts
33 → 4

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
0105
1105

end0.0ms

sample421.0ms

Algorithm
intervals
Results
143.0ms1924×body640valid
91.0ms4195×body80valid
69.0ms1206×body320valid
25.0ms676×body160valid