English

Higher-Order Functions and Brouwer's Thesis

Logic 2022-02-23 v5 Logic in Computer Science

Abstract

Extending Mart\'in Escard\'o's effectful forcing technique, we give a new proof of a well-known result: Brouwer's monotone bar theorem holds for any bar that can be realized by a functional of type (NN)N(\mathbb{N} \to \mathbb{N}) \to \mathbb{N} in G\"odel's System T. Effectful forcing is an elementary alternative to standard sheaf-theoretic forcing arguments, using ideas from programming languages, including computational effects, monads, the algebra interpretation of call-by-name λ{\lambda}-calculus, and logical relations. Our argument proceeds by interpreting System T programs as well-founded dialogue trees whose nodes branch on a query to an oracle of type NN\mathbb{N}\to\mathbb{N}, lifted to higher type along a call-by-name translation. To connect this interpretation to the bar theorem, we then show that Brouwer's famous "mental constructions" of barhood constitute an invariant form of these dialogue trees in which queries to the oracle are made maximally and in order.

Keywords

Cite

@article{arxiv.1608.03814,
  title  = {Higher-Order Functions and Brouwer's Thesis},
  author = {Jonathan Sterling},
  journal= {arXiv preprint arXiv:1608.03814},
  year   = {2022}
}

Comments

Journal of Functional Programming, Bob Harper Festschrift Collection

R2 v1 2026-06-22T15:18:37.335Z