Alright guys. So the haloform reaction is simply a base catalyzed alpha halogenation of methyl ketones, okay? So, it's the same thing as base catalyzed alpha-halogenation except that you specifically have a methyl ketone, let me show you the mechanism. So, guys the reagents are just the same as we were doing this before the only difference being that I'm starting with at least one methyl group on one side, okay? What's going to happen is after the formation of your enolate and attacking the x's you're going to get a polyhalogenated alpha carbon, okay? Make sense so far, but here's the deal, if you have a methyl ketone you've now made an awesome leaving group because you have cx-3 so the next equivalent of base that reacts instead of just sitting around and being like, hey I've got nothing else to halogenate, I'm done, the next equivalent can actually go through an NAS mechanism and it can form a tetrahedral intermediate. So, what you would get is a tetrahedral intermediate that looks like this, O negative, OH, R, C, X, X, X, and guys carbon is usually not a good leaving group but a carbon with three halogens is an extremely good leaving group. So, then I would kick out the cx-3, okay? And, what that's going to give me is we just draw over here that's going to give me carboxylic acid crazy, right? So, that's going to give me carboxylic acid plus it's going to give me cx-3 negative, okay?
Now, I know my head's in the way a little bit but then to end this reaction, the cx-3 negative is going to deprotonate the acid because it's an acid, right? And you're going to wind up getting a carboxylate and the molecules that direction is named for haloform, haloform is just basically a methyl group with three hydrogen's replaced with halogens, okay? So, the entire idea behind haloform is that the alpha carbon of this reaction is transformed into a good leaving group through successive halogenations and eventually the OH negative just kicks it out entirely, which is something that would not happen in a base catalyzed mechanism without it, because if a base were to attack here, it would have nowhere to go because there's nothing to kick out, it doesn't have a good leaving group, but on this reaction it does have a weak good leaving group, which is why you get the final products, okay? Now guys, just extra facts, haloform depends on what you're using, if it was chlorines going to be chloroform, right? If it's iodine going to be iodoform and some of these end up being tests that you have to use in your chemistry lab to test for methyl ketones. So, a lot of times iodoform will precipitate out of the solution and it will be a, it's like a yellow precipitate, and it's a test to see if you had a methyl ketone because if you have that precipitate that means that you formed iodoform, which means that you had a methyl group on their ketone, interesting, right? Cool Guys. So, let's move on to the next reaction.
Practice: Provide the major product for the following reaction.