A: If B is guilty of something, then C must be innocent.
B: If A is innocent, then C must be guilty.
C: If B was the killer, then D must have had nothing to do with the crime.
D: I am innocent.
As everybody should know, guilty parties always lie, and innocent people always tell the truth. Who killed the professor, and who was his accomplice?