If this a woman instead of a man would we be giving the same advice?
Yes it would be the same from me. It's naive to live in your boyfriend or girlfriends house and expect to make a financial claim on it when you split.
That's why marriage gives you financially security, even though people insist it's just a piece of paper and we don't need it because we love each other ... well love doesn't pay the bills when you split up now does it.
There is nothing like man and wife, unless you actually are man and wife.
Anything else requires a multitude of legal documents, which they clearly haven't done.
If I was just a girlfriend and my name wasn't on the mortgage, I wouldn't expect anything.
He should have sought proper legal advice and purchased the house as a 'tenant in common/ joint tenancy', but without actually being on the mortgage.
That said, if he has actually contributed to the mortgage and was instrumental in the purchase (did he share the initial deposit ?), then I would feel from a moral view, that he is entiltled to something.