Details

Time bar (total: 2.1s)

sample21.0ms

Algorithm
intervals
Results
10.0ms472×body80valid

simplify311.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93124
106404
1131804
1250014

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.0b
(+ (* x x) (* y y))
0.1b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
associate-+l+
+-commutative
flip3-+ flip-+
Counts
3 → 15
Calls
3 calls:
6.0ms
(+ (+ (* x x) (* y y)) (* y y))
4.0ms
(+ (* x x) (* y y))
8.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series97.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(+ (+ (* x x) (* y y)) (* y y))
26.0ms
(+ (* x x) (* y y))
34.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify93.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0146166
1673142
22485122
35001122

prune54.0ms

Filtered
24 candidates to 17 candidates (70.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New20424
Fresh000
Picked101
Done000
Total21425

Merged error: 0.1b

Counts
25 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x 2) (* y (+ y y)))
0.1b
(+ (* y y) (+ (pow x 2) (* y (+ y y))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
14×associate-+r+
+-commutative
distribute-rgt-in distribute-lft-in
flip3-+ flip-+
Counts
2 → 16
Calls
2 calls:
5.0ms
(+ (pow x 2) (* y (+ y y)))
7.0ms
(+ (* y y) (+ (pow x 2) (* y (+ y y))))

series71.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (pow x 2) (* y (+ y y)))
38.0ms
(+ (* y y) (+ (pow x 2) (* y (+ y y))))

simplify89.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0130131
1557124
22301124
35001124

prune35.0ms

Filtered
22 candidates to 10 candidates (45.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New20222
Fresh303
Picked011
Done000
Total23326

Merged error: 0.0b

Counts
26 → 3

localize7.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* 3 y) y)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l* *-commutative
Counts
1 → 3
Calls
1 calls:
3.0ms
(* (* 3 y) y)

series24.0ms

Counts
1 → 3
Calls
1 calls:
24.0ms
(* (* 3 y) y)

simplify183.0ms

Algorithm
egg-herbie
Counts
6 → 6
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0128
1268
2688
31778
45798
533048
650018

prune7.0ms

Filtered
6 candidates to 2 candidates (33.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New606
Fresh011
Picked011
Done011
Total639

Merged error: 0.0b

Counts
9 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y y) (+ (pow x 2) (* y (+ y y))))
0.2b
(* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))
11.6b
(+ (- (* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))) (pow y 4))
33.2b
(/ (+ (- (* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))) (pow y 4)) (- (* y y) (+ (pow x 2) (* y (+ y y)))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
22×distribute-rgt-in distribute-lft-in
20×associate-+r+
16×+-commutative
12×associate-+l+ distribute-neg-in
flip3-+ flip-+
associate--r+
frac-times
neg-sub0 associate-+l- flip3-- associate-*r/ associate-*l/ associate-/r/ flip-- associate-/l/
pow2 sub-neg frac-2neg div-sub clear-num *-commutative div-inv
Counts
4 → 56
Calls
4 calls:
8.0ms
(- (* y y) (+ (pow x 2) (* y (+ y y))))
10.0ms
(* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))
13.0ms
(+ (- (* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))) (pow y 4))
19.0ms
(/ (+ (- (* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))) (pow y 4)) (- (* y y) (+ (pow x 2) (* y (+ y y)))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- (* y y) (+ (pow x 2) (* y (+ y y))))
46.0ms
(* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))
61.0ms
(+ (- (* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))) (pow y 4))
108.0ms
(/ (+ (- (* (+ (pow x 2) (* y (+ y y))) (+ (pow x 2) (* y (+ y y))))) (pow y 4)) (- (* y y) (+ (pow x 2) (* y (+ y y)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0360886
11603804
25002801

prune130.0ms

Filtered
68 candidates to 37 candidates (54.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New65368
Fresh000
Picked101
Done022
Total66571

Merged error: 0.0b

Counts
71 → 5

regimes51.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
0114
1114

end0.0ms

sample510.0ms

Algorithm
intervals
Results
299.0ms14378×body80valid