Laws are now checked by a small proof kernel (cmd/zir/zir_proof*.c) over an evaluator that handles integer and floating-point expressions, casts, and comparisons, with tamper tests and a proofs workflow. docs/LAWS.md describes what a law may state and how it is proved.