Verifying liquidity of recursive Bitcoin contracts (Logical Methods in Computer Science, 2022)