So after reading all sort of posts and articles about what's on the mind of Bernie Sanders, my impression is that, yes, he genuinely thinks he has somehow earned the right to the Democratic nomination by far exceeding what a grass roots, unfunded by Big Donors campaign should have accomplished. It's true that it's impressive and quite an achievement. It's not true that it — you'll excuse the verb — trumps actually getting more votes. His supporters keep reminding us that he won 22 states as if that's more than half.
At the same time though, he knows he's lost and he's keeping his campaign going because as long as he does, he (a) gets press coverage and (b) has something to trade. And he's going to trade it for various promises and concessions that will — he hopes — keep his party from inching back to the right and will make some of the items on his "to do" list come true.
At least, that's how it looks to me. He doesn't really think he can persuade Superdelegates to take the nomination from the person who got more votes and give it to the person who didn't. And maybe he's still thinking there's a chance of Hillary getting indicted on the e-mail thing but that seems like a longshot.