i was in the exact same situation.
i spoke to the solicitor about it and we went down on the house deeds as tennants in common with a 60% 40% split to me.
how it worked, say house was 100k, deposit was 20k. then you own 1/5th outright with 4/5th's split 50/50.
How does stuff like that play out in the result of a marriage that produced children but then ended? e.g. man owns 66% of the house who ends the marriage and wants his money out.