lambdaclass / lambdaclass/lambda_compiler_kit
Organize examples with native_decide lint disabled
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Lean
- Sterne
- 2
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit CharCorrectness.lean und untersuche, wie seine Beweise und Beispiele organisiert sind. Strukturiere die Datei so um, dass am Ende ein eigener Abschnitt Examples erscheint und dort native_decide lint deaktiviert ist; halte Theoreme und den Kernbibliothekscode außerhalb dieses Abschnitts. Prüfe weitere Beweisdateien auf dasselbe Muster, während weitere Beispiele hinzukommen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- compilers
- Issue-Typ
- Refactoring
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100