Details

Time bar (total: 1.6s)

sample15.0ms

Algorithm
intervals
Results
7.0ms350×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)))

series45.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
06139
116239
262735
3245935
4500335

prune13.0ms

Filtered
10 candidates to 4 candidates (40.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New8210
Fresh000
Picked101
Done000
Total9211

Merged error: 0.1b

Counts
11 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
associate-*r*
distribute-lft-neg-in distribute-rgt-neg-out
distribute-rgt-out fma-def distribute-rgt-neg-in
+-commutative neg-mul-1 flip3-+ unsub-neg flip-+ distribute-lft-out
Counts
2 → 17
Calls
2 calls:
5.0ms
(+ (* x 1.0) (* x (- (* x y))))
3.0ms
(* x (- (* x y)))

series67.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* x 1.0) (* x (- (* x y))))
26.0ms
(* x (- (* x y)))

simplify129.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
09971
145263
2312360
3500158

prune39.0ms

Filtered
23 candidates to 14 candidates (60.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New22123
Fresh011
Picked011
Done000
Total22325

Merged error: 0.0b

Counts
25 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* -1 (* (pow x 2) y)))
12.2b
(* (pow x 2) y)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
fma-def mul-1-neg associate-*l* *-commutative
+-commutative flip3-+ unsub-neg flip-+ unpow2 sqr-pow
Counts
2 → 10
Calls
2 calls:
6.0ms
(+ (* x 1.0) (* -1 (* (pow x 2) y)))
3.0ms
(* (pow x 2) y)

series62.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(+ (* x 1.0) (* -1 (* (pow x 2) y)))
18.0ms
(* (pow x 2) y)

simplify107.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
08656
135452
2220343
3500241

prune27.0ms

Filtered
16 candidates to 10 candidates (62.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New16016
Fresh011
Picked011
Done011
Total16319

Merged error: 0.0b

Counts
19 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
4.0ms
(* (* x y) (* x y))
2.0ms
(pow (* x y) 3)
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)))))

series310.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (* x y) (* x y))
54.0ms
(pow (* x y) 3)
87.0ms
(* x (- (pow 1.0 3) (pow (* x y) 3)))
137.0ms
(/ (* x (- (pow 1.0 3) (pow (* x y) 3))) (+ (* 1.0 1.0) (+ (* (* x y) (* x y)) (* 1.0 (* x y)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0317526
11222459
25002405

prune126.0ms

Filtered
61 candidates to 34 candidates (55.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New56561
Fresh000
Picked101
Done022
Total57764

Merged error: 0.0b

Counts
64 → 7

regimes58.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
0185
1235
2245
3245

end0.0ms

sample386.0ms

Algorithm
intervals
Results
213.0ms10680×body80valid