Details

Time bar (total: 1.5s)

sample15.0ms

Algorithm
intervals
Results
7.0ms350×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0143
1333
2733
31123
41293
51313
61313

prune5.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.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x x) (* x y))
0.0b
(* 2.0 (- (* x x) (* x y)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*l* prod-diff
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u distribute-lft-out--
fma-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 46
Calls
2 calls:
4.0ms
(- (* x x) (* x y))
6.0ms
(* 2.0 (- (* x x) (* x y)))

series81.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(- (* x x) (* x y))
50.0ms
(* 2.0 (- (* x x) (* x y)))

simplify146.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0182265
1814234
24686230
35001230

prune73.0ms

Filtered
52 candidates to 38 candidates (73.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New50252
Fresh000
Picked101
Done000
Total51253

Merged error: 0b

Counts
53 → 2

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (* 2.0 x) (- x y))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
18×prod-diff
16×add-sqr-sqrt *-un-lft-identity
14×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/
expm1-log1p-u flip3-- associate-*l* *-commutative flip-- log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 46
Calls
1 calls:
8.0ms
(* (* 2.0 x) (- x y))

series46.0ms

Counts
1 → 3
Calls
1 calls:
46.0ms
(* (* 2.0 x) (- x y))

simplify46.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0297433
11306284
25001272

prune38.0ms

Filtered
49 candidates to 19 candidates (38.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New49049
Fresh011
Picked011
Done000
Total49251

Merged error: 0b

Counts
51 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (/ (* (pow x 2) (- (pow x 2) (* y y))) (fma x x (* x y))))
0.0b
(fma x x (* x y))
10.2b
(* (pow x 2) (- (pow x 2) (* y y)))
27.2b
(/ (* (pow x 2) (- (pow x 2) (* y y))) (fma x x (* x y)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
35×add-exp-log
26×add-sqr-sqrt
20×add-cbrt-cube
16×add-cube-cbrt *-un-lft-identity prod-diff
14×associate-*r* prod-exp
11×unpow-prod-down associate-*l*
10×distribute-rgt-in distribute-lft-in
div-exp
pow1 times-frac cbrt-unprod
associate-*r/ unpow2 unswap-sqr sqr-pow
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp difference-of-squares
pow-to-exp pow-exp associate-/r*
sub-neg flip3-- *-commutative flip-- div-inv associate-/l/
frac-2neg pow-prod-down clear-num fma-udef associate-/l*
Counts
4 → 123
Calls
4 calls:
10.0ms
(* 2.0 (/ (* (pow x 2) (- (pow x 2) (* y y))) (fma x x (* x y))))
1.0ms
(fma x x (* x y))
10.0ms
(* (pow x 2) (- (pow x 2) (* y y)))
11.0ms
(/ (* (pow x 2) (- (pow x 2) (* y y))) (fma x x (* x y)))

series276.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* 2.0 (/ (* (pow x 2) (- (pow x 2) (* y y))) (fma x x (* x y))))
34.0ms
(fma x x (* x y))
53.0ms
(* (pow x 2) (- (pow x 2) (* y y)))
89.0ms
(/ (* (pow x 2) (- (pow x 2) (* y y))) (fma x x (* x y)))

simplify82.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
04741215
123671035
250011031

prune217.0ms

Filtered
135 candidates to 82 candidates (60.7%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh000
Picked011
Done011
Total1352137

Merged error: 0b

Counts
137 → 2

regimes25.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample399.0ms

Algorithm
intervals
Results
232.0ms11027×body80valid