Categorical Realizability
Everything here works over a pca .
Definition term [local-0]
Fix a countably infinite set of variables, inductively define the set of terms over a pca :
- a variable is a term,
- an element of is a term,
- given two terms and , we may form a new term .
Definition defined terms [local-1]
A closed term is defined if, when we interpret as applied to in , all these applications are defined.
Extends to open term then is if all possible substitutions of all variables in by elements of , the obtained closed term is defined.
Definition "-abstraction" in pca [local-2]
For a variable and a term , we can define a new term by recursion on terms:
- ,
- if is a variable different from ,
- for ,
- .
Notation [local-3]
writes for
Example [local-4]
Now, we can work on it, e.g.
so
Pair and projections are