Details

Time bar (total: 2.0s)

sample20.0ms

Algorithm
intervals
Results
9.0ms314×body80valid
0.0msbody640valid
0.0msbody320valid
0.0msbody1280valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0184
1284
2384
3414
4414

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
0.0b
(+ (* x (+ y z)) (* z 5.0))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative
distribute-rgt-in associate-+l+ distribute-lft-in
flip3-+ associate-*r/ flip-+
*-commutative
Counts
2 → 14
Calls
2 calls:
3.0ms
(* x (+ y z))
6.0ms
(+ (* x (+ y z)) (* z 5.0))

series54.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* x (+ y z))
29.0ms
(+ (* x (+ y z)) (* z 5.0))

simplify154.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
011278
134275
2141574
3479674
4500174

prune40.0ms

Filtered
20 candidates to 13 candidates (65.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New17320
Fresh000
Picked011
Done000
Total17421

Merged error: 0.1b

Counts
21 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* z (+ x 5.0)) (* x y))
0.0b
(* z (+ x 5.0))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative
distribute-rgt-in associate-+l+ distribute-lft-in
flip3-+ associate-*r/ flip-+
*-commutative
Counts
2 → 14
Calls
2 calls:
6.0ms
(+ (* z (+ x 5.0)) (* x y))
3.0ms
(* z (+ x 5.0))

series68.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(+ (* z (+ x 5.0)) (* x y))
36.0ms
(* z (+ x 5.0))

simplify155.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
010775
134175
2140774
3481274
4500174

prune42.0ms

Filtered
20 candidates to 12 candidates (60.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New17320
Fresh112
Picked011
Done011
Total18624

Merged error: 0.0b

Counts
24 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* 5.0 5.0))
0.0b
(+ (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)) (* x y))
4.3b
(* z (- (* x x) (* 5.0 5.0)))
6.2b
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
14×*-commutative
12×difference-of-squares
associate-*r*
associate-/l*
flip3-- associate-*r/ flip--
sub-neg
distribute-rgt-in distribute-lft-in associate-/r/ associate-/l/
+-commutative frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
4 → 35
Calls
4 calls:
4.0ms
(- (* x x) (* 5.0 5.0))
11.0ms
(+ (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)) (* x y))
5.0ms
(* z (- (* x x) (* 5.0 5.0)))
9.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

series304.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* x x) (* 5.0 5.0))
94.0ms
(+ (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)) (* x y))
69.0ms
(* z (- (* x x) (* 5.0 5.0)))
94.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

simplify106.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0236226
1765212
23075201
35002201

prune86.0ms

Filtered
47 candidates to 25 candidates (53.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New45247
Fresh123
Picked011
Done112
Total47653

Merged error: 0b

Counts
53 → 6

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ x 5.0))
0.0b
(+ (/ z (/ 1 (+ x 5.0))) (* x y))
0.3b
(/ z (/ 1 (+ x 5.0)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg flip3-+ clear-num associate-/r* flip-+ div-inv
+-commutative inv-pow
Counts
3 → 18
Calls
3 calls:
3.0ms
(/ 1 (+ x 5.0))
7.0ms
(+ (/ z (/ 1 (+ x 5.0))) (* x y))
4.0ms
(/ z (/ 1 (+ x 5.0)))

series96.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ 1 (+ x 5.0))
34.0ms
(+ (/ z (/ 1 (+ x 5.0))) (* x y))
33.0ms
(/ z (/ 1 (+ x 5.0)))

simplify123.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0151111
1591107
23172101
35001101

prune45.0ms

Filtered
27 candidates to 16 candidates (59.3%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New27027
Fresh033
Picked011
Done022
Total27633

Merged error: 0b

Counts
33 → 6

regimes101.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
0124
1124

end0.0ms

sample454.0ms

Algorithm
intervals
Results
225.0ms9777×body80valid
12.0ms117×body1280valid
10.0ms121×body640valid
5.0ms75×body320valid
1.0ms29×body160valid