Stereoselective synthesis of functionalized carbocycles by cycloaddition to levoglucosenone