From 0b1cc715ff2d58a5e377b39df3ed747233a19cd3 Mon Sep 17 00:00:00 2001 From: suzuki Date: Thu, 12 Feb 2026 04:54:54 +0900 Subject: [PATCH 1/3] fix: wrong file name --- AGENT.md => AGENTS.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename AGENT.md => AGENTS.md (100%) diff --git a/AGENT.md b/AGENTS.md similarity index 100% rename from AGENT.md rename to AGENTS.md From c1564b0337b1b34cd9532b268666981781e236e8 Mon Sep 17 00:00:00 2001 From: suzuki Date: Wed, 11 Feb 2026 20:09:09 +0000 Subject: [PATCH 2/3] build: bump lean to v4.28.0-rc1 --- .devcontainer/Dockerfile | 2 +- lake-manifest.json | 24 ++++++++++++------------ lakefile.toml | 2 +- lean-toolchain | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 5fe1ccf..93184a3 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -14,5 +14,5 @@ RUN apt-get update && \ USER vscode WORKDIR /home/vscode -RUN curl https://elan.lean-lang.org/elan-init.sh -sSf | sh -s -- -y --default-toolchain leanprover/lean4:4.27.0-rc1 +RUN curl https://elan.lean-lang.org/elan-init.sh -sSf | sh -s -- -y --default-toolchain leanprover/lean4:4.28.0-rc1 ENV PATH="/home/vscode/.elan/bin:${PATH}" diff --git a/lake-manifest.json b/lake-manifest.json index 508bb5d..5f2f4ab 100644 --- a/lake-manifest.json +++ b/lake-manifest.json @@ -5,17 +5,17 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "32d24245c7a12ded17325299fd41d412022cd3fe", + "rev": "5352afccd6866369be9de43f5b7ec47203555f44", "name": "mathlib", "manifestFile": "lake-manifest.json", - "inputRev": "v4.27.0-rc1", + "inputRev": "v4.28.0-rc1", "inherited": false, "configFile": "lakefile.lean"}, {"url": "https://github.com/leanprover-community/plausible", "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "8d3713f36dda48467eb61f8c1c4db89c49a6251a", + "rev": "7311586e1a56af887b1081d05e80c11b6c41d212", "name": "plausible", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -25,7 +25,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "19e5f5cc9c21199be466ef99489e3acab370f079", + "rev": "5ce7f0a355f522a952a3d678d696bd563bb4fd28", "name": "LeanSearchClient", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -35,7 +35,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "4eb26e1a4806b200ddfe5179d0c2a0fae56c54a7", + "rev": "875ad9d88ed684e39c16bdea260e6ecfa15afd60", "name": "importGraph", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -45,17 +45,17 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "ef8377f31b5535430b6753a974d685b0019d0681", + "rev": "6d65c6e0a25b8a52c13c3adeb63ecde3bfbb6294", "name": "proofwidgets", "manifestFile": "lake-manifest.json", - "inputRev": "v0.0.84", + "inputRev": "v0.0.86", "inherited": true, "configFile": "lakefile.lean"}, {"url": "https://github.com/leanprover-community/aesop", "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "fb12f5535c80e40119286d9575c9393562252d21", + "rev": "f08e838d4f9aea519f3cde06260cfb686fd4bab0", "name": "aesop", "manifestFile": "lake-manifest.json", "inputRev": "master", @@ -65,7 +65,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "523ec6fc8062d2f470fdc8de6f822fe89552b5e6", + "rev": "23324752757bf28124a518ec284044c8db79fee5", "name": "Qq", "manifestFile": "lake-manifest.json", "inputRev": "master", @@ -75,7 +75,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "6254bed25866358ce4f841fa5a13b77de04ffbc8", + "rev": "cabbb5a025bfbbc50af9184ed2dfdde6ea4f53a7", "name": "batteries", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -85,10 +85,10 @@ "type": "git", "subDir": null, "scope": "leanprover", - "rev": "726b98c53e2da249c1de768fbbbb5e67bc9cef60", + "rev": "28e0856d4424863a85b18f38868c5420c55f9bae", "name": "Cli", "manifestFile": "lake-manifest.json", - "inputRev": "v4.27.0-rc1", + "inputRev": "v4.28.0-rc1", "inherited": true, "configFile": "lakefile.toml"}], "name": "Project", diff --git a/lakefile.toml b/lakefile.toml index 23ffae1..63e6467 100644 --- a/lakefile.toml +++ b/lakefile.toml @@ -16,4 +16,4 @@ name = "Project" [[require]] name = "mathlib" scope = "leanprover-community" -rev = "v4.27.0-rc1" +rev = "v4.28.0-rc1" diff --git a/lean-toolchain b/lean-toolchain index bd19bde..4bafde2 100644 --- a/lean-toolchain +++ b/lean-toolchain @@ -1 +1 @@ -leanprover/lean4:v4.27.0-rc1 +leanprover/lean4:v4.28.0-rc1 From 331aa7e06d749a154b18e386216ca695698d3182 Mon Sep 17 00:00:00 2001 From: suzuki Date: Wed, 11 Feb 2026 20:12:01 +0000 Subject: [PATCH 3/3] docs: update AGENTS.md --- AGENTS.md | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 16b0fb4..231fb62 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,12 +2,29 @@ ## Important Instructions -- Never use tabs. Use spaces instead. -- Never modify `lakefile.toml`. -- Never use `python`, `cat`, `git checkout`and `git reset`. -- Never use `sorry`, `admit`, `axiom`, and `set_option` for any reason! -- Fix indentation when referring `expected '{' or indented tactic sequence`. +- Use spaces only; never use tabs. +- Do not modify `lakefile.toml`. +- Do not use `python`, `cat`, `git checkout`, or `git reset`. +- When encountering the error `expected '{' or indented tactic sequence`, fix the indentation. - Autonomously continue executing the tasks specified in `PLANS.md` until the maximum request limit is reached. -- Use `lean-lsp` mcp server tools when searching Mathlib, analyzing codes, etc. -- Write comments in English. -- Use `$...$` or `$$...$$` for LaTeX math formatting in markdown. +- Use the `lean-lsp` MCP server tools when applicable. +- Write all comments in English. +- Use `$...$` or `$$...$$` for LaTeX math formatting in Markdown. +- 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. +- Do not explore shorter proof paths before the current proof is completed. Only after completion may you consider improved approaches. +- Before ending the session, run `lake build` to ensure the project builds successfully. + +## Prohibitions + +The following tokens are strictly prohibited to use in this project: + +- `sorry` +- `admit` +- `axiom` +- `set_option` +- `unsafe` +- `System` +- `open System` +- `Lean.Elab` +- `Lean.Meta` +- `Lean.Compiler`