Re:Curry-Howard, the Ontological Ultimate
by gergoerdi on Sunday October 19, 2014 @09:33PM
(#8480339)
As an example, here's how primality is defined in the Agda standard library. It is simply the negation of the property 'has a divisor and is greater than 2'.
http://agda.github.io/agda-stdlib/html/Data.Nat.Primality.ht...