I like your post, it's interesting that it centered on UML which is similar in shape to some formal concepts modelled in Lean: particularly Arrows, Quivers, String Diagrams and Petri Nets