Diastereoselective intramolecular diels-alder reaction of N-alkoxycarbonyl -1-aza-1,3-butadienes and a total synthesis of the piperidine alkaloid, (±)-sedridine.