Skip to content

Unexpected reduction result for λab.a (SUCC b) with Church Numerals #133

@Xingye-Dujing

Description

@Xingye-Dujing

Hello,
I am encountering an unexpected behavior while evaluating the following lambda expression involving Church numerals:

λab.a (SUCC b)
Image

I think the final result should be church numeral 16 and church numeral 64.
Generally, a (SUCC b) should be church numeral (b+1)^a. (The a and b on the right side refer to the corresponding mathematical values of the Church numerals.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions