Finish categorical semantics (Chapter 4)