Logic, type theory, category theory, functional programming, and Bayesian thinking may all be connectable in a grand Unified theory.
Inspired by Richard Southwell and Bartosz Milewski youtube lectures on Category Theory.
Abstract Algebra seems to be relevant.