How do language models solve Bayesian network inference?

Exploring how frontier LLMs approach probabilistic inference on Bayesian networks, comparing their reasoning strategies against the traditional Variable Elimination algorithm.