Skip to content

23 Lean Workbook statements with a phantom-variable (binder-escape) defect #49

Description

@fabio-rovai

Hello,

A static check calibrated on known-defective statements (and verified in Lean 4.9)
finds 23 Lean Workbook statements whose big-operator body is unparenthesised, so the
binder variable escapes its scope. Under autoImplicit these elaborate with a phantom
universally quantified variable and do not state the intended mathematics. An example
is a telescoping identity that parses as (sum of (k+1)!) minus a phantom k factorial.
Since the corpus is used as a training reward source, these items pay reward for
proving accidents. Full list, contexts, and the detector script attached on request.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions