Elementary Wiki
Elementary Wiki
S02E02-Holmes Marcus discover equations
This page is a transcript for the episode "Solve for X" from the second season of Elementary.

Benny Charles: Give me everything you got! Now! Are you deaf?! Come on!
Office Worker: Please, I don't want any trouble.

Charles: Please! I don't want any trouble!

Joey Castoro: Dr. Watson?
Joan Watson: Joey!
Castoro: Hey, hey!
Watson: Hi.
Castoro: Long time. Been a while, huh?
Watson: Yeah. What, three years?
Castoro: Yeah. Uh, you remembered Dad's birthday.
Watson: Well, a day late, but yeah.
Castoro: Hmm.
Watson: You caught me.
Castoro: Mmm. Nice thing about coming the day after, you're less likely to run into my Mom. It's nice of you to come and see him.
Watson: I liked him. He was a good man.
Castoro: You're a good doctor. Hey, let me buy you a coffee, we can catch up.
Watson: I'm supposed to meet a friend I work with, so...
Castoro: Come on, just one cup.

Sherlock Holmes: Detective Bell. Sorry I'm late.
Detective Bell: You're not late, you texted me and said you heard on your scanner there'd been a shooting. I texted you back, told you I didn't need any help.
Holmes: Actually, you wrote, and I quote, "Yes, please, now, triple-smiley face, with tongue protruding".
Bell: What? Yeah, see, that's not from me. That's from someone named Bella, and you got it last December. My name is Bell, no "A," but I can see how you might've confused us. It's not like you're into details or anything.
Holmes: How embarrassing. Anyway, now that I'm here...

Bell: Vic's name is Felix Soto. He's a math tutor. Lives here alone.
Holmes: I was under the impression that two men had been shot.
Bell: Two were. Second victim, guy named Benny Charles, was shot in the driveway right out there. Funny thing is, far as we can tell, they didn't know each other. About 90 seconds before Mr. Charles got shot last night, he mugged someone around the corner. I think he ducked into the driveway to count his loot.
Holmes: Wrong place, wrong time?
Bell: Well unless you believe in karma.
Holmes: So I'm assuming, from the absence of his body, that Mr. Charles survived.
Bell: Barely. First officers on the scene managed to stop the bleeding, but he never regained consciousness. He's in surgery now. I'm hearing it doesn't look good. Hey, where's your better half this morning?
Holmes: One mystery at a time, Detective. So, not much evidence to suggest it was a robbery gone wrong, too many valuables have been left behind.
Bell: A neighbor heard Mr. Soto arguing with another man a few nights ago, but never got a good look at the guy. We're reaching out to his family, see if they can think of anyone who had beef with him. Interesting space, huh?
Holmes: Minimalist.
Bell: The other rooms aren't. There's art and pictures hung up. I wondered for a second if maybe the shooter took some down, but aren't any nail holes.
Holmes: You always been this observant? I'm asking that quite sincerely. I was wondering if exposure to my methods had helped you in any way.
Bell: Actually, before you came along, I'd never closed a case before. Neither had the rest of the department. Most of us were thinking of packing up, leaving, letting the city fend for itself.
Holmes: We need to find the black light.
Bell: The what?
Holmes: There's a chemical known as C.A.M. phosphor on the walls, smells like spent matchsticks. Smell it. Smell it. It's the primary ingredient of an ink which can only be seen when exposed to, when it exposed to ultraviolet light. Hmm?
Bell: Oh.
Holmes: Thank you.
Bell: What is it?
Holmes: Well, I'm going to take a very literal stab in the dark and say maths. Question is does it have anything to do with Mr. Soto's death?

Castoro: Still can't believe you're a cop.
Watson: I, I'm not a cop. I'm a consulting...
Castoro: Yeah. A consulting detective. Still, you, like, go to crime scenes and put away bad guys.
Watson: Well, it's a little more complicated than that, but yeah. Well, sometimes we do. Um, what about you? You're graduating this year, right?
Castoro: Uh, I don't know. I um, had a kind of rough time junior year. I was thinking about my Dad a lot. Probably partying a little more than I should've. Actually um, I left right before my spring semester.
Watson: Oh. I'm sorry to hear that.
Castoro: Yeah, it is what it is, right? Besides, I got some stuff going on, stuff I'm very excited about.
Watson: Yeah?
Castoro: This is my bar.
Watson: You bought a bar?
Well, I'm about to buy a bar, me and a buddy. And, you know, we're just getting together the funding right now, but we are this close, Doc.
Watson: Oh. Joan. You should call me Joan now.
Castoro: Ah, sorry. Old habits. You don't like it?
Watson: No. It's just, I just remember how excited you were about studying to become an engineer, how happy it made your Dad.
Castoro: Well, the school took away my scholarship when I dropped out, so, so without that, can't exactly go back.
Watson: Yeah.
Castoro: It's funny, it's like I can't help wondering if we were supposed to run into each other this morning. My partner and me, we have big plans for this place, and I know that anyone that invests with us is gonna double their money. Like, at least.
Watson: Are you asking me for a loan?
Castoro: No, I'm, I'm offering you an opportunity. And you were always so good to me. You know? You, you held my hand when Dad got sick. Now I just, you know, maybe I can pay you back a little. Hey, I even found this little spot in the back room to hang his picture. You know, just so he can always be there, always.
Watson: So, how much do you need?

Harlan Emple: If you're looking for Sherlock, he's downstairs.
Watson: Okay. I will go there now.

Holmes: His name is Harlan Emple. He is the Rachel P. Hanson Professor for Applied Mathematics at Columbia University, and holder of the Smithfield Endowed Chair of Algebraic Geometry at the Huntington Institute.
Watson: And he is here to help you make sense of the equations you found. Okay, I get that. What I don't get is why he isn't wearing a shirt.
Holmes: Every great thinker has a process, Watson. In Harlan's case, he doesn't like anything to come between him and the numbers. I know you can feel quite Victorian about such matters, so I've given him a little bell to ring should he feel the need to disrobe entirely. Having said that, I can't guarantee he won't sit on the furniture.
Watson: How do you know him again?
Holmes: In 1999, he devised a mathematical model which he believed could accurately predict crime patterns in and around New York City. Ultimately, didn't work, but I found the premise quite fascinating. We've been corresponding ever since.
Watson: Do you really think this guy was killed over math?
Holmes: Mr. Soto obviously went to great lengths to conceal his calculations. Whether they have any real value, or are just the numerical ramblings of a math-obsessed madman, is for Harlan to determine. Eggs?
Watson: Uh no, thanks. Hey, I was wondering if it was possible to get an advance on my salary.
Holmes: Define "advance".
Watson: $5,000. I ran into someone this morning. He's the son of an old friend of mine. He's trying to get this business off the ground. I thought I'd help him out. I just maxed out on my IRA contributions, so I cannot take money back, otherwise I will get massive penalties.
Holmes: You must really believe in this young man.
Watson: Well, I'd like to see him take a shot at this.
Holmes: Not quite the same thing, though, is it?

Emple: Sherlock! I know what the formula is! And it is a doozy. Okay, so the first thing you need to know is that the guy who wrote this was a genius.
Holmes: Guys with an "S". There were two mathematicians at work here. One was Felix Soto. These parts of the equation are a match for handwriting samples I took from his home. These scribbles are from another man yet to be identified.
Emple: How, how do you know it was a man?
Watson: There is an inconsistency to the gradient here. Some of the letters slant to the right, others to the left. Also, the stem of the "P" here and the "D" here are looped instead of doubled back. It doesn't guarantee the writer was male, but it's a strong indicator.
Emple: Fine. Then these guys are geniuses. The point is, I know what they were working on. It's P versus NP! Come on, it's one of the most famous problems in math history.
Holmes: Harlan, if we were mathematicians, you would not be here.
Emple: In simplest terms, P versus NP asks if every problem whose solution can be quickly verified by a computer can also be quickly solved by a computer. Sounds innocent enough, right? Only it's not. It is filthy. Some experts have even theorized that it can't be solved.
Holmes: Could it be a motive for murder?
Emple: That depends. You think a million dollars could be a motive for murder?
Watson: I'm sorry. You're saying this is worth a million dollars?
Emple: No, but it is getting there. I mean, this is the farthest I have ever seen anyone take P versus NP. I mean, if I if I had to guess, I would say that these guys are months, maybe weeks from solving it.
Holmes: But who would pay a million dollars for the solution to a mathematical problem?
Emple: The Clay Mathematics Institute in Rhode Island. They're a non-profit dedicated to promoting math interest. But the thing that they are most famous for is The Millennium Prizes. They offer a million dollars to anyone who can solve just one of the seven hardest problems in the world.
Watson: And P versus NP is one of the seven.
Holmes: We know that the dead man, Soto, was working with a partner.
Watson: And you said that Soto's neighbor heard him arguing with another man a few nights ago.
Holmes: Perhaps the partner thought he could complete the problem himself. Take the prize money without having to share it.
Emple: For what it's worth, your victim would not have been working with just any mathematician. P versus NP is the kind of problem that people devote their lives to. There is a whole P versus NP community.
Holmes: A community which you could help us gain access to?
Emple: Well, I sort of travel in different mathematical circles. But I do know somebody who's pretty involved. Tanya Barrett. She's a professor at Triboro College.

Tanya Barrett: I heard about what happened to Felix on the news this morning. I still can't believe it.
Watson: Were you two close?
Barrett: I met him when I wrote my articles, but that was years ago.
Holmes: It's our understanding, Professor Barrett, that you are a veritable who's who guide to the world of P versus NP.
Barrett: When I wrote my articles, I profiled all the mathematicians who had really devoted themselves to the problem. That's how I met Felix.
Watson: Do you know if he was close to any of the other people that you interviewed?
Barrett: I don't think so. Why?
Watson: We have reason to believe that before he died, he was collaborating with a partner.
Barrett: That doesn't sound like Felix. He was very competitive. But I'll be happy to walk you through the names that I do have. These are the journals that published me.
Watson: So um, what made you start wanting to write about P versus NP?
Barrett: Oh, when I was young and very full of myself, I decided to spend a summer trying to solve it. When I looked up, three years had gone by. P versus NP may well be unsolvable. So I walked away.
Holmes: Do you know who wrote this proof?
Barrett: Cyril Nauer, a total savant. He lives in Brooklyn.
Holmes: Look familiar?
Watson: That's the same handwriting as our mystery mathematician.
Holmes: You wouldn't happen to have a picture of Mr. Nauer, would you?

Watson: Cyril Nauer looks like the Unabomber.
Holmes: Both are mathematicians, both are loners. Let's hope only one of them ever aspired to mass casualties.
Holmes (phone): Detective Bell, I believe we may have a strong suspect in the murder of Felix Soto.
Bell (phone): That's good. I just found out we got a second victim. He was shot on a sidewalk in Hell's Kitchen last night, dragged into an alley. Initial ballistics report says it was the same gun that killed Felix Soto.
Holmes (phone): Any connection between the two men?
Bell (phone): Right now, all I have is a name. Cyril Nauer. So, want to give me the name of your suspect?

Holmes: Two mathematicians, both collaborating on the same infamous problem, both killed within an hour of each other by the same shooter. Obviously, not a coincidence.
Watson: Your friend said that a solution to P versus NP is worth a million dollars, right? It's hard to imagine there's only two people trying to solve it.
Holmes: You think they were killed by a competitor.
Watson: Would make sense, wouldn't it? I mean, someone realizes how far they've come, murders them to keep them from solving it first.
Holmes: Question is, how did they realize how far they'd come? Both men clearly paranoid about having their work uncovered. They recorded every digit in invisible ink.
Watson: Maybe one of them bragged to the wrong person. Says here that CSU found some dog hairs under the arms of Cyril Nauer's coat.
Holmes: Transferred, presumably, when the shooter dragged Mr. Nauer into the alleyway. Is there a picture?
Watson: Yeah. They sent the samples to the lab to try to determine the dog's…
Holmes: Boston terrier. So perhaps our shooter owns a dog. Almost something, I suppose.
Watson: You know, we never finished our conversation from yesterday. I asked you for an advance?
Holmes: Just out of curiosity Watson, who exactly asked you for $5,000, and what is their connection to the man who died under your care three years ago? You told me you had a doctor's appointment yesterday. That was a lie. You went to visit your former patient's grave. You've done so quite regularly since moving in with me. It's your sleeves, they tend to give you away. I'm able to detect the fragrance of carnations, but no carnations ever appear at the Brownstone. You leave them for him, do you not? I don't mean to pry. It's just that you went there yesterday, and when you returned, you hoped to secure a rather substantial loan for the "son of a friend". Neither of whom you wished to discuss. I'd want to make sure that this person is not taking advantage of you.
Watson: Yeah, I guess we never really talked about this, did we? His name was Gerald Castoro. He was my patient. He needed surgery to remove his right adrenal gland. He had a tumor inside it. A pheochromocytoma. It's rare. And the procedure to remove it is pretty straightforward. I nicked his vena cava. I don't know how. I just...he lost his entire volume of blood into his abdomen in seconds. He was a nice man. He was a dock worker. Few weeks before the surgery, I got to know his family. His wife, his son. Mrs. Castoro did what most people would do in her situation. She sued me. I went to court. I had to listen to her say a lot of terrible things about me. It was a difficult process, as you can well imagine. Gerald's son, Joey he was only 17 back then. He wrote me a letter. He said that he didn't blame me, that it wasn't my fault. That he forgave me. At the time, it meant a lot.
Holmes: Is this the first time he's asked you for money?
Watson: He needed a car to get back and forth from college. His mother needed him around a lot.
Holmes (phone): Detective?
Bell (phone): Hey. I'm at Cyril Nauer's apartment. There's some stuff here I think you should see.

Bell: Okay, so, that's Cyril Nauer's place right there, second floor. Figured I'd just poke around, see if I could find any more black bulbs like the one you found at Felix Soto's place. There weren't, but I managed to find this in one of the fixtures.
Watson: Is that a bug?
Bell: CSU is going over everything with a fine-toothed comb. But obviously, someone was listening in on Mr. Nauer.
Holmes: Think they might have been watching him, as well.
Bell: That's a municipal building. Those cameras are theirs.
Holmes: Even the one pointing directly at his apartment? Taxi!
Bell: Where you going?
Holmes: Up.
Cabbie: Hey! What the hell do you think you're doing?
Holmes: Keep your vehicle perfectly still, I'll give you $20 for going absolutely nowhere. Yeah. Signal jumper. Someone's been using it to hijack that camera's video feed, broadcast it to a remote location. Presumably the same person who put a listening device inside Mr. Nauer's apartment. Good news is, the jumper's transmissions can be traced back to a receiver. You find the receiver…
Bell: Find the person who's been spying on Nauer.

Linus Roe: Detective Bell? I'm Linus Roe. I was told you wanted to speak with me.
Holmes: Your Web site says that Roe Encryption Technologies offers the highest level encryption services for online retailers, banks and investment firms. No mention there of illegal surveillance.
Roe: I can't imagine why there would be.
Bell: Because your company's been filming Cyril Nauer in his home.
Roe: I'm sorry. Am I supposed to know that name?
Bell: We found a signal jumper on a camera just outside Mr. Nauer's apartment. Now, the department's Technical Assistance Response Unit says it was broadcasting to your company's server.
Roe: I don't know anything about that.
Holmes: Well, someone here knows something about it, Mr. Roe. And that person may even be responsible for Mr. Nauer's death.
Roe: Cyril Nauer is dead?
Watson: I thought you said you didn't know him.

Roe: Okay, you're right. We were monitoring Cyril Nauer. It was my idea. But I am telling you that no one at this company would hurt him, not in a million years.
Bell: All right, well, back up. Start with why you were spying on him.
Roe: Because of his work on something called P versus NP. It's…
Holmes: Filthy maths. Virtually unsolvable, worth a million dollars. Yes, we're familiar with it.
Watson: Is that why you were surveilling him? Because your company needed money?
Roe: You're thinking of the Millennium Prize, right? No. A solve for P versus NP is only worth a million to them. To us, it's worth tens, maybe hundreds more. I mean, mathematicians are drawn to P versus NP because it's math's great white whale, but the truth is a solution would have massive real world implications.
Holmes: Such as?
Roe: A correct proof would essentially render all modern encryption obsolete. With the right software, you could hack into any system in the world. They won't be able to stop you.
Watson: It's one equation. How is that possible?
Roe: Encryption consists of setting up problems so complicated that a computer can't solve them. Solving P versus NP lets you run through the possible answer fast enough to crack the code. I mean, you could come and go as you please through any server on the planet.
Holmes: It's a skeleton key.
Roe: It's the key to building the skeleton key. I mean, once you had the solution, you'd still need to write the code to apply it. The digital world would be your oyster.
Bell: You're saying a solution would make your company about as useful as a Pet Rock? Certainly sounds like the kind of thing a man in your position would kill to prevent.
Roe: You don't understand. I wanted Cyril to solve P versus NP. I approached him months ago because I believed if anyone could solve it, it would be him. I offered to fund his work on the condition that if he did solve it, we would keep the proof under wraps. At least until he helped me to design cryptography to defeat it.
Holmes: So Roe Encryption would be proof-proof. The only company in the world capable of defending against P versus NP technology.
Roe: Oh, Cyril refused. Money didn't mean anything to him. He wanted the acclaim. But when we found out that he was working with a man named Felix Soto, we infiltrated his home, as well. We took some photos of the work they'd done. It was a total waste of time. They weren't anywhere near a solution.
Holmes: That's not our understanding.
Roe: We took the pictures to an expert. She said they were nowhere near figuring it out.
Watson: Can you tell us her name?
Roe: Uh, Tanya Barrett. She wrote a bunch of articles on P versus NP a few years ago. You talk to her, she'll confirm everything I just told you.

Barrett: I'm sorry I didn't tell you everything I knew yesterday. I just didn't think my work with Linus had anything to do with Felix Soto's death.
Bell: Did you know when you reviewed the pictures of their work that they had been obtained illegally?
Barrett: I had a feeling, but I didn't press it. The university had cut two of my classes this year. I needed the money.
Captain Gregson: It's my understanding that you told Mr. Roe that the calculations were no good. That was a lie, correct?
Barrett: From the second I saw it, I knew that the work was Felix and Cyril's. They had taken P versus NP farther than I'd ever seen anyone. And still, they were only a third of the way through. They had years of work ahead of them. I thought if I told Linus that the work was bogus, that he'd back off. I knew it was wrong. But so was what Linus was doing. I guess I convinced myself that one bad thing could cancel out another.
Holmes: You're a dog owner, correct? Boston terrier?
Barrett: How'd you know that?
Holmes: You registered him with the city when you procured a pet license in 2010.
Gregson: We found some dog hairs on Cyril Nauer's body that we think were transferred from the killer. DNA test showed it came from a Boston terrier.
Holmes: Guess what else you registered with the city. 9 millimeter handgun in 2009. It's precisely the same kind of weapon used to perforate Misters Soto and Nauer two nights ago.
Barrett: This gun was stolen from my apartment last month. There was a burglary. I filed...
Watson: You filed a police report. Yes, we know. Only, the gun wasn't stolen, was it? You wanted to be able to say it was in the event someone linked you to the two murders.
Bell: Maybe you thought you could build on what Soto and Nauer had done. Carry their ball over the goal line.
Holmes: In great success, you claim the Millennium Prize and one million dollars.
Watson: Maybe you were hoping to sell the solution to Linus Roe yourself someday, make even more money.
Barrett: This is insane. I didn't kill anyone.
Holmes: Then you shouldn't have any problem accounting for your whereabouts between two nights ago.
Barrett: I was at dinner with a friend in Midtown. I got to the restaurant around 8:30. I didn't leave until after 10:30. My friend's name is Wayne Kaneshiro. I suggest you contact him.

Bell: So, still trying to track Wayne Kaneshiro down, but in the meantime, I reached out to that restaurant Ms. Barrett said she went to. They said they'd e-mail me the security footage from two nights ago. There we go.
Holmes: I see two underage drinkers, an affair-in-progress and a bartender who's been stealing from the till. Not a single college professor.
Gregson: Hold up. Hold up.
Watson: 8:37, that's about 20 minutes before Felix Soto was shot.
Gregson: Skip to the end. See when she leaves. She was telling the truth. She's not our shooter.

Watson: So, you won't go for a jog along the river but you will do sit-ups facing a wall at 2:00 a.m.
Holmes: Detective Bell texted to say that he had located Tanya Barrett's dining companion, Wayne Kaneshiro. As if the video evidence weren't enough, he has confirmed that he was with her between 8:30 and 10:30 the night of the murders. We remain devoid of a suspect. Calisthenics stimulates the heart, which increases blood flow to the frontal lobe, which stimulates deductive thinking. Also, the river smells like rancid cod.
Watso: What is up with the nerd brigade?
Holmes: These are the other contenders to the P versus NP throne. We may be wrong about Tanya, but perhaps we were right about the killer's motive.
Watson: Well, how would they have known, uh, how much progress Soto and Nauer made? I mean you don't think there were more people spying on them, do you?
Holmes: Watson, conundrum. Conundrum, Watson. Oh. On another matter, and against my better judgment, I've decided to advance you the money that you requested.
Watson: Oh. Thanks. Uh, why, why "against your better judgment"?
Holmes: You don't think it the least bit coincidental that both you and young Mr. Castoro decided to visit the cemetery the day after his father's birthday?
Watson: Yes. Of course I do.
Holmes: But you still want to give him the money.
Watson: It's complicated. You don't know him.
Holmes: I also know, as does he, that you blame yourself for the man's death.
Watson: Because it was my fault.
Holmes: It was an accident. And as loathe as I am to admit it, accidents happen. Joey's goodwill obviously means a great deal to you. But the fact that he has on more than one occasion attached a dollar figure reveals his character. Or at least it does to me. I'm an expert on poisons, Watson. I know virtually everything there is to know about them. But I've come to learn over the last few years that there is nothing on this planet quite so toxic as guilt.
Watson: Are you gonna advance me the money or not?
Holmes: It's in that box.
Watson: Hey. There's over $20,000 in here. I only asked for $5,000.
Holmes: It's every scrap of cash I currently have at my disposal. Consider the difference a kind of buyout. It's a no-strings-attached transaction which will represent the end of all business between you and Joey.
Watson: I, I don't understand.
Holmes: It's quite simple, really. I'm providing you with the means to buy the young man out of your life. He gets the money he needs, you get the peace of mind knowing that he'll never approach you again.
Watson: I told you. I don't mind that he approached me.
Holmes: I do. You've made your mistakes, Watson. So have I. And if there's anything that's become apparent during our time together, it's that the great majority of those mistakes belong firmly in the past. Hmm? Take the money. Use it. Consider it my gift to you.
Watson: Have you considered that Tanya Barrett might be working with a partner? Somebody who committed the crimes for her while she alibied herself in Midtown?
Holmes: Considered and discarded. Why go to the trouble of allying yourself with partner and then arming them with a weapon that can be traced back to you?
Watson: Hmm, you're right. That would only make it easier to connect her to the crimes.
Holmes: Unless, of course, that's the intention. What if Ms. Barrett is our lead suspect because someone wants her to be?
Watson: Are you saying someone's trying to frame her?

Holmes: Professor Barrett, might I have a word?
Barrett: I'm late for a class, Mr. Holmes. And I don't feel like being accused of any more murders.
Holmes: All of my accusations were based on multiple pieces of evidence pointing firmly in your direction. I've started to think that might not be a coincidence.
Barrett: What are you talking about?
Holmes: Did you happen to mention to anyone else that you had seen Cyril and Felix's work, hmm? Anyone who might have felt threatened by their progress?
Barrett: No, of course not.
Holmes: Do you have any enemies? Jilted lover, perhaps? Or a student unhappy with a very bad grade?
Barrett: Are you saying you think I've been framed?
Holmes: I'm saying it might explain why you're such an alluring suspect.
Barrett: No. This is crazy.
Holmes: You're thinking of someone. Who is it?
Barrett: I got out of a long-term relationship a few months ago. My ex, Jason, was very upset. He sent me a couple of e-mails.
Holmes: Threatening ones?
Barrett: I didn't take it personally. He's always had a temper. I just thought he was letting off steam.
Holmes: These e-mails. Do you think I might be able to see them?
Barrett: Give me your e-mail address and a couple of hours, and I'll forward you the e-mails when my class lets out. Good morning!

Jason Harrison: I'm sorry. I don't know either of them.
Bell: Their names were Felix Soto and Cyril Nauer. Ring any bells?
Holmes: But you were romantically involved with Tanya Barrett.
Harrison: Yes, until a few months ago.
Watson: Who ended the relationship?
Harrison: Tanya. What's all this about anyway?
Bell: It's our understanding it was a pretty nasty split.
Harrison: There were some unpleasant moments, like most breakups. Why?
Holmes: Tanya was nice enough to share with us some of the e-mails that you sent. On November the 11th, "You'll be sorry you let me go. You've made a serious mistake". Uh, December 3, 2012, "You deserve to be hurt the way that you hurt me."
Harrison: Is Tanya trying to get a restraining order or something? Because I'm telling you right now...
Bell: These two men were shot and killed with a 9 millimeter handgun two days ago. We think that whoever murdered them may be trying to frame Tanya for the crimes.
Harrison: What are you talking about? You think I shot these guys? Just because Tanya dumped me?
Bell: Jason, we know you knew them. Tanya told us you met them back when she was writing her articles for P versus NP.
Harrison: I've never seen these guys before in my life.
Bell: Your e-mails tell a different story. The threats you made against Tanya were enough for us to get a warrant to search your account. In another e-mail you wrote in 2010, you complained about getting dragged to interviews she was doing for her articles, you mention Mr. Soto and Mr. Nauer by name, and you accuse her of caring more about P versus NP than she did your relationship.
Harrison: I didn't write this.
Holmes: Nor did you place an online order for 9 millimeter ammunition earlier today.
Bell: Here's the confirmation, in case you want to re-familiarize yourself. Makes me think maybe you had a couple more mathematicians in your crosshairs.

Bell: He wants a lawyer.
Gregson: Oh, one probably isn't gonna be enough. I just got a call from Stuyvesant Memorial. That mugger that got shot outside of Felix Soto's place? The one who didn't stand a chance in hell? He's awake. Get his statement before he takes another turn. He identifies Jason Harrison as his shooter, we got him.

Benny Charles: Look man, I'm just saying, why don't you talk to the D.A. Yeah, tell him to go easy on me.
Bell: Or maybe you can describe the person who shot you and take comfort in the knowledge they won't be back to finish the job.
Charles: She about five-six, mid-30s, if I had to guess.
Holmes: You said "she."
Charles: Yeah, she. Long brown hair, glasses. Yeah, that's her. That's the bitch shot me. Right after she shot that other dude in the house.
Watson: Are you positive?
Charles: She was standing two feet from me. All right? That's her. No doubt.

Holmes: Benny Charles insists he was shot by Tanya Barrett. She, of course, has an alibi. She was dining with Wayne Kaneshiro at the time and could not have shot Charles, Soto or Nauer. And yet further analysis of the hairs found on Nauer's body have confirmed that they don't come from just any Boston terrier, but the one owned by Ms. Barrett. She also once owned the same type of handgun used to commit the murders. Jason Harrison, meanwhile, he has means and motive to frame Tanya. Several e-mails seem to implicate him. But Benny Charles insists he was shot by Tanya Barrett.
Watson: Who has an alibi. You know we're going in circles here, right?
Holmes: We're in a roundabout. We just need to find the proper exit. You're not gonna take my advice, are you? You're not gonna pay Joey to go away.
Watson: I think there are better ways to spend $22,000.
Holmes: You could buy 8,800 beers, for example.
Watson: Mmm, tempting. But no.
Holmes: So we're gonna continue to let him utilize you as his own personal ATM.
Watson: I didn't say that. You said 8,800 beers, right? That's only $2.50 a beer.
Holmes: That's what the fat man paid. Put down ten dollars, left with four beers.
Watson: That's pretty cheap, isn't it?
Holmes: Cheap beer, presumably.
Watson: Yeah, but this is New York, and that isn't exactly a dive bar. The only time you see drinks that cheap is during happy hour.
Holmes: But the time is exactly...
Watson: Time stamp says 9:46.
Holmes: Yeah. Digital time stamp.

Holmes: You forgot to carry the one. Only joking. I'm sure your maths is impeccable. Your plan to get away with two murders, however...
Barrett: Are you out of your minds?
Watson: The other day, you told us you had dinner with a friend in Midtown. You said you were there between 8:30 and 10:30, only you weren't. You were there between 5:30 and 7:30.
Barrett: Oh, that's ridiculous. You said you got the footage from the security cameras in the restaurant.
Bell: And it did confirm your alibi. According to the date-time stamp, you and your friend, Mr. Kaneshiro, arrive at 8:37 and leave at 10:44.
Barrett: Then I don't understand. Why are you harassing me?
Holmes: When we met with Linus Roe the other day, he explained to us that aside from its applications in the world of theoretical maths, the solution to P versus NP would have very real consequences, very practical consequences, for computer science. It would be child's play, for example, to hack the hard drive which stores and records security footage in a Midtown restaurant and add three hours to the date-time stamp.
Watson: A few days ago, we thought that you killed Felix Soto and Cyril Nauer in the hopes of solving P versus NP yourself someday. Now we know you killed them because you'd already solved it.
Holmes: You teamed up with a computer programmer, who could write the code required to steal several hundred million dollars from various financial institutions.
Watson: Problem was, he needed time to write the appropriate code for each one.
Holmes: Time that you feared you might not have when you learned that Nauer and Soto were just a hop, skip and a jump away from their own solution to P versus NP. You killed them, lest they take their work public and send shockwaves through the digital security industry.
Barrett: I don't know where you're getting this.
Bell: Wayne Kaneshiro is where we're getting this. Your dinner date from the other night. And the computer programmer you've been working with.
Holmes: Mr. Kaneshiro had written code which allowed you to hack your ex's e-mail plant incriminating letters.
Watson: He'd given Detective Bell a statement saying that the two of you were in the restaurant between the hours of 8:30 and 10:30. Once we were able to demonstrate that was a lie, he told us everything.

Castoro: Hey. Hey, sorry I'm late.
Watson: That's okay.
Castoro: So, you said on the phone you had news.
Watson: I've decided to make an investment.
Castoro: This is huge. Um, seriously, I told my partner...
Watson: I'm not investing in the bar, Joey. I'm investing in you. You know, before your father's surgery, he and I spent a lot of time together. But what you probably don't know is how much we talked about you. He was so proud that you were gonna become an engineer, and then when you earned that scholarship, he was...anyway, listen, I want to offer you a new scholarship. A check for $22,000, enough to finish your undergraduate degree.
Castoro: Um, that is a a very generous offer. But school just isn't for me right now. Maybe after...
Watson: That is the only help that I feel comfortable offering.
Castoro: So you, you clearly have the cash but you'll only let me have it if I do what you think is right.
Watson: I want to do what's right by your Dad.
Castoro: My Dad. The one guy who isn't here right now to help me because of you. I'm sorry. You don't deserve that.
Watson: I will support you in whatever you do. If you open up a bar, it'll be my new watering hole. If you need to talk, I am just a phone call away. But I am only going to pay for your education. So you tell me, what do you want?

Watson: Hey. What are you doing?
Holmes: I am taking one last look at P versus NP.
Watson: What do you mean, "last look"?
Holmes: The NSA has asked the NYPD to surrender everything and anything pertaining to the problem, including Tanya Barrett.
Watson: They want her in federal custody?
Holmes: They claim it's in the interest of protecting the country against her breakthrough. She alleges she never kept any hard copies, and she says she will only explain her work in exchange for a deal. District attorney however, has little interest. So it seems, in spite of everything the proof may not usher modern encryption into obsolescence after all. How was coffee?
Watson: Joey said that he would think about my offer, but I am not holding my breath.
Holmes: I thought your plan was quite clever. You demonstrated your goodwill without allowing him to take further advantage.
Watson: You know that if he had taken me up on that offer, I was going to pay you back, right?
Holmes: You know I have about as much interest in money as I do Hummel figurines.
Watson: Either way, thank you.
Holmes: You know, I, I'd quite like to go with you next time. To the cemetery. Obviously, the mistake that you made, it uh, changed the course of your life. The man seems to have left quite an impression, as well. I'd just like to pay my respects.
Watson: I'd like that.