Skip to content

Bug: loadFilteredAtoms hardcodes Aeneas-specific 'Funs.lean' filter #8

@astefano

Description

@astefano

Description

In ProbeLean/Loader.lean, loadFilteredAtoms has a hardcoded filter:

atom.codePath.endsWith "Funs.lean"

This is specific to Aeneas-transpiled projects where functions live in *Funs.lean files. For any non-Aeneas Lean project, the stubify command will produce zero stubs because no atoms match.

Suggested Fix

Either:

  • Make the filter conditional on whether the project is an Aeneas project (e.g., check for presence of Aeneas config or rust-source fields)
  • Remove the filter and let stubify work on all relevant atoms
  • Document stubify as an Aeneas-only feature

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