- No comments. Strip
--line comments,/-- ... -/docstrings, and/-! ... -/section markers from all Lean files. Lemma names and proof structure should be self-explanatory. - Trailing
;on each tactic line (e.g.intro x;,grind;,rfl;). Follow the project's existing style (seePropositional/FMT/Completeness.lean,Modal/Proof/N.lean). - Prefer
grind;overtauto;for boolean / propositional goals. The project marksForced,Forces, etc. with@[grind], sogrindoften closes goals wheretautowould. Fall back totauto;only ifgrindfails.
-
Commit per lemma. After each formalized lemma/theorem builds without new
sorry, create a git commit. Use a short title describing the lemma; don't bundle multiple lemmas unless asked. -
Co-author every commit with Claude:
git commit -m "$(cat <<'EOF' <title> <body> Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> EOF )"Update the Claude model name if it changes.
-
Don't wrap
lake buildintimeout 300(or any shelltimeout). Calllake builddirectly.
- Section 6 of the paper (Modal companions) is being formalized step-by-step in
VeryWeakSubintuitionistic/ModalCompanion/. - The propositional formulas live in
VeryWeakSubintuitionistic/Propositional/; the modal ones inVeryWeakSubintuitionistic/Modal/. NoteModal.Formulaonly hasimpandboxas primitives —⋏,⋎,∼,⊤are abbreviations.