Details

Time bar (total: 1.5s)

sample15.0ms

Algorithm
intervals
Results
7.0ms355×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1333
2733
31123
41293
51313
61313

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series83.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(* (* x (- x y)) 2.0)
38.0ms
(* x (- x y))

simplify39.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0268469
11243316
25001310

prune82.0ms

Filtered
74 candidates to 36 candidates (48.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New72274
Fresh101
Picked101
Done000
Total74276

Merged error: 0.0b

Counts
76 → 2

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r/ associate-*l/
expm1-log1p-u flip3-- associate-*r* *-commutative flip-- log1p-expm1-u add-log-exp
Counts
1 → 22
Calls
1 calls:
7.0ms
(* x (* (- x y) 2.0))

series48.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0144117
155895
2317695
3500295

prune42.0ms

Filtered
25 candidates to 18 candidates (72.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New25025
Fresh011
Picked011
Done000
Total25227

Merged error: 0.0b

Counts
27 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ (pow x 2) (* x (- y))) 2.0)
0.0b
(+ (pow x 2) (* x (- y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt fma-def
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log associate-*l* add-cbrt-cube add-log-exp
unpow-prod-down associate-*r* unpow2
expm1-log1p-u flip3-+ associate-*l/ distribute-rgt-neg-out flip-+ log1p-expm1-u distribute-lft-out
+-commutative unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr sqr-pow
Counts
2 → 47
Calls
2 calls:
7.0ms
(* (+ (pow x 2) (* x (- y))) 2.0)
5.0ms
(+ (pow x 2) (* x (- y)))

series81.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(* (+ (pow x 2) (* x (- y))) 2.0)
32.0ms
(+ (pow x 2) (* x (- y)))

simplify136.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0168276
1771220
24864204
35001204

prune105.0ms

Filtered
53 candidates to 43 candidates (81.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New52153
Fresh000
Picked101
Done011
Total53255

Merged error: 0b

Counts
55 → 2

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
2 → 30
Calls
2 calls:
3.0ms
(* (fma (pow x (/ 2 2)) (pow x (/ 2 2)) (* x (- y))) 2.0)
1.0ms
(fma (pow x (/ 2 2)) (pow x (/ 2 2)) (* x (- y)))

series100.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(* (fma (pow x (/ 2 2)) (pow x (/ 2 2)) (* x (- y))) 2.0)
41.0ms
(fma (pow x (/ 2 2)) (pow x (/ 2 2)) (* x (- y)))

simplify92.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
097262
1372207
22710193
35001192

prune74.0ms

Filtered
36 candidates to 29 candidates (80.6%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New36036
Fresh000
Picked011
Done011
Total36238

Merged error: 0b

Counts
38 → 2

regimes24.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0166
1256
2266
3266

end0.0ms

sample383.0ms

Algorithm
intervals
Results
223.0ms11095×body80valid