Details

Time bar (total: 1.7s)

sample14.0ms

Algorithm
intervals
Results
6.0ms337×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2443
3623
4633
5633

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

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- 1.0 (* x y)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- *-commutative flip--
Counts
1 → 7
Calls
1 calls:
3.0ms
(* x (- 1.0 (* x y)))

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(* x (- 1.0 (* x y)))

simplify91.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
06139
116239
262735
3245935
4500335

prune15.0ms

Filtered
10 candidates to 4 candidates (40.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New9110
Fresh000
Picked011
Done000
Total9211

Merged error: 0.1b

Counts
11 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* x y) 3)
0.3b
(* (* x y) (* x y))
1.7b
(* x (- (pow 1.0 3) (pow (* x y) 3)))
9.9b
(/ (* x (- (pow 1.0 3) (pow (* x y) 3))) (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
17×sqr-pow
16×prod-diff
13×unpow3
12×*-commutative
10×distribute-rgt-in unpow-prod-down distribute-lft-in
associate-*r*
associate-*r/ associate-/l*
difference-cubes sub-neg flip3-- swap-sqr associate-*l* associate-/r/ flip-- associate-/l/ difference-of-squares
pow2 pow-to-exp frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
4 → 49
Calls
4 calls:
2.0ms
(pow (* x y) 3)
4.0ms
(* (* x y) (* x y))
7.0ms
(* x (- (pow 1.0 3) (pow (* x y) 3)))
18.0ms
(/ (* x (- (pow 1.0 3) (pow (* x y) 3))) (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))))

series304.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(pow (* x y) 3)
32.0ms
(* (* x y) (* x y))
85.0ms
(* x (- (pow 1.0 3) (pow (* x y) 3)))
138.0ms
(/ (* x (- (pow 1.0 3) (pow (* x y) 3))) (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))))

simplify47.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0317520
11227455
25001402

prune121.0ms

Filtered
61 candidates to 33 candidates (54.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh000
Picked101
Done011
Total59463

Merged error: 0.0b

Counts
63 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- x (* (pow x 2) y))
9.7b
(* (pow x 2) y)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l*
sub-neg flip3-- *-commutative flip-- unpow2 sqr-pow
Counts
2 → 7
Calls
2 calls:
2.0ms
(- x (* (pow x 2) y))
3.0ms
(* (pow x 2) y)

series51.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(- x (* (pow x 2) y))
18.0ms
(* (pow x 2) y)

simplify47.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
06846
124142
2102741
3500240

prune19.0ms

Filtered
13 candidates to 6 candidates (46.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done011
Total13417

Merged error: 0.0b

Counts
17 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* x y) (* x y))
1.5b
(* x (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))))
6.8b
(/ (* x (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y))))) (/ (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))) (- 1.0 (* x y))))
7.0b
(/ (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))) (- 1.0 (* x y)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-/r/
10×*-commutative
times-frac associate-/l/
div-inv
+-commutative distribute-rgt-in associate-+r+ flip3-- distribute-lft-in flip3-+ associate-*r/ flip-- flip-+
frac-2neg clear-num associate-/r*
swap-sqr associate-*r* associate-*l* associate-/l*
pow2
Counts
4 → 47
Calls
4 calls:
4.0ms
(* (* x y) (* x y))
11.0ms
(* x (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))))
24.0ms
(/ (* x (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y))))) (/ (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))) (- 1.0 (* x y))))
16.0ms
(/ (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))) (- 1.0 (* x y)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (* x y) (* x y))
73.0ms
(* x (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))))
43.0ms
(/ (* x (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y))))) (/ (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))) (- 1.0 (* x y))))
90.0ms
(/ (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))) (- 1.0 (* x y)))

simplify45.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0320531
11302442
25002393

prune142.0ms

Filtered
59 candidates to 44 candidates (74.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New58159
Fresh011
Picked101
Done022
Total59463

Merged error: 0b

Counts
63 → 4

regimes48.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
083
183

end0.0ms

sample348.0ms

Algorithm
intervals
Results
189.0ms10574×body80valid