[2406.14719] Grokking the Sequent Calculus (Functional Pearl)