degree theory