@JenniferPlantain - That's a tough one. I get that B hasn't been saving wisely (as A recommended), but A has still benefitted from B living there; paying 50% of mortgage, contributions towards renovations, and 100% of childcare costs. That's a lot of saved money for A.
However, they do have a child involved. If they sell, and divide as B suggests, does A have enough for a home (something of a similar standard, even if slightly smaller) for their child (assuming she will be the resident parent here, which I appreciate may be wrong). Will B be able to buy/rent somewhere, with space for the child to visit and stay over? B will also need to pay maintenance for the child. Yep, this is complicated.
I'm also worried about a friend, who is a similar situation. Her and her DP have children from previous relationships; she is pregnant with their first child together (a child which he never wanted, and he was open about that at start of pregnancy). She owns her own home (outright, no mortgage) - he lives with her, and pays rent etc. He has just put in an offer for a bigger property for them all to live in - it will be solely in his name, and he is putting forward all deposit etc. I asked friend if she was keeping her property (I honestly thought, she was selling it, and they were going 50:50 together on new home, in both names) - she said, "Of course, I'm keeping it - it will still be mine, and will be needed to pay the mortgage". The gist of the situation is - friend will be keeping her property, and renting it out - she will then use this money to pay her DP rent to live in his home (fair enough, he has paid her rent for years).
My worry is - things will get sticky. They want to keep their properties separate, as they both have children (makes sense), but his property is bigger, and worth more. If they were to split, I can see his argument being, "You have a property - give your tenants notice, and move back", but her argument will be, "You have larger assets, and we have a child together. I have also paid X into this home."
We do have the kind of relationship, where I can be blunt and speak to her about things, but I could see she was getting defensive when I started to mention the above, and so I backed down (it's her life, not mine). He won't marry her, as he has larger assets (he has already said that).