02/02/2022
An inductive definition of even and odd numbers, from “Practical Foundations for Programming Languages” by Robert Harper (Section 2.5 for the curious). This defines the even and odd numbers with each other by declaring zero to be even and stating that if a number is odd, then it’s successor is even and if a number is even then it’s successor is odd.