~/talk

Type Arithmetic and the Yoneda Lemma

links:none on file
slides:none on file

Type signatures get counted and proven equal to set cardinalities using category theory and code: natural transformations, Yoneda lemma, and representable functors turn parametric reasoning into concrete isomorphisms. Haskell/Scala examples and supplied programs enumerate cases (Bool->Bool = 4, Bool×Bool = 4, Maybe = 1+|a|), and the surprising results are certified (for all a. a -> a has 1 inhabitant, (a,a) -> a corresponds to two inhabitants). Slides and exercises implement and verify the isomorphisms, and the method yields mechanically checkable proofs.

AI-written summary · about

  1. 0:00Type arithmetic and Yoneda
  2. 10:05Type arithmetic foundations
  3. 20:28Liveness and type equality
  4. 30:07Category theory basics
  5. 40:30Products and coproducts
  6. 50:13Representable functors
  7. 57:27Yoneda with concrete types
  8. 1:02:26Advanced type signatures
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.