The algebra of dependent types (2025) (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
1) Propositional Logic = Simple Types
2) Predicate Logic = Dependent Types (https://en.wikipedia.org/wiki/Dependent_type) where;
2.1) Existential Quantification = Σ-types (aka Dependent Sum/Pair) - https://en.wikipedia.org/wiki/Dependent_type#%CE%A3_type
2.2) Universal Quantification = Π-types (aka Dependent Product/Function) - https://en.wikipedia.org/wiki/Dependent_type#%CE%A0_type
Note that in order to understand the above you need to grasp "Type of Types" i.e. Sorts.
The whole Typed Lambda Calculus to Calculus of Constructions (based on dependent types) is very nicely and succinctly explained by Helmut Brandl in his 100-page booklet Typed Lambda Calculus / Calculus of Constructions - https://hbr.github.io/Lambda-Calculus/index.html
Replies (1)
Still the combinatorics side TFA talks about look beyond this quotient shadow at the actual number of inhabitants.
[1] https://awodey.github.io/catlog/notes/catlogdraft.pdf
Replies (1)
Propositional Logic -> Predicate Logic (FOL) -> Higher Order Logic. This involves truth tables, models and semantic argument deductive systems (i.e. proofs) which are applicable everywhere.
Then move onto (or parallely) computation specific, Intuitionistic Constructive Logic -> Lambda Calculus -> Lambda Cube. This gives you the whole gamut of Type Theories.
Finally, the Curry-Howard Correspondence ties both the above together.