News for hackers. Stuff that matters.
Re:Types versus sets in math and programming languages by Ericson2314 on Sunday July 25, 2021 @09:40AM (#27949101)
Types absolutely are a mathematical notion. Formal systems like the calculus of construction and Martin Löf Type Theory are well studdied.
Re:Types versus sets in math and programming languages by mjburgess on Sunday July 25, 2021 @10:37AM (#27949468)
That doesn't have much to do with my point.

There is no mathematical encoding of natural world semantics: the sense in which "Person" and "MostIntelligentSpecies" are different cannot be expressed mathematically.

(p in Person) obtains as does (p in MostIntelligentSpecies)

but Person cannot be eliminated for MostIntelligentSpecies

The article itself makes this point, but then tries to compromise with the mathematical reduction "to sets". It would be clearer just to state that this is a reduction rather than an elimination.