The curious case of exponentiation in simply typed lambda calculus

The curious case of exponentiation in simply typed lambda calculus

Released Saturday, 4th May 2024
Good episode? Give it some love!
The curious case of exponentiation in simply typed lambda calculus

The curious case of exponentiation in simply typed lambda calculus

The curious case of exponentiation in simply typed lambda calculus

The curious case of exponentiation in simply typed lambda calculus

Saturday, 4th May 2024
Good episode? Give it some love!
Rate Episode

Like addition and multiplication on Church-encoded numbers, exponentiation can be assigned a type in simply typed lambda calculus (STLC).  But surprisingly, the type is non-uniform.  If we abbreviate (A -> A) -> A -> A as Nat_A, then exponentiation, which is defined as \ x . \ y . y x, can be assigned type Nat_A -> Nat_(A -> A) -> Nat_A.  The second argument needs to have type at strictly higher order than the first argument.  This has the fascinating consequence that we cannot define self-exponentiation, \ x . exp x x.  That term would reduce to \ x . x x, which is provably not typable in STLC.  

Show More
Rate

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more

Episode Tags

Do you host or manage this podcast?
Claim and edit this page to your liking.
,

Unlock more with Podchaser Pro

  • Audience Insights
  • Contact Information
  • Demographics
  • Charts
  • Sponsor History
  • and More!
Pro Features