Sarcosine condenses with the aldehyde and decarboxylates, forming an azomethine ylide. Intramolecular [3+2] cycloaddition onto the N-allyl alkene gives the cis-fused pyrrolo[3,2-c]quinoline (d).
Study loop for Reagents, Reaction Mechanisms & Named Reactions