PR Means absolutely nothing. If you want to know more about what is going on the term is "canonicalization"
You actually brought up a great question... I do agree that there is no issue as long as you redirect your site http://yoursite.com to http://www.yoursite.com.
Technically speaking each example you give is a different URL with its own independent PR. You might well see different PR values if you visit both URLs.