Nuking stats problems with a probabilistic programming language

Writing a compiler for a probabilistic programming language using probability generating functions in 200 lines of Python, following “Compiling with Generating Functions” (Li and Zhang)

12 September 2026 · 4041 words · Joseph Liu

Pressure and chemical equilibrium

Examining the effect of changes in pressure on equilibrium position mathematically

18 July 2023 · 1031 words · Joseph Liu

Exploring the sum of exponents law

Some practice with induction: a proof of the sum of exponents law for integer exponents

24 April 2022 · 937 words · Joseph Liu