lambdaclass / lambdaclass/lambda_compiler_kit

Organize examples with native_decide lint disabled

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Summary

Create a dedicated section Examples in each proofs file to contain example assertions that use native_decide without triggering the linter.style.nativeDecide lint that applies to the rest of the codebase.

Approach

Use section with lint option disabled:

  • Theorems and core library code remain strict (no native_decide)
  • Examples use native_decide for quick verification without linter noise
  • Clear signal about code intent and verification guarantees

Files to refactor

  • CharCorrectness.lean
  • (other proof files as they accumulate examples)

Notes

  • Place examples section at end of file
  • Examples should be non-library assertions only
  • Theorems stay outside this section and use traditional proofs

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with CharCorrectness.lean and inspect how its proofs and examples are organized. Refactor the file so a dedicated Examples section appears at the end, with native_decide lint disabled there; keep theorems and core library code outside it. Check other proof files for the same pattern as examples accumulate.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.