Skip to content

Commit 331aa7e

Browse files
committed
docs: update AGENTS.md
1 parent c1564b0 commit 331aa7e

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

AGENTS.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,29 @@
22

33
## Important Instructions
44

5-
- Never use tabs. Use spaces instead.
6-
- Never modify `lakefile.toml`.
7-
- Never use `python`, `cat`, `git checkout`and `git reset`.
8-
- Never use `sorry`, `admit`, `axiom`, and `set_option` for any reason!
9-
- Fix indentation when referring `expected '{' or indented tactic sequence`.
5+
- Use spaces only; never use tabs.
6+
- Do not modify `lakefile.toml`.
7+
- Do not use `python`, `cat`, `git checkout`, or `git reset`.
8+
- When encountering the error `expected '{' or indented tactic sequence`, fix the indentation.
109
- Autonomously continue executing the tasks specified in `PLANS.md` until the maximum request limit is reached.
11-
- Use `lean-lsp` mcp server tools when searching Mathlib, analyzing codes, etc.
12-
- Write comments in English.
13-
- Use `$...$` or `$$...$$` for LaTeX math formatting in markdown.
10+
- Use the `lean-lsp` MCP server tools when applicable.
11+
- Write all comments in English.
12+
- Use `$...$` or `$$...$$` for LaTeX math formatting in Markdown.
13+
- Always implement full proofs. Do not ask whether to proceed full proofs or introduce helper lemmas. If needed for full proofs, implement all of them.
14+
- Do not explore shorter proof paths before the current proof is completed. Only after completion may you consider improved approaches.
15+
- Before ending the session, run `lake build` to ensure the project builds successfully.
16+
17+
## Prohibitions
18+
19+
The following tokens are strictly prohibited to use in this project:
20+
21+
- `sorry`
22+
- `admit`
23+
- `axiom`
24+
- `set_option`
25+
- `unsafe`
26+
- `System`
27+
- `open System`
28+
- `Lean.Elab`
29+
- `Lean.Meta`
30+
- `Lean.Compiler`

0 commit comments

Comments
 (0)