Closer

In the opening scene, 24-year-old Alice Ayres (Natalie Portman) and Dan Woolf (Jude Law) see each other for the first time from opposite sides of a street as they are walking toward each other among many other rush hour pedestrians. Alice is a young American stripper who just arrived in London, and Dan is an unsuccessful British author who is on his way to work where he writes obituaries for a newspaper. Alice looks in the wrong direction as she crosses the street and is hit by a taxi cab right in front of Dan's eyes. After he rushes to her side she smiles to him and says, "Hello, stranger." He takes her to the hospital where Alice is treated and released. Afterward, on the way to his office, they stop by Postman's Park, the same park that he and his father visited after his mother's death. Pausing in front of the office before he leaves her and goes to work, Dan reminds her that traffic in England tends to come on from the right, and on impulse, he asks her for her name. They soon become lovers.
A year later, though the two are in a relationship, Dan is straying. He has written a novel based on Alice's life and while being photographed to publicize it, he flirts with the American photographer Anna Cameron (Julia Roberts). Anna shares a kiss with Dan before finding out that Dan and Alice are in a relationship. Alice arrives and borrows Anna's bathroom, leaving Anna and Dan alone again. Dan takes the chance to try to persuade Anna to have an affair with him but is cut short by Alice's return. Alice asks Anna if she can have her portrait taken as well. Anna agrees and Alice asks Dan to leave them alone during the photo shoot. While being photographed, she reveals to Anna that she overheard them, and she is photographed while still weeping over it. Alice does not reveal what she overheard to Dan, even as he spends a year stalking Anna.
Another year later, Dan enters a cybersex chat room and randomly meets Larry Gray (Clive Owen), a British dermatologist. With Anna still on his mind, Dan pretends to be her, and using the pretense that they will be having sex, Dan convinces Larry to meet at the aquarium (where Anna told Dan she often went). Larry goes to the rendezvous and has his rude awakening there. Anna tells Larry that a man who had pursued her, Dan, was most likely to blame for the setup. Soon, Anna and Larry become a couple and they refer to Dan as "Cupid" from then on.
Four months later, at Anna's photo exhibition,[3] Larry meets Alice, whom he recognizes from the tearful photograph that is one of many being exhibited. Larry knows that Alice and Dan are a couple, from talking to Anna. Meanwhile, Dan convinces Anna to become involved with him. They begin cheating on their respective lovers for a year, even though Anna and Larry marry halfway through the year. Eventually Anna and Dan each confess the affair to their respective partners, leaving their relationships for one another.
Alice goes back to being a stripper, heartbroken by her loss. One day, Larry runs into her accidentally at the strip club and he (heart-broken himself) is convinced that she is the girl he met before. He asks her if her name is Alice, but no matter how much money he gives her, she keeps telling him her name is "Jane Jones." He asks her to have a one-night stand with him but she refuses. The line of questioning becomes pornographic, albeit without any explicit nudity.
Eventually, Larry convinces Anna to see him one last time; she agrees to sleep with him so that he will sign the divorce papers and leave her alone. Dan guesses and Anna confesses it to Dan, who takes it badly. Anna returns to Larry. Distraught, Dan confronts Larry to try to get Anna back. Instead, Larry tells him Alice's whereabouts, and suggests that he go back to her. Suddenly, however, out of a sheer malicious impulse, he also tells him that he had a one-night stand with her.
Alice takes Dan back. When Dan asks her whether she had a one-night stand with Larry, she initially denies it. But when he insists on the truth, she suddenly tells him that she doesn't love him anymore and goes on to say that she did sleep with Larry. Dan reveals that Larry had already told him about the one-night stand but that he's already forgiven her. She insists that it's over and tells him to leave. The argument culminates in Dan slapping Alice.




The Alice Ayres tile in Postman's Park, London
In the end, Alice returns to New York. As she passes through the immigration checkpoint on her way back into the United States, a shot of her passport shows that her real name is indeed Jane Rachel Jones. Thus she had lied about her name during her four-year relationship with Dan.
Back in London, Dan returns to Postman's Park, and to his surprise, notices the name "Alice Ayres" on a memorial that is dedicated to a young woman, "who by intrepid conduct," and at the cost of her young life, rescued three children from a fire. The final scene shows Alice/Jane walking on Broadway towards West 47th Street with male passers-by staring at her beauty. This completes the visual symmetry within the film as it echoes the opening scene where Alice/Jane and Dan are staring at each other on the sidewalks of London.

Question: Who's life is Dan's novel based on?
Answer: Alice's