agentleFS
Google DeepMindKnown publishergoogle-deepmind/formal-conjectures/AGENTS.md

formal-conjectures

AGENTS.md1.3k starsChanged 3 months agoApache-2.0View on GitHub

Formal Conjectures states open mathematical problems in Lean 4. It is a statement repository, not a proof repository: almost every problem is sorry. CONTRIBUTING.md is the reference for conventions, folders, and attributes. Also follow any README.md in the directory that you change. Use these detailed guides when the task needs them: Follow the style of an existing file. Start by copying one from the same directory. Search Mathlib, FormalConjecturesForMathlib/, and nearby problem files before you add a definition, API, or…

Trending

Less talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 1 mentionFeb 2026: 2 mentionsMar 2026: 2 mentionsApr 2026: 2 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 6 mentionsAug 2026: 14 mentionsSep 2026: 10 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the google-deepmind/formal-conjectures repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about google-deepmind/formal-conjectures

The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 53

Talked about on GitHub, Bluesky and Hacker News (53 times).

On GitHub · 40

35 more on GitHub

On Bluesky · 9

4 more on Bluesky
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

19 rules. About 0 are common, 12 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use these detailed guides when the task needs them:

    line 9
  2. Distinctive:

    Follow the style of an existing file.

    line 16
  3. Very specific:

    Search Mathlib, FormalConjecturesForMathlib/, and nearby problem files before you add a definition, API, or notation.

    line 18
  4. Very specific:

    Put each problem in FormalConjectures/<Source>/.

    line 22
  5. Distinctive:

    Read the cited source. Make the Lean statement, its docstring, and the source agree.

    line 35
  6. Very specific:

    Use answer(sorry) only for the information that the problem asks to determine.

    line 39
  7. Distinctive:

    Write documentation in simple, concise technical English.

    line 44
  8. Distinctive:

    Use the same style for all repository communication.

    line 48
  9. Distinctive:

    Use LaTeX for mathematics in problem docstrings.

    line 55
  10. Distinctive:

    Follow Mathlib naming conventions.

    line 60
  11. Distinctive:

    Use local notation for notation that is specific to one problem.

    line 61
  12. Very specific:

    Write placeholders as by sorry.

    line 63
  13. Very specific:

    Keep AMS tags in ascending order, such as AMS 15 51.

    line 64
  14. Very specific:

    Do not use a global open Classical.

    line 65
  15. Distinctive:

    Do not add placeholder definitions, incomplete types, unused imports, debug code, or commented out code.

    line 67
  16. Distinctive:

    Use the wider target only when the changed scope requires it:

    line 79
  17. Distinctive:

    Keep the pull request description concise and easy to scan.

    line 90
  18. Very specific:

    Put reviewer notes in the pull request, not in Lean comments.

    line 94
  19. Distinctive:

    Before requesting review, check that:

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent guidelines

Formal Conjectures states open mathematical problems in Lean 4. It is a statement repository, not a proof repository: almost every problem is sorry.

CONTRIBUTING.md is the reference for conventions, folders, and attributes. Also follow any README.md in the directory that you change.

Use these detailed guides when the task needs them:

  • PROOFS.md for proofs and formal_proof claims
  • STATEMENTS.md for adding and reviewing statements

Start with existing code

Follow the style of an existing file. Start by copying one from the same directory.

Search Mathlib, FormalConjecturesForMathlib/, and nearby problem files before you add a definition, API, or notation. Search names and documentation with rg. Use #check to confirm the type of a candidate declaration.

Put each problem in FormalConjectures/<Source>/. Keep closely related variants in the same file. Put reusable mathematics in FormalConjecturesForMathlib/. That directory must not contain sorry.

FormalConjecturesTest/ tests only the repository tooling in FormalConjecturesUtil/. Do not add tests for FormalConjecturesForMathlib/ there. Put lemmas and sanity checks for a shared definition in the FormalConjecturesForMathlib/ file that defines it.

Problem files normally import only FormalConjecturesUtil. FormalConjecturesForMathlib/ files import only the required Mathlib modules.

State the source faithfully

Read the cited source. Make the Lean statement, its docstring, and the source agree. Check the order and scope of quantifiers, bounds, hypotheses, and all variants. Test empty and smallest inputs. See STATEMENTS.md for the detailed checks.

Use answer(sorry) only for the information that the problem asks to determine. Put all quantifiers after it. A tautological term inside answer() is not a mathematical solution.

Write clear documentation

Write documentation in simple, concise technical English. Prefer short sentences, common words, and one instruction or claim per sentence. Remove repetition and details that do not help a contributor complete the task.

Use the same style for all repository communication. This includes issues, pull requests, reviews, and comments.

Give each module a docstring with its sources. Give each research open, research solved, and textbook theorem a concise docstring that states the problem. Explain a non-obvious domain restriction when it is needed to exclude a degenerate case.

Use LaTeX for mathematics in problem docstrings. Use code formatting for Lean and Mathlib API names. Do not put review notes or a proposed proof of an open problem in a Lean file.

Keep the Lean simple

  • Follow Mathlib naming conventions.
  • Use local notation for notation that is specific to one problem.
  • Omit type annotations that Lean can infer.
  • Write placeholders as by sorry.
  • Keep AMS tags in ascending order, such as AMS 15 51.
  • Do not use a global open Classical. Use open scoped Classical in or provide a local Decidable instance.
  • Do not add placeholder definitions, incomplete types, unused imports, debug code, or commented out code.

Build the changed scope

Build every module that you change. Do not build the whole project locally for a problem-file change.

lake --wfail build 'FormalConjectures.ErdosProblems.«361»'

Use the wider target only when the changed scope requires it:

lake --wfail build FormalConjecturesForMathlib  # shared definitions
lake --wfail test                               # repository utilities

--wfail turns warnings into failures, as CI does. Fix every warning in the changed scope.

Write a readable pull request

Keep the pull request description concise and easy to scan. State what changed, why it changed, and how you checked it. Include only formalisation choices, limitations, or reviewer notes that affect the change. Remove narration, repetition, and unrelated detail.

Put reviewer notes in the pull request, not in Lean comments. To close several issues, repeat the keyword: Fixes #1, fixes #2.

Before requesting review, check that:

  • each changed module builds with --wfail
  • each problem theorem has one category and at least one AMS tag
  • module and theorem docstrings follow the source and cite it
  • the statement handles its boundary cases
  • FormalConjecturesForMathlib/ contains no sorry
  • the diff contains only intended files and changes

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.