Details

Time bar (total: 1.9s)

sample315.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.029541%

Guaranteed chance to sample good point: 97.951314%

Results
6.0ms256×body80valid
0.0msbody80invalid

simplify406.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
093
1163
2263
3333
4333

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x x) y)
0.2b
(* 0.5 (- (* x x) y))

rewrite15.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
sub-neg associate-*l*
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 38
Calls
2 calls:
4.0ms
(- (* x x) y)
10.0ms
(* 0.5 (- (* x x) y))

series29.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(- (* x x) y)
25.0ms
(* 0.5 (- (* x x) y))

simplify72.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0151193
1618172
22842171
35002171

prune48.0ms

Filtered
31 candidates to 44 candidates (-41.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New42244
Fresh000
Picked011
Done000
Total42345

Merged error: 0b

Counts
45 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) y)
0.4b
(* (sqrt 0.5) (- (* x x) y))
0.7b
(* (sqrt 0.5) (* (sqrt 0.5) (- (* x x) y)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×associate-*l*
10×pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
add-cube-cbrt *-un-lft-identity
sub-neg sqrt-prod
associate-*r/
associate-*r* add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- flip--
*-commutative difference-of-squares unswap-sqr
diff-log
Counts
3 → 73
Calls
3 calls:
4.0ms
(- (* x x) y)
7.0ms
(* (sqrt 0.5) (- (* x x) y))
13.0ms
(* (sqrt 0.5) (* (sqrt 0.5) (- (* x x) y)))

series20.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(- (* x x) y)
6.0ms
(* (sqrt 0.5) (- (* x x) y))
10.0ms
(* (sqrt 0.5) (* (sqrt 0.5) (- (* x x) y)))

simplify38.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0234445
11121390
25002385

prune93.0ms

Filtered
51 candidates to 82 candidates (-60.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh011
Picked011
Done011
Total82385

Merged error: 0b

Counts
85 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (sqrt y))
0.2b
(* (* 0.5 (+ x (sqrt y))) (- x (sqrt y)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r*
frac-times flip3-+ flip-+ add-log-exp
add-cube-cbrt flip3-- pow-prod-down prod-exp flip-- cbrt-unprod
distribute-rgt-in sub-neg distribute-lft-in associate-*l/ difference-of-squares
+-commutative associate-*l* sum-log sqrt-prod *-commutative distribute-lft-out distribute-lft-out--
Counts
2 → 45
Calls
2 calls:
4.0ms
(+ x (sqrt y))
11.0ms
(* (* 0.5 (+ x (sqrt y))) (- x (sqrt y)))

series16.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(+ x (sqrt y))
12.0ms
(* (* 0.5 (+ x (sqrt y))) (- x (sqrt y)))

simplify50.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0336384
11954316
25002312

prune52.0ms

Filtered
36 candidates to 51 candidates (-41.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New51051
Fresh000
Picked011
Done022
Total51354

Merged error: 0b

Counts
54 → 3

regimes183.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
073
173

end0.0ms

sample491.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.029541%

Guaranteed chance to sample good point: 97.951314%

Results
198.0ms8000×body80valid
2.0ms103×body80invalid

Profiling

Loading profile data...