Path for submissions that exceed the CI runner (6 h, 15 GiB): poincare_3d_topological and poincare_3d_smooth

Open
#663 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github, github-actions, linux

Research direction

Start with the evaluate job and the workflow limits for ubuntu-latest, especially timeout-minutes: 360. Compare the submission and comparator resource requirements with available GitHub-hosted and self-hosted runner options. Done means maintainers choose and document a reproducible evaluation path that preserves the pinned checker and accommodates both runtime and memory needs.

Written by the indexing model from the issue text.

Description

We have solutions to poincare_3d_topological and poincare_3d_smooth that pass the official comparator check locally. They cannot complete on the submission CI runner. Neither more time nor a smaller package would be enough on their own, because the check also needs more memory than the runner has. We would like to ask whether there is, or could be, a path for submissions like these.

This is related to #642 (memory limit), but here both time and memory are binding.

What happened in CI

  • Submissions: leanprover/lean-eval-submissions#2149 (poincare_3d_topological) and leanprover/lean-eval-submissions#2150 (poincare_3d_smooth).
  • Runs: https://github.com/leanprover/lean-eval-submissions/actions/runs/39094085392 and https://github.com/leanprover/lean-eval-submissions/actions/runs/39094086368.
  • In both runs the evaluate job ran from 2026-10-18 03:35 to 09:36 UTC. It was then cancelled by the job's timeout-minutes: 360.
  • At cancellation, lake's progress counter stood at [12995/13008] for topological and [14365/14403] for smooth. So the build of Submission was nearly finished.
  • The bot comment says the harness "reported an error rather than a result" and points to the workspace layout. As far as we can tell, the cause is the job timeout, not the layout.

Why finishing the build would not be enough

We ran the official check locally with comparator d03acab, lean4export 076e8e5 and nanoda 68d5ca9, plus Lean kernel replay. The permitted axioms were propext, Quot.sound and Classical.choice. It ran in an isolated container.

poincare_3d_topological poincare_3d_smooth
result "Your solution is okay!" "Your solution is okay!"
wall time at 48 CPUs 4 h 11 min (46.7 CPU-hours) about 4 h 15 min (42.2 CPU-hours)
export of the theorem's dependency cone 8.15 GB 7.04 GB
comparator peak memory 27.9 GB 25.3 GB
kernel replay phase alone about 17.8 GB 16.1 GB average, 17.3 GB peak

The evaluate job runs on ubuntu-latest. The workflow's own comment gives that as 4 cores, 15 GiB and 3 GiB swap. So comparator would be killed after the build even with no time limit. Comparator's peak is about 3.5–3.6× the export size. The export contains exactly the theorem's dependency cone, so removing unused code or vendored packages does not shrink it. To fit in 16 GB, the proof terms would need to be about 43–52 % smaller with every statement unchanged. We do not see a way to do that.

As far as we can see, earlier submissions of these two problems ended the same way: leanprover/lean-eval-submissions#1961, leanprover/lean-eval-submissions#1962, leanprover/lean-eval-submissions#1973, leanprover/lean-eval-submissions#1974, leanprover/lean-eval-submissions#2113 and leanprover/lean-eval-submissions#2119.

Request

Would the maintainers consider one of these for submissions that pass the official check but exceed the CI runner?

As the workflow notes, 360 minutes is GitHub's per-job ceiling for hosted runners, and ubuntu-latest-large has the same 4 cores and 15 GiB on this org. So the fix probably has to come from outside hosted runners:

  1. A self-hosted or larger runner lane for submissions that need it, for example 16 or more cores and 64 GB.
  2. A maintainer-run evaluation on a bigger machine, with the same pinned comparator, lean4export, nanoda and Lean versions.

We are happy to provide full logs and measurements. We can also re-run any check you specify, or adjust the packaging if a particular layout helps.

Credit

The proofs come from a Lean library of differential geometry built by members of our team. It formalizes Perelman's proof (Ricci flow with surgery, finite extinction). Its authors are Yuan Liao, Ziyang Qin, Jui-Hui Chung, Ayush Khaitan, Zhengyang Zhang, Hongzhou Lin, Zijian Zhang, Ligeng Zhu, Peng Lu and Bennett Chow. The bridge to the Lean-Eval statements, the packaging of the import closure and the checks above were also done within the team.

Dominant language
Lean
Stars
54
Forks
48
Avg merge
1d 4h
Merged PRs (30d)
17

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from leanprover/lean-eval

All issues in leanprover/lean-eval

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.