The syntax operation , where , is a total computable function on valid codes: decode the finite syntax trees, form their application, and encode it again. Extend it arbitrarily on invalid codes if necessary. Similarly is total computable because the finite numeral syntax can be generated effectively from . The preceding characterization of lambda-definable functions supplies closed representatives with
Here is lambda quotation, not a code of a beta equivalence class. In particular quotes the syntax of the numeral itself; it is not simply successor or an identity operation.
Choose fresh for and put , . The preceding coding equations give
Consequently
This self-quoting fixed point is valid even if has free variables, since the effective Gödel numbering codes open lambda terms too. Freshness of prevents variable capture.
For the Church numeral system already used, the discriminator
has and by the Church numeral zero test. More generally it chooses at every positive numeral. Only its values at zero and one are needed.
There is an argument-order defect in the printed flip context: the discriminator constructed above takes its numeral first. Fix and use
Equivalently, define and write the context as . This is an explicit permutation of the discriminator arguments, not an assumption that has the required behavior.
Let be the self-quoting fixed point. There are exactly two cases. If , then , so closure under beta equivalence puts in and forces . If , then , forcing . Both contradict the distinct beta-normal Church numerals . Hence no such total binary lambda classifier exists.
If beta equivalence were decidable, its decision algorithm would give a total computable function that outputs one exactly on codes of terms beta-equivalent to , and zero on all other codes. Its numeral representation would be such a , taking to be the class of and its complement. Both are nonempty: has a different beta-normal form from . The contradiction proves beta equality is undecidable. It is nevertheless semidecidable, since finite conversion proofs can be effectively enumerated.

Articles by others on the same topic (0)

There are currently no matching articles.