Alex is a young, ultra-wealthy millionaire living in Los Angeles. He buys a mansion in Bel Air from a pop star, so the house is legally his.
Later, Alex has an affair with his cousin’s wife, Maya. They have a child together, but Alex and Maya are not married. (nor have they ever been married they had a one night stand and a child together)
Question:
Does Maya have any legal right to Alex’s Bel Air mansion simply because they have a child together, even though they are not married?
Same question applies if genders are reversed.


My (adopted) step father got custody over my mother for my siblings and I. My mother was on disability, so we got SSI checks (like $40 bucks a month per kid, in the late 1990’s. He never paid her nothing after the divorce (she got the house, then promptly got it forclosed on).