Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

Bring the check, the baseline search and what is known
Browse files+2 −0 .gitignore added View file
| @@ -0,0 +1,2 @@ | ||
| 1 | +__pycache__/ | |
| 2 | +.lake/ | |
+190 −0 AGENTS.md added View file
| @@ -0,0 +1,190 @@ | ||
| 1 | +# AGENTS.md | |
| 2 | + | |
| 3 | +Read [README.md](README.md) first, then `KNOWN.md`. `main` is OpenAI's Lean proof of the rational Hodge conjecture for | |
| 4 | +CM abelian varieties as published, cut to what the theorem imports. What we want: the proof rerun on stated hardware | |
| 5 | +and with a second kernel; its statement read one definition at a time and tested by theorems in Lean, since nobody has | |
| 6 | +published a reading of it; the open questions kept with their sources; and a proof people can read and build. A change | |
| 7 | +that makes the code shorter or faster but harder to read is not welcome. Never describe a change here as progress on | |
| 8 | +the Hodge conjecture itself: the theorem is one case of it, it is fixed, and only its proof changes. | |
| 9 | + | |
| 10 | +## First session | |
| 11 | + | |
| 12 | +In your clone of this project, with Python 3 and no Lean (the clone is large: 33,000 Lean files): | |
| 13 | + | |
| 14 | +```bash | |
| 15 | +python3 checks/challenge.py . # last line: ok: 260 challenge files and the build configuration as approved; … | |
| 16 | +git fetch origin issues && git show origin/issues:BOARD.md # the pieces, and who works on what | |
| 17 | +cd ComparatorChallenges/HodgeConjectureCMAbelianVarieties | |
| 18 | +cat Challenge.lean CM.lean HodgeConjecture/Statement.lean # the theorem, what CM means here, the conjecture itself | |
| 19 | +``` | |
| 20 | + | |
| 21 | +Then pick one piece nobody holds. Each issue says what to do, what it needs (reading only, compiling against the | |
| 22 | +statement library, or a full build on a large machine), when it closes and what it does not show. By what you have: | |
| 23 | + | |
| 24 | +- **Reading only**: one definition of the statement (R-2 to R-10, one each: start with R-2, complex points, where the | |
| 25 | + earlier Lean statement failed), one open question (Q-1 to Q-6), V-4 (what the repair of 2026-10-29 changed), L-1 or | |
| 26 | + L-2 (one row), T-4. | |
| 27 | +- **Lean and patience** (the statement library is 257 files on Lean v4.34.1): R-12 (a first checked example), R-11, | |
| 28 | + R-13, P-1, M-1. | |
| 29 | +- **A large machine and days**: V-1 (the only public pass took 31 hours). | |
| 30 | + | |
| 31 | +## Reruns, readings and questions | |
| 32 | + | |
| 33 | +A rerun (Comparator on this project, nanoda on its export, a build of the original library) is a dated record in | |
| 34 | +`routes/<your-branch>/RERUN.md`, one section per run, never replaced: a later run is a new section. The one template: | |
| 35 | + | |
| 36 | +```markdown | |
| 37 | +## 2026-12-02: <what was rerun>, by <who> (<which agent, if one ran it>) | |
| 38 | + | |
| 39 | +- Machine: <CPU model, cores, RAM, OS>; <your own machine, or the site's job number> | |
| 40 | +- Image: <the image tag and id, or `lean --version` and the Mathlib commit; Comparator, lean4export, landrun, nanoda> | |
| 41 | +- Commit: <repository URL and the full commit that was rerun> | |
| 42 | +- Command: <each command as typed, with its exit code, wall time and peak memory> | |
| 43 | +- What it printed: <the lines that carry the verdict, copied, not paraphrased> | |
| 44 | +- What was not checked: <every part of the claim this run does not cover; never "what the statement means"> | |
| 45 | +``` | |
| 46 | + | |
| 47 | +A reading is `docs/readings/<piece>.md`, a question `docs/questions/<piece>.md`. Every claim in them has a source: a file | |
| 48 | +and line (as Lean's `#print` shows the declaration), or a paper with its version and page. A reading's first line is its | |
| 49 | +status, "unread by a person" until a named person who knows the area says in a review that they read it. In a | |
| 50 | +question, each position stands under its author's name with its source; where two differ, both stay. Nothing is | |
| 51 | +settled by a count of voices, and a position leaves only when its source is withdrawn or it misquotes. Your own view | |
| 52 | +goes in under your name, with sources, beside the others. A reading that finds the statement wrong is an issue titled | |
| 53 | +"Ruling: …" as well. | |
| 54 | + | |
| 55 | +## Claim an issue | |
| 56 | + | |
| 57 | +Work on a branch of your own, and say what you take in its notes: | |
| 58 | + | |
| 59 | +```bash | |
| 60 | +git switch -c my-change origin/main | |
| 61 | +mkdir -p routes/my-change | |
| 62 | +cat > routes/my-change/README.md <<'NOTES' | |
| 63 | +--- | |
| 64 | +issue: 3 | |
| 65 | +status: working | |
| 66 | +--- | |
| 67 | +# my-change | |
| 68 | + | |
| 69 | +Which files, and what I change in them. | |
| 70 | + | |
| 71 | +## Next | |
| 72 | + | |
| 73 | +The first concrete step. | |
| 74 | +NOTES | |
| 75 | +``` | |
| 76 | + | |
| 77 | +A push keeps the claim alive. If you stop, leave `## Next` so whoever continues knows where you stopped. Your change | |
| 78 | +itself is in the Lean files under `OAI/`; the notes say what it is. | |
| 79 | + | |
| 80 | +## Changes we want | |
| 81 | + | |
| 82 | +- Using a result from Mathlib in place of our own proof of it, and deleting ours. Check that the statements agree, | |
| 83 | + hypotheses included. If Mathlib states it in another form, keep our lemma as a short wrapper rather than adding a | |
| 84 | + conversion at every caller. | |
| 85 | +- Deleting declarations and files that nothing uses. The proof imports 33,000 modules of a library written for many | |
| 86 | + results; much of it may serve none of this theorem's steps. | |
| 87 | +- Proving once, as a lemma, an argument that appears several times, and using it everywhere. | |
| 88 | +- Merging a chain of tiny files that only re-export one another, when the merged file reads as one topic. | |
| 89 | +- Splitting a long proof into lemmas with names and docstrings. A comment that explains a step moves with it. | |
| 90 | +- Tying a declaration to the paper: a docstring that names the section, lemma or equation of OpenAI's paper (or of van | |
| 91 | + Hoften and Sempliner's) it formalises, checked against the paper. | |
| 92 | +- Fixing linter warnings, wrong docstrings and open issues. A docstring says what its declaration states, including | |
| 93 | + both directions of an `iff`. | |
| 94 | +- Theorems that test the statement, in new files outside the frozen ones: an example that satisfies the hypotheses | |
| 95 | + (R-12), every algebraic class is a Hodge class (R-11), Lefschetz (1,1) (R-13). A test that fails is a finding: say so | |
| 96 | + in a "Ruling: …" issue rather than working around it. | |
| 97 | +- Readings and questions under `docs/` in the form above. | |
| 98 | + | |
| 99 | +## Changes we don't want | |
| 100 | + | |
| 101 | +- Inlining a lemma into its only caller, or folding helper lemmas or named `have` steps into one long proof. A step | |
| 102 | + with a name still tells the reader what it proves. | |
| 103 | +- Cutting an `iff` down to one direction, or dropping conclusions from a lemma, because no caller needs them. | |
| 104 | +- Replacing `simp` with a long `simp only [...]` list, or expanding a tactic into many hand-written steps, to save a | |
| 105 | + second or a few lines. | |
| 106 | +- A `simp` or other flexible tactic followed by steps that depend on the exact form it leaves. Make it the last step, | |
| 107 | + or use `simp only`. | |
| 108 | +- Removing a file's `set_option backward.*` lines without a build that shows the file still compiles without them. | |
| 109 | +- Bringing back another package of upstream's `lakefile.lean` (Tau Ceti, carleson and the rest): nothing here imports | |
| 110 | + them, and `challenge` fails a dependency outside leanprover and leanprover-community. | |
| 111 | +- Adding or changing a reference to the papers or the literature without checking it against the source. Say which | |
| 112 | + version you checked and give the section or equation number. | |
| 113 | +- A reading or a question that states a claim without its source, removes someone else's sourced position, or marks | |
| 114 | + itself read by a person who has not said so. | |
| 115 | +- Any change to `Challenge.lean`, `CM.lean`, `main.json` or the statement library `HodgeConjecture/` in | |
| 116 | + `ComparatorChallenges/HodgeConjectureCMAbelianVarieties/`, or to `checks/`: the `challenge` check fails it, as it | |
| 117 | + fails a change to `lakefile.toml` beyond a `require`'s `rev`, `leanOptions`, `defaultTargets`, `lean_exe` or | |
| 118 | + `[cache]`, a dependency outside leanprover and leanprover-community, a `lakefile.lean`, or files under `.lake/`. If | |
| 119 | + you think a statement is wrong, open an issue titled "Ruling: …" and say why. | |
| 120 | + | |
| 121 | +## Pull requests | |
| 122 | + | |
| 123 | +Keep each pull request to one change; fixing linter warnings in the files you edit doesn't count as a second one. | |
| 124 | +Compile what you changed if you can (`lake exe cache get`, then `lake build` of the modules you touched and what | |
| 125 | +imports them); if you cannot, push and let the `build` check say. Either way, open the pull request, and don't write | |
| 126 | +in it that it builds: `build` says that. Titles follow | |
| 127 | +[Mathlib's convention](https://leanprover-community.github.io/contribute/commit.html). In the description, name the | |
| 128 | +issue it answers (`Closes #3`), say in two or three sentences what the change does and why it makes the proof easier | |
| 129 | +to read, and keep the title and description in step with the diff when you push more commits. Leave out timings and | |
| 130 | +heartbeat counts unless speed is the reason for the change; then give the few numbers a maintainer needs to decide, | |
| 131 | +per declaration where you can, and say how you measured them. | |
| 132 | + | |
| 133 | +If you want to make the same kind of change in many places, open one pull request first and wait for the maintainer to | |
| 134 | +say we want it before you open the others. | |
| 135 | + | |
| 136 | +## CI | |
| 137 | + | |
| 138 | +Two checks run on every push, and a third, `replay`, is the maintainer's; all three gate the merge. Their code is | |
| 139 | +`checks/` at the approved version, so editing it on your branch changes nothing about your verdict. | |
| 140 | + | |
| 141 | +- **`challenge`**, seconds: the Comparator challenge files and the build configuration are as approved, and the source | |
| 142 | + has no `sorry`, `admit`, `axiom`, `native_decide`, `implemented_by` or `extern`. Run it yourself: | |
| 143 | + `python3 checks/challenge.py .` | |
| 144 | +- **`build`**, up to hours: in the project's Lean image with no network, `lake build` ends without error, no module | |
| 145 | + reports `sorry`, and the theorems use no axiom beyond `propext`, `Quot.sound` and `Classical.choice`. It does not | |
| 146 | + run Comparator: its last line says what held and "not replayed". Its logs are kept with the job. If you can build, | |
| 147 | + `lake exe cache get && lake build` before you push; if you cannot, push and let `build` say. | |
| 148 | +- **`replay`**: the full replay, Comparator on | |
| 149 | + `ComparatorChallenges/HodgeConjectureCMAbelianVarieties/main.json` (the same statement, the Lean kernel), which the | |
| 150 | + maintainer's machine runs on a pull request's head once `build` has passed there, and on `main` when it moves, and | |
| 151 | + reports itself. You do nothing for it and need not wait for it; the merge does. | |
| 152 | + | |
| 153 | +A toolchain or Mathlib bump passes `challenge`, but `build` needs a new image first (`docker/README.md`): open an issue | |
| 154 | +for a person who maintains the project rather than a pull request that cannot pass. | |
| 155 | + | |
| 156 | +## For the maintainer | |
| 157 | + | |
| 158 | +The house's maintainer agent (`hodge-maintainer`) comes about every two hours while people work here, at least twice a | |
| 159 | +day, and within minutes when written to. It reviews (first line ``**Review of `<commit>`: <verdict>**``), does not | |
| 160 | +merge, logs each round on the issue "Maintainer log", and opens `Ruling: …` issues (`needs-person`) for what only a | |
| 161 | +person decides. Here, as a `reading` problem: | |
| 162 | + | |
| 163 | +- **Discussions kept useful** (skill `discussion`): a source asked for every fact; what was checked here kept apart | |
| 164 | + from what is only sourced and from opinion; a thread of eight replies, or quiet for two days with a question open, | |
| 165 | + summarised on its issue. A thread nobody qualified has read says "unread by a person". | |
| 166 | +- **Readings of the Lean statement reviewed** clause by clause: the Lean side quoted from Lean's own `#print` in the | |
| 167 | + project's image, the literature's side quoted with edition and number. A reading that finds the statement does not | |
| 168 | + say what the conjecture says goes to a person. | |
| 169 | +- **Main replayed once a round.** Here `build` on a push compiles and scans for `sorry` but does not run Comparator | |
| 170 | + (`"replay": "round"` in `checks/build.json`): its last line says "not replayed". The full replay of main runs on the | |
| 171 | + maintainer's host (`house/maintainer/replay.sh`) at the start of a round when main moved; a failure is a ruling for | |
| 172 | + a person, who may revert. | |
| 173 | +- **Sources watched**: `openai/math` (the upstream) and the papers the README cites. | |
| 174 | + | |
| 175 | +Judge every pull request against the two lists above: whether the proof is easier to read after it, not only whether | |
| 176 | +it is shorter or faster. | |
| 177 | + | |
| 178 | +- **Merge** a change we want once `challenge` and `build` have passed on its head, and the description says what it | |
| 179 | + changes and why. | |
| 180 | +- **Request changes** when the description and the diff disagree, when it is two changes in one, when it is on the | |
| 181 | + second list (say which item), or when a reference to a paper is added without the version and the number. | |
| 182 | +- **Request changes** when `challenge` or `build` failed: quote the check's last line. | |
| 183 | +- **Escalate** a change to `ComparatorChallenges/`, to `checks/` or `docker/`, to `lakefile.toml`'s libraries or | |
| 184 | + dependencies, a new dependency, a claim that the statement does not say what the Hodge conjecture says, or two | |
| 185 | + reviews that disagree: say in one sentence what a person must decide. | |
| 186 | +- **Close** a repeat of a change already merged or open, pointing to it, a mass change opened before the first of its | |
| 187 | + kind was wanted, and anything that offers a proof of the general Hodge conjecture. | |
| 188 | + | |
| 189 | +Never merge on the author's word that it builds: only `build` on its head says so. After a merge, add to `KNOWN.md` what | |
| 190 | +changed and, if it took a lemma from Mathlib, which one. | |
+231 −0 README.md added View file
| @@ -0,0 +1,231 @@ | ||
| 1 | +# Hodge conjecture: the CM case in Lean, read and discussed | |
| 2 | + | |
| 3 | +OpenAI's Lean proof of the rational Hodge conjecture for abelian varieties with complex multiplication (CM): one case | |
| 4 | +of the conjecture, not the conjecture. Here it is rerun, its statement is read one definition at a time and tested in | |
| 5 | +Lean, and the questions on which informed people differ are kept with their sources. The Hodge conjecture is open, and | |
| 6 | +nothing here is a step towards Clay's prize. | |
| 7 | + | |
| 8 | +## Where it stands (as of 2026-12-02) | |
| 9 | + | |
| 10 | +The Hodge conjecture is open: Clay's page says "Unsolved" and "in dimension four it is unknown" | |
| 11 | +(<https://www.claymath.org/millennium/hodge-conjecture/>, read 2026-12-02). In general it is known in degree 2 | |
| 12 | +(Lefschetz's (1,1) theorem) and so, with hard Lefschetz, in dimension at most 3. With integer coefficients it is false | |
| 13 | +(Atiyah and Hirzebruch 1962), and it fails for Kähler manifolds that are not algebraic (Zucker 1977, Voisin 2002). | |
| 14 | +Markman's preprint on Weil classes (arXiv:2502.03415, 2025) gives abelian fourfolds; it has no journal reference yet. | |
| 15 | + | |
| 16 | +The claims of 2026, and how far each has been checked. Four statuses: **Lean-checked, statement read** (a Lean proof | |
| 17 | +passes the kernel, and a named person outside its authors has said in public that its statement says what is claimed); | |
| 18 | +**Lean-checked, statement unread** (the proof passes; nobody outside its authors has said that of the statement); | |
| 19 | +**written argument, unread** (a paper or note no reader outside its authors has said they checked); **refuted** (shown | |
| 20 | +wrong, with the source). Nothing in the table has been rerun in this project yet: the pieces named beside each row are | |
| 21 | +how that changes. | |
| 22 | + | |
| 23 | +| Date | Claim | Who, where | Status | | |
| 24 | +|---|---|---|---| | |
| 25 | +| 2026-09-07 | A Lean statement of the Hodge conjecture, in lean-dojo/LeanMillenniumPrizeProblems | lean-dojo | refuted as a target: no variety in it has a complex point, so it holds vacuously (Kevin Buzzard, its pull request #9, in Lean; upstream marked it incomplete) (V-2) | | |
| 26 | +| 2026-09-26 | The conjecture for Fermat varieties of every degree below 65 except 44, 51 and 52 | Miranda, Movasati, Rufino and Villaflor, arXiv:2609.27301 v2 | written argument, unread: a preprint (R-1) | | |
| 27 | +| 2026-10-06 | Three sibling papers: Weil classes on split abelian eightfolds, Kuga–Satake correspondences for K3 surfaces, products of K3 surfaces | OpenAI, github.com/openai/math | refuted, the proofs: withdrawn on 2026-10-06 for a sign error, "This withdrawal concerns the proof; it does not assert that the mathematical statement is false"; Lekili and Sheridan explain the error (arXiv:2610.30976) (Q-5) | | |
| 28 | +| 2026-10-06 (paper), 2026-10-26 (Lean) | The rational Hodge conjecture for CM abelian varieties: `HodgeCM.hodge_conjecture_for_cm_abelian_varieties` | OpenAI, openai/math family 032; this project's starting point | Lean-checked, statement unread: Comparator failed on the first version and was repaired on 2026-10-29; one outside pass, Paul Lezeau, 2026-11-01, "after a 31 hour run", machine not described, one kernel; nobody has published a reading of the 257-file statement, and upstream's catalogue says `review: status: unchecked` (V-1, V-4, R-2 to R-13). Of the mathematics: van Hoften and Sempliner's own proof "Following the recent work" of OpenAI, with the model's help in finding parts (Hexagon 2610.00259 v2, 2026-10-18); Milne's report states it as "Theorem 2.1 (OpenAI)" and refers to them for the hard step (2026-11-27); no referee, no journal (Q-1, Q-2, Q-6) | | |
| 29 | +| 2026-11-22 | Infinitely many new cases for Klein varieties | Pastrana and Villaflor, arXiv:2611.29763 | written argument, unread | | |
| 30 | +| 2026-11-23 | Hyper-Kähler varieties of generalized Kummer type of dimension divisible by 4, and their powers, now unconditional | Floccari and Fu, arXiv:2610.31740 v2 | written argument, unread | | |
| 31 | + | |
| 32 | +Milne writes that the CM case is "not known to imply the Hodge conjecture for all abelian varieties, but it would be | |
| 33 | +strange if this wasn't true" (Q-4). No withdrawal or refutation of the CM paper was found on 2026-12-02. | |
| 34 | + | |
| 35 | +**What the Lean here shows.** That Lean's kernel accepts a proof of `HodgeCM.hodge_conjecture_for_cm_abelian_varieties` | |
| 36 | +exactly as the fixed challenge states it, on the three standard axioms. **What it does not show.** That the statement | |
| 37 | +says what Deligne's does: it rests on 257 files outside Mathlib, copied in late September 2026 from a library whose | |
| 38 | +README says it "is still a work in progress", and a Lean statement of this conjecture has been empty before. Nor | |
| 39 | +anything about the conjecture beyond CM abelian varieties. | |
| 40 | + | |
| 41 | +## What this project is for | |
| 42 | + | |
| 43 | +The project started from openai/math's `lean/` at `3344da59991ed94f9ba711217b29c1d760badfa6` (only what the CM challenge | |
| 44 | +and its solution import) on 2026-12-02, and it is its own main line from then on: the Lean work is done here, and nobody | |
| 45 | +re-pins it. Upstream takes no issues or pull requests (issues are disabled there), so this is an open place for the | |
| 46 | +work around the proof. Beside the rerun, this project gives room to reading and open discussion: | |
| 47 | + | |
| 48 | +- **Rerun and test it in Lean**: a second Comparator pass on stated hardware, and the first with a second kernel | |
| 49 | + (nanoda) (V-1); the statement tested by theorems against the frozen files: a first checked example, so that it is | |
| 50 | + not empty (R-12), every algebraic class is a Hodge class (R-11), Lefschetz (1,1) (R-13). These are hard, and they are | |
| 51 | + the Lean frontier here. | |
| 52 | +- **Read the statement, one definition at a time** (R-2 to R-10: complex points, rational and de Rham cohomology, Hodge | |
| 53 | + classes, the cycle class, abelian varieties, CM, the variants), the repair of 2026-10-29 and the copy against its | |
| 54 | + original (V-4 to V-6), the sources the paper cites (V-7 to V-9), and the argument written for a geometer (T-1 to T-4). | |
| 55 | +- **Keep the open questions** (Q-1 to Q-6: was it known, what has checked it, what would make a statement trusted, how | |
| 56 | + far it reaches, why the siblings fell, whose theorem it is) and the records (L-1 this table, L-2 the map of known | |
| 57 | + cases). | |
| 58 | +- **The ordinary care of a large proof**: 33,172 files, linter warnings, the largest file split, unused files deleted, | |
| 59 | + Mathlib's lemmas used (P-1 to P-4, S-1, S-2, M-1). | |
| 60 | + | |
| 61 | +## How to take part | |
| 62 | + | |
| 63 | +1. Read this page and [`AGENTS.md`](AGENTS.md). Its "First session" takes a few minutes and needs no Lean. | |
| 64 | +2. Pick one piece from the project's issues (titles start with a letter and a number: V, R, Q, T, P, S, M, L). The goal | |
| 65 | + issue says where to start by what you have: reading only (most R and Q pieces, one definition or one question | |
| 66 | + each), Lean and patience (R-11 to R-13, P, S, M), or a large machine and days (V-1: the only public pass took 31 | |
| 67 | + hours). | |
| 68 | +3. Claim it with a branch and a note in `routes/<your-branch>/README.md` (AGENTS.md shows how). Then one change, one | |
| 69 | + pull request. | |
| 70 | +4. A rerun is a dated record in `routes/<your-branch>/RERUN.md`, in the one template AGENTS.md gives: machine, image, | |
| 71 | + commit, command, what it printed, what was not checked. | |
| 72 | + | |
| 73 | +**How disagreement is kept.** A reading is a file under `docs/readings/`, a question under `docs/questions/`. Every claim | |
| 74 | +in it has a source: a file and line, or a paper with its version and page. A reading starts with the status "unread by | |
| 75 | +a person" and keeps it until a named person who knows the area says in a review that they read it. Where two sourced | |
| 76 | +positions differ, both stay, side by side, under their authors' names: a question is never settled by a count of | |
| 77 | +voices, and a position leaves only when its source is withdrawn or it misquotes. Talk about a piece goes on its issue | |
| 78 | +or in the problem's channel; what is worth keeping is summarised into the file. | |
| 79 | + | |
| 80 | +## How work is judged, and when | |
| 81 | + | |
| 82 | +- **Two checks on every push, and the maintainer's `replay`**, all needed for a merge, their code `checks/` at the approved version: `challenge`, in | |
| 83 | + seconds (the 260 fixed files as approved, the build configuration too, no `sorry`, `admit`, `axiom`, `native_decide`, | |
| 84 | + `implemented_by` or `extern`); `build`, in the project's Lean image with no network: `lake build` ends without error, | |
| 85 | + no declaration uses `sorry`, and the theorems use only the three standard axioms; Comparator does not run on a push. | |
| 86 | + The third, `replay`, is the full replay, Comparator with Lean's kernel, which the maintainer's machine runs on a pull | |
| 87 | + request's head once `build` has passed there and reports by itself; the merge waits for it. | |
| 88 | +- **Readings and questions** close on readers, not on the checks: a second reader checks every source, and a reading | |
| 89 | + keeps "unread by a person" until a named person who knows the area has read it. | |
| 90 | +- **The site's reading** reads each pull request within minutes of a push and takes it in when the checks and the | |
| 91 | + evidence its piece asks for are there. | |
| 92 | +- **The house's maintainer agent** (`hodge-maintainer`) comes about every two hours while people are working here, and | |
| 93 | + at least twice a day. It asks for sources, keeps what is checked apart from opinion, summarises long threads onto | |
| 94 | + their issues, reviews readings of the statement against Lean's own `#print`, reviews with a first line "Review of | |
| 95 | + `<commit>`: ready", "changes needed", "needs a person" or "not finished", and writes one line a round in the | |
| 96 | + "Maintainer log" issue. A question written to it in the channels or with `@hodge-maintainer` is answered within | |
| 97 | + minutes. | |
| 98 | +- **A person** decides what no written rule settles: a reading that finds the statement wrong (an issue titled | |
| 99 | + "Ruling: …"), a change to the fixed files, two reviews that disagree. | |
| 100 | + | |
| 101 | +## Theorem statement | |
| 102 | + | |
| 103 | +| Theorem | Statement | | |
| 104 | +|---|---| | |
| 105 | +| `HodgeCM.hodge_conjecture_for_cm_abelian_varieties` | for a smooth integral projective group scheme $X$ over $\mathbb C$ with complex multiplication on $H^1$, and every $p$, every rational Hodge class of degree $2p$ lies in the span of the classes of codimension-$p$ algebraic subvarieties | | |
| 106 | + | |
| 107 | +[`Challenge.lean`](ComparatorChallenges/HodgeConjectureCMAbelianVarieties/Challenge.lean) states it with `sorry`, and | |
| 108 | +imports only [`CM.lean`](ComparatorChallenges/HodgeConjectureCMAbelianVarieties/CM.lean) (what complex multiplication | |
| 109 | +on $H^1$ means; OpenAI's own file, since the original library has no definition of CM) and, through it, the statement | |
| 110 | +library under `ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/` (257 files, about 52,000 lines: | |
| 111 | +the rational cohomology as sheaf cohomology of the constant sheaf on X(ℂ), the Hodge filtration, cycle classes; | |
| 112 | +`Statement.lean` states the Hodge conjecture itself). That library is adapted from | |
| 113 | +[Paul-Lez/HodgeConjecture](https://github.com/Paul-Lez/HodgeConjecture), whose README says "This formalisation is still a | |
| 114 | +work in progress, and is still in the process of being reviewed and improved"; its modules keep their own names | |
| 115 | +(`HodgeConjecture.*`). Comparator ([`main.json`](ComparatorChallenges/HodgeConjectureCMAbelianVarieties/main.json)) | |
| 116 | +checks that `Solution.lean` proves exactly that statement, with no axioms beyond `propext`, `Quot.sound` and | |
| 117 | +`Classical.choice`, and that Lean's kernel accepts the proof; `enable_nanoda` is false, as upstream has it. | |
| 118 | + | |
| 119 | +**These files are fixed**: `Challenge.lean`, `CM.lean`, `main.json` and the 257 files of `HodgeConjecture/` (listed | |
| 120 | +below), and so is the build configuration as far as Comparator depends on it. | |
| 121 | + | |
| 122 | +<details><summary>The 257 fixed files of the statement library</summary> | |
| 123 | + | |
| 124 | +- `HodgeConjecture/Definitions/Algebra/DeRham/`: `Basic.lean` | |
| 125 | +- `HodgeConjecture/Definitions/Algebra/Homology/DerivedCategory/`: `MappingCoconeShortExact.lean`, `MappingCoconeShortExactNaturality.lean` | |
| 126 | +- `HodgeConjecture/Definitions/Algebra/Homology/`: `LinearDual.lean` | |
| 127 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/`: `AnalyticLeftInverse.lean`, `HolomorphicCharts.lean`, `NormalCoordinates.lean`, `SourceOpen.lean` | |
| 128 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/`: `AmbientInjectiveResolution.lean`, `GlobalSections.lean`, `SupportedSingularModel.lean`, `WithSupport.lean` | |
| 129 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/ComplexPoint/`: `AnalyticSheaf.lean`, `Basic.lean` | |
| 130 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/`: `SingularClosedFiltration.lean`, `SmoothClosedLift.lean`, `SmoothSupportCoclassSection.lean`, `SmoothSupportPurity.lean`, `SupportExtension.lean` | |
| 131 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/`: `FundamentalClass.lean`, `Support.lean` | |
| 132 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Local/`: `Purity.lean` | |
| 133 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/SmoothPair/`: `CoclassOverlap.lean`, `CoclassSection.lean` | |
| 134 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Transport/`: `CohomologySheaf.lean` | |
| 135 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/`: `AnalyticDifferentialForms.lean`, `Filtration.lean`, `HolomorphicDeRham.lean` | |
| 136 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/`: `ProjectiveSpace.lean` | |
| 137 | +- `HodgeConjecture/Definitions/AlgebraicGeometry/Stratification/`: `Analytification.lean`, `Basic.lean` | |
| 138 | +- `HodgeConjecture/Definitions/AlgebraicTopology/LocalHomology/`: `ComplexClass.lean`, `FundamentalClass.lean`, `NormalProjectionCoclass.lean` | |
| 139 | +- `HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/`: `CohomologySection.lean`, `CohomologyStalkVanishing.lean`, `Constant.lean`, `FlasqueBoundedBelow.lean`, `FlasqueLowestCohomology.lean`, `MapOfLocalStalks.lean`, `OpenInjectiveResolution.lean`, `OpenRestrictedLowestCohomology.lean` | |
| 140 | +- `HodgeConjecture/Definitions/AlgebraicTopology/Singular/`: `Cohomology.lean`, `RelativeCochainCone.lean`, `RelativeCochainConeNaturality.lean` | |
| 141 | +- `HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/`: `Cochain.lean`, `CochainOpenCone.lean`, `CochainOpenSections.lean` | |
| 142 | +- `HodgeConjecture/Definitions/AlgebraicTopology/Support/`: `CohomologyFlasqueModel.lean`, `CohomologyInjectiveModel.lean`, `Cohomology.lean`, `DerivedSections.lean`, `DerivedSectionsLocalization.lean`, `NeighborhoodPairImage.lean`, `RelativeCohomologyOpenTransport.lean`, `RelativeCohomologySheaf.lean`, `SectionRestrictionCone.lean`, `SingularCohomologySheafComparison.lean`, `SingularFlasqueModel.lean`, `SingularSectionCohomology.lean` | |
| 143 | +- `HodgeConjecture/Definitions/Topology/Dimension/`: `Basic.lean` | |
| 144 | +- `HodgeConjecture/Lemmas/Algebra/DeRham/`: `Basic.lean` | |
| 145 | +- `HodgeConjecture/Lemmas/Algebra/`: `FieldToComplex.lean` | |
| 146 | +- `HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/`: `MappingCoconeShortExact.lean`, `MappingCoconeShortExactNaturality.lean`, `MappingConeMapNaturality.lean`, `RightDerivedFunctorPlusNaturality.lean`, `RightDerivedFunctorPlusShift.lean`, `RightDerivedFunctorPlusShiftNaturality.lean`, `ShortExactQuasiIso.lean` | |
| 147 | +- `HodgeConjecture/Lemmas/Algebra/Homology/`: `LinearDual.lean`, `LinearDualNaturality.lean`, `MapExtendNaturality.lean`, `MappingConeQuasiIso.lean` | |
| 148 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/`: `AnalyticLeftInverse.lean`, `HolomorphicCharts.lean`, `NormalCoordinates.lean`, `ResidueField.lean`, `SourceOpen.lean` | |
| 149 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/`: `SingularComparison.lean`, `SingularSheafComparison.lean`, `SupportedSingularModel.lean`, `SupportSingularGlobal.lean` | |
| 150 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/`: `AffineScheme.lean`, `AffineSpace.lean`, `AnalyticMap.lean`, `AnalyticSheaf.lean`, `Basic.lean`, `ClosedImmersion.lean`, `Etale.lean`, `LocalHomologyVanishing.lean`, `Localization.lean`, `Manifold.lean`, `Open.lean`, `ProjectiveCompact.lean`, `ProjectiveHausdorff.lean`, `Projective.lean`, `ProjectiveParacompact.lean`, `SmoothCoordinates.lean`, `StandardEtale.lean` | |
| 151 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/`: `ClosedPointDimension.lean`, `Dimension.lean`, `LocalGenerator.lean`, `NormalCoordinates.lean`, `NormalGeometry.lean`, `SingularClosedFiltration.lean`, `SmoothClosedLift.lean`, `SmoothSupportPurity.lean`, `SupportExtension.lean` | |
| 152 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Local/`: `LocalHomology.lean`, `Purity.lean` | |
| 153 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/SmoothPair/`: `CoclassOverlap.lean`, `CoclassSection.lean`, `OpenTransport.lean` | |
| 154 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/`: `Support.lean` | |
| 155 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Transport/`: `CohomologySheaf.lean` | |
| 156 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/`: `AnalyticDifferentialForms.lean`, `Filtration.lean`, `HolomorphicDeRham.lean`, `HolomorphicPoincare.lean` | |
| 157 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/`: `AffineRelativeDimension.lean`, `CatenaryDimension.lean`, `DimensionFormula.lean`, `Equidimensional.lean`, `Locus.lean`, `PointwiseDimension.lean`, `SingularLocusDimension.lean` | |
| 158 | +- `HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/`: `Analytification.lean`, `Basic.lean`, `ClosedFiltration.lean`, `LocalSupportVanishing.lean` | |
| 159 | +- `HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/`: `CenteredComplexOrientation.lean`, `ChartFundamentalClassGenerator.lean`, `ChartFundamentalClassInvariance.lean`, `ChartFundamentalClass.lean`, `ComplexClassDifferentiableInvariance.lean`, `ComplexClassLinearInvariance.lean`, `Euclidean.lean`, `EuclideanVanishing.lean`, `FlattenedSupport.lean`, `FundamentalClassGenerator.lean`, `FundamentalClass.lean`, `HolomorphicNormalTransition.lean`, `NormalProjectionCoclass.lean`, `NormalProjectionOverlap.lean`, `NormalSlicePurity.lean`, `PuncturedEuclidean.lean`, `SphereAffineBoundary.lean`, `SphereSimplicialHomology.lean` | |
| 160 | +- `HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/`: `CohomologyStalkVanishing.lean`, `FlasqueAcyclic.lean`, `FlasqueBoundedBelow.lean`, `FlasqueCokernel.lean`, `FlasqueExtendNat.lean`, `FlasqueLowerVanishing.lean`, `FlasqueLowestCohomology.lean`, `FlasqueQuasiIso.lean`, `HomologySection.lean`, `InjectiveFlasque.lean`, `OpenInjectiveResolution.lean`, `OpenRestrictedVanishing.lean`, `OpenRestriction.lean`, `OpenSheafification.lean` | |
| 161 | +- `HodgeConjecture/Lemmas/AlgebraicTopology/Singular/`: `Cohomology.lean`, `Contractible.lean`, `GlobalRestriction.lean`, `HomologyZeroNaturality.lean`, `RelativeCochainCone.lean`, `RelativeCochainConeNaturality.lean`, `RelativeHomotopyInvariance.lean`, `RelativePairExcision.lean`, `StandardSimplexCone.lean`, `SubsetChains.lean` | |
| 162 | +- `HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/`: `CoverSmall.lean`, `CoverSmallProjective.lean`, `CoverSmallQuasiIso.lean`, `Field.lean`, `Lebesgue.lean`, `OpenCover.lean` | |
| 163 | +- `HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/`: `Chain.lean`, `ChainStalk.lean`, `CochainDescent.lean`, `CochainFlasque.lean`, `Cochain.lean`, `CochainOpenConeNaturality.lean`, `CochainOpenRestriction.lean`, `CochainOpenSections.lean`, `CochainResolution.lean`, `CochainRestriction.lean`, `SubdivisionCochain.lean` | |
| 164 | +- `HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/`: `AffineIteration.lean`, `Affine.lean`, `AffineMesh.lean`, `AffinePrism.lean`, `AffineRelativeMesh.lean`, `AffineSmall.lean`, `AffineSmallPrism.lean`, `AffineSupport.lean`, `BarycentricAllDegrees.lean`, `BarycentricChains.lean`, `BarycentricHomotopy.lean`, `BarycentricOuterFaces.lean`, `Basic.lean` | |
| 165 | +- `HodgeConjecture/Lemmas/AlgebraicTopology/Support/`: `CohomologyFlasqueModel.lean`, `CohomologyInjectiveModel.lean`, `DerivedSections.lean`, `DerivedSectionsLocalization.lean`, `DerivedSectionsNaturality.lean`, `DerivedSectionsShift.lean`, `FiniteFiltrationVanishing.lean`, `FlasqueComparison.lean`, `FlasqueSections.lean`, `NestedLocalization.lean`, `NestedOnOpen.lean`, `RelativeCohomologySheaf.lean`, `SectionRestrictionCone.lean`, `SectionRestrictionConeNaturality.lean`, `SheafCohomology.lean`, `SingularFlasqueModel.lean`, `SingularSectionNaturality.lean` | |
| 166 | +- `HodgeConjecture/Lemmas/Analysis/Calculus/DifferentialForm/`: `ExactWedge.lean`, `HolomorphicPoincare.lean` | |
| 167 | +- `HodgeConjecture/Lemmas/LinearAlgebra/`: `ComplexOrientation.lean`, `HodgeStructure.lean` | |
| 168 | +- `HodgeConjecture/Lemmas/RingTheory/`: `TranscendenceDegreeKrullDimension.lean` | |
| 169 | +- `HodgeConjecture/Lemmas/Topology/Dimension/`: `Basic.lean`, `ClosedSubset.lean` | |
| 170 | +- `HodgeConjecture/Mathlib/Algebra/Homology/DerivedCategory/`: `KInjectiveHom.lean` | |
| 171 | +- `HodgeConjecture/Mathlib/Algebra/Homology/`: `HomComplexPrecomp.lean`, `HomComplexSingle.lean`, `KernelAcyclic.lean`, `LiftToInjective.lean`, `MapExtend.lean`, `Notation.lean`, `StupidTruncation.lean` | |
| 172 | +- `HodgeConjecture/Mathlib/AlgebraicGeometry/`: `GenericPoint.lean` | |
| 173 | +- `HodgeConjecture/Mathlib/AlgebraicGeometry/Over/`: `Basic.lean` | |
| 174 | +- `HodgeConjecture/Mathlib/AlgebraicTopology/SimplicialSet/`: `ChainComplexSplit.lean` | |
| 175 | +- `HodgeConjecture/Mathlib/Algebra/`: `PolynomialCatenary.lean` | |
| 176 | +- `HodgeConjecture/Mathlib/Algebra/Ring/`: `Basic.lean` | |
| 177 | +- `HodgeConjecture/Mathlib/Analysis/Calculus/DifferentialForm/`: `Poincare.lean` | |
| 178 | +- `HodgeConjecture/Mathlib/Analysis/Calculus/`: `SplitDerivativeNormalChart.lean` | |
| 179 | +- `HodgeConjecture/Mathlib/Analysis/NormedSpace/`: `WedgeCovectors.lean` | |
| 180 | +- `HodgeConjecture/Mathlib/CategoryTheory/Abelian/`: `KernelCompositionShortExact.lean` | |
| 181 | +- `HodgeConjecture/Mathlib/CategoryTheory/ConcreteCategory/`: `Notation.lean` | |
| 182 | +- `HodgeConjecture/Mathlib/CategoryTheory/Sites/SheafCohomology/`: `Pair.lean` | |
| 183 | +- `HodgeConjecture/Mathlib/Geometry/Convex/`: `StdSimplexMetric.lean` | |
| 184 | +- `HodgeConjecture/Mathlib/LinearAlgebra/Dual/`: `Defs.lean` | |
| 185 | +- `HodgeConjecture/Mathlib/LinearAlgebra/Quotient/`: `Basic.lean` | |
| 186 | +- `HodgeConjecture/Mathlib/RingTheory/`: `SmoothKrullDimension.lean` | |
| 187 | +- `HodgeConjecture/Mathlib/Topology/Algebra/`: `IsOpenUnits.lean` | |
| 188 | +- `HodgeConjecture/Mathlib/Topology/Category/`: `TopPair.lean` | |
| 189 | +- `HodgeConjecture/Mathlib/Topology/`: `ChartedSpaceParacompact.lean`, `KrullDimension.lean` | |
| 190 | +- `HodgeConjecture/Mathlib/Topology/Sheaves/`: `StalkExact.lean` | |
| 191 | +- `HodgeConjecture/`: `Statement.lean`, `Variants.lean` | |
| 192 | + | |
| 193 | +</details> | |
| 194 | + | |
| 195 | +## Build and layout | |
| 196 | + | |
| 197 | +The project uses Lean v4.34.1 and Mathlib `d13f23b7`: | |
| 198 | + | |
| 199 | +```sh | |
| 200 | +lake exe cache get | |
| 201 | +lake build | |
| 202 | +lake env comparator ComparatorChallenges/HodgeConjectureCMAbelianVarieties/main.json # needs comparator, landrun and lean4export on PATH | |
| 203 | +``` | |
| 204 | + | |
| 205 | +Lean v4.34.1 does not ship `lake comparator` (v4.35.0 and later do): install | |
| 206 | +[leanprover/comparator](https://github.com/leanprover/comparator) and [lean4export](https://github.com/leanprover/lean4export) | |
| 207 | +at their `v4.34.0` tags, and [landrun](https://github.com/Zouuup/landrun), as [`docker/lean.Dockerfile`](docker/lean.Dockerfile) | |
| 208 | +does. A full build compiles 33,000 modules: the only public figures are a failed run "after ~25 hours" and a pass | |
| 209 | +"after a 31 hour run" (Lezeau, 2026-10-30 and 2026-11-01, on a machine he did not describe). Upstream notes that a large | |
| 210 | +build may fail if Linux's `vm.max_map_count` is too low ([`UPSTREAM.md`](UPSTREAM.md)). | |
| 211 | + | |
| 212 | +- `OAI/` (33,172 Lean files, about 2.69 million lines): the proof. `OAI/AlgebraicGeometry/HodgeConjecture/` (2,204 | |
| 213 | + files) is the argument's last stages, ending in `MainSolution.lean`; `ComplexMultiplication/` (599 files) the CM side; | |
| 214 | + `AbelianModuli/` (5,583 files) the largest folder; `OAI/NumberTheory/`, `OAI/RepresentationTheory/` and smaller | |
| 215 | + folders what the argument takes from the rest of upstream's library. The median file has 67 lines. | |
| 216 | +- `ComparatorChallenges/HodgeConjectureCMAbelianVarieties/`: the fixed statement, Comparator's configuration, and | |
| 217 | + `Solution.lean`, which proves the theorem from `MainSolution`. | |
| 218 | +- `docs/readings/`, `docs/questions/`: the readings and the open questions (above). `routes/`: one folder per branch | |
| 219 | + that claimed a piece, with its notes and a rerun's `RERUN.md`. `checks/`, `docker/`: the two checks and the Lean | |
| 220 | + image. `KNOWN.md`: what is established and what to mind. `UPSTREAM.md`: upstream's texts about the proof. | |
| 221 | + | |
| 222 | +## Before 2026-12-02 | |
| 223 | + | |
| 224 | +Until 2026-12-02 this project was a board of exact computations on Fermat varieties: after Miranda, Movasati, Rufino | |
| 225 | +and Villaflor, the conjecture for degrees 44, 51 and 52 reduces to how short certain tuples (ξ₄₄, ξ₅₁, ξ₅₂) can be made, | |
| 226 | +and its `verify` check confirmed a shorter one in milliseconds. The best known length stayed 7 where 6 is needed, and | |
| 227 | +nobody merged a result; the board's Known page of 2026-12-01 is in main's history, and the Fermat thread lives on as a | |
| 228 | +reading (R-1) and a row of the map (L-2). | |
| 229 | + | |
| 230 | +The Lean proof is OpenAI's; the statement library is Paul Lezeau's and his co-authors' (Paul-Lez/HodgeConjecture, | |
| 231 | +adapted by the Formal Conjectures authors): thank you to all of them. | |
+133 −0 README.zh.md added View file
| @@ -0,0 +1,133 @@ | ||
| 1 | +# 霍奇猜想:CM 情形的 Lean 证明,审读与讨论 | |
| 2 | + | |
| 3 | +OpenAI 为带复乘(CM)的阿贝尔簇证明有理霍奇猜想的 Lean 证明:这是猜想的一个情形,不是猜想本身。在这里复跑它,一个定义一个 | |
| 4 | +定义地审读它的陈述、在 Lean 里检验陈述,并把有识之士意见不一的问题连同出处保存下来。霍奇猜想仍是开放问题,这里的任何东西 | |
| 5 | +都不是通向克雷奖的一步。 | |
| 6 | + | |
| 7 | +## 现状(截至 2026-12-02) | |
| 8 | + | |
| 9 | +霍奇猜想仍是开放问题:克雷的题目页写着“Unsolved”,以及“四维时它是未知的” | |
| 10 | +(<https://www.claymath.org/millennium/hodge-conjecture/>,2026-12-02 读)。一般情形下,它在 2 次上成立(Lefschetz 的 (1,1) | |
| 11 | +定理),借助强 Lefschetz 定理在维数不超过 3 时成立。整系数版本不成立(Atiyah 与 Hirzebruch 1962),对不是代数簇的 Kähler | |
| 12 | +流形也不成立(Zucker 1977、Voisin 2002)。Markman 关于 Weil 类的预印本(arXiv:2502.03415,2025)给出了阿贝尔四维簇,尚未在 | |
| 13 | +期刊发表。 | |
| 14 | + | |
| 15 | +下表是 2026 年的声称,以及各自被核到哪一步。状态只有四种:**Lean 已核,陈述有人读过**(Lean 证明通过内核,且作者以外有具名 | |
| 16 | +的人公开说过它的陈述就是所声称的);**Lean 已核,陈述无人读过**(证明通过;作者以外没人这样说过它的陈述);**文字论证,无人 | |
| 17 | +读过**(论文或笔记,作者以外没有读者说核过);**已被推翻**(附推翻它的出处)。表里的东西本项目都还没有复跑过:每行旁边的 | |
| 18 | +子任务就是改变这一点的办法。 | |
| 19 | + | |
| 20 | +| 日期 | 声称 | 谁,在哪里 | 状态 | | |
| 21 | +|---|---|---|---| | |
| 22 | +| 2026-09-07 | lean-dojo/LeanMillenniumPrizeProblems 里霍奇猜想的一份 Lean 陈述 | lean-dojo | 作为目标已被推翻:其中没有任何簇有复点,所以它空洞地成立(Kevin Buzzard,那个仓库的 PR #9,用 Lean 证明;上游已把它标为不完整)(V-2) | | |
| 23 | +| 2026-09-26 | 次数小于 65、除 44、51、52 以外的所有 Fermat 簇上猜想成立 | Miranda、Movasati、Rufino、Villaflor,arXiv:2609.27301 v2 | 文字论证,无人读过:预印本(R-1) | | |
| 24 | +| 2026-10-06 | 三篇同族论文:分裂阿贝尔八维簇上的 Weil 类、K3 曲面的 Kuga–Satake 对应、K3 曲面的乘积 | OpenAI,github.com/openai/math | 已被推翻(证明):2026-10-06 因一个符号错误撤回,“撤回针对的是证明,并不断言数学命题为假”;Lekili 与 Sheridan 解释了这个错误(arXiv:2610.30976)(Q-5) | | |
| 25 | +| 2026-10-06(论文),2026-10-26(Lean) | CM 阿贝尔簇的有理霍奇猜想:`HodgeCM.hodge_conjecture_for_cm_abelian_varieties` | OpenAI,openai/math 第 032 族;本项目从它开始 | Lean 已核,陈述无人读过:第一版 Comparator 没通过,2026-10-29 修好;外部通过一次,Paul Lezeau,2026-11-01,“跑了 31 小时”,机器没有说明,只用一个内核;257 个文件的陈述没有人公开审读过,上游目录写着 `review: status: unchecked`(V-1、V-4、R-2 至 R-13)。数学上:van Hoften 与 Sempliner“沿着 OpenAI 最近的工作”写了自己的证明,找证明时借助了模型(Hexagon 2610.00259 v2,2026-10-18);Milne 的报告把它写成“定理 2.1(OpenAI)”,最难的一步引用前者(2026-11-27);没有审稿,没有期刊(Q-1、Q-2、Q-6) | | |
| 26 | +| 2026-11-22 | Klein 簇上无穷多个新情形 | Pastrana 与 Villaflor,arXiv:2611.29763 | 文字论证,无人读过 | | |
| 27 | +| 2026-11-23 | 维数被 4 整除的广义 Kummer 型超 Kähler 簇及其幂,现在无条件成立 | Floccari 与 Fu,arXiv:2610.31740 v2 | 文字论证,无人读过 | | |
| 28 | + | |
| 29 | +Milne 写道,CM 情形“并不知道能推出所有阿贝尔簇上的霍奇猜想,但如果不成立会很奇怪”(Q-4)。截至 2026-12-02,没有找到 CM | |
| 30 | +论文的撤回或反驳。 | |
| 31 | + | |
| 32 | +**这里的 Lean 说明了什么。** Lean 内核接受了 `HodgeCM.hodge_conjecture_for_cm_abelian_varieties` 的一个证明,陈述正是冻结的 | |
| 33 | +挑战所写的,只用三条标准公理。**没有说明什么。** 这个陈述说的就是 Deligne 的那个:它建在 Mathlib 之外的 257 个文件上, | |
| 34 | +2026 年 9 月底复制自一个 README 写着“仍在进行中”的库,而霍奇猜想的 Lean 陈述以前就出现过空洞的。也不说明 CM 阿贝尔簇 | |
| 35 | +以外的任何情形。 | |
| 36 | + | |
| 37 | +## 本项目做什么 | |
| 38 | + | |
| 39 | +本项目 2026-12-02 从 openai/math 的 `lean/` 开始,版本 `3344da59991ed94f9ba711217b29c1d760badfa6`(只取 CM 挑战和它的解答导入的 | |
| 40 | +部分),此后是独立的主线:Lean 的工作都在这里做,不会再跟着上游更新。上游不收 issue 和 PR(issue 已关闭),所以这里是围绕这份 | |
| 41 | +证明公开工作的地方。复跑之外,本项目给审读和开放讨论留足空间: | |
| 42 | + | |
| 43 | +- **复跑,并在 Lean 里检验**:在说明了配置的机器上第二次通过 Comparator,并首次用第二个内核(nanoda)核对(V-1);用对冻结 | |
| 44 | + 文件的定理检验陈述:第一个核过的例子,说明它不是空的(R-12),每个代数类都是霍奇类(R-11),Lefschetz (1,1)(R-13)。这些 | |
| 45 | + 都难,是这里 Lean 的前沿。 | |
| 46 | +- **一个定义一个定义地读陈述**(R-2 至 R-10:复点、有理与 de Rham 上同调、霍奇类、闭链类、阿贝尔簇、CM、各种变体),读 | |
| 47 | + 2026-10-29 的修复和副本与原库的差异(V-4 至 V-6),核对论文引用的出处(V-7 至 V-9),把论证写成几何学家能核的文字(T-1 至 | |
| 48 | + T-4)。 | |
| 49 | +- **保存开放问题**(Q-1 至 Q-6:以前是否已知、什么核过它、什么能让人信一份陈述、它能推到多远、同族论文为什么倒了、这是谁的 | |
| 50 | + 定理)和记录(L-1 这张表,L-2 已知情形图)。 | |
| 51 | +- **大证明的日常维护**:33,172 个文件,linter 警告,拆最大的文件,删用不到的文件,换用 Mathlib 的引理(P-1 至 P-4、S-1、 | |
| 52 | + S-2、M-1)。 | |
| 53 | + | |
| 54 | +## 怎么参与 | |
| 55 | + | |
| 56 | +1. 读这一页和 [`AGENTS.md`](AGENTS.md)。它的“第一次”一节几分钟就能走完,不用装 Lean。 | |
| 57 | +2. 从项目的 issue 里挑一块(标题以字母加编号开头:V、R、Q、T、P、S、M、L)。总目标那个 issue 按你手头的条件列了从哪里开始: | |
| 58 | + 只读(大部分 R 和 Q,每块一个定义或一个问题)、Lean 加耐心(R-11 至 R-13、P、S、M)、或一台大机器和几天时间(V-1:唯一 | |
| 59 | + 公开的一次通过跑了 31 小时)。 | |
| 60 | +3. 用一个分支加 `routes/<你的分支>/README.md` 里的说明认领它(AGENTS.md 有示例)。然后一处改动,一个 PR。 | |
| 61 | +4. 一次复跑是一份带日期的记录,写在 `routes/<你的分支>/RERUN.md`,用 AGENTS.md 给的唯一模板:机器、镜像、提交、命令、输出了 | |
| 62 | + 什么、什么没有核。 | |
| 63 | + | |
| 64 | +**分歧怎么保存。** 一份审读是 `docs/readings/` 下的一个文件,一个问题是 `docs/questions/` 下的一个文件。里面每个说法都有出处: | |
| 65 | +文件和行号,或论文的版本和页码。审读一开始的状态是“无人读过”,直到一位懂这个领域、具名的人在审读意见里说读过为止。两个有 | |
| 66 | +出处的立场不同时,两个都留下,并排放在各自作者名下:问题从不靠数人头来定,一个立场只有在出处撤回或引错时才拿掉。关于某块的 | |
| 67 | +讨论放在它的 issue 或本题的频道里;值得留下的,总结进文件。 | |
| 68 | + | |
| 69 | +## 怎么判,什么时候判 | |
| 70 | + | |
| 71 | +- **每次推送两项检验,加上维护者的 `replay`**,都通过才能合入,检验代码是批准版本的 `checks/`:`challenge` 几秒(260 个冻结文件与批准的一致,编译 | |
| 72 | + 配置也一致,源码没有 `sorry`、`admit`、`axiom`、`native_decide`、`implemented_by`、`extern`);`build` 在本项目的 Lean | |
| 73 | + 镜像里不联网运行:`lake build` 编完,没有声明用了 `sorry`,定理只用三条标准公理;推送时不跑 Comparator。第三项 `replay` 是完整 | |
| 74 | + 复跑(Comparator,Lean 内核),由维护者的机器在 PR 的最新提交通过 `build` 之后跑,报告自动提交,合并要等它。 | |
| 75 | +- **审读和问题**靠读者来关,不靠检验:第二位读者核对每个出处;审读保持“无人读过”,直到一位懂这个领域、具名的人读过。 | |
| 76 | +- **站点的审读**在推送后几分钟内读每个 PR,检验和子任务要的证据都齐了就收下。 | |
| 77 | +- **站内的维护者 agent**(`hodge-maintainer`)在有人工作时大约每两小时来一轮,每天至少两轮。它要求给出处,把核过的和观点分开, | |
| 78 | + 把长的讨论总结到 issue 上,用 Lean 自己的 `#print` 审陈述的审读,审读的第一行是“Review of `<提交>`: ready”“changes | |
| 79 | + needed”“needs a person”或“not finished”,每轮在“Maintainer log”issue 里写一行。在频道里或用 `@hodge-maintainer` 问它, | |
| 80 | + 几分钟内回答。 | |
| 81 | +- **人**决定书面规则定不了的事:一份审读发现陈述有错(标题为“Ruling: …”的 issue)、改动冻结文件、两份审读意见相反。 | |
| 82 | + | |
| 83 | +## 定理陈述 | |
| 84 | + | |
| 85 | +| 定理 | 陈述 | | |
| 86 | +|---|---| | |
| 87 | +| `HodgeCM.hodge_conjecture_for_cm_abelian_varieties` | 对 $\mathbb C$ 上一个光滑、整、射影、在 $H^1$ 上带复乘的群概形 $X$ 和每个 $p$,每个 $2p$ 次有理霍奇类都落在余维 $p$ 代数子簇的类张成的空间里 | | |
| 88 | + | |
| 89 | +[`Challenge.lean`](ComparatorChallenges/HodgeConjectureCMAbelianVarieties/Challenge.lean) 用 `sorry` 写出它,只导入 | |
| 90 | +[`CM.lean`](ComparatorChallenges/HodgeConjectureCMAbelianVarieties/CM.lean)($H^1$ 上的复乘是什么意思;OpenAI 自己的文件,原库 | |
| 91 | +没有 CM 的定义),并经由它导入 `ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/` 下的陈述库(257 个 | |
| 92 | +文件,约 52,000 行:有理上同调取 X(ℂ) 上常值层的层上同调,霍奇滤过,闭链类;`Statement.lean` 写出霍奇猜想本身)。这个库改编 | |
| 93 | +自 [Paul-Lez/HodgeConjecture](https://github.com/Paul-Lez/HodgeConjecture),它的 README 说“这份形式化仍在进行中,仍在审查和 | |
| 94 | +改进”;模块保留原名(`HodgeConjecture.*`)。Comparator([`main.json`](ComparatorChallenges/HodgeConjectureCMAbelianVarieties/main.json)) | |
| 95 | +核对 `Solution.lean` 证的正是这个陈述,只用 `propext`、`Quot.sound`、`Classical.choice`,并由 Lean 内核接受;`enable_nanoda` | |
| 96 | +为 false,和上游一样。 | |
| 97 | + | |
| 98 | +**这些文件不能改**:`Challenge.lean`、`CM.lean`、`main.json` 和 `HodgeConjecture/` 的 257 个文件(清单在 [README.md](README.md)), | |
| 99 | +编译配置中 Comparator 依赖的部分也一样。 | |
| 100 | + | |
| 101 | +## 编译与结构 | |
| 102 | + | |
| 103 | +项目用 Lean v4.34.1 和 Mathlib `d13f23b7`: | |
| 104 | + | |
| 105 | +```sh | |
| 106 | +lake exe cache get | |
| 107 | +lake build | |
| 108 | +lake env comparator ComparatorChallenges/HodgeConjectureCMAbelianVarieties/main.json # PATH 上要有 comparator、landrun、lean4export | |
| 109 | +``` | |
| 110 | + | |
| 111 | +Lean v4.34.1 还不带 `lake comparator`(v4.35.0 起才有):按 [`docker/lean.Dockerfile`](docker/lean.Dockerfile) 的做法,装 | |
| 112 | +`v4.34.0` 标签的 [leanprover/comparator](https://github.com/leanprover/comparator) 和 | |
| 113 | +[lean4export](https://github.com/leanprover/lean4export),以及 [landrun](https://github.com/Zouuup/landrun)。全量编译有 33,000 | |
| 114 | +个模块:唯一公开的数字是一次“约 25 小时后”失败、一次“跑了 31 小时”通过(Lezeau,2026-10-30 和 2026-11-01,机器没有说明)。 | |
| 115 | +上游提醒,Linux 的 `vm.max_map_count` 太低时大规模编译可能失败([`UPSTREAM.md`](UPSTREAM.md))。 | |
| 116 | + | |
| 117 | +- `OAI/`(33,172 个 Lean 文件,约 269 万行):证明本身。`OAI/AlgebraicGeometry/HodgeConjecture/`(2,204 个文件)是论证的最后 | |
| 118 | + 几步,止于 `MainSolution.lean`;`ComplexMultiplication/`(599 个)是 CM 那一侧;`AbelianModuli/`(5,583 个)是最大的文件夹; | |
| 119 | + `OAI/NumberTheory/`、`OAI/RepresentationTheory/` 等是论证从上游库其余部分取来的东西。文件行数的中位数是 67。 | |
| 120 | +- `ComparatorChallenges/HodgeConjectureCMAbelianVarieties/`:冻结的陈述、Comparator 配置,以及从 `MainSolution` 证出定理的 | |
| 121 | + `Solution.lean`。 | |
| 122 | +- `docs/readings/`、`docs/questions/`:审读和开放问题(见上)。`routes/`:每个认领了子任务的分支一个文件夹,放说明和复跑的 | |
| 123 | + `RERUN.md`。`checks/`、`docker/`:两项检验和 Lean 镜像。`KNOWN.md`:已确立的事和要注意的地方。`UPSTREAM.md`:上游关于这份 | |
| 124 | + 证明的文字。 | |
| 125 | + | |
| 126 | +## 2026-12-02 以前 | |
| 127 | + | |
| 128 | +2026-12-02 以前,本项目是 Fermat 簇上一块精确计算的榜:按 Miranda、Movasati、Rufino、Villaflor 的约化,次数 44、51、52 的猜想 | |
| 129 | +归结为某些元组(ξ₄₄、ξ₅₁、ξ₅₂)能缩到多短,它的 `verify` 检验几毫秒就能核对更短的一个。已知最短仍是 7,而需要的是 6,没有人 | |
| 130 | +合入过结果;榜 2026-12-01 的 Known 页留在 main 的历史里,Fermat 这条线作为一份审读(R-1)和已知情形图的一行(L-2)留下来。 | |
| 131 | + | |
| 132 | +Lean 证明出自 OpenAI;陈述库出自 Paul Lezeau 和他的合作者(Paul-Lez/HodgeConjecture,由 Formal Conjectures 的作者们改编): | |
| 133 | +谢谢他们。 | |
+54 −0 UPSTREAM.md added View file
| @@ -0,0 +1,54 @@ | ||
| 1 | +# What upstream says | |
| 2 | + | |
| 3 | +This project starts from the `lean/` folder of [openai/math](https://github.com/openai/math) at `3344da59991ed94f9ba711217b29c1d760badfa6` (2026-11-24), and of it only the import closure of the CM Hodge Comparator challenge and its solution. Three of upstream's texts about it follow, unchanged: `lean/README.md`, `lean/docs/032.md` (family 032's Lean scope) and `lean/ComparatorChallenges/README.md`. `README.md` here is this project's. Links in them are relative to upstream's `lean/` and do not all resolve here. | |
| 4 | + | |
| 5 | +## lean/README.md | |
| 6 | + | |
| 7 | +### Lean formalizations | |
| 8 | + | |
| 9 | +This directory contains Lean formalizations of some results in this repository. | |
| 10 | +They are organized in a single large library, so we recommend compiling only small portions at a time. | |
| 11 | + | |
| 12 | +See the [Comparator README](ComparatorChallenges/README.md) for more information about how to verify the results. | |
| 13 | + | |
| 14 | +#### Technical note: mmap | |
| 15 | + | |
| 16 | +Compiling the entire library may fail if Linux's `vm.max_map_count` is too low. | |
| 17 | +One workaround is to build Lean with the CMake option `-DMMAP=OFF`; it may also be necessary to set the environment variable `GLIBC_TUNABLES` to `glibc.malloc.mmap_max=0:glibc.malloc.arena_max=1` when running Lean or Lake. | |
| 18 | + | |
| 19 | +## lean/docs/032.md | |
| 20 | + | |
| 21 | +### The rational Hodge conjecture for CM abelian varieties | |
| 22 | + | |
| 23 | +The following describes the scope of the Lean formalization related to the following accompanying paper(s): | |
| 24 | + | |
| 25 | +- [The rational Hodge conjecture for CM abelian varieties](../../preprints/The-rational-Hodge-conjecture-for-CM-abelian-varieties-October-6-2026/paper.pdf) | |
| 26 | + | |
| 27 | +#### Scope | |
| 28 | + | |
| 29 | +The formalization proves that every rational Hodge class on a complex CM abelian variety is algebraic. For a smooth integral projective group scheme $X$ over $\mathbb C$ with the stated complex-multiplication data and every $p\ge0$, each rational Hodge class of degree $2p$ is a rational linear combination of cycle classes of codimension-$p$ algebraic subvarieties. The result applies in every dimension and codimension. | |
| 30 | + | |
| 31 | +The complex-multiplication hypothesis is expressed on geometric rational $H^1$: it is a finite direct sum of rank-one vector spaces over CM number fields, and their diagonal action preserves the holomorphic Hodge filtration under the rational-to-de Rham comparison. The fields may differ among the summands. | |
| 32 | + | |
| 33 | +The paper's consequences for the Tate conjecture over finite fields and the Hodge standard conjecture in arbitrary characteristic are outside this selected statement. | |
| 34 | + | |
| 35 | +We thank the contributors to [HodgeConjecture](https://github.com/Paul-Lez/HodgeConjecture) (which itself adapts [sphere-six-complex](https://github.com/deancureton/sphere-six-complex) and [mathlib4](https://github.com/leanprover-community/mathlib4)) for their Lean statement of the Hodge conjecture, which was used for the Comparator challenge. | |
| 36 | + | |
| 37 | +#### Comparator links | |
| 38 | + | |
| 39 | +| Result | Comparator statement | | |
| 40 | +| --- | --- | | |
| 41 | +| Rational Hodge classes on CM abelian varieties are algebraic | [Challenge.lean](../ComparatorChallenges/HodgeConjectureCMAbelianVarieties/Challenge.lean) | | |
| 42 | + | |
| 43 | +## lean/ComparatorChallenges/README.md | |
| 44 | + | |
| 45 | +### [Comparator](https://github.com/leanprover/comparator) challenges | |
| 46 | + | |
| 47 | +Install `comparator`, `landrun`, and `lean4export`, and make them available on `PATH`. | |
| 48 | +Then, from `lean/`: | |
| 49 | + | |
| 50 | +```sh | |
| 51 | +lake update | |
| 52 | +lake exe cache get | |
| 53 | +lake env comparator ComparatorChallenges/QuasiRiemannHypothesis.json | |
| 54 | +``` | |
+290 −0 checks/build.json added View file
| @@ -0,0 +1,290 @@ | ||
| 1 | +{ | |
| 2 | + "comparator_kind": "standalone", | |
| 3 | + "export_command": [ | |
| 4 | + "lake", | |
| 5 | + "env", | |
| 6 | + "lean4export" | |
| 7 | + ], | |
| 8 | + "comparator_command": [ | |
| 9 | + "comparator" | |
| 10 | + ], | |
| 11 | + "comparator": [ | |
| 12 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/main.json" | |
| 13 | + ], | |
| 14 | + "comparator_success": [ | |
| 15 | + "Lean default kernel accepts the solution", | |
| 16 | + "Your solution is okay!" | |
| 17 | + ], | |
| 18 | + "theorems": [ | |
| 19 | + "HodgeCM.hodge_conjecture_for_cm_abelian_varieties" | |
| 20 | + ], | |
| 21 | + "permitted_axioms": [ | |
| 22 | + "propext", | |
| 23 | + "Quot.sound", | |
| 24 | + "Classical.choice" | |
| 25 | + ], | |
| 26 | + "in_place": true, | |
| 27 | + "replay": "round", | |
| 28 | + "timeout": 43200, | |
| 29 | + "frozen": [ | |
| 30 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/CM.lean", | |
| 31 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/Challenge.lean", | |
| 32 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Algebra/DeRham/Basic.lean", | |
| 33 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Algebra/Homology/DerivedCategory/MappingCoconeShortExact.lean", | |
| 34 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Algebra/Homology/DerivedCategory/MappingCoconeShortExactNaturality.lean", | |
| 35 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Algebra/Homology/LinearDual.lean", | |
| 36 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/AnalyticLeftInverse.lean", | |
| 37 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/HolomorphicCharts.lean", | |
| 38 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/NormalCoordinates.lean", | |
| 39 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/SourceOpen.lean", | |
| 40 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/AmbientInjectiveResolution.lean", | |
| 41 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/GlobalSections.lean", | |
| 42 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/SupportedSingularModel.lean", | |
| 43 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/WithSupport.lean", | |
| 44 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ComplexPoint/AnalyticSheaf.lean", | |
| 45 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ComplexPoint/Basic.lean", | |
| 46 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SingularClosedFiltration.lean", | |
| 47 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SmoothClosedLift.lean", | |
| 48 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SmoothSupportCoclassSection.lean", | |
| 49 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SmoothSupportPurity.lean", | |
| 50 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SupportExtension.lean", | |
| 51 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/FundamentalClass.lean", | |
| 52 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Local/Purity.lean", | |
| 53 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/SmoothPair/CoclassOverlap.lean", | |
| 54 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/SmoothPair/CoclassSection.lean", | |
| 55 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Support.lean", | |
| 56 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Transport/CohomologySheaf.lean", | |
| 57 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/AnalyticDifferentialForms.lean", | |
| 58 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/Filtration.lean", | |
| 59 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/HolomorphicDeRham.lean", | |
| 60 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ProjectiveSpace.lean", | |
| 61 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Stratification/Analytification.lean", | |
| 62 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Stratification/Basic.lean", | |
| 63 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/LocalHomology/ComplexClass.lean", | |
| 64 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/LocalHomology/FundamentalClass.lean", | |
| 65 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/LocalHomology/NormalProjectionCoclass.lean", | |
| 66 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/CohomologySection.lean", | |
| 67 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/CohomologyStalkVanishing.lean", | |
| 68 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/Constant.lean", | |
| 69 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/FlasqueBoundedBelow.lean", | |
| 70 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/FlasqueLowestCohomology.lean", | |
| 71 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/MapOfLocalStalks.lean", | |
| 72 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/OpenInjectiveResolution.lean", | |
| 73 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/OpenRestrictedLowestCohomology.lean", | |
| 74 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/Cohomology.lean", | |
| 75 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/RelativeCochainCone.lean", | |
| 76 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/RelativeCochainConeNaturality.lean", | |
| 77 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/Cochain.lean", | |
| 78 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/CochainOpenCone.lean", | |
| 79 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/CochainOpenSections.lean", | |
| 80 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/Cohomology.lean", | |
| 81 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/CohomologyFlasqueModel.lean", | |
| 82 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/CohomologyInjectiveModel.lean", | |
| 83 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/DerivedSections.lean", | |
| 84 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/DerivedSectionsLocalization.lean", | |
| 85 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/NeighborhoodPairImage.lean", | |
| 86 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/RelativeCohomologyOpenTransport.lean", | |
| 87 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/RelativeCohomologySheaf.lean", | |
| 88 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/SectionRestrictionCone.lean", | |
| 89 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/SingularCohomologySheafComparison.lean", | |
| 90 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/SingularFlasqueModel.lean", | |
| 91 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/SingularSectionCohomology.lean", | |
| 92 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Topology/Dimension/Basic.lean", | |
| 93 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/DeRham/Basic.lean", | |
| 94 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/FieldToComplex.lean", | |
| 95 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/MappingCoconeShortExact.lean", | |
| 96 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/MappingCoconeShortExactNaturality.lean", | |
| 97 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/MappingConeMapNaturality.lean", | |
| 98 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlusNaturality.lean", | |
| 99 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlusShift.lean", | |
| 100 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlusShiftNaturality.lean", | |
| 101 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/ShortExactQuasiIso.lean", | |
| 102 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/LinearDual.lean", | |
| 103 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/LinearDualNaturality.lean", | |
| 104 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/MapExtendNaturality.lean", | |
| 105 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/MappingConeQuasiIso.lean", | |
| 106 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/AnalyticLeftInverse.lean", | |
| 107 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/HolomorphicCharts.lean", | |
| 108 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/NormalCoordinates.lean", | |
| 109 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/ResidueField.lean", | |
| 110 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/SourceOpen.lean", | |
| 111 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SingularComparison.lean", | |
| 112 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SingularSheafComparison.lean", | |
| 113 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SupportSingularGlobal.lean", | |
| 114 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SupportedSingularModel.lean", | |
| 115 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/AffineScheme.lean", | |
| 116 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/AffineSpace.lean", | |
| 117 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/AnalyticMap.lean", | |
| 118 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/AnalyticSheaf.lean", | |
| 119 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Basic.lean", | |
| 120 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/ClosedImmersion.lean", | |
| 121 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Etale.lean", | |
| 122 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/LocalHomologyVanishing.lean", | |
| 123 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Localization.lean", | |
| 124 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Manifold.lean", | |
| 125 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Open.lean", | |
| 126 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Projective.lean", | |
| 127 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/ProjectiveCompact.lean", | |
| 128 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/ProjectiveHausdorff.lean", | |
| 129 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/ProjectiveParacompact.lean", | |
| 130 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/SmoothCoordinates.lean", | |
| 131 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/StandardEtale.lean", | |
| 132 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/ClosedPointDimension.lean", | |
| 133 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/Dimension.lean", | |
| 134 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/LocalGenerator.lean", | |
| 135 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/NormalCoordinates.lean", | |
| 136 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/NormalGeometry.lean", | |
| 137 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/SingularClosedFiltration.lean", | |
| 138 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/SmoothClosedLift.lean", | |
| 139 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/SmoothSupportPurity.lean", | |
| 140 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/SupportExtension.lean", | |
| 141 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Local/LocalHomology.lean", | |
| 142 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Local/Purity.lean", | |
| 143 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/SmoothPair/CoclassOverlap.lean", | |
| 144 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/SmoothPair/CoclassSection.lean", | |
| 145 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/SmoothPair/OpenTransport.lean", | |
| 146 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Support.lean", | |
| 147 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Transport/CohomologySheaf.lean", | |
| 148 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/AnalyticDifferentialForms.lean", | |
| 149 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/Filtration.lean", | |
| 150 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/HolomorphicDeRham.lean", | |
| 151 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/HolomorphicPoincare.lean", | |
| 152 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/AffineRelativeDimension.lean", | |
| 153 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/CatenaryDimension.lean", | |
| 154 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/DimensionFormula.lean", | |
| 155 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/Equidimensional.lean", | |
| 156 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/Locus.lean", | |
| 157 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/PointwiseDimension.lean", | |
| 158 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/SingularLocusDimension.lean", | |
| 159 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/Analytification.lean", | |
| 160 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/Basic.lean", | |
| 161 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/ClosedFiltration.lean", | |
| 162 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/LocalSupportVanishing.lean", | |
| 163 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/CenteredComplexOrientation.lean", | |
| 164 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ChartFundamentalClass.lean", | |
| 165 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ChartFundamentalClassGenerator.lean", | |
| 166 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ChartFundamentalClassInvariance.lean", | |
| 167 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ComplexClassDifferentiableInvariance.lean", | |
| 168 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ComplexClassLinearInvariance.lean", | |
| 169 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/Euclidean.lean", | |
| 170 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/EuclideanVanishing.lean", | |
| 171 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/FlattenedSupport.lean", | |
| 172 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/FundamentalClass.lean", | |
| 173 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/FundamentalClassGenerator.lean", | |
| 174 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/HolomorphicNormalTransition.lean", | |
| 175 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/NormalProjectionCoclass.lean", | |
| 176 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/NormalProjectionOverlap.lean", | |
| 177 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/NormalSlicePurity.lean", | |
| 178 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/PuncturedEuclidean.lean", | |
| 179 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/SphereAffineBoundary.lean", | |
| 180 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/SphereSimplicialHomology.lean", | |
| 181 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/CohomologyStalkVanishing.lean", | |
| 182 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueAcyclic.lean", | |
| 183 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueBoundedBelow.lean", | |
| 184 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueCokernel.lean", | |
| 185 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueExtendNat.lean", | |
| 186 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueLowerVanishing.lean", | |
| 187 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueLowestCohomology.lean", | |
| 188 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueQuasiIso.lean", | |
| 189 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/HomologySection.lean", | |
| 190 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/InjectiveFlasque.lean", | |
| 191 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/OpenInjectiveResolution.lean", | |
| 192 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/OpenRestrictedVanishing.lean", | |
| 193 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/OpenRestriction.lean", | |
| 194 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/OpenSheafification.lean", | |
| 195 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Cohomology.lean", | |
| 196 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Contractible.lean", | |
| 197 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/CoverSmall.lean", | |
| 198 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/CoverSmallProjective.lean", | |
| 199 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/CoverSmallQuasiIso.lean", | |
| 200 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/Field.lean", | |
| 201 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/Lebesgue.lean", | |
| 202 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/OpenCover.lean", | |
| 203 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/GlobalRestriction.lean", | |
| 204 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/HomologyZeroNaturality.lean", | |
| 205 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/RelativeCochainCone.lean", | |
| 206 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/RelativeCochainConeNaturality.lean", | |
| 207 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/RelativeHomotopyInvariance.lean", | |
| 208 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/RelativePairExcision.lean", | |
| 209 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/Chain.lean", | |
| 210 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/ChainStalk.lean", | |
| 211 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/Cochain.lean", | |
| 212 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainDescent.lean", | |
| 213 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainFlasque.lean", | |
| 214 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainOpenConeNaturality.lean", | |
| 215 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainOpenRestriction.lean", | |
| 216 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainOpenSections.lean", | |
| 217 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainResolution.lean", | |
| 218 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainRestriction.lean", | |
| 219 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/SubdivisionCochain.lean", | |
| 220 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/StandardSimplexCone.lean", | |
| 221 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/Affine.lean", | |
| 222 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineIteration.lean", | |
| 223 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineMesh.lean", | |
| 224 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffinePrism.lean", | |
| 225 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineRelativeMesh.lean", | |
| 226 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineSmall.lean", | |
| 227 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineSmallPrism.lean", | |
| 228 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineSupport.lean", | |
| 229 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/BarycentricAllDegrees.lean", | |
| 230 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/BarycentricChains.lean", | |
| 231 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/BarycentricHomotopy.lean", | |
| 232 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/BarycentricOuterFaces.lean", | |
| 233 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/Basic.lean", | |
| 234 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/SubsetChains.lean", | |
| 235 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/CohomologyFlasqueModel.lean", | |
| 236 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/CohomologyInjectiveModel.lean", | |
| 237 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/DerivedSections.lean", | |
| 238 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/DerivedSectionsLocalization.lean", | |
| 239 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/DerivedSectionsNaturality.lean", | |
| 240 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/DerivedSectionsShift.lean", | |
| 241 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/FiniteFiltrationVanishing.lean", | |
| 242 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/FlasqueComparison.lean", | |
| 243 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/FlasqueSections.lean", | |
| 244 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/NestedLocalization.lean", | |
| 245 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/NestedOnOpen.lean", | |
| 246 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/RelativeCohomologySheaf.lean", | |
| 247 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SectionRestrictionCone.lean", | |
| 248 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SectionRestrictionConeNaturality.lean", | |
| 249 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SheafCohomology.lean", | |
| 250 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SingularFlasqueModel.lean", | |
| 251 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SingularSectionNaturality.lean", | |
| 252 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Analysis/Calculus/DifferentialForm/ExactWedge.lean", | |
| 253 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Analysis/Calculus/DifferentialForm/HolomorphicPoincare.lean", | |
| 254 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/LinearAlgebra/ComplexOrientation.lean", | |
| 255 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/LinearAlgebra/HodgeStructure.lean", | |
| 256 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/RingTheory/TranscendenceDegreeKrullDimension.lean", | |
| 257 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Topology/Dimension/Basic.lean", | |
| 258 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Topology/Dimension/ClosedSubset.lean", | |
| 259 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/DerivedCategory/KInjectiveHom.lean", | |
| 260 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/HomComplexPrecomp.lean", | |
| 261 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/HomComplexSingle.lean", | |
| 262 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/KernelAcyclic.lean", | |
| 263 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/LiftToInjective.lean", | |
| 264 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/MapExtend.lean", | |
| 265 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/Notation.lean", | |
| 266 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/StupidTruncation.lean", | |
| 267 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/PolynomialCatenary.lean", | |
| 268 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Ring/Basic.lean", | |
| 269 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/AlgebraicGeometry/GenericPoint.lean", | |
| 270 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/AlgebraicGeometry/Over/Basic.lean", | |
| 271 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/AlgebraicTopology/SimplicialSet/ChainComplexSplit.lean", | |
| 272 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Analysis/Calculus/DifferentialForm/Poincare.lean", | |
| 273 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Analysis/Calculus/SplitDerivativeNormalChart.lean", | |
| 274 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Analysis/NormedSpace/WedgeCovectors.lean", | |
| 275 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/CategoryTheory/Abelian/KernelCompositionShortExact.lean", | |
| 276 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/CategoryTheory/ConcreteCategory/Notation.lean", | |
| 277 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/CategoryTheory/Sites/SheafCohomology/Pair.lean", | |
| 278 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Geometry/Convex/StdSimplexMetric.lean", | |
| 279 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/LinearAlgebra/Dual/Defs.lean", | |
| 280 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/LinearAlgebra/Quotient/Basic.lean", | |
| 281 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/RingTheory/SmoothKrullDimension.lean", | |
| 282 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/Algebra/IsOpenUnits.lean", | |
| 283 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/Category/TopPair.lean", | |
| 284 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/ChartedSpaceParacompact.lean", | |
| 285 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/KrullDimension.lean", | |
| 286 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/Sheaves/StalkExact.lean", | |
| 287 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Statement.lean", | |
| 288 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Variants.lean" | |
| 289 | + ] | |
| 290 | +} | |
+386 −0 checks/build.py added View file
| @@ -0,0 +1,386 @@ | ||
| 1 | +#!/usr/bin/env python3 | |
| 2 | +"""The `build` check: the pushed commit compiles, uses no `sorry`, its theorems depend only on the permitted axioms, | |
| 3 | +and Comparator accepts it against the approved challenge. | |
| 4 | + | |
| 5 | +Usage: build.py <commit's tree> [<build.json>] (BUILD_REPLAY=1: with Comparator even where build.json has | |
| 6 | + "replay": "round", see below) | |
| 7 | + | |
| 8 | +This is leanprover-community/riemann-hypothesis's `build.yml` ("lake build", the merge queue's required check), made a | |
| 9 | +check of this site, plus the Comparator run its README asks for. It runs in the project's Lean image (`docker/`), with | |
| 10 | +no network, on the site's runner, as root in the runner's container. | |
| 11 | + | |
| 12 | +The commit's Lean is code the check runs: an `#eval`, an `initialize` or an elaborator in it runs while Lean compiles | |
| 13 | +the file or imports it, and can print anything, including Comparator's success lines, or rewrite `lake` itself. So | |
| 14 | +nothing the commit's build prints is trusted, and none of its code runs as root: | |
| 15 | + | |
| 16 | +1. the approved version (the checkout this script is in, PROOF_APPROVED to override) is compiled as root, from the | |
| 17 | + image's `.lake`, and each Comparator configuration's challenge module is exported (`export_command`) before | |
| 18 | + anything of the commit runs. Its definitions, not the commit's, are what the statements mean; | |
| 19 | +2. the commit's tree is copied to a folder of its own and given the image's `.lake` (the dependencies, read-only, and | |
| 20 | + the build of the approved main, made when the image was built): Lake then rebuilds only what the commit changed. | |
| 21 | + As `nobody`, it runs `lake build`, and `lake build` of every library the approved lakefile.toml declares (the | |
| 22 | + default targets are a key a pull request may change), which must end without error and with no module reporting a | |
| 23 | + declaration that uses `sorry` except the challenge's own files (`frozen` in build.json: they state the theorems | |
| 24 | + with `sorry` on purpose); then it exports each configuration's solution module, and the theorems of build.json; | |
| 25 | +3. every process of `nobody` is killed; then, as `nobody`, Comparator judges each export pair: the statements and the | |
| 26 | + definitions they use as approved, no axiom beyond the permitted ones (a `sorry` is the axiom `sorryAx`), and a | |
| 27 | + replay through Lean's kernel (and nanoda, where the configuration asks). The theorems of build.json are judged the | |
| 28 | + same way against their own export: axioms and kernel. The judge reads text exports only and never loads an `.olean` | |
| 29 | + of the commit, so what it prints is the verdict; | |
| 30 | +4. the commit's `lean-toolchain` must be the image's: a bump needs a new image (docker/README.md). | |
| 31 | + | |
| 32 | +Two Comparators are served (`comparator_kind` in build.json). "lake", the default: the toolchain's own (Lean 4.35 and | |
| 33 | +later), `lake comparator --challenge-from-export … --solution-from-export … --inadvisably-no-sandbox`. "standalone": | |
| 34 | +leanprover/comparator as a binary, for the toolchains before it, which builds and exports by itself through `landrun` | |
| 35 | +and has no way to be handed exports. It is given one: COMPARATOR_LANDRUN names a stand-in this script writes, which | |
| 36 | +does nothing for `lake build`, prints step 1's or step 2's export for `lean4export <module>`, and starts an external | |
| 37 | +kernel (nanoda_bin) as it is; Comparator's own comparison, axiom walk and kernels then run as upstream wrote them. | |
| 38 | +Neither Comparator's own sandbox is what holds the commit here. bwrap cannot start in the runner's container (no user | |
| 39 | +namespaces). landrun can (Landlock, measured on the production host 12-02), but upstream's guarantee needs three things | |
| 40 | +the check does not have: nothing of the commit compiled before Comparator runs, a user who is not root, and no | |
| 41 | +AF_UNIX (kernels before 7.1). Step 2, as `nobody`, stands in for both. | |
| 42 | + | |
| 43 | +Where the build is kept. With `"in_place": true` and an image whose `.lake/build` belongs to `nobody`, both sides use | |
| 44 | +that folder itself: root first, for the approved challenge, then the commit, which may write anything there; nothing | |
| 45 | +is read from it as approved after that, and the container is thrown away with what it wrote. A job then costs the | |
| 46 | +disk of what it recompiled. Without it the build is copied for each side, as before (a 600 MB build: fine; 40 GB: | |
| 47 | +not). | |
| 48 | + | |
| 49 | +When Comparator runs. A replay sends the whole proof through a kernel on one core: minutes for a small library, hours | |
| 50 | +for a large one. With `"replay": "round"` in build.json a push gets step 2's build and `sorry` scan only, and the last | |
| 51 | +line says so: that is the commit's own Lean reporting on itself, a filter and not a verdict. The replay (all four | |
| 52 | +steps) is then run once per maintainer round, on main or on a batch of pull requests, with BUILD_REPLAY=1; its result | |
| 53 | +is filed as a report. Without the key every push is replayed. | |
| 54 | + | |
| 55 | +The `sorry` scan of step 2 reads the commit's own build log, which the commit's code can write to: it catches an | |
| 56 | +honest `sorry` anywhere in the library, and a hidden one cannot reach a judged theorem, since step 3 reads the axioms | |
| 57 | +from the exports. Run as another user than root (tests, a machine of one's own) it does the same steps without | |
| 58 | +switching to `nobody`. | |
| 59 | + | |
| 60 | +Each step's wall time is printed as it ends (`-- … s`). Its last line says what held, or the first thing that did | |
| 61 | +not. Exit 0 passes, 1 fails. | |
| 62 | +""" | |
| 63 | + | |
| 64 | +from __future__ import annotations | |
| 65 | + | |
| 66 | +import json | |
| 67 | +import os | |
| 68 | +import re | |
| 69 | +import shlex | |
| 70 | +import shutil | |
| 71 | +import subprocess | |
| 72 | +import sys | |
| 73 | +import tempfile | |
| 74 | +import time | |
| 75 | +import tomllib | |
| 76 | +from pathlib import Path | |
| 77 | + | |
| 78 | +SORRY = re.compile(r"declaration uses ['`]sorry['`]") | |
| 79 | +# where a warning comes from: "warning: Challenge.lean:2:8: declaration uses `sorry`" (a path, possibly ./ or absolute) | |
| 80 | +WHERE = re.compile(r"(?:^|\s)(?:\./)?([^\s:]+\.lean):\d+:\d+:") | |
| 81 | +NOBODY = 65534 # nobody:nogroup in Ubuntu | |
| 82 | +# What is exported with the theorems, as `lake comparator` asks when it exports by itself (Lean 4.35.0, | |
| 83 | +# src/lake/Lake/CLI/Check.lean: builtinTargets, primitiveTargets): the kernel's built-in constants, Quot when Quot.sound | |
| 84 | +# is permitted, then the configuration's theorems, axioms and definitions. | |
| 85 | +PRIMITIVES = [ | |
| 86 | + "Nat.add", "Nat.sub", "Nat.mul", "Nat.pow", "Nat.gcd", "Nat.div", "Nat.mod", "Nat.beq", "Nat.ble", "Nat.land", | |
| 87 | + "Nat.lor", "Nat.xor", "Nat.shiftLeft", "Nat.shiftRight", "String.ofList", "Char.ofNat", "List", "eagerReduce", | |
| 88 | + "Nat", "String", "String.mk", "Char", "optParam", "autoParam", "semiOutParam", "outParam", | |
| 89 | +] | |
| 90 | +QUOT = ["Quot", "Quot.mk", "Quot.lift", "Quot.ind"] | |
| 91 | +NO_SANDBOX = "WARNING: Sandbox disabled, this run is not trustworthy." | |
| 92 | + | |
| 93 | + | |
| 94 | +class Wrong(Exception): | |
| 95 | + pass | |
| 96 | + | |
| 97 | + | |
| 98 | +ROOT = os.geteuid() == 0 | |
| 99 | + | |
| 100 | + | |
| 101 | +def toolchain_bin(cwd: Path) -> str: | |
| 102 | + """The toolchain's own bin folder (elan puts only lean, lake and leanchecker on PATH; Comparator looks nanoda_bin | |
| 103 | + up on PATH), or nothing where elan is not there.""" | |
| 104 | + try: | |
| 105 | + return str(Path(subprocess.run(["elan", "which", "lean"], cwd=cwd, capture_output=True, text=True, timeout=60, | |
| 106 | + check=True).stdout.strip()).parent) | |
| 107 | + except (OSError, subprocess.SubprocessError): | |
| 108 | + return "" | |
| 109 | + | |
| 110 | + | |
| 111 | +BIN = "" # set in main: the toolchain's bin folder, first on every PATH below | |
| 112 | + | |
| 113 | + | |
| 114 | +def env_for(home: Path) -> dict[str, str]: | |
| 115 | + """What a process of the commit or the judge sees: the image's PATH and elan, a HOME of its own, and git told | |
| 116 | + that the image's repositories, which root owns, are safe to read (Lake asks git about each package).""" | |
| 117 | + keep = {k: v for k, v in os.environ.items() if k in ("PATH", "ELAN_HOME", "LANG", "LC_ALL", "LEAN_NUM_THREADS")} | |
| 118 | + if BIN: | |
| 119 | + keep["PATH"] = f"{BIN}:{keep.get('PATH', '/usr/bin:/bin')}" | |
| 120 | + return {**keep, "HOME": str(home), "GIT_CONFIG_COUNT": "1", "GIT_CONFIG_KEY_0": "safe.directory", | |
| 121 | + "GIT_CONFIG_VALUE_0": "*"} | |
| 122 | + | |
| 123 | + | |
| 124 | +def run(cmd: list[str], cwd: Path, timeout: int, log: Path | None = None, *, nobody: bool = False, | |
| 125 | + env: dict[str, str] | None = None, out=None) -> str: | |
| 126 | + """Run a command, keep what it printed in `log`, and fail with its last lines if it fails. With `out`, its standard | |
| 127 | + output goes to that file instead. With `nobody` (and as root), it runs as nobody, with no supplementary group.""" | |
| 128 | + print(f"$ {' '.join(cmd)}", flush=True) | |
| 129 | + who = {"user": NOBODY, "group": NOBODY, "extra_groups": []} if nobody and ROOT else {} | |
| 130 | + began = time.monotonic() | |
| 131 | + try: | |
| 132 | + p = subprocess.run(cmd, cwd=cwd, stdout=out or subprocess.PIPE, stderr=subprocess.STDOUT if out is None else subprocess.PIPE, | |
| 133 | + text=True, timeout=timeout, env=env, **who) | |
| 134 | + except subprocess.TimeoutExpired: | |
| 135 | + raise Wrong(f"{' '.join(cmd)} took longer than {timeout} s") | |
| 136 | + said = (p.stdout if out is None else p.stderr) or "" | |
| 137 | + if log: | |
| 138 | + log.write_text(said, encoding="utf-8") | |
| 139 | + tail = "\n".join(said.replace(NO_SANDBOX, "").strip().splitlines()[-25:]) | |
| 140 | + if tail: | |
| 141 | + print(tail, flush=True) | |
| 142 | + print(f"-- {time.monotonic() - began:.0f} s", flush=True) | |
| 143 | + if p.returncode != 0: | |
| 144 | + # with the first error it gave (Lean's, or Comparator's verdict), so the last line says why | |
| 145 | + why = next((line.strip() for line in said.splitlines() if re.match(r"(error|uncaught exception)\b", line.strip()) | |
| 146 | + and line.strip() != "error: build failed"), "") | |
| 147 | + raise Wrong(f"{' '.join(cmd)} ended with exit {p.returncode}" + (f": {why[:300]}" if why else "")) | |
| 148 | + return said | |
| 149 | + | |
| 150 | + | |
| 151 | +def kill_nobody() -> None: | |
| 152 | + """End every process of nobody at once: kill -1 from nobody reaches exactly those, itself included.""" | |
| 153 | + if ROOT: | |
| 154 | + subprocess.run(["bash", "-c", "kill -KILL -1"], user=NOBODY, group=NOBODY, extra_groups=[], | |
| 155 | + stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) | |
| 156 | + | |
| 157 | + | |
| 158 | +def give_lake(base: Path, project: Path, in_place: bool = False) -> None: | |
| 159 | + """The image's .lake for a project: its packages shared and read-only (a symbolic link), the rest a copy; in place, | |
| 160 | + the build is shared too, and whoever builds in the project writes into the image's own folder.""" | |
| 161 | + (project / ".lake").mkdir() | |
| 162 | + for entry in (base / ".lake").iterdir(): | |
| 163 | + if entry.name == "packages" or (in_place and entry.name == "build"): | |
| 164 | + (project / ".lake" / entry.name).symlink_to(entry) | |
| 165 | + elif entry.is_dir(): | |
| 166 | + shutil.copytree(entry, project / ".lake" / entry.name, symlinks=True) | |
| 167 | + else: | |
| 168 | + shutil.copy2(entry, project / ".lake" / entry.name) | |
| 169 | + | |
| 170 | + | |
| 171 | +def chown_nobody(folder: Path) -> None: | |
| 172 | + """Give a folder and what is in it to nobody. What is nobody's already is left alone: in a folder of the image | |
| 173 | + itself, a chown copies the file into the container.""" | |
| 174 | + if ROOT: | |
| 175 | + for here, dirs, files in os.walk(folder): | |
| 176 | + for path in [Path(here)] + [Path(here) / name for name in files + [d for d in dirs if (Path(here) / d).is_symlink()]]: | |
| 177 | + if os.lstat(path).st_uid != NOBODY: | |
| 178 | + os.lchown(path, NOBODY, NOBODY) | |
| 179 | + | |
| 180 | + | |
| 181 | +def targets(config: dict) -> list[str]: | |
| 182 | + axioms = config["permitted_axioms"] | |
| 183 | + return (QUOT if "Quot.sound" in axioms else []) + config.get("theorem_names", []) + axioms + PRIMITIVES \ | |
| 184 | + + config.get("definition_names", []) | |
| 185 | + | |
| 186 | + | |
| 187 | +EXPORT = ["lake", "env", "leanexport"] # build.json's export_command, set in main | |
| 188 | + | |
| 189 | + | |
| 190 | +def export(module: str, names: list[str], dest: Path, cwd: Path, timeout: int, nobody: bool, env: dict[str, str]) -> None: | |
| 191 | + with dest.open("w") as f: | |
| 192 | + run([*EXPORT, module, "--", *names], cwd, timeout, nobody=nobody, env=env, out=f) | |
| 193 | + print(f"-- {dest.name}: {dest.stat().st_size / 1e6:.0f} MB", flush=True) | |
| 194 | + | |
| 195 | + | |
| 196 | +def judge_command(spec: dict, config: Path, challenge: Path, solution: Path, modules: tuple[str, str], folder: Path) -> tuple[list[str], dict[str, str]]: | |
| 197 | + """How Comparator is started on two exports, and what is added to its environment.""" | |
| 198 | + if spec.get("comparator_kind", "lake") != "standalone": | |
| 199 | + return spec["comparator_command"] + [str(config), "--challenge-from-export", str(challenge), "--solution-from-export", str(solution), | |
| 200 | + "--inadvisably-no-sandbox"], {} | |
| 201 | + # the standalone Comparator starts everything through landrun: this stands in for it (the module docstring says why) | |
| 202 | + for module in modules: | |
| 203 | + if not re.fullmatch(r"[\w.'«»]+", module): | |
| 204 | + raise Wrong(f"{module!r} is not a module name") | |
| 205 | + stand_in = folder / f"{config.stem}-landrun" | |
| 206 | + serve = "".join(f" {shlex.quote('lean4export ' + m)}) exec cat {shlex.quote(str(e))} ;;\n" for m, e in dict(zip(modules, (challenge, solution))).items()) | |
| 207 | + stand_in.write_text('#!/bin/sh\n# in landrun\'s place: the builds are done, and the exports made\n' | |
| 208 | + 'while [ $# -gt 0 ] && [ "$1" != -- ]; do shift; done\n[ $# -gt 1 ] || exit 2\nshift\n' | |
| 209 | + f'case "$1 $2" in\n "lake build") exit 0 ;;\n{serve} lake\\ *|lean4export\\ *) echo "not served: $*" >&2; exit 2 ;;\nesac\nexec "$@"\n') | |
| 210 | + stand_in.chmod(0o755) | |
| 211 | + (folder / ".lake").mkdir(exist_ok=True) # Comparator makes it in its folder otherwise, which nobody cannot | |
| 212 | + return spec["comparator_command"] + [str(config)], {"COMPARATOR_LANDRUN": str(stand_in)} | |
| 213 | + | |
| 214 | + | |
| 215 | +def imports_of(path: Path) -> list[str]: | |
| 216 | + """The modules a file's header imports.""" | |
| 217 | + found = [] | |
| 218 | + for line in path.read_text(encoding="utf-8").splitlines(): | |
| 219 | + m = re.match(r"\s*(?:public\s+)?import\s+(.+)", line) | |
| 220 | + if m: | |
| 221 | + found += m.group(1).split() | |
| 222 | + elif line.strip() and not line.lstrip().startswith(("--", "/-", "module", "prelude")): | |
| 223 | + break | |
| 224 | + return found | |
| 225 | + | |
| 226 | + | |
| 227 | +def main(argv: list[str]) -> int: | |
| 228 | + if len(argv) < 2: | |
| 229 | + print(__doc__.strip().splitlines()[2]) | |
| 230 | + return 2 | |
| 231 | + tree = Path(argv[1]).resolve() | |
| 232 | + spec = json.loads((Path(argv[2]) if len(argv) > 2 else Path(__file__).with_name("build.json")).read_text(encoding="utf-8")) | |
| 233 | + approved = Path(os.environ.get("PROOF_APPROVED") or Path(__file__).resolve().parents[1]) | |
| 234 | + base = Path(os.environ.get("PROOF_BASE", "/opt/proof")) | |
| 235 | + timeout = int(spec.get("timeout", 6 * 3600)) | |
| 236 | + logs = Path(os.environ.get("BUILD_LOGS", ".")).resolve() | |
| 237 | + logs.mkdir(parents=True, exist_ok=True) | |
| 238 | + work = Path(tempfile.mkdtemp(prefix="build-")) | |
| 239 | + os.chmod(work, 0o711) # nobody passes through to its own folders, and reads nothing else here | |
| 240 | + try: | |
| 241 | + if not (tree / "lakefile.toml").is_file(): | |
| 242 | + print("Nothing to check yet: the commit has no lakefile.toml.") | |
| 243 | + return 0 | |
| 244 | + if not (base / ".lake").is_dir(): | |
| 245 | + raise Wrong(f"{base}/.lake is not there: this check runs in the project's Lean image (docker/README.md)") | |
| 246 | + # 4. the image's toolchain (read, not run) | |
| 247 | + want = (tree / "lean-toolchain").read_text(encoding="utf-8").strip() | |
| 248 | + have = (base / "lean-toolchain").read_text(encoding="utf-8").strip() | |
| 249 | + if want != have: | |
| 250 | + raise Wrong(f"the commit asks for {want}; the image has {have}: a toolchain bump needs a new image (docker/README.md)") | |
| 251 | + global BIN, EXPORT | |
| 252 | + BIN = toolchain_bin(base) | |
| 253 | + # Lake starts a `lean` for every core it sees, and the runner's --cpus is a share of time, not a count of | |
| 254 | + # cores: on a 128-core host a job of 4 CPUs would start 128 (lean-poincare, 12-02) | |
| 255 | + if os.environ.get("SLURM_CPUS_PER_TASK"): | |
| 256 | + os.environ.setdefault("LEAN_NUM_THREADS", os.environ["SLURM_CPUS_PER_TASK"]) | |
| 257 | + EXPORT = spec.get("export_command", EXPORT) | |
| 258 | + configs = [(name, json.loads((approved / name).read_text(encoding="utf-8"))) for name in spec.get("comparator", [])] | |
| 259 | + theorems = spec.get("theorems", []) if spec.get("axioms_file") else [] | |
| 260 | + # a push of a project that replays once a round gets the build and its own account of the axioms, no judge | |
| 261 | + replay = spec.get("replay", "push") != "round" or os.environ.get("BUILD_REPLAY") == "1" | |
| 262 | + in_place = bool(spec.get("in_place")) | |
| 263 | + built = base / ".lake" / "build" | |
| 264 | + if in_place and ROOT and os.stat(built).st_uid != NOBODY: | |
| 265 | + raise Wrong(f"{built} is not nobody's: build.json's in_place needs an image made for it (docker/README.md)") | |
| 266 | + judge = work / "judge" | |
| 267 | + judge.mkdir() | |
| 268 | + # 1. the approved challenges, as root, before anything of the commit runs | |
| 269 | + if configs and replay: | |
| 270 | + mine = work / "approved" | |
| 271 | + # (not the commit's tree, nor the job's logs: on the runner both sit in the approved checkout, /work) | |
| 272 | + shutil.copytree(approved, mine, symlinks=True, ignore=lambda d, names: [n for n in names if n in (".git", ".lake") | |
| 273 | + or (Path(d) / n).resolve() in (tree, logs)]) | |
| 274 | + give_lake(base, mine, in_place) | |
| 275 | + for i, (name, config) in enumerate(configs): | |
| 276 | + run(["lake", "build", config["challenge_module"]], mine, timeout, logs / f"challenge-{i}.log") | |
| 277 | + export(config["challenge_module"], targets(config), judge / f"challenge-{i}.export", mine, timeout, False, None) | |
| 278 | + if in_place: | |
| 279 | + chown_nobody(built) # what root compiled there, the commit's Lake may have to write again | |
| 280 | + # 2. the commit, as nobody, in a folder of its own. In place, the image's build is from here on the commit's: | |
| 281 | + # nothing below reads it as approved | |
| 282 | + proof, home, solve = work / "proof", work / "home", work / "solve" | |
| 283 | + shutil.copytree(tree, proof, symlinks=True, ignore=shutil.ignore_patterns(".git", ".lake")) | |
| 284 | + give_lake(base, proof, in_place) | |
| 285 | + for folder in (home, solve): | |
| 286 | + folder.mkdir() | |
| 287 | + for folder in (proof, home, solve): | |
| 288 | + chown_nobody(folder) | |
| 289 | + env = env_for(home) | |
| 290 | + try: | |
| 291 | + out = run(["lake", "build"], proof, timeout, logs / "build.log", nobody=True, env=env) | |
| 292 | + # and every library the approved lakefile declares, whatever the commit's defaultTargets say (a key a pull | |
| 293 | + # request may change): a proof in a library left out of the default build was never compiled, and passed | |
| 294 | + # (12-01, Goldbach: Open/<Name>.lean, its library without globs) | |
| 295 | + approved_lakefile = approved / "lakefile.toml" | |
| 296 | + libs = [lib["name"] for lib in tomllib.loads(approved_lakefile.read_text(encoding="utf-8")).get("lean_lib", [])] if approved_lakefile.exists() else [] | |
| 297 | + if libs: | |
| 298 | + out += "\n" + run(["lake", "build", *libs], proof, timeout, logs / "build-libs.log", nobody=True, env=env) | |
| 299 | + frozen = tuple(spec.get("frozen", [])) | |
| 300 | + | |
| 301 | + def allowed(line: str) -> bool: | |
| 302 | + m = WHERE.search(line) | |
| 303 | + if not m: | |
| 304 | + return False | |
| 305 | + path = os.path.normpath(m.group(1)) # a library with srcDir "src" names src/../Challenge.lean | |
| 306 | + path = path[len(str(proof)) + 1:] if path.startswith(str(proof) + "/") else path | |
| 307 | + return path in frozen | |
| 308 | + sorries = [line for line in out.splitlines() if SORRY.search(line) and not allowed(line)] | |
| 309 | + if sorries: | |
| 310 | + print("\n".join(sorries[:20])) | |
| 311 | + raise Wrong(f"the build reports {len(sorries)} declaration(s) that use sorry") | |
| 312 | + reported = 0 | |
| 313 | + if not replay: | |
| 314 | + # what the commit's own Lean says its theorems rest on: a filter (the commit's code runs in that Lean), | |
| 315 | + # which the round's replay does not rely on | |
| 316 | + names = [t for _, config in configs for t in config.get("theorem_names", [])] + theorems | |
| 317 | + modules = [config["solution_module"] for _, config in configs] + (imports_of(approved / spec["axioms_file"]) if theorems else []) | |
| 318 | + (solve / "ShoalAxioms.lean").write_text("".join(f"import {m}\n" for m in dict.fromkeys(modules)) + "".join(f"#print axioms {t}\n" for t in names)) | |
| 319 | + chown_nobody(solve) | |
| 320 | + out = run(["lake", "env", "lean", str(solve / "ShoalAxioms.lean")], proof, timeout, logs / "axioms.log", nobody=True, env=env) if names else "" | |
| 321 | + for t in names: | |
| 322 | + found = re.findall(rf"'{re.escape(t)}' (does not depend on any axioms|depends on axioms: \[([^\]]*)\])", out) | |
| 323 | + extra = sorted({a for _, listed in found for a in listed.replace(",", " ").split()} - set(spec["permitted_axioms"])) | |
| 324 | + if extra: | |
| 325 | + raise Wrong(f"{t} depends on {', '.join(extra)}: only {', '.join(spec['permitted_axioms'])} are permitted") | |
| 326 | + if not found: | |
| 327 | + raise Wrong(f"Lean did not say which axioms {t} depends on") | |
| 328 | + reported, configs, theorems = len(names), [], [] | |
| 329 | + for i, (name, config) in enumerate(configs): | |
| 330 | + export(config["solution_module"], targets(config), solve / f"solution-{i}.export", proof, timeout, True, env) | |
| 331 | + if theorems: | |
| 332 | + # the theorems, in scope through the approved axioms file's imports, compiled as a module of their own | |
| 333 | + (solve / "ShoalTheorems.lean").write_text("".join(f"import {m}\n" for m in imports_of(approved / spec["axioms_file"]))) | |
| 334 | + chown_nobody(solve) | |
| 335 | + run(["lake", "env", "lean", "-R", str(solve), "-o", str(solve / "ShoalTheorems.olean"), str(solve / "ShoalTheorems.lean")], | |
| 336 | + proof, timeout, logs / "theorems.log", nobody=True, env=env) | |
| 337 | + config = {"permitted_axioms": spec["permitted_axioms"], "theorem_names": theorems} | |
| 338 | + export("ShoalTheorems", targets(config), solve / "theorems.export", proof, timeout, True, | |
| 339 | + {**env, "LEAN_PATH": str(solve)}) | |
| 340 | + finally: | |
| 341 | + kill_nobody() | |
| 342 | + # 3. the judge, as nobody, on the exports alone | |
| 343 | + for i, (name, config) in enumerate(configs): | |
| 344 | + # the configuration as parsed, where nobody can read it: the runner's job folder is closed to others (12-01) | |
| 345 | + mine_config = judge / f"{i}-{Path(name).name}" | |
| 346 | + mine_config.write_text(json.dumps(config)) | |
| 347 | + cmd, more = judge_command(spec, mine_config, judge / f"challenge-{i}.export", solve / f"solution-{i}.export", | |
| 348 | + (config["challenge_module"], config["solution_module"]), judge) | |
| 349 | + out = run(cmd, judge, timeout, logs / f"comparator-{i}.log", nobody=True, env={**env_for(judge), **more}) | |
| 350 | + missing = [s for s in spec["comparator_success"] if s not in out] | |
| 351 | + if missing: | |
| 352 | + raise Wrong(f"Comparator on {name} did not say: {missing[0]}") | |
| 353 | + if theorems: | |
| 354 | + # Comparator with the theorems' export as both sides: the statements trivially agree, so what it judges is | |
| 355 | + # the axioms and the kernel's replay | |
| 356 | + gen = judge / "theorems.json" | |
| 357 | + gen.write_text(json.dumps({"challenge_module": "ShoalTheorems", "solution_module": "ShoalTheorems", "theorem_names": theorems, | |
| 358 | + "permitted_axioms": spec["permitted_axioms"]})) | |
| 359 | + cmd, more = judge_command(spec, gen, solve / "theorems.export", solve / "theorems.export", ("ShoalTheorems", "ShoalTheorems"), judge) | |
| 360 | + out = run(cmd, judge, timeout, logs / "axioms.log", nobody=True, env={**env_for(judge), **more}) | |
| 361 | + if "Your solution is okay!" not in out: | |
| 362 | + raise Wrong("Comparator did not accept the theorems' axioms") | |
| 363 | + said = ["lake build passes with no sorry"] | |
| 364 | + if reported: | |
| 365 | + said.append(f"{reported} theorem(s) report {', '.join(spec['permitted_axioms'])} only") | |
| 366 | + if not replay: | |
| 367 | + said.append("not replayed: Comparator judges this project once per maintainer round") | |
| 368 | + if theorems: | |
| 369 | + said.append(f"{len(theorems)} theorem(s) on {', '.join(spec['permitted_axioms'])} only") | |
| 370 | + if configs: | |
| 371 | + said.append(f"Comparator accepts {', '.join(name for name, _ in configs)}") | |
| 372 | + print("ok: " + "; ".join(said)) | |
| 373 | + return 0 | |
| 374 | + except Wrong as e: | |
| 375 | + print(f"FAILED: {e}") | |
| 376 | + return 1 | |
| 377 | + except (OSError, ValueError, KeyError) as e: | |
| 378 | + print(f"FAILED: {e}") | |
| 379 | + return 1 | |
| 380 | + finally: | |
| 381 | + kill_nobody() | |
| 382 | + shutil.rmtree(work, ignore_errors=True) | |
| 383 | + | |
| 384 | + | |
| 385 | +if __name__ == "__main__": | |
| 386 | + sys.exit(main(sys.argv)) | |
+16 −0 checks/build.sbatch added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +#!/bin/bash | |
| 2 | +#SBATCH --job-name=lake-build | |
| 3 | +#SBATCH --partition=lean | |
| 4 | +#SBATCH --time=06:00:00 | |
| 5 | +#SBATCH --cpus-per-task=4 | |
| 6 | +#SBATCH --mem=16G | |
| 7 | +# lake build (upstream's build.yml), the sorry and axiom gates on the pushed commit ($SS_INPUT), in the project's Lean | |
| 8 | +# image (docker/) with no network. The approved checks/build.py and checks/build.json say what is run; the image holds | |
| 9 | +# the toolchain, the dependencies and a build of the approved main, so only what the commit changed is rebuilt, in | |
| 10 | +# place. build.json's "replay": "round": a push gets the commit's build as nobody, no sorry, and what its own Lean says | |
| 11 | +# its theorem rests on; Comparator's export and kernel replay run once per maintainer round (the report check | |
| 12 | +# `replay`). Logs go beside the job's output. | |
| 13 | +# The time is for the widest change: a file a third of the project imports rebuilds 12,190 modules, about 6 core-seconds | |
| 14 | +# each (the image's compile, 12-02); the median file rebuilds 148. | |
| 15 | +set -euo pipefail | |
| 16 | +BUILD_LOGS="$PWD/logs" python3 -I checks/build.py "$SS_INPUT" checks/build.json | |
+221 −0 checks/challenge.py added View file
| @@ -0,0 +1,221 @@ | ||
| 1 | +#!/usr/bin/env python3 | |
| 2 | +"""The `challenge` check: a push may change how the theorems are proved, never what is proved or how it is judged. | |
| 3 | + | |
| 4 | +Usage: challenge.py <commit's tree> [<frozen.json>] | |
| 5 | + | |
| 6 | +This is leanprover-community/riemann-hypothesis's `challenge-files.yml` ("Comparator challenge files and build | |
| 7 | +configuration are unchanged"), made a check of this site. Upstream compares a pull request's head with the commit it | |
| 8 | +branched off; here the approved version of the project is the reference, and `frozen.json`, beside this script in | |
| 9 | +that version, records what it holds: | |
| 10 | + | |
| 11 | +- `files`: the Comparator challenge, its configuration and the statements they import, each by its SHA-256. A commit | |
| 12 | + fails if any of them is missing or differs (Comparator would accept a change there, since both sides would see it). | |
| 13 | +- `lakefile`: `lakefile.toml` as approved, without the keys a pull request may change (FREE: `leanOptions`, | |
| 14 | + `defaultTargets`, `lean_exe`, `[cache]`, and each `require`'s `rev`). The libraries, their sources, Lean's arguments | |
| 15 | + and the dependencies' names and addresses stay as they are, so `Challenge` and the solution keep naming these files. | |
| 16 | +- `manifest`: the settings of `lake-manifest.json` (everything but its packages) and where Mathlib comes from. | |
| 17 | + | |
| 18 | +It also fails a commit that adds `lakefile.lean` (Lake reads it instead of `lakefile.toml`), lists a package that is not | |
| 19 | +a Git repository of leanprover or leanprover-community on GitHub nor one in `trusted`, names a toolchain that is not a | |
| 20 | +release of leanprover/lean4, adds files under `.lake/`, or holds a symbolic link among the frozen files; and, as | |
| 21 | +upstream's build does, one that puts `sorry`, `admit`, an `axiom`, `native_decide`, `implemented_by` or `extern` in its | |
| 22 | +Lean source (comments and strings skipped). | |
| 23 | + | |
| 24 | +A Mathlib or toolchain bump passes: it changes `rev`, the packages' revisions and `lean-toolchain`. The `build` check | |
| 25 | +then needs a Lean image for it. It reads files only and runs nothing from the commit. Standard library only, Python | |
| 26 | +3.11 or newer (tomllib). Exit 0 passes, 1 fails. | |
| 27 | +""" | |
| 28 | + | |
| 29 | +from __future__ import annotations | |
| 30 | + | |
| 31 | +import hashlib | |
| 32 | +import json | |
| 33 | +import os | |
| 34 | +import re | |
| 35 | +import sys | |
| 36 | +import tomllib | |
| 37 | +from pathlib import Path | |
| 38 | + | |
| 39 | +FREE = {"leanOptions", "defaultTargets", "lean_exe", "cache"} | |
| 40 | +TRUSTED = ("https://github.com/leanprover-community/", "https://github.com/leanprover/") | |
| 41 | +TOOLCHAIN = re.compile(r"leanprover/lean4:v[0-9][0-9A-Za-z.+-]*") | |
| 42 | +FORBIDDEN = [ | |
| 43 | + (re.compile(r"\bsorry\b"), "sorry"), | |
| 44 | + (re.compile(r"\bsorryAx\b"), "sorryAx"), # the axiom behind sorry, which \bsorry\b does not see | |
| 45 | + # the tactic, not a field or projection that happens to be called admit (`admit : P x`, `h.admit`, `admit (x)`) | |
| 46 | + (re.compile(r"(?<![.\w'])admit\b(?!['\w])(?![ \t]*[:(])"), "admit"), | |
| 47 | + (re.compile(r"(?m)^[ \t]*(?:@\[[^\]]*\][ \t]*)?(?:(?:private|protected|noncomputable)[ \t]+)*axiom\b"), "an axiom declaration"), | |
| 48 | + (re.compile(r"\bnative_decide\b"), "native_decide"), | |
| 49 | + (re.compile(r"\bimplemented_by\b"), "implemented_by"), | |
| 50 | + (re.compile(r"@\[\s*extern\b"), "extern"), | |
| 51 | +] | |
| 52 | +# a file without any of these words anywhere, comments included, needs no closer look | |
| 53 | +ANY = re.compile(r"sorry|admit|axiom|native_decide|implemented_by|extern") | |
| 54 | +SKIP_DIRS = {".git", ".lake", "lake-packages", "__pycache__", "node_modules"} | |
| 55 | + | |
| 56 | + | |
| 57 | +def strip(text: str) -> str: | |
| 58 | + """Lean source without its comments and string literals: `--` to the end of the line, nested `/- … -/`, and | |
| 59 | + "…" with its escapes. What is left is code, so a docstring that mentions `sorry` is not a `sorry`.""" | |
| 60 | + out: list[str] = [] | |
| 61 | + i, n, depth = 0, len(text), 0 | |
| 62 | + while i < n: | |
| 63 | + if depth: | |
| 64 | + if text.startswith("/-", i): | |
| 65 | + depth += 1 | |
| 66 | + i += 2 | |
| 67 | + elif text.startswith("-/", i): | |
| 68 | + depth -= 1 | |
| 69 | + i += 2 | |
| 70 | + else: | |
| 71 | + if text[i] == "\n": | |
| 72 | + out.append("\n") | |
| 73 | + i += 1 | |
| 74 | + continue | |
| 75 | + if text.startswith("/-", i): | |
| 76 | + depth = 1 | |
| 77 | + i += 2 | |
| 78 | + elif text.startswith("--", i): | |
| 79 | + j = text.find("\n", i) | |
| 80 | + i = n if j < 0 else j | |
| 81 | + elif text[i] == '"': | |
| 82 | + i += 1 | |
| 83 | + while i < n and text[i] != '"': | |
| 84 | + i += 2 if text[i] == "\\" else 1 | |
| 85 | + i += 1 | |
| 86 | + elif text[i] == "'" and i + 2 < n and text[i + 2] == "'": | |
| 87 | + i += 3 # a character literal such as '"' | |
| 88 | + else: | |
| 89 | + out.append(text[i]) | |
| 90 | + i += 1 | |
| 91 | + return "".join(out) | |
| 92 | + | |
| 93 | + | |
| 94 | +def sha256(path: Path) -> str: | |
| 95 | + h = hashlib.sha256() | |
| 96 | + with path.open("rb") as f: | |
| 97 | + for block in iter(lambda: f.read(1 << 20), b""): | |
| 98 | + h.update(block) | |
| 99 | + return h.hexdigest() | |
| 100 | + | |
| 101 | + | |
| 102 | +def lakefile_view(text: str) -> dict: | |
| 103 | + """lakefile.toml without what a pull request may change: upstream's `lakefile()`.""" | |
| 104 | + config = tomllib.loads(text) | |
| 105 | + view = {key: value for key, value in config.items() if key not in FREE} | |
| 106 | + view["require"] = [{key: value for key, value in require.items() if key != "rev"} for require in config.get("require", [])] | |
| 107 | + return view | |
| 108 | + | |
| 109 | + | |
| 110 | +def manifest_view(text: str) -> tuple[dict, dict]: | |
| 111 | + """lake-manifest.json's settings, and its packages by name: upstream's `manifest()`.""" | |
| 112 | + data = json.loads(text) | |
| 113 | + return {key: value for key, value in data.items() if key != "packages"}, {p.get("name"): p for p in data.get("packages", [])} | |
| 114 | + | |
| 115 | + | |
| 116 | +def canonical(value) -> str: | |
| 117 | + return json.dumps(value, sort_keys=True, ensure_ascii=False) | |
| 118 | + | |
| 119 | + | |
| 120 | +def frozen_of(root: Path, files: list[str], trusted: list[str]) -> dict: | |
| 121 | + """What frozen.json holds for a tree: run on the approved version to make it (`--freeze`).""" | |
| 122 | + settings, packages = manifest_view((root / "lake-manifest.json").read_text(encoding="utf-8")) | |
| 123 | + return { | |
| 124 | + "files": {path: sha256(root / path) for path in files}, | |
| 125 | + "lakefile": json.loads(canonical(lakefile_view((root / "lakefile.toml").read_text(encoding="utf-8")))), | |
| 126 | + "manifest": {"settings": settings, "mathlib": (packages.get("mathlib") or {}).get("url")}, | |
| 127 | + "trusted": trusted, | |
| 128 | + } | |
| 129 | + | |
| 130 | + | |
| 131 | +def lean_files(root: Path): | |
| 132 | + for here, dirs, names in os.walk(root): | |
| 133 | + dirs[:] = sorted(d for d in dirs if d not in SKIP_DIRS) | |
| 134 | + for name in sorted(names): | |
| 135 | + if name.endswith(".lean"): | |
| 136 | + yield Path(here) / name | |
| 137 | + | |
| 138 | + | |
| 139 | +def check(root: Path, frozen: dict) -> tuple[list[str], str]: | |
| 140 | + wrong: list[str] = [] | |
| 141 | + for rel, want in sorted(frozen["files"].items()): | |
| 142 | + p = root / rel | |
| 143 | + if p.is_symlink() or (p.exists() and not p.is_file()): | |
| 144 | + wrong.append(f"{rel} is not a plain file: it is a Comparator challenge file") | |
| 145 | + elif not p.is_file(): | |
| 146 | + wrong.append(f"{rel} is missing: it is a Comparator challenge file") | |
| 147 | + elif sha256(p) != want: | |
| 148 | + wrong.append(f"{rel} differs from the approved version: it is a Comparator challenge file") | |
| 149 | + if (root / "lakefile.lean").exists(): | |
| 150 | + wrong.append("lakefile.lean is added: Lake would read it instead of lakefile.toml") | |
| 151 | + try: | |
| 152 | + lake = root / "lakefile.toml" | |
| 153 | + if not lake.is_file() or canonical(lakefile_view(lake.read_text(encoding="utf-8"))) != canonical(frozen["lakefile"]): | |
| 154 | + wrong.append("lakefile.toml changes other than in a require's rev, leanOptions, defaultTargets, lean_exe or [cache]") | |
| 155 | + settings, packages = manifest_view((root / "lake-manifest.json").read_text(encoding="utf-8")) | |
| 156 | + if canonical(settings) != canonical(frozen["manifest"]["settings"]): | |
| 157 | + wrong.append("lake-manifest.json: its settings change") | |
| 158 | + if (packages.get("mathlib") or {}).get("url") != frozen["manifest"]["mathlib"]: | |
| 159 | + wrong.append("lake-manifest.json: where Mathlib comes from changes") | |
| 160 | + for name, package in packages.items(): | |
| 161 | + url = str(package.get("url")) | |
| 162 | + if package.get("type") != "git" or not (url.startswith(TRUSTED) or url in frozen.get("trusted", [])): | |
| 163 | + wrong.append(f"lake-manifest.json: the package {name} is not a Git repository of leanprover-community or leanprover on GitHub, nor one this project trusts") | |
| 164 | + except (OSError, ValueError, tomllib.TOMLDecodeError, AttributeError) as problem: | |
| 165 | + wrong.append(f"the build configuration could not be read: {problem}") | |
| 166 | + toolchain = (root / "lean-toolchain").read_text(encoding="utf-8").strip() if (root / "lean-toolchain").is_file() else "" | |
| 167 | + if not TOOLCHAIN.fullmatch(toolchain): | |
| 168 | + wrong.append(f"lean-toolchain: {toolchain!r} is not a release of leanprover/lean4") | |
| 169 | + if (root / ".lake").exists(): | |
| 170 | + wrong.append(".lake/ is added: Lake keeps what it builds and fetches there") | |
| 171 | + files = lines = 0 | |
| 172 | + for p in lean_files(root): | |
| 173 | + rel = p.relative_to(root).as_posix() | |
| 174 | + text = p.read_text(encoding="utf-8", errors="replace") | |
| 175 | + files += 1 | |
| 176 | + lines += text.count("\n") | |
| 177 | + if rel in frozen["files"] or not ANY.search(text): | |
| 178 | + continue | |
| 179 | + code = strip(text) | |
| 180 | + for rx, what in FORBIDDEN: | |
| 181 | + m = rx.search(code) | |
| 182 | + if m: | |
| 183 | + wrong.append(f"{rel}:{code.count(chr(10), 0, m.start()) + 1} uses {what}") | |
| 184 | + break | |
| 185 | + return wrong, f"{len(frozen['files'])} challenge files and the build configuration as approved; {files} Lean files, {lines} lines, toolchain {toolchain}" | |
| 186 | + | |
| 187 | + | |
| 188 | +def main(argv: list[str]) -> int: | |
| 189 | + if len(argv) >= 2 and argv[1] == "--freeze": | |
| 190 | + # challenge.py --freeze <approved tree> <frozen file>... [--trust <url>]...: print frozen.json for that tree | |
| 191 | + args, trusted = argv[3:], [] | |
| 192 | + while "--trust" in args: | |
| 193 | + i = args.index("--trust") | |
| 194 | + trusted.append(args[i + 1]) | |
| 195 | + del args[i:i + 2] | |
| 196 | + print(json.dumps(frozen_of(Path(argv[2]), args, trusted), indent=2, ensure_ascii=False)) | |
| 197 | + return 0 | |
| 198 | + if len(argv) < 2: | |
| 199 | + print(__doc__.strip().splitlines()[2]) | |
| 200 | + return 2 | |
| 201 | + root = Path(argv[1]) | |
| 202 | + frozen = json.loads((Path(argv[2]) if len(argv) > 2 else Path(__file__).with_name("frozen.json")).read_text(encoding="utf-8")) | |
| 203 | + if not any(lean_files(root)): | |
| 204 | + print("Nothing to check yet: the commit holds no Lean file.") | |
| 205 | + return 0 | |
| 206 | + wrong, said = check(root, frozen) | |
| 207 | + for w in wrong[:50]: | |
| 208 | + print(w) | |
| 209 | + if len(wrong) > 50: | |
| 210 | + print(f"… and {len(wrong) - 50} more") | |
| 211 | + if wrong: | |
| 212 | + print("These files say what the proof is judged against and how it is built, and a pull request may not change them;") | |
| 213 | + print("if one has to, open an issue titled \"Ruling: …\" for a person who maintains the project.") | |
| 214 | + print(f"FAILED: {wrong[0]}") | |
| 215 | + return 1 | |
| 216 | + print(f"ok: {said}") | |
| 217 | + return 0 | |
| 218 | + | |
| 219 | + | |
| 220 | +if __name__ == "__main__": | |
| 221 | + sys.exit(main(sys.argv)) | |
+10 −0 checks/challenge.sbatch added View file
| @@ -0,0 +1,10 @@ | ||
| 1 | +#!/bin/bash | |
| 2 | +#SBATCH --job-name=challenge | |
| 3 | +#SBATCH --time=5:00 | |
| 4 | +# Comparator challenge files and build configuration are unchanged (upstream's challenge-files.yml): the approved | |
| 5 | +# checks/challenge.py compares the pushed commit ($SS_INPUT) with what checks/frozen.json records of the approved | |
| 6 | +# version, and looks through its Lean source for sorry, admit, axiom and the like. It reads files only and runs nothing | |
| 7 | +# from the commit. The job's working directory is the approved version, so a branch that edits checks/ changes nothing | |
| 8 | +# about its own verdict. | |
| 9 | +set -euo pipefail | |
| 10 | +python3 -I checks/challenge.py "$SS_INPUT" checks/frozen.json | |
+309 −0 checks/frozen.json added View file
| @@ -0,0 +1,309 @@ | ||
| 1 | +{ | |
| 2 | + "files": { | |
| 3 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/Challenge.lean": "a87d6824d2f1adddbcc744764f6a3450801aa4888dd5596bf2993439db4581cc", | |
| 4 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/CM.lean": "072e1377a49eeb36d75bf941de35a575e7984d6331b5048a23dbd22cc02c7964", | |
| 5 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Algebra/DeRham/Basic.lean": "35f5b0dc36aefa6961f67ec4bf533436dd9a9b15a97c38cc02eb31166152af0c", | |
| 6 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Algebra/Homology/DerivedCategory/MappingCoconeShortExact.lean": "ba375956d3cd0d6188ae9d0aad316030ffe30fb5d9fc71269b346d77933d9643", | |
| 7 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Algebra/Homology/DerivedCategory/MappingCoconeShortExactNaturality.lean": "5f4691902940b77371820851dc96545b513a49838df5567c9594f4b717295167", | |
| 8 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Algebra/Homology/LinearDual.lean": "99f0179746e32bd57b22f3f7b23f75d4c3bcda18078236f63b28810aea8dc28c", | |
| 9 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/AnalyticLeftInverse.lean": "fded4030180ec89091f2ec9d2c51cd9c3af46f53fda23b7e46306f394f32f77c", | |
| 10 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/HolomorphicCharts.lean": "9d2e661b8141edfbebd8ba54d8fd109a3b01b9f968143dbecc617cbce17a4b8b", | |
| 11 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/NormalCoordinates.lean": "86141eb4af961549bf1ef09f9fdea35709a3bf56b978001addf23875bd11d5b8", | |
| 12 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ClosedImmersion/SourceOpen.lean": "8501b326030c23581d5734adeab7366856145531d6c584068a9c782d626df639", | |
| 13 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/AmbientInjectiveResolution.lean": "2b85ebdc9c7cfb2d20ab96cf7077f9f891f4f6e817b7af5bf447853a93a939a8", | |
| 14 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/GlobalSections.lean": "d3c92861461b0c58fafdc2b4f36c29faf3768e485196647b0dc9cfe43aba1e10", | |
| 15 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/SupportedSingularModel.lean": "76cd14113796bf3fd91bae09cf342fabdc163ef17aa657304ff694a6ca9aed21", | |
| 16 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cohomology/WithSupport.lean": "90a55975029a53920261b6e61c5a7da21ae162a56d35e9d819dcfb9a9ecf6ef2", | |
| 17 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ComplexPoint/AnalyticSheaf.lean": "f8db1b5a7c6fc584d1abeadd104ab6c1d67c3efea23fee2e9582abc803d085a6", | |
| 18 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ComplexPoint/Basic.lean": "406e964799ebe7f7b42bfe5709501ac2281e3876d4dbec53ab1cc7b51c5932df", | |
| 19 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SingularClosedFiltration.lean": "56744e5e3d31f95d5b9f694b2c3c7dd2a1e8ae34622f1f9ff8ad21b164b55ac8", | |
| 20 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SmoothClosedLift.lean": "5162020822900d643c59273e40dec83776872ef03467c5fda48613a506106118", | |
| 21 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SmoothSupportCoclassSection.lean": "3cbc15a4e3a625ef9d15588e4087207a5013bc4198d4be5d77878fa0a0cddb91", | |
| 22 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SmoothSupportPurity.lean": "f5631eec1ae2492a9a5277931de3721bf375df97e76aad36f1bffff1a3bfe26b", | |
| 23 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Component/SupportExtension.lean": "8b50195d5176038f1cf662b074536cd84c703d7879bad66df232eaf960e508a1", | |
| 24 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/FundamentalClass.lean": "cd92d574d265c112747679c988b9170ca48991b12cb8f1ac69101134f31a7475", | |
| 25 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Local/Purity.lean": "d88d4f8722eaf256e1ea3bb1b7982bcc42f09efbcdac28a3238952294db74e55", | |
| 26 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/SmoothPair/CoclassOverlap.lean": "df3f13331ecc88958029137ce00011fd5be922ea423e3ae0a663b8f4fc6ffcc3", | |
| 27 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/SmoothPair/CoclassSection.lean": "8d60a55ac8c877dcf71060b02820fb64d49f8bf72048abf0565fc5682cf6d406", | |
| 28 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Support.lean": "3812e2b81b2415f1e64121c7c7a43a054d36ebd0fe3dc6c78741ce58777f9bb6", | |
| 29 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Cycle/Transport/CohomologySheaf.lean": "27ae6e5986ea31d8c3e643996a54d883a47380df0664178e0bebd41482212dc1", | |
| 30 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/AnalyticDifferentialForms.lean": "62e0c9114e6259750e381992a9b84d86ef5db436997ed47fb16b868bbcbef92a", | |
| 31 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/Filtration.lean": "98ce275486ba40d872b2ae30e54109f4c333f44105480a310afa5f255a52c1d1", | |
| 32 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/HolomorphicDeRham.lean": "9fe718e4c15b2295560209be9e9c6d1c96fc760e938d4e6bbabc62f9e12f24cc", | |
| 33 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/ProjectiveSpace.lean": "7d30aa895b6f71041f012ded8c928067058c0464d0ba3cad6200971eadf681a3", | |
| 34 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Stratification/Analytification.lean": "b52d3c255ccf6211897e2b1c47c736399df427813aa6bf6ddc24e361c0f1c099", | |
| 35 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicGeometry/Stratification/Basic.lean": "e2c2716fc5e97aba656d3c714c7e1d2eff3d2bd5541e4b6b5e41914361246b17", | |
| 36 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/LocalHomology/ComplexClass.lean": "1fb00f715ebf4ddbc1b098653bf92d68497a7f23df8810794032131f8e939012", | |
| 37 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/LocalHomology/FundamentalClass.lean": "1487b565a7902f584b7ca509c8ac49c8bca7be2fce0ccc50571291652f4c83c2", | |
| 38 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/LocalHomology/NormalProjectionCoclass.lean": "9fedcf68328085ef6583c575ae181c4f6fa7895a348ea111d977c7162286f0f7", | |
| 39 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/CohomologySection.lean": "b294dbf79aa04377f52c51110b75dce832487cf4e4570de5b42e30809cf9462d", | |
| 40 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/CohomologyStalkVanishing.lean": "11d387b64a057c6f446c86a8883d15af258f656ec1a4683cd2d991220aa442b5", | |
| 41 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/Constant.lean": "f298965be0e1087ccf35fcbfd3f0776d96d1d5d6ba536f6d5eda5965b38ae773", | |
| 42 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/FlasqueBoundedBelow.lean": "8d8d8bf82bdec9316ecf580a30ec7d0fd088b71e974fc4e4a557fa490b030166", | |
| 43 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/FlasqueLowestCohomology.lean": "4ef1e9dac1c86559a73849e3700725b61043026ec2398f34b32db0f06282a450", | |
| 44 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/MapOfLocalStalks.lean": "15d32fe1b26ce417f60e8a9d770b59e71e29cfc148effb084ae7132bd25e2776", | |
| 45 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/OpenInjectiveResolution.lean": "fb19bc76c73e5adf4edda07ead10af2f2760845154f7e02cf218c757e8fa406e", | |
| 46 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Sheaf/OpenRestrictedLowestCohomology.lean": "32a4f8f8060f12259b9679cec20b2d535310f2fd184325730f65d2d1868d556f", | |
| 47 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/Cohomology.lean": "8c22b551983dc2f8a8c90857133ad6dbc605cfd738f51b181b5fcd97f3b63597", | |
| 48 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/RelativeCochainCone.lean": "176651450182159cad04148f1c48530a97b9e6ef4985602d467e160064d23c96", | |
| 49 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/RelativeCochainConeNaturality.lean": "e12c395c5816f17c4955af240decc6aa49b94934755024b5362f50350f31df84", | |
| 50 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/Cochain.lean": "d0333a0aba9deaea97d1fa8d0e4f61258710dfe3cbd2eba08ccbda0931983b6d", | |
| 51 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/CochainOpenCone.lean": "1a3833576db5ed66cee3b66a058ffc6355474e56a6134ce109b376a33f65103c", | |
| 52 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Singular/Sheaf/CochainOpenSections.lean": "c0498df91b5269d36325d3e659ddea4f48db560cea466a88bdb7f482955b4246", | |
| 53 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/CohomologyFlasqueModel.lean": "7738276bb80a5a10ec3bd4eb7e2892f1abe9d010c1f5bd145257e159335ab581", | |
| 54 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/CohomologyInjectiveModel.lean": "7013539c8b90913972f97d92430edd6ed1162c970155cbd43c6410634e1dbd5f", | |
| 55 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/Cohomology.lean": "47e8b2f1383cadf64374ec6f75bab9796e1447f319a698785498565533fa0fff", | |
| 56 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/DerivedSections.lean": "8c0c56e2d81b3465353558878cfb5dd39e54d17b3a6404f89735789da97d473a", | |
| 57 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/DerivedSectionsLocalization.lean": "be655da95226271e94792b3bf0c2988596676ec4a71eb97fd9d8160eb43fafe6", | |
| 58 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/NeighborhoodPairImage.lean": "84d7e8864d17e1a543140ad136037209b2666bc20ccd344b69468551e8023417", | |
| 59 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/RelativeCohomologyOpenTransport.lean": "39c9ffa9bdd2ef0d733ca1c67fe1c1c13562a5455e9857a7ba932c4c89b76a39", | |
| 60 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/RelativeCohomologySheaf.lean": "03192b642e4e6ce1d9a95793572e1fb43a7bc84d1a63b9f9d8bb08802b3e17ca", | |
| 61 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/SectionRestrictionCone.lean": "8ac2b0ffe5c68bf34121f508a418ed04f6c723b3f0accc029b8cd5c290c62a06", | |
| 62 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/SingularCohomologySheafComparison.lean": "fab43850047705d943e30cd301753d4c37305610bebae454c825d3144ee2bdc9", | |
| 63 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/SingularFlasqueModel.lean": "af48b419f8f273373c7c52e3432bc65dc0cd464b463a6e84c305fd54489f5459", | |
| 64 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/AlgebraicTopology/Support/SingularSectionCohomology.lean": "f3c468d0f2677927c6d8c9cc9a5dccd7544014553f369ba1f69335f89c283bf2", | |
| 65 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Definitions/Topology/Dimension/Basic.lean": "600c14ecf2c2af1901ba034ee414760a38957271aefbc32f312b592f32c9f046", | |
| 66 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/DeRham/Basic.lean": "da3fa56e458a2a7403136f36451215cb1bb946b6d682a68f49dd74a7e2cec2ca", | |
| 67 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/FieldToComplex.lean": "30b2900a4e86f24eaf2cd500c04a337859417d6b577164fd2ffdf904363d8f29", | |
| 68 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/MappingCoconeShortExact.lean": "2aa52cb939fd699091f1b1b7ab66f901e1c4e747522481b009d49f83b995bb42", | |
| 69 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/MappingCoconeShortExactNaturality.lean": "76ad7190596e228e29a095b5ea2479366c31569344454a12aa6b36185135fcdc", | |
| 70 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/MappingConeMapNaturality.lean": "67d4c70d8e8d1e29424c7e2b85336e256032e8a23be303c669f83d9cf6109999", | |
| 71 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlusNaturality.lean": "c28f09b8766bde2538100a9bc6d32fbc267f78e64bbbbb46732b0f2082382cf7", | |
| 72 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlusShift.lean": "7eec270884c442b5e29c4ba4fc7f9b8ef51011657e3e30921ddb7c88783d7d22", | |
| 73 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlusShiftNaturality.lean": "5ee103bc01e61abc4b17bc28aa3e168d4c991bc78ebff8c02a767cd928e0b509", | |
| 74 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/DerivedCategory/ShortExactQuasiIso.lean": "b1a9697104725b99de4a89865804eae1dd5e43f2a7f16deef6cd9abf1b8db329", | |
| 75 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/LinearDual.lean": "5b50e6e6daee969429de9d1e0c9df28b71e3350da2ac32c6ba33a64f0ed07ed1", | |
| 76 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/LinearDualNaturality.lean": "a4662a546657486fd379eb61e51092694728afaf2f8db317718d5884da6dcc2b", | |
| 77 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/MapExtendNaturality.lean": "931b7d2075048f82e99082955c5876c57c39a0cb0fef2aa53fd07d01727c1e62", | |
| 78 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Algebra/Homology/MappingConeQuasiIso.lean": "050799db251e89fd9b7a997cfeca4a111609a2b00d4e1781ae80f390c9f56c49", | |
| 79 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/AnalyticLeftInverse.lean": "ea2c5dc49855e2a3ef544c1fb4e92e5a69821164660636054793bc31f27504ff", | |
| 80 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/HolomorphicCharts.lean": "2fe8151d71858d78db0638c2d52d51b79d7f6d064733c3641deecde17aea5e07", | |
| 81 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/NormalCoordinates.lean": "93205078ec68d15753d3916c26b0154856d1cd096dcf8366b8fac69e92f7d521", | |
| 82 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/ResidueField.lean": "4cff955ea0b65469d06aff47770716a5ef15e1a7d455dcd4d638248a6eafbbdd", | |
| 83 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ClosedImmersion/SourceOpen.lean": "8994a7f5e881bb4bbe5a2baa933f53c8494d797089cbd1951412b6a3bcdede39", | |
| 84 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SingularComparison.lean": "ac14703a1fe899fb542e46d73a8f8ee91bfbcefd2ac723e7f184da3b773d1093", | |
| 85 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SingularSheafComparison.lean": "b83ce9901c9aaea4f43e3a0da13b72477a85e7aebedc9662645495c355887e6f", | |
| 86 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SupportedSingularModel.lean": "10d61ce0c3d025dd5d9a7108c721a466ea2999ef1b4f25195fc97be4d8d5dc3b", | |
| 87 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cohomology/SupportSingularGlobal.lean": "95f975b0ca331e4669fd38410fde433e4dd3c7d4da158b5d5ba4a3e7e02d6b11", | |
| 88 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/AffineScheme.lean": "8e4d46912ff922511e74ae90d152f72d50648c6d2f2258fdb5fff21fd248a058", | |
| 89 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/AffineSpace.lean": "0cfb94e495068fcf2a4382581c38e966ad1273013013d2e6b48d953d8bc5824f", | |
| 90 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/AnalyticMap.lean": "67ce35796c2a43279e1d1433b9593da433365c56986f1370103c8d4245fa622e", | |
| 91 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/AnalyticSheaf.lean": "97c48d1cce503a47329061d0e018b907a6cc4c2de0e8928b118a87f84090ab82", | |
| 92 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Basic.lean": "a6e821a3a29fe87c9e67000b3b4f923598ca65812424a98ec809ac45c91d0037", | |
| 93 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/ClosedImmersion.lean": "1282fe8c9d251d4643ad2e3a236b1f054012350679dd103c8f5de164827ec332", | |
| 94 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Etale.lean": "3079c380ea581196c941869715612acee25326a0ee3309f3d34f06edf2a0ab5d", | |
| 95 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/LocalHomologyVanishing.lean": "eb517d32ffa57b457948a8d9dccafa6e971a52f2f1bd0b95f590f5a5fd01dd14", | |
| 96 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Localization.lean": "f07f962ed7155a8e0a63ed486827f9dc73eb6211235b98c1dbcb8203e1789f83", | |
| 97 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Manifold.lean": "2f2cf0d217eb280709f283894dedb24f146d4660bd8fdcc13c4c76954902251d", | |
| 98 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Open.lean": "57d06f94b4ba94a17f7a5546b60d9f6b212877b2af159123c4eed636bf6806cd", | |
| 99 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/ProjectiveCompact.lean": "b56fa2e62139d426751fe64a2d8daff99402fee36a602435b3ace8a4d8845d71", | |
| 100 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/ProjectiveHausdorff.lean": "9d33b81600479c31d7f48b7c1ad1bfda0478d5d3aa86b7c141b54881f3c65801", | |
| 101 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/Projective.lean": "e4c118a9fa25eebd82a053230881455ca268fcd6b9cd8d03e9b74ebb96978c9e", | |
| 102 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/ProjectiveParacompact.lean": "b6f3695c8cdae1892fd6efeff8e4aed95549585fcc1275c7e0179bd6335610f8", | |
| 103 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/SmoothCoordinates.lean": "1083e2b195c34f3f862727e5515a344a1ce79a4178960ca3573213859ab33499", | |
| 104 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/ComplexPoint/StandardEtale.lean": "3951b1133e55f7a1cdf7b11cd6d8caacdb1c115860fbd7e01da9caba57c5f898", | |
| 105 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/ClosedPointDimension.lean": "e283ddca3525f23a54f7682340e0930591ac7398c48997a44cc6db2cc8926b53", | |
| 106 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/Dimension.lean": "c214f84709b0ad164fe9a1cd2f22133b902956b8f00c59b15459fc949dfe3bdd", | |
| 107 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/LocalGenerator.lean": "e472f184e1831e4658364ee6a73e65223ca2bd3e84d6edd6a548f52aac9aad52", | |
| 108 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/NormalCoordinates.lean": "addca7fa24db940fbb83da85b9dcf2ec35affabc02d35967f4b733e198bb1fce", | |
| 109 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/NormalGeometry.lean": "e803f40a711c5f5ddf7e96431c38ac67d86690ec1553f076e219cdd60cfbaac8", | |
| 110 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/SingularClosedFiltration.lean": "6d1ff2506114b1be27064173077ff2f596526719f3c902d6a16804671f323f56", | |
| 111 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/SmoothClosedLift.lean": "fe6ab081b8fa83690d06853c6daba31e4eeb96f9dcebd2c67320299f93e07657", | |
| 112 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/SmoothSupportPurity.lean": "042e5a980f86195d83b2e0e9453e7bed009ce01a851d47e26fdd53c3a1300941", | |
| 113 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Component/SupportExtension.lean": "a6db8d53b6656e1f04d7eae39af7a23f99fe3c0b401abdc2c87ef182966c621d", | |
| 114 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Local/LocalHomology.lean": "641ab9c9cdeec7fbbacbcff2891b7a3f4f84d984e68cb06f017c3bb4533a303d", | |
| 115 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Local/Purity.lean": "27ac9a4fbb60e9b9b9b38661cdf5c84e3d867c26ebd707126e790766f45cbe39", | |
| 116 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/SmoothPair/CoclassOverlap.lean": "6824ac936295260be4b282ddfbf599e1f0a4915d6a6681f3287570e5c627c6ab", | |
| 117 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/SmoothPair/CoclassSection.lean": "b5d2294e9fadb08c65e9554bd02b6596e3984ead8a94bd12dab06e07ae26d75e", | |
| 118 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/SmoothPair/OpenTransport.lean": "8f15606d3178631efe222b67b2b73c9afb4bf7757df625c11c0146f4e0e16fcd", | |
| 119 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Support.lean": "aa4b5f71e977f25f73dad229460599d1cd81b862ca48499bee578df831557143", | |
| 120 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Cycle/Transport/CohomologySheaf.lean": "05ba1e3da6ce24037f48a51be43106a5427c96b12f0bf82d046637c0d77e57b6", | |
| 121 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/AnalyticDifferentialForms.lean": "e0b34a0f4d0c7a241981ac9ab326447d0f582ea0f4b904223abb1db6839ecd93", | |
| 122 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/Filtration.lean": "83dd59ac95eecc0f76ecc2e76494ba888438a72785896ed10d8c6650f37a6f08", | |
| 123 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/HolomorphicDeRham.lean": "cc206793f528e07d758970b676f613d7d94833703f17b657a131fbf9c87d8803", | |
| 124 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Hodge/HolomorphicPoincare.lean": "1ee1f95a0c9b5df987e52b290a79ce921c4e09bd86419213e575303253944079", | |
| 125 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/AffineRelativeDimension.lean": "fd3f92de91bf0d7fab02c6bb7935f755852d06f4cbedd333f7b708a9585b5847", | |
| 126 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/CatenaryDimension.lean": "38aec86dad1c9d58ba54a63a50e87734b252e84d3dbd674b8bda682b14dfa22f", | |
| 127 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/DimensionFormula.lean": "41d52cc0a1443890936201951989a366befd0cd8392bb157a8e21e5a3d50fb81", | |
| 128 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/Equidimensional.lean": "4779a9947c1bf6e3ffe5c11e742ebb5850d52326f7beb8a02ab8f7526fa84ae7", | |
| 129 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/Locus.lean": "ccf146e703c073a8194aeba617746da2743ea01a63e33557c7a7e2d0aaaf73ec", | |
| 130 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/PointwiseDimension.lean": "9d982d832f206a7737cccd3541103a1b5823f31ba9b09bd920364bd987aec80b", | |
| 131 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Smooth/SingularLocusDimension.lean": "8df64256af56a2d3d02e88ea69715e5810345c59b073f6ace5272cc5e45494e0", | |
| 132 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/Analytification.lean": "6589c159b746ad4bcbfe18673b3417ca2b37d4fb02190073ece81ddd106fe86c", | |
| 133 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/Basic.lean": "0ac2850ee11f17fe02d38db03726594db0c99d2293c64142175f27e8ffde699b", | |
| 134 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/ClosedFiltration.lean": "5ed66575ce57e99c2b087ba5e7a2d006f6b0a12870646df98ddd336ce7a21f9e", | |
| 135 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicGeometry/Stratification/LocalSupportVanishing.lean": "09a166f6e8bf03b27790f4e9ebc93eb0308f6e304d601a415cfdb8960228bf47", | |
| 136 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/CenteredComplexOrientation.lean": "2b3d8275e8b7fb0b00a1d7dd295681dff57d4e0ea5c2763b219ca6977f053549", | |
| 137 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ChartFundamentalClassGenerator.lean": "e7782f80818cdac3ff7d5fe659782140fa4319b1aa4e345e333197990b5cdac7", | |
| 138 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ChartFundamentalClassInvariance.lean": "1510488653e72a0d2ba554906e3d14ea538d14193bc8a1ebdb057c294f2fa059", | |
| 139 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ChartFundamentalClass.lean": "fd0123568c3151a97dbdaec0dc87c4964af857d4be150fc988e8bdf3dc69b774", | |
| 140 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ComplexClassDifferentiableInvariance.lean": "8544aac93ae9fd30b5f6bc1b6970639fe113eaf283f053867256467084cc111c", | |
| 141 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/ComplexClassLinearInvariance.lean": "2512cd711b00af4bc98b18a28eafcbb4e1b6402c3314731eb8ef0614863d0fbd", | |
| 142 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/Euclidean.lean": "b0b5a4f36dc98c28db8d99cc5b15afd7ce2060a360b50a1778c32272c9c0adff", | |
| 143 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/EuclideanVanishing.lean": "b2c3a0f393ab308bc6846d1d9f4dbdf502237d7d5fcebdee832ace1cf659fefc", | |
| 144 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/FlattenedSupport.lean": "51879057005a026a223503ed16a76e0876cb12488e07e0ad08506fd6c5673f13", | |
| 145 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/FundamentalClassGenerator.lean": "8b85082c1a62296d13da4917a71389681b0d597c3e723c95fe22a9208bb870b4", | |
| 146 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/FundamentalClass.lean": "6714203ea063b8a2939511b5084edb70a5bbdbaf150a3a63e82a81761e6c799b", | |
| 147 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/HolomorphicNormalTransition.lean": "213b1a1ee90dcb801deca7c482a8b85c4b9e8b532e9ac44f19f9f2a761397459", | |
| 148 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/NormalProjectionCoclass.lean": "0676160236bd11fb64fcbb53cbcdd34cd37723e999599861e867f614d79326b0", | |
| 149 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/NormalProjectionOverlap.lean": "d089da30ced3407b216292db06342da964f316d4814ef170e0e7ebf9c5dd2052", | |
| 150 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/NormalSlicePurity.lean": "c5fabfc8a198a9ceb6844146ea6149d26751bed3b1519c6c7327fe3344d14efc", | |
| 151 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/PuncturedEuclidean.lean": "7287c2b750068b09104b3fca233945a78629baa6e55a2569a357321950a80c94", | |
| 152 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/SphereAffineBoundary.lean": "af8a1f5497118d1c39568e8f3a04e841eb4307f85067e1a8afbe21176bcfc985", | |
| 153 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/LocalHomology/SphereSimplicialHomology.lean": "aef7c2ac5726a3689ec7230d850c54e92e580d62d9121a3182add2de39e5e883", | |
| 154 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/CohomologyStalkVanishing.lean": "fe0e7bda9ef9791debed3ba40b0b1d6ca9eb0527f84c834c1bd52ec40a7a9fdd", | |
| 155 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueAcyclic.lean": "f05078ffa2fd982fd77d2b624890474e8ee679af0447c0d34f08b4dd1c6f6a65", | |
| 156 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueBoundedBelow.lean": "ba3008a8c11d60685ce59edc55e1c03d942206d4545971a3456ad6678388992a", | |
| 157 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueCokernel.lean": "f6a2ed9edd51faf0ab9a113ac62b366bac68971dd80ed9bb1dcf21799818b83f", | |
| 158 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueExtendNat.lean": "5954987aee08330da5e5dd27aaa2f00fc5047e992328f2e55642a9d7b2b87cbe", | |
| 159 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueLowerVanishing.lean": "5cb7beda5b9e7c1d627a14c7e95c2ffcdea548c042ead26c9481c9fb8eb55d1d", | |
| 160 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueLowestCohomology.lean": "5a9ccc1e205ab3b8e9568391ce089b666f1f238473cbdbf3c69136f91de53e17", | |
| 161 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/FlasqueQuasiIso.lean": "30995c054d898803c3ee3ffe66dd6ea69ed9065439080334660b1e67151196a2", | |
| 162 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/HomologySection.lean": "0405c3cbba82d687155d20d163185961f2f0cf255e845005cca5ef86efa61734", | |
| 163 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/InjectiveFlasque.lean": "b9b935fb373057dd83dac88b9e0faeaf055c6e130b6adf8f0250d114a580266c", | |
| 164 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/OpenInjectiveResolution.lean": "a77781481bf97194b9fe9e9d153c140f304ad6f9e8d214a44991baa0a30eb64a", | |
| 165 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/OpenRestrictedVanishing.lean": "77dfbb6486d7d5b4fb9e0d9c8b3a4669fa1cf1dd410f59a06e75d3bbf888844c", | |
| 166 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/OpenRestriction.lean": "f172c2519fa05fb7225ee4c9f6990b14195abbc5637536bf4d954e1a16dd165e", | |
| 167 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Sheaf/OpenSheafification.lean": "8914b6dd60f0b05885ff1519b90e0ecd525339dd978399bce8c6dd9db6509aa7", | |
| 168 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Cohomology.lean": "68a21fc89db12ba1d5daac23e839c302871c0034448c0b0380d17f5cc2c42d7f", | |
| 169 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Contractible.lean": "7a10bf46c350cf6fb88515efacd24744a6458bd7b4ff0b51c3b2a34c1b9fe88c", | |
| 170 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/CoverSmall.lean": "946f5a8b9c30b3ae59815195ebb4971f8a8285e422148ee3736f325796766b49", | |
| 171 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/CoverSmallProjective.lean": "e1df6bb5ceb23804d0ac2b19b5e4a798c081730080b86afc69ac5a00c3e93570", | |
| 172 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/CoverSmallQuasiIso.lean": "99975b14b8857549f2c3f8cf9f4358c402649bb62354e16b3fd1229b29dc84fc", | |
| 173 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/Field.lean": "4912b5ef797990d9a3da199bb05af06c215875782eae46d313b99381042adb7e", | |
| 174 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/Lebesgue.lean": "5dcd17c7376fd08654fa3869945cec2dd848d5e7b569dbb40f0d2d6f924d5cdf", | |
| 175 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Excision/OpenCover.lean": "1a7535cfce21dfa17fd5eb1b7e6ce25e9bb20926d1c9b57efe98f8de8b3ba2da", | |
| 176 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/GlobalRestriction.lean": "b142b1131add9a5e01be044c13ddd3eaff3fb4f0bc5a7f0660bfac347a0b351e", | |
| 177 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/HomologyZeroNaturality.lean": "c2b2b6635913155dd3c5e04f8ce98cd0328777a75c683a0a64fa8fff7b8c1751", | |
| 178 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/RelativeCochainCone.lean": "212ee60eed954cb21cfb246e85049b086b59dda63354eb1f88a35361c40c0070", | |
| 179 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/RelativeCochainConeNaturality.lean": "05e8542838c737a3dab6193aadd00e7229d2cdc5c5e026cf79bc19cd1ed5f873", | |
| 180 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/RelativeHomotopyInvariance.lean": "4545275211a435eb665ffb3e720f598e1df36fc8a1a3f8d2a4004fa67449ca29", | |
| 181 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/RelativePairExcision.lean": "08b62988a411dce002cd18056c4cd27d1195e0f36cc0af62921f3a77bd8dafc1", | |
| 182 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/Chain.lean": "489b0994972a7b78bed7c9e9617d2d34438b50df39a5ad8ccdfedb8be043c61d", | |
| 183 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/ChainStalk.lean": "641dc04218b19e9c027469afe3706d81315eec28a5607f499fb80d55710dd172", | |
| 184 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainDescent.lean": "954546d4a1ba2751662cafba3102a90bc1d4b85ca859d9f8124545a84dd4137e", | |
| 185 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainFlasque.lean": "15ca301555c71f8cd16d55b93c6f52477d034e477aa8b6e8782f7566d1baea85", | |
| 186 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/Cochain.lean": "a612269d710feafb2a76a3130eeb652b321b93b3e0135ccb69705106d107470c", | |
| 187 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainOpenConeNaturality.lean": "d538f064411e29f5136155bc99bfac007c7ab3bc946f5c2249c241029fad952a", | |
| 188 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainOpenRestriction.lean": "9e5866cb36218d603ed208dee688c2ccc63b557028f1c2b0c70e896a8c76a825", | |
| 189 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainOpenSections.lean": "c4b1a5795fb8ddeaa67bbabbcb20c01dee6aa1ae62f8ed32ec6ec424abb67263", | |
| 190 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainResolution.lean": "5f8a7c9077ad451103badd0b8134d20ef6852bae522a9c42c2ef4377042f849a", | |
| 191 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/CochainRestriction.lean": "01b3192a6c9738dbe7c68f3477022e61930a306c4b8e78e2d5eb951837dd598d", | |
| 192 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Sheaf/SubdivisionCochain.lean": "a14cabbf22e597e27c44ff2e4e5816a36415f8cd6da931c224cc118e45845b20", | |
| 193 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/StandardSimplexCone.lean": "653d2fad5646fcbb0e030f51497b0460e761866b9015d0529cfca465de70c353", | |
| 194 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineIteration.lean": "b806ebd3e9f519a1fa424f0e265cb2d92ae128484964b2cbddcd2799d6675f68", | |
| 195 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/Affine.lean": "71e5f838b5c5e80e25d525b5f64afac231803c932036589280deee11a410a483", | |
| 196 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineMesh.lean": "94fb9c0f9f0e5458a71634b0021ca78a789552910e976dec01d29a1165905c60", | |
| 197 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffinePrism.lean": "a93898ec794e89ea9cc0cfcae851d64592b0189ee3bdec2e47825a8837fc4733", | |
| 198 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineRelativeMesh.lean": "f24bdaf8a68350636bdc64156a5e6bc526654340b89db604be0056016fc8b7cc", | |
| 199 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineSmall.lean": "063dd1be81e6d1f6c7a06b77c14f207fcd9717af57d0ad9a818f5f084fcedee7", | |
| 200 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineSmallPrism.lean": "8b4e3c56398234f9db501fbcc385e2120b1342f795b28caad246c660aa3efee0", | |
| 201 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/AffineSupport.lean": "ed1cad193ac4aad4a5c271ab821799934602dd8f11a31fa1d2762d6c2692b74e", | |
| 202 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/BarycentricAllDegrees.lean": "2c87905f7a4d351ab7652eba0a93b4cb5b7a2bd5e1355df4e2245930d8940558", | |
| 203 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/BarycentricChains.lean": "93e952516d1084499963ce72ac329e55b05dc866f3a861451de04270f3e2e4ca", | |
| 204 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/BarycentricHomotopy.lean": "26998339028b8a74a3a79fe24f7d7131f020a99e1bfb3d73366b0d5837a21673", | |
| 205 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/BarycentricOuterFaces.lean": "b03630fe34b240a3954f29a86542bd246fea1a4920fea8a24a5624be1364d003", | |
| 206 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/Subdivision/Basic.lean": "5cfe464897a91aade514ae11ea64c715afcbacddd60e587ef195f062bf0bd535", | |
| 207 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Singular/SubsetChains.lean": "caa8404e8b55aacb40e2da5c0bb96562f9e34df7362ed9b2bf85e19cf6cc26b6", | |
| 208 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/CohomologyFlasqueModel.lean": "837135836b09ccac7cd0d51bc08e430642ffde5363e96638e9532d8a174d475b", | |
| 209 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/CohomologyInjectiveModel.lean": "357c57933057e1b0de170c6e0dc6be93647b895e7a32e8c6f4a11e15083cbd91", | |
| 210 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/DerivedSections.lean": "f2b0cc4c287328c7caf980543b5b88b969f465d4642f9b4e540c8aadbe4094ac", | |
| 211 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/DerivedSectionsLocalization.lean": "6df8d2b956a12ff5aba0af6bc8d508aef34c963ff13c1dd084d9b1a0a2b2e6f7", | |
| 212 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/DerivedSectionsNaturality.lean": "4236f2ccd297644294886f5283dcee56b3a6d8ba2c976e6453a102d0e34f7579", | |
| 213 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/DerivedSectionsShift.lean": "1b8ecb3086d3ecb47051af33c54bff66fed6a6a4463d602a51c365295463e8b7", | |
| 214 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/FiniteFiltrationVanishing.lean": "2e20669be5350668a17c2377d2024b25e0d2c93820412cd6948c4e1cfea81d44", | |
| 215 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/FlasqueComparison.lean": "e42fe38f894b461fb75e533e31894fef0f82b9376313a6546a495fe09f7a8f8d", | |
| 216 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/FlasqueSections.lean": "975c4c9948b566c51f701a5263f46bef17335cd535155b5da437543a37e0bcb3", | |
| 217 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/NestedLocalization.lean": "583526a78fbc0e90083cad9f778114e25ef319e5da574eb01df60544c186d0dd", | |
| 218 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/NestedOnOpen.lean": "36ccca6caa4d315d49b4cc1aa1f86f0d1cb65375dfe0252d2830dd3698709c8d", | |
| 219 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/RelativeCohomologySheaf.lean": "977a69c5bc37b9930e45e1ebc0044052a74c9d363855297302a70d8601338d39", | |
| 220 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SectionRestrictionCone.lean": "4de1ae1d16bb146c990669d2d4c4306400ef42f4b25e0a7e64ee1b674cbaf0ba", | |
| 221 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SectionRestrictionConeNaturality.lean": "9c1fc0972426ece61b67076d873c554b2c3056da23c6b071925ea266106b3fd1", | |
| 222 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SheafCohomology.lean": "4aca6423f85e4997d184dbead80ca54104d242a0553bcf2f0a145ba2c82d3c48", | |
| 223 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SingularFlasqueModel.lean": "58538a540ff36c94d0f59c238ef562e709fde69f14337ea655dfc1fb61b27114", | |
| 224 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/AlgebraicTopology/Support/SingularSectionNaturality.lean": "12f2ecc9876c3bc77024519ab8ac2eefe73be8a3bc6438f1baaf25a15cf220d6", | |
| 225 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Analysis/Calculus/DifferentialForm/ExactWedge.lean": "98bcb0d32a45c4d8dbee8670fd6352736e7f2f3d00d59e6e2e6e776e1b0c9218", | |
| 226 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Analysis/Calculus/DifferentialForm/HolomorphicPoincare.lean": "bc3ec9aeaa823855f44c9fd55e71bbc30fea5c5a88b6355ac144a42a429e4fdc", | |
| 227 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/LinearAlgebra/ComplexOrientation.lean": "ea1194cea29e33845413792de31ebfb9cb700f91289245b6ab3ed8e0c2c9694c", | |
| 228 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/LinearAlgebra/HodgeStructure.lean": "a6d4de54c1b293756bc5dda605575df60ac4b4617e4f14f32282d86432b80ae5", | |
| 229 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/RingTheory/TranscendenceDegreeKrullDimension.lean": "f757accfd7f76d1861c39dc38783590fea99d4e1f2bb72f516b2892e7503f2e1", | |
| 230 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Topology/Dimension/Basic.lean": "770d3b0b2d831d95d2a46bc32e4f92abce62c5daddc7835ab1103f3fb12ecb1c", | |
| 231 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Lemmas/Topology/Dimension/ClosedSubset.lean": "cd2ab735d8071bf48a42d49802757b2ac78b8f0b02a6e8423410acb16b1cb267", | |
| 232 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/DerivedCategory/KInjectiveHom.lean": "6c7600000d4be9cc5253d1b2cb5b36a7143d180cac92f937ec2024ba05db074a", | |
| 233 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/HomComplexPrecomp.lean": "88c7bc597fcdc37ef135e9255a7998481b3fd75ff2180c1df07157fddc83ac02", | |
| 234 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/HomComplexSingle.lean": "6a7b89a2de18629778013f89f80834b9efe71e9dcfa368f24acddd7e8eac19ab", | |
| 235 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/KernelAcyclic.lean": "b7231f35354782c2ba62d12a0b43f34d666e41cbdb8b84f313ddf7797b5a8e2d", | |
| 236 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/LiftToInjective.lean": "0ed06322570c4d3668b9c2a83de7598f40ddc0670223449b8ac72f3feb89f79b", | |
| 237 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/MapExtend.lean": "7a9d83c7c488129fcbe28cf2bef701191de7fb71da3cc067e89a18b9b5eb3300", | |
| 238 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/Notation.lean": "ea7e4532faacaf91de37b067fd995cf14e7d8b7d70894ec25abced7bd2b38997", | |
| 239 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Homology/StupidTruncation.lean": "7cb0737e7a185172f4ce36f0345979054baeaf02604f0d20fdb33c13936fad6c", | |
| 240 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/AlgebraicGeometry/GenericPoint.lean": "768340c4658ffa6bfb984a1a1b42fc45bc6800be3789c90b40829b275a96c9a9", | |
| 241 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/AlgebraicGeometry/Over/Basic.lean": "c0f6224cd4aa7e5030de1af07451b81711f272393e63789c50ac10837993a7b3", | |
| 242 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/AlgebraicTopology/SimplicialSet/ChainComplexSplit.lean": "12fea127249bcbfa0083b92e6a34462a3dbb2b47b90fe30b2a69823ddf0a3761", | |
| 243 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/PolynomialCatenary.lean": "a1a4769a587454bbf44fbe65e1958dd815b15d895c24897b80fdf5e54561b6d8", | |
| 244 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Algebra/Ring/Basic.lean": "845d6f3aa69596655daeae8a2cd09e69a061aa67f0c25268cccf1dfbecef3d79", | |
| 245 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Analysis/Calculus/DifferentialForm/Poincare.lean": "1a9be66aeafdd229453dc53021aac0e9bb7ed65b728348e26543d52b3f8708a7", | |
| 246 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Analysis/Calculus/SplitDerivativeNormalChart.lean": "0c339121528688b56b71de1486582a3526bc523cf9f7d395bf5adadef5aa94ee", | |
| 247 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Analysis/NormedSpace/WedgeCovectors.lean": "eebbbf07a832370ca7b5d052fbfe67e2580130980c2692fb9d72d0029b34b7d5", | |
| 248 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/CategoryTheory/Abelian/KernelCompositionShortExact.lean": "9bf7ab9e80bce38300e82a9ff9d78768a49213c7016fb5f5c2b72d706ccd07cc", | |
| 249 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/CategoryTheory/ConcreteCategory/Notation.lean": "4406707f93bf37bc89193195c8af4da4d6c49afdfab6a48c06dcd6e5aee78bf8", | |
| 250 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/CategoryTheory/Sites/SheafCohomology/Pair.lean": "cc744ad8c2492970af134414b28b280d3b889b0d74984455759ea48f3d6cf2f3", | |
| 251 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Geometry/Convex/StdSimplexMetric.lean": "75da48bd4537c818439d14c136a982bf1fb449809e6192724d63182aeab7791d", | |
| 252 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/LinearAlgebra/Dual/Defs.lean": "2c4953df9cabeda767299f1f0af9948a94a5b536c8234121043629b033df099a", | |
| 253 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/LinearAlgebra/Quotient/Basic.lean": "b17d1de49660402c8f4f08136df331145774cc4f3e1842767ba937ea77d58327", | |
| 254 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/RingTheory/SmoothKrullDimension.lean": "f8b70117fa0e26133a520c35b0afbe8378c812dd5a7cf93a4852d2e4974beea3", | |
| 255 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/Algebra/IsOpenUnits.lean": "b531cdae9c1a3f893ec884e809ffedc37c080b9bb148bfb5eb580d6ae20d99b4", | |
| 256 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/Category/TopPair.lean": "c1bb46db9da708f9ee142e31b20e19724831fd3bb3177fc5e49144d1526ec0e7", | |
| 257 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/ChartedSpaceParacompact.lean": "74f4281cf809a8b2a0d88732ab5af7fd54bda6e0f68e0e6b353ca1cbcdf25d8e", | |
| 258 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/KrullDimension.lean": "8c1915eeef3ded839d888ee0bc5a1a740afa51a3abf3150f85b04e21c94a83e8", | |
| 259 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Mathlib/Topology/Sheaves/StalkExact.lean": "c162209b8edb9fd5527939a71bf3484dc4e7772f3ba532212d180f05160d54db", | |
| 260 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Statement.lean": "d5e8eb378491f4caeec297bdbeec49908b76baf79d2208d861489d23f21c4acd", | |
| 261 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/HodgeConjecture/Variants.lean": "dfbf95bd9e7a0d1000b6c5ba88b2a0bdf1849a7d55747cb786d94f8f719bb35d", | |
| 262 | + "ComparatorChallenges/HodgeConjectureCMAbelianVarieties/main.json": "36a10aeb92c8897341660f2dcecca5bf6d91d2ac2928caeafb312a2516079b2b" | |
| 263 | + }, | |
| 264 | + "lakefile": { | |
| 265 | + "fixedToolchain": true, | |
| 266 | + "lean_lib": [ | |
| 267 | + { | |
| 268 | + "globs": [ | |
| 269 | + "OAI.+" | |
| 270 | + ], | |
| 271 | + "name": "OAI" | |
| 272 | + }, | |
| 273 | + { | |
| 274 | + "globs": [ | |
| 275 | + "HodgeConjecture.+" | |
| 276 | + ], | |
| 277 | + "name": "HodgeConjecture", | |
| 278 | + "srcDir": "ComparatorChallenges/HodgeConjectureCMAbelianVarieties" | |
| 279 | + }, | |
| 280 | + { | |
| 281 | + "name": "ComparatorChallenges", | |
| 282 | + "roots": [ | |
| 283 | + "ComparatorChallenges.HodgeConjectureCMAbelianVarieties.Challenge", | |
| 284 | + "ComparatorChallenges.HodgeConjectureCMAbelianVarieties.CM", | |
| 285 | + "ComparatorChallenges.HodgeConjectureCMAbelianVarieties.Solution" | |
| 286 | + ] | |
| 287 | + } | |
| 288 | + ], | |
| 289 | + "name": "OAI", | |
| 290 | + "require": [ | |
| 291 | + { | |
| 292 | + "git": "https://github.com/leanprover-community/mathlib4.git", | |
| 293 | + "name": "mathlib" | |
| 294 | + } | |
| 295 | + ], | |
| 296 | + "version": "0.1.0" | |
| 297 | + }, | |
| 298 | + "manifest": { | |
| 299 | + "settings": { | |
| 300 | + "version": "1.2.0", | |
| 301 | + "packagesDir": ".lake/packages", | |
| 302 | + "name": "OAI", | |
| 303 | + "lakeDir": ".lake", | |
| 304 | + "fixedToolchain": true | |
| 305 | + }, | |
| 306 | + "mathlib": "https://github.com/leanprover-community/mathlib4.git" | |
| 307 | + }, | |
| 308 | + "trusted": [] | |
| 309 | +} | |
+116 −0 docker/README.md added View file
| @@ -0,0 +1,116 @@ | ||
| 1 | +# Lean image | |
| 2 | + | |
| 3 | +The image the hodge-conjecture `build` check runs in. Tag, as `scienceslack.json` names it: | |
| 4 | + | |
| 5 | +``` | |
| 6 | +shoal-hodge-lean:3344da59 | |
| 7 | +``` | |
| 8 | + | |
| 9 | +Nothing is published: the runner that runs the check must have the image locally, so it is built on the runner's | |
| 10 | +machine. | |
| 11 | + | |
| 12 | +## Build | |
| 13 | + | |
| 14 | +`build.sh` does it in three steps, each of which can be run again. The context is the tree of this project's `main`, | |
| 15 | +not this folder: the project is only part of openai/math's `lean/` (the import closure of the CM Hodge challenge, see | |
| 16 | +`upstream.json`) with this project's own `lakefile.toml` and `lake-manifest.json`, so cloning openai/math would not | |
| 17 | +reproduce it. | |
| 18 | + | |
| 19 | +```bash | |
| 20 | +git clone <the project's repository> hodge-main # main at the commit the image is for | |
| 21 | +cd hodge-main | |
| 22 | +nohup sh docker/build.sh "$PWD" > ../hodge-image.log 2>&1 & | |
| 23 | +``` | |
| 24 | + | |
| 25 | +| Step | What it does | How long | | |
| 26 | +| --- | --- | --- | | |
| 27 | +| `base` | `lean.Dockerfile` with `git archive` of the checkout as the context: Ubuntu 24.04, elan and the toolchain, each package of the manifest at its commit, Mathlib's oleans from its cache, Comparator, lean4export, landrun, nanoda_bin, the tree in `/opt/proof`. Tagged `shoal-hodge-lean:3344da59-base` | minutes | | |
| 28 | +| `compile` | `lake build` of every library `lakefile.toml` declares (`OAI`, `HodgeConjecture`, `ComparatorChallenges`: the project's own 33,429 files) in a container named `hodge-lean-build`, with no network and `LEAN_NUM_THREADS` set to the cores it has (Lake otherwise starts a `lean` per core of the host); the `.setup.json` files Lake writes per module and never reads again (about 1 MB each) are deleted as it goes; then the build becomes `nobody`'s, so the check builds a commit on top of it without copying it | hours (below) | | |
| 29 | +| `commit` | the finished container becomes `shoal-hodge-lean:3344da59`; `lake build --no-build` of the same libraries in the new image must find nothing left to build | minutes | | |
| 30 | + | |
| 31 | +`sh docker/build.sh <checkout> compile` after a stop (a reboot, a full disk, a kill) starts the same container again, | |
| 32 | +and Lake goes on from the modules it has: the compile is not a Dockerfile layer, where one failure would throw hours | |
| 33 | +away. Watch it with | |
| 34 | + | |
| 35 | +```bash | |
| 36 | +docker exec hodge-lean-build sh -c 'find .lake/build/lib -name "*.olean" | wc -l' # of 33,429 | |
| 37 | +docker logs --tail 5 hodge-lean-build | |
| 38 | +``` | |
| 39 | + | |
| 40 | +Settings, from the environment: `TAG`, `NAME` (the compile's container), `CPUSET` (the cores to use, e.g. `96-127`; | |
| 41 | +Lake starts one job per core it sees), `MEMORY` (a limit for the compile's container), and `MIRRORS=cn` on a host in | |
| 42 | +Beijing: the Ubuntu archive and Go from Aliyun, the Lean toolchain from SJTU's mirror of its releases, Go modules from | |
| 43 | +goproxy.cn, Rust and crates from rsproxy.cn, elan's release and the git fetches through gh-proxy.com. Every download | |
| 44 | +is still checked against a commit hash or a SHA-256 in `lean.Dockerfile`. From Beijing, connections to github.com | |
| 45 | +time out about every other time, so each repository is fetched as its one pinned commit (`clone-at`), through the | |
| 46 | +proxy and from github.com in turn, up to ten times. | |
| 47 | + | |
| 48 | +Upstream notes that a build this size may fail where Linux's `vm.max_map_count` is low (`UPSTREAM.md`). The | |
| 49 | +production host has 1,048,576 (the kernel's default is 65,530). | |
| 50 | + | |
| 51 | +## What is in it | |
| 52 | + | |
| 53 | +- `/opt/elan`: elan with the project's toolchain (Lean v4.34.1) as the default, so `lake` works offline. | |
| 54 | +- `/opt/proof`: the project's tree at the checked-out commit, with `.lake` fully built: Mathlib and its dependencies | |
| 55 | + (`.lake/packages`, root's, read-only to the check's `nobody`) and the project's own build (`.lake/build`, | |
| 56 | + `nobody`'s). `PROOF_BASE=/opt/proof`. | |
| 57 | +- `/opt/comparator`, `/opt/lean4export`: Comparator and lean4export at their `v4.34.0` tags, built with the project's | |
| 58 | + toolchain. | |
| 59 | +- On `PATH`: `lake`, `lean`, `comparator`, `lean4export`, `landrun`, `nanoda_bin`; also `python3`, `git`, `curl`, | |
| 60 | + `zstd` and a C toolchain. | |
| 61 | + | |
| 62 | +Everything under `/opt` is readable by `nobody`: the check runs a commit's build as that user. | |
| 63 | + | |
| 64 | +## How the check uses it | |
| 65 | + | |
| 66 | +The check runs the image with `--network none`. `checks/build.py` says what it does with a commit; Lake recompiles | |
| 67 | +only what the commit changed. `lake exe cache get` cannot run there, which is why the image holds Mathlib's oleans. | |
| 68 | + | |
| 69 | +Comparator is not a dependency of the project: Lean v4.34.1 does not ship `lake comparator` (v4.35.0 does), and the | |
| 70 | +project's `lakefile.toml` requires Mathlib alone. The image builds the standalone `leanprover/comparator` and | |
| 71 | +`lean4export`, each at its `v4.34.0` tag (the tags ask for v4.34.0; the image builds them with v4.34.1), and links | |
| 72 | +both into `/usr/local/bin`. `main.json` does not enable nanoda, so Comparator checks with the Lean kernel only; | |
| 73 | +`nanoda_bin` is there to run by hand. | |
| 74 | + | |
| 75 | +## Pins | |
| 76 | + | |
| 77 | +All pins are in `ARG`s at the top of `lean.Dockerfile`. After each fetch the build checks `git rev-parse HEAD` (or the | |
| 78 | +file's SHA-256) against its pin and fails otherwise. | |
| 79 | + | |
| 80 | +| ARG | Value | Source | | |
| 81 | +| --- | --- | --- | | |
| 82 | +| `UPSTREAM_COMMIT` | `3344da59991ed94f9ba711217b29c1d760badfa6` | openai/math, `upstream.json` (the context's tree comes from it) | | |
| 83 | +| `ELAN_SHA256` | `f81c2e48…f589b` | elan 4.1.2's `elan-x86_64-unknown-linux-gnu.tar.gz`, as github.com serves it | | |
| 84 | +| `TOOLCHAIN`, `LEAN_SHA256` | `leanprover/lean4:v4.34.1`, `47bf4bbd…72e4e4` | upstream `lean/lean-toolchain`; the digest GitHub lists for the release's `lean-4.34.1-linux.tar.zst` | | |
| 85 | +| `MATHLIB_COMMIT` | `d13f23b723b8a846827a245b89c10fc7d3f11612` | upstream `lean/lake-manifest.json` and `lakefile.lean`; this project's `lakefile.toml` | | |
| 86 | +| `BATTERIES_COMMIT` | `f2effa3d803fda822b1f97b806c47cf2adfbcbc2` | upstream `lean/lake-manifest.json` (all nine packages of this project's manifest are at upstream's commits) | | |
| 87 | +| `AESOP_COMMIT` | `355695d523e41d0554926416cba2a2b3544fbbc9` | the same | | |
| 88 | +| `COMPARATOR_REV` | `d03acab154d269c06e60e4de7e4cc85deebff94b` | leanprover/comparator tag `v4.34.0` | | |
| 89 | +| `LEAN4EXPORT_REV` | `076e8e57707e813375e8f9da8bf989799ace9680` | leanprover/lean4export tag `v4.34.0`; Comparator's manifest at its tag | | |
| 90 | +| `LANDRUN_REV` | `811cfff51ceaf3d9843708aa6d22e9b84ccac8b4` (0.1.18) | as the navier-stokes and poincare-conjecture images | | |
| 91 | +| `NANODA_REV` | `079049d584b2aed2b0172218164082f4fc6eede2` (0.4.18) | as the navier-stokes and poincare-conjecture images | | |
| 92 | +| `GO_VERSION`, `GO_SHA256` | 1.24.13 | landrun's `go.mod` asks for Go 1.24; checksum from go.dev | | |
| 93 | +| `RUST_VERSION` | 1.100.1 | Rust stable on 2026-12-01; nanoda builds with `cargo build --locked` | | |
| 94 | + | |
| 95 | +## Rebuild when main moves | |
| 96 | + | |
| 97 | +The image is the build of one commit of main. A check recompiles what differs between that commit and the pushed | |
| 98 | +one, so the further main moves from the image, the more every check recompiles: rebuild when a merged change touched | |
| 99 | +a file many others import (`build` then takes long for every pull request), and always when main's `lean-toolchain` | |
| 100 | +or `lake-manifest.json` changes (a new Lean release, a new Mathlib pin): the check refuses a commit whose | |
| 101 | +`lean-toolchain` differs from the image's. | |
| 102 | + | |
| 103 | +To rebuild after ordinary merges, keep the container's work: start from the current image instead of from nothing | |
| 104 | +(these two commands are written from `build.sh`'s steps and have not been run yet). | |
| 105 | + | |
| 106 | +```bash | |
| 107 | +git -C hodge-main pull | |
| 108 | +docker run -d --name hodge-lean-rebuild --network none -v "$PWD/hodge-main":/src:ro shoal-hodge-lean:3344da59 bash -c \ | |
| 109 | + 'cd /src && git archive HEAD | tar -x -C /opt/proof && cd /opt/proof && lake build && chown -R nobody:nogroup .lake/build' | |
| 110 | +docker wait hodge-lean-rebuild && docker commit -c 'CMD ["/bin/bash"]' hodge-lean-rebuild shoal-hodge-lean:3344da59 | |
| 111 | +``` | |
| 112 | + | |
| 113 | +(Files a merge deleted stay in `/opt/proof` this way; they are not built into anything a commit imports.) For a new | |
| 114 | +toolchain or Mathlib pin, set the pins they move in `lean.Dockerfile` (with a toolchain of v4.35.0 or later, drop | |
| 115 | +Comparator's build and use the toolchain's `lake comparator`, as the riemann-hypothesis image does), run `build.sh` | |
| 116 | +from a checkout of that commit under a new tag, and change the tag in `scienceslack.json` in the same pull request. | |
+77 −0 docker/build.sh added View file
| @@ -0,0 +1,77 @@ | ||
| 1 | +#!/bin/sh | |
| 2 | +# Build the Lean image of the `build` check, on the machine whose runner will use it. Three steps, each of which can | |
| 3 | +# be run again: | |
| 4 | +# | |
| 5 | +# sh docker/build.sh <checkout of the project's main> [base|compile|commit|all] | |
| 6 | +# | |
| 7 | +# base docker/lean.Dockerfile, with the checkout's tree as the context: the toolchain, the dependencies with | |
| 8 | +# Mathlib's cache, Comparator and its tools, the tree in /opt/proof, as $TAG-base. Minutes. | |
| 9 | +# compile `lake build` of every library lakefile.toml declares (the project's own 33,429 files) in a container | |
| 10 | +# named $NAME, with no network; the build | |
| 11 | +# then becomes nobody's (the check builds a commit on top of it without copying it: checks/build.py). | |
| 12 | +# Hours. If it stops (a reboot, a full disk, a kill), run this step again: the container is still there | |
| 13 | +# and Lake goes on from the modules it has. | |
| 14 | +# commit the finished container as $TAG, then a check that the image holds a complete build | |
| 15 | +# (`lake build --no-build` of the same libraries). | |
| 16 | +# all the three in turn (the default). | |
| 17 | +# | |
| 18 | +# TAG=… the image (shoal-hodge-lean:3344da59) | |
| 19 | +# NAME=… the compile's container (hodge-lean-build) | |
| 20 | +# MIRRORS=cn take apt, the toolchain, Go and Rust from mirrors a host in Beijing can reach (lean.Dockerfile's ARGs) | |
| 21 | +# CPUSET=96-127 the cores to use (Docker's classic builder honours it); all of them if unset. Lake starts one job | |
| 22 | +# per core it sees. | |
| 23 | +# MEMORY=300g a limit for the compile's container; none if unset | |
| 24 | +# | |
| 25 | +# Run it under nohup and read its log. To watch the compile: | |
| 26 | +# docker exec $NAME sh -c 'find .lake/build/lib -name "*.olean" | wc -l' (of 33,429) | |
| 27 | +set -eu | |
| 28 | +main=$(cd "${1:?a checkout of the project main}" && pwd) step=${2:-all} | |
| 29 | +TAG=${TAG:-shoal-hodge-lean:3344da59} NAME=${NAME:-hodge-lean-build} | |
| 30 | +cpus=${CPUSET:+--cpuset-cpus $CPUSET} | |
| 31 | +# every library lakefile.toml declares, whatever its defaultTargets say: the check builds each of them on a commit | |
| 32 | +# (checks/build.py), so the image must hold each of them built | |
| 33 | +LIBS="python3 -c 'import tomllib; print(*[l[\"name\"] for l in tomllib.load(open(\"lakefile.toml\", \"rb\")).get(\"lean_lib\", [])])'" | |
| 34 | +mirrors= | |
| 35 | +if [ "${MIRRORS:-}" = cn ]; then | |
| 36 | + mirrors="--build-arg APT_MIRROR=http://mirrors.aliyun.com/ubuntu --build-arg LEAN_DL=https://mirror.sjtu.edu.cn/elan/leanprover/lean4/releases/download --build-arg GO_DL=https://mirrors.aliyun.com/golang --build-arg GOPROXY=https://goproxy.cn,direct --build-arg RUST_DIST=https://rsproxy.cn --build-arg CARGO_MIRROR=sparse+https://rsproxy.cn/index/ --build-arg GITHUB_MIRROR=https://gh-proxy.com/https://github.com" | |
| 37 | +fi | |
| 38 | + | |
| 39 | +base() { | |
| 40 | + # the tree as git holds it (no .git, nothing ignored); the classic builder, which honours --cpuset-cpus; the host's | |
| 41 | + # network, since through Docker's bridge downloads crawl | |
| 42 | + git -C "$main" archive HEAD | DOCKER_BUILDKIT=0 docker build --network host $cpus $mirrors -f docker/lean.Dockerfile -t "$TAG-base" - | |
| 43 | +} | |
| 44 | + | |
| 45 | +compile() { | |
| 46 | + since=$(date +%s) | |
| 47 | + if docker container inspect "$NAME" >/dev/null 2>&1; then | |
| 48 | + docker start "$NAME" >/dev/null | |
| 49 | + else | |
| 50 | + # Lake writes a <module>.setup.json for each module it compiles (every transitive import's path, about 1.5 MB) and | |
| 51 | + # never reads it again: most of a build's bytes (lean-ci-notes.md). A loop deletes those older than 5 minutes | |
| 52 | + # while the build runs, and the rest go before the chmod. Lake starts a `lean` per core of the host, whatever the | |
| 53 | + # cpuset (124 at once on 32 cores, 12-02): LEAN_NUM_THREADS holds it to the cores the container has. | |
| 54 | + docker run -d --name "$NAME" --network none $cpus ${MEMORY:+--memory $MEMORY} --log-opt max-size=200m --log-opt max-file=5 "$TAG-base" bash -c \ | |
| 55 | + "export LEAN_NUM_THREADS=\$(nproc); date +'lake build starts %F %T'; (while sleep 240; do find .lake/build -name '*.setup.json' -mmin +5 -delete 2>/dev/null; done) & trim=\$!; lake build \$($LIBS); code=\$?; kill \$trim; [ \$code = 0 ] && find .lake/build -name '*.setup.json' -delete && chmod -R a+rX .lake/build && chown -R nobody:nogroup .lake/build && date +'lake build ends %F %T'" >/dev/null | |
| 56 | + fi | |
| 57 | + docker logs -f --since "$since" "$NAME" 2>&1 || true | |
| 58 | + code=$(docker wait "$NAME") | |
| 59 | + echo "compile: exit $code" | |
| 60 | + [ "$code" = 0 ] | |
| 61 | +} | |
| 62 | + | |
| 63 | +commit() { | |
| 64 | + [ "$(docker inspect -f '{{.State.Status}} {{.State.ExitCode}}' "$NAME")" = "exited 0" ] || { echo "$NAME has not finished its build"; exit 1; } | |
| 65 | + docker commit -c 'CMD ["/bin/bash"]' "$NAME" "$TAG" | |
| 66 | + docker run --rm --network none $cpus "$TAG" bash -c "lake build --no-build \$($LIBS)" | |
| 67 | + docker image inspect --format "$TAG {{.Id}} {{.Size}} bytes" "$TAG" | |
| 68 | + echo "The container $NAME and the image $TAG-base can go: docker rm $NAME; docker rmi $TAG-base" | |
| 69 | +} | |
| 70 | + | |
| 71 | +case "$step" in | |
| 72 | + base) base ;; | |
| 73 | + compile) compile ;; | |
| 74 | + commit) commit ;; | |
| 75 | + all) base; compile; commit ;; | |
| 76 | + *) echo "base, compile, commit or all"; exit 2 ;; | |
| 77 | +esac | |
+20 −0 docker/clone-at added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +#!/bin/sh | |
| 2 | +# clone-at <url> <dir> <commit>: that one commit of a repository, without its history, checked out and checked against | |
| 3 | +# the pin. From Beijing a connection to github.com times out about every other time (12-02: two of three, each after | |
| 4 | +# 135 s), so a fetch that stalls is cut off, and each is tried up to ten times: through $GITHUB_MIRROR first where one | |
| 5 | +# is set (a proxy in front of github.com), then from github.com itself, in turn. Whoever serves it, git names a commit | |
| 6 | +# by the hash of its content, and the hash is the pin. `origin` stays the repository's own address, as Lake expects of | |
| 7 | +# a package. | |
| 8 | +set -eu | |
| 9 | +url=$1 dir=$2 commit=$3 | |
| 10 | +mirror=$(printf %s "$url" | sed "s#^https://github.com#${GITHUB_MIRROR:-https://github.com}#") | |
| 11 | +n=0 | |
| 12 | +until rm -rf "$dir" && git init -q "$dir" && git -C "$dir" remote add origin "$url" \ | |
| 13 | + && { if [ $((n % 2)) = 0 ]; then from=$mirror; else from=$url; fi; } \ | |
| 14 | + && timeout 300 git -C "$dir" -c http.lowSpeedLimit=1000 -c http.lowSpeedTime=30 fetch -q --depth 1 "$from" "$commit"; do | |
| 15 | + n=$((n + 1)) | |
| 16 | + [ "$n" -lt 10 ] | |
| 17 | + sleep 3 | |
| 18 | +done | |
| 19 | +git -C "$dir" -c advice.detachedHead=false checkout -q FETCH_HEAD | |
| 20 | +test "$(git -C "$dir" rev-parse HEAD)" = "$commit" | |
+175 −0 docker/lean.Dockerfile added View file
| @@ -0,0 +1,175 @@ | ||
| 1 | +# Lean image for the hodge-conjecture `build` check (checks/build.py): everything before the compile. | |
| 2 | +# | |
| 3 | +# docker/build.sh builds this file with the tree of the project's main as the context (shoal-hodge-lean:3344da59-base), | |
| 4 | +# then compiles the project's own 33,429 files in a container of it and commits that container as | |
| 5 | +# shoal-hodge-lean:3344da59 (docker/README.md). A compile of hours does not belong in a layer that one failure throws | |
| 6 | +# away. | |
| 7 | +# | |
| 8 | +# The context is the project's main, not this folder: the project is the import closure of the CM Hodge challenge and | |
| 9 | +# solution inside lean/ of openai/math at 3344da59 (upstream.json), with this project's own lakefile.toml and | |
| 10 | +# lake-manifest.json, which require Mathlib alone. Cloning openai/math would bring its lakefile.lean and the 59 | |
| 11 | +# packages of its manifest, of which the proof imports Mathlib alone. The check runs with --network none: nothing is | |
| 12 | +# downloaded at check time. | |
| 13 | +# | |
| 14 | +# Every pin is a full commit hash or a checksum in an ARG below, and each download is checked against it. | |
| 15 | + | |
| 16 | +FROM ubuntu:24.04 | |
| 17 | + | |
| 18 | +# --- Where the downloads come from ------------------------------------------ | |
| 19 | + | |
| 20 | +# The defaults are each project's own servers. From Beijing (docker/build.sh with MIRRORS=cn): the Ubuntu archive by | |
| 21 | +# plain http from Aliyun (ca-certificates is not installed yet at the first apt step), the Lean toolchain from SJTU's | |
| 22 | +# mirror of its releases, Go from Aliyun, Go modules from goproxy.cn, Rust and its crates from rsproxy.cn, the git | |
| 23 | +# fetches through gh-proxy.com. | |
| 24 | +# raw.githubusercontent.com is not used: Beijing cannot reach it. | |
| 25 | +ARG APT_MIRROR= | |
| 26 | +ARG LEAN_DL=https://github.com/leanprover/lean4/releases/download | |
| 27 | +ARG GO_DL=https://go.dev/dl | |
| 28 | +ARG GOPROXY=https://proxy.golang.org,direct | |
| 29 | +ARG RUST_DIST=https://static.rust-lang.org | |
| 30 | +ARG CARGO_MIRROR= | |
| 31 | +# A proxy in front of github.com for the git fetches (docker/clone-at) and elan's release, e.g. | |
| 32 | +# https://gh-proxy.com/https://github.com | |
| 33 | +ARG GITHUB_MIRROR= | |
| 34 | + | |
| 35 | +# --- Pins ------------------------------------------------------------------- | |
| 36 | + | |
| 37 | +# openai/math, whose lean/ folder the project starts from, and its lean-toolchain at that commit, with the SHA-256 | |
| 38 | +# GitHub lists for the release's lean-4.34.1-linux.tar.zst. | |
| 39 | +ARG UPSTREAM_COMMIT=3344da59991ed94f9ba711217b29c1d760badfa6 | |
| 40 | +ARG TOOLCHAIN=leanprover/lean4:v4.34.1 | |
| 41 | +ARG LEAN_SHA256=47bf4bbd78f70c2e9670598ab7124d92b6efb7330ff33e5fbb4030f6fd72e4e4 | |
| 42 | +# From the project's lake-manifest.json (openai/math's pins at that commit). Every package is cloned at the manifest's | |
| 43 | +# commit; these three are also checked here. | |
| 44 | +ARG MATHLIB_COMMIT=d13f23b723b8a846827a245b89c10fc7d3f11612 | |
| 45 | +ARG BATTERIES_COMMIT=f2effa3d803fda822b1f97b806c47cf2adfbcbc2 | |
| 46 | +ARG AESOP_COMMIT=355695d523e41d0554926416cba2a2b3544fbbc9 | |
| 47 | + | |
| 48 | +# Comparator and its exporter, built here and not as packages of the project. Lean v4.34.1 does not ship | |
| 49 | +# `lake comparator` (v4.35.0 and later do), so the standalone tools are used, at their v4.34.0 tags. | |
| 50 | +ARG COMPARATOR_REV=d03acab154d269c06e60e4de7e4cc85deebff94b | |
| 51 | +ARG LEAN4EXPORT_REV=076e8e57707e813375e8f9da8bf989799ace9680 | |
| 52 | + | |
| 53 | +# Comparator's sandbox (landrun 0.1.18) and the second kernel (nanoda_lib 0.4.18), as the navier-stokes and | |
| 54 | +# poincare-conjecture images pin them. | |
| 55 | +ARG LANDRUN_REV=811cfff51ceaf3d9843708aa6d22e9b84ccac8b4 | |
| 56 | +ARG NANODA_REV=079049d584b2aed2b0172218164082f4fc6eede2 | |
| 57 | + | |
| 58 | +# Build tools for landrun (go.mod asks for Go 1.24) and nanoda (Rust), used here and removed. | |
| 59 | +ARG GO_VERSION=1.24.13 | |
| 60 | +ARG GO_SHA256=1fc94b57134d51669c72173ad5d49fd62afb0f1db9bf3f798fd98ee423f8d730 | |
| 61 | +ARG RUST_VERSION=1.100.1 | |
| 62 | + | |
| 63 | +# --- System packages -------------------------------------------------------- | |
| 64 | + | |
| 65 | +# python3 runs the check; curl and zstd are what Lake and Mathlib's cache tool use. | |
| 66 | +ENV DEBIAN_FRONTEND=noninteractive | |
| 67 | +RUN if [ -n "$APT_MIRROR" ]; then sed -i "s#http://archive.ubuntu.com/ubuntu#$APT_MIRROR#; s#http://security.ubuntu.com/ubuntu#$APT_MIRROR#" /etc/apt/sources.list.d/ubuntu.sources; fi \ | |
| 68 | + && apt-get update && apt-get install -y --no-install-recommends \ | |
| 69 | + ca-certificates curl git python3 build-essential zstd \ | |
| 70 | + && rm -rf /var/lib/apt/lists/* | |
| 71 | + | |
| 72 | +# The check runs the commit's build as `nobody`; let git (and Lake, which calls git in each package) read every | |
| 73 | +# repository in the image. clone-at fetches one pinned commit of a repository, with retries (docker/clone-at). | |
| 74 | +COPY docker/clone-at /usr/local/bin/clone-at | |
| 75 | +RUN git config --system --add safe.directory '*' && chmod 755 /usr/local/bin/clone-at | |
| 76 | + | |
| 77 | +# --- Lean ------------------------------------------------------------------- | |
| 78 | + | |
| 79 | +# elan 4.1.2 from its GitHub release, checksum-verified. The toolchain as its release tarball, likewise, unpacked where elan keeps a | |
| 80 | +# toolchain of that name: `elan toolchain install` takes it from releases.lean-lang.org, which redirects to GitHub's | |
| 81 | +# release, and from Beijing that download stalls (12-02: 1.7 MB in two minutes); LEAN_DL lets a mirror serve the file. | |
| 82 | +ENV ELAN_HOME=/opt/elan | |
| 83 | +ENV PATH=/usr/local/bin:/opt/elan/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin | |
| 84 | +ARG ELAN_SHA256=f81c2e48c1588d4612cd2c8851947898a45ac8d72748a07dff3a5694f1cf589b | |
| 85 | +RUN curl -sSfL --retry 8 --retry-all-errors --connect-timeout 20 --speed-limit 1000 --speed-time 30 \ | |
| 86 | + "${GITHUB_MIRROR:-https://github.com}/leanprover/elan/releases/download/v4.1.2/elan-x86_64-unknown-linux-gnu.tar.gz" -o /tmp/elan.tgz \ | |
| 87 | + && echo "${ELAN_SHA256} /tmp/elan.tgz" | sha256sum -c - \ | |
| 88 | + && tar -xzf /tmp/elan.tgz -C /tmp && /tmp/elan-init -y --no-modify-path --default-toolchain none && rm /tmp/elan-init /tmp/elan.tgz | |
| 89 | +RUN v="${TOOLCHAIN#*:v}" && dir="/opt/elan/toolchains/$(echo "${TOOLCHAIN}" | sed 's#/#--#; s#:#---#')" \ | |
| 90 | + && curl -sSfL --retry 8 --retry-all-errors --connect-timeout 20 "${LEAN_DL}/v$v/lean-$v-linux.tar.zst" -o /tmp/lean.tar.zst \ | |
| 91 | + && echo "${LEAN_SHA256} /tmp/lean.tar.zst" | sha256sum -c - \ | |
| 92 | + && mkdir -p "$dir" && tar --zstd -xf /tmp/lean.tar.zst -C "$dir" --strip-components 1 && rm /tmp/lean.tar.zst \ | |
| 93 | + && elan default "${TOOLCHAIN}" && chmod -R a+rX /opt/elan \ | |
| 94 | + && lean --version | grep -q "version $v" | |
| 95 | + | |
| 96 | +# --- The dependencies ------------------------------------------------------- | |
| 97 | + | |
| 98 | +# From the three files that name them, so that a change elsewhere in main does not fetch Mathlib's cache (5 GB) again. | |
| 99 | +# Each package of the manifest is fetched at its commit first (Lake does not try a clone again when the connection | |
| 100 | +# fails, and clones every package's whole history), then Mathlib's oleans: a few of the cache's downloads fail now and then, and each try fetches only what is | |
| 101 | +# still missing. Mathlib's download store (~/.cache/mathlib) is unpacked into .lake by then and removed in the same | |
| 102 | +# layer; so is the chmod: the cache unpacks its files 0600, and the check reads them as nobody. | |
| 103 | +WORKDIR /opt/proof | |
| 104 | +COPY lakefile.toml lake-manifest.json lean-toolchain /opt/proof/ | |
| 105 | +RUN test "$(cat lean-toolchain)" = "${TOOLCHAIN}" \ | |
| 106 | + && python3 -c 'import json; [print(p["url"], ".lake/packages/" + p["name"], p["rev"]) for p in json.load(open("lake-manifest.json"))["packages"]]' \ | |
| 107 | + | while read -r url dir rev; do clone-at "$url" "$dir" "$rev" || exit 1; done \ | |
| 108 | + && test "$(git -C .lake/packages/mathlib rev-parse HEAD)" = "${MATHLIB_COMMIT}" \ | |
| 109 | + && test "$(git -C .lake/packages/batteries rev-parse HEAD)" = "${BATTERIES_COMMIT}" \ | |
| 110 | + && test "$(git -C .lake/packages/aesop rev-parse HEAD)" = "${AESOP_COMMIT}" \ | |
| 111 | + && (lake exe cache get || lake exe cache get || lake exe cache get) \ | |
| 112 | + && test "$(git -C .lake/packages/mathlib rev-parse HEAD)" = "${MATHLIB_COMMIT}" \ | |
| 113 | + && rm -rf /root/.cache/mathlib \ | |
| 114 | + && chmod -R a+rX /opt/proof | |
| 115 | + | |
| 116 | +# --- Comparator and lean4export --------------------------------------------- | |
| 117 | + | |
| 118 | +# Each built on its own with the project's toolchain (their v4.34.0 tags ask for leanprover/lean4:v4.34.0), and | |
| 119 | +# linked onto PATH. Comparator has lean4export as its package: cloned at the same commit, so Lake fetches nothing. | |
| 120 | +RUN clone-at https://github.com/leanprover/lean4export /opt/lean4export "${LEAN4EXPORT_REV}" \ | |
| 121 | + && echo "${TOOLCHAIN}" > /opt/lean4export/lean-toolchain \ | |
| 122 | + && (cd /opt/lean4export && lake build lean4export) \ | |
| 123 | + && ln -s /opt/lean4export/.lake/build/bin/lean4export /usr/local/bin/lean4export \ | |
| 124 | + && chmod -R a+rX /opt/lean4export | |
| 125 | +RUN clone-at https://github.com/leanprover/comparator /opt/comparator "${COMPARATOR_REV}" \ | |
| 126 | + && clone-at https://github.com/leanprover/lean4export /opt/comparator/.lake/packages/lean4export "${LEAN4EXPORT_REV}" \ | |
| 127 | + && echo "${TOOLCHAIN}" > /opt/comparator/lean-toolchain \ | |
| 128 | + && (cd /opt/comparator && lake build comparator) \ | |
| 129 | + && test "$(git -C /opt/comparator/.lake/packages/lean4export rev-parse HEAD)" = "${LEAN4EXPORT_REV}" \ | |
| 130 | + && ln -s /opt/comparator/.lake/build/bin/comparator /usr/local/bin/comparator \ | |
| 131 | + && chmod -R a+rX /opt/comparator | |
| 132 | + | |
| 133 | +# --- landrun ---------------------------------------------------------------- | |
| 134 | + | |
| 135 | +# The Go tarball, checksum-verified. | |
| 136 | +RUN curl -sSfL --retry 8 --retry-all-errors --connect-timeout 20 "${GO_DL}/go${GO_VERSION}.linux-amd64.tar.gz" -o /tmp/go.tgz \ | |
| 137 | + && echo "${GO_SHA256} /tmp/go.tgz" | sha256sum -c - \ | |
| 138 | + && tar -C /tmp -xzf /tmp/go.tgz \ | |
| 139 | + && clone-at https://github.com/Zouuup/landrun /tmp/landrun "${LANDRUN_REV}" \ | |
| 140 | + && cd /tmp/landrun \ | |
| 141 | + && GOPROXY="${GOPROXY}" GOTOOLCHAIN=local GOPATH=/tmp/gopath GOCACHE=/tmp/gocache /tmp/go/bin/go build -o /usr/local/bin/landrun ./cmd/landrun \ | |
| 142 | + && cd / && rm -rf /tmp/go /tmp/go.tgz /tmp/landrun /tmp/gopath /tmp/gocache | |
| 143 | + | |
| 144 | +# --- nanoda_bin ------------------------------------------------------------- | |
| 145 | + | |
| 146 | +# main.json has enable_nanoda false, so Comparator does not call it; it is in the image so the second kernel can be | |
| 147 | +# run on the export by hand, as upstream's ComparatorChallenges README describes. | |
| 148 | +RUN export RUSTUP_HOME=/tmp/rustup CARGO_HOME=/tmp/cargo RUSTUP_DIST_SERVER="${RUST_DIST}" RUSTUP_UPDATE_ROOT="${RUST_DIST}/rustup" \ | |
| 149 | + && curl -sSfL --retry 8 --retry-all-errors --connect-timeout 20 "${RUST_DIST}/rustup/dist/x86_64-unknown-linux-gnu/rustup-init" -o /tmp/rustup-init && chmod +x /tmp/rustup-init \ | |
| 150 | + && /tmp/rustup-init -y --no-modify-path --profile minimal --default-toolchain "${RUST_VERSION}" \ | |
| 151 | + && if [ -n "$CARGO_MIRROR" ]; then printf '[source.crates-io]\nreplace-with = "mirror"\n[source.mirror]\nregistry = "%s"\n' "$CARGO_MIRROR" > /tmp/cargo/config.toml; fi \ | |
| 152 | + && clone-at https://github.com/ammkrn/nanoda_lib /tmp/nanoda "${NANODA_REV}" \ | |
| 153 | + && cd /tmp/nanoda \ | |
| 154 | + && /tmp/cargo/bin/cargo build --release --locked --bin nanoda_bin \ | |
| 155 | + && install -m 0755 target/release/nanoda_bin /usr/local/bin/nanoda_bin \ | |
| 156 | + && cd / && rm -rf /tmp/rustup /tmp/cargo /tmp/nanoda /tmp/rustup-init | |
| 157 | + | |
| 158 | +# Every tool must be on PATH. | |
| 159 | +RUN for t in lean4export comparator landrun nanoda_bin lake lean python3 git which; do \ | |
| 160 | + command -v "$t" >/dev/null || { echo "missing: $t"; exit 1; }; \ | |
| 161 | + done | |
| 162 | + | |
| 163 | +# --- The project ------------------------------------------------------------ | |
| 164 | + | |
| 165 | +# The context is the tree of the project's main as git holds it (docker/build.sh sends `git archive`): it goes in | |
| 166 | +# whole, as the check's commits will be, readable by all as git archives it. docker/build.sh compiles it next, in a | |
| 167 | +# container. (No chmod -R here: in a layer of its own it would copy every file of Mathlib's build.) | |
| 168 | +COPY . /opt/proof | |
| 169 | +RUN test ! -e .git && test -d .lake/packages/mathlib \ | |
| 170 | + && test -f lakefile.toml && test ! -e lakefile.lean \ | |
| 171 | + && grep -q "${MATHLIB_COMMIT}" lake-manifest.json \ | |
| 172 | + && grep -q "${UPSTREAM_COMMIT}" docker/lean.Dockerfile | |
| 173 | + | |
| 174 | +ENV PROOF_BASE=/opt/proof | |
| 175 | +CMD ["/bin/bash"] | |
+42 −521 lake-manifest.json View file
| @@ -1,7 +1,9 @@ | ||
| 1 | -{"version": "1.2.0", | |
| 1 | +{ | |
| 2 | + "version": "1.2.0", | |
| 2 | 3 | "packagesDir": ".lake/packages", |
| 3 | - "packages": | |
| 4 | - [{"url": "https://github.com/leanprover-community/mathlib4.git", | |
| 4 | + "packages": [ | |
| 5 | + { | |
| 6 | + "url": "https://github.com/leanprover-community/mathlib4.git", | |
| 5 | 7 | "type": "git", |
| 6 | 8 | "subDir": null, |
| 7 | 9 | "scope": "", |
| @@ -10,348 +12,10 @@ | ||
| 10 | 12 | "manifestFile": "lake-manifest.json", |
| 11 | 13 | "inputRev": "d13f23b723b8a846827a245b89c10fc7d3f11612", |
| 12 | 14 | "inherited": false, |
| 13 | - "configFile": "lakefile.lean"}, | |
| 14 | - {"url": "https://github.com/PatrickMassot/checkdecls.git", | |
| 15 | - "type": "git", | |
| 16 | - "subDir": null, | |
| 17 | - "scope": "", | |
| 18 | - "rev": "3d425859e73fcfbef85b9638c2a91708ef4a22d4", | |
| 19 | - "name": "checkdecls", | |
| 20 | - "manifestFile": "lake-manifest.json", | |
| 21 | - "inputRev": "3d425859e73fcfbef85b9638c2a91708ef4a22d4", | |
| 22 | - "inherited": false, | |
| 23 | - "configFile": "lakefile.lean"}, | |
| 24 | - {"url": "https://github.com/leanprover/doc-gen4.git", | |
| 25 | - "type": "git", | |
| 26 | - "subDir": null, | |
| 27 | - "scope": "", | |
| 28 | - "rev": "953c8992d174b4e56955e01e101d46668c68f2bb", | |
| 29 | - "name": "«doc-gen4»", | |
| 30 | - "manifestFile": "lake-manifest.json", | |
| 31 | - "inputRev": "953c8992d174b4e56955e01e101d46668c68f2bb", | |
| 32 | - "inherited": false, | |
| 33 | - "configFile": "lakefile.lean"}, | |
| 34 | - {"url": "https://github.com/b-mehta/PrimeCert.git", | |
| 35 | - "type": "git", | |
| 36 | - "subDir": null, | |
| 37 | - "scope": "", | |
| 38 | - "rev": "0803c2f6bd289c09704c7d352bb8fcf770cbb9b2", | |
| 39 | - "name": "PrimeCert", | |
| 40 | - "manifestFile": "lake-manifest.json", | |
| 41 | - "inputRev": "0803c2f6bd289c09704c7d352bb8fcf770cbb9b2", | |
| 42 | - "inherited": false, | |
| 43 | - "configFile": "lakefile.toml"}, | |
| 44 | - {"url": "https://github.com/hanwenzhu/LeanArchitect.git", | |
| 45 | - "type": "git", | |
| 46 | - "subDir": null, | |
| 47 | - "scope": "", | |
| 48 | - "rev": "468e8f58fb4ad6e6ad672a08da6d0d0531e95a97", | |
| 49 | - "name": "LeanArchitect", | |
| 50 | - "manifestFile": "lake-manifest.json", | |
| 51 | - "inputRev": "468e8f58fb4ad6e6ad672a08da6d0d0531e95a97", | |
| 52 | - "inherited": false, | |
| 53 | - "configFile": "lakefile.lean"}, | |
| 54 | - {"url": "https://github.com/alerad/leancert.git", | |
| 55 | - "type": "git", | |
| 56 | - "subDir": null, | |
| 57 | - "scope": "", | |
| 58 | - "rev": "7f91b6eb3567437f6cfac03ed279706603ee22f4", | |
| 59 | - "name": "leancert", | |
| 60 | - "manifestFile": "lake-manifest.json", | |
| 61 | - "inputRev": "7f91b6eb3567437f6cfac03ed279706603ee22f4", | |
| 62 | - "inherited": false, | |
| 63 | - "configFile": "lakefile.toml"}, | |
| 64 | - {"url": "https://github.com/AlexKontorovich/PrimeNumberTheoremAnd.git", | |
| 65 | - "type": "git", | |
| 66 | - "subDir": null, | |
| 67 | - "scope": "", | |
| 68 | - "rev": "c39a751132c88b6e8080b74c74023fd95b3d8be0", | |
| 69 | - "name": "PrimeNumberTheoremAnd", | |
| 70 | - "manifestFile": "lake-manifest.json", | |
| 71 | - "inputRev": "c39a751132c88b6e8080b74c74023fd95b3d8be0", | |
| 72 | - "inherited": false, | |
| 73 | - "configFile": "lakefile.toml"}, | |
| 74 | - {"url": "https://github.com/leanprover/hex-lll-theory.git", | |
| 75 | - "type": "git", | |
| 76 | - "subDir": null, | |
| 77 | - "scope": "", | |
| 78 | - "rev": "761108380d7bdae23181785d52703b4883388da1", | |
| 79 | - "name": "HexLLLMathlib", | |
| 80 | - "manifestFile": "lake-manifest.json", | |
| 81 | - "inputRev": "761108380d7bdae23181785d52703b4883388da1", | |
| 82 | - "inherited": false, | |
| 83 | - "configFile": "lakefile.toml"}, | |
| 84 | - {"url": "https://github.com/leanprover/hex-bareiss.git", | |
| 85 | - "type": "git", | |
| 86 | - "subDir": null, | |
| 87 | - "scope": "", | |
| 88 | - "rev": "fea7d537c14531b3a699530f5c7776f69f0ed9a9", | |
| 89 | - "name": "HexBareiss", | |
| 90 | - "manifestFile": "lake-manifest.json", | |
| 91 | - "inputRev": "fea7d537c14531b3a699530f5c7776f69f0ed9a9", | |
| 92 | - "inherited": false, | |
| 93 | - "configFile": "lakefile.toml"}, | |
| 94 | - {"url": "https://github.com/ZIB-IOL/lemmata.git", | |
| 95 | - "type": "git", | |
| 96 | - "subDir": "lean", | |
| 97 | - "scope": "", | |
| 98 | - "rev": "a2dd430f283febd755a6ee6932d0b0fdabfb330c", | |
| 99 | - "name": "lemmata", | |
| 100 | - "manifestFile": "lake-manifest.json", | |
| 101 | - "inputRev": "a2dd430f283febd755a6ee6932d0b0fdabfb330c", | |
| 102 | - "inherited": false, | |
| 103 | - "configFile": "lakefile.toml"}, | |
| 104 | - {"url": "https://github.com/leanprover/cslib", | |
| 105 | - "type": "git", | |
| 106 | - "subDir": null, | |
| 107 | - "scope": "", | |
| 108 | - "rev": "254e30e6d4299c51323aaeaf5f51a4763b375d4a", | |
| 109 | - "name": "cslib", | |
| 110 | - "manifestFile": "lake-manifest.json", | |
| 111 | - "inputRev": "254e30e6d4299c51323aaeaf5f51a4763b375d4a", | |
| 112 | - "inherited": false, | |
| 113 | - "configFile": "lakefile.toml"}, | |
| 114 | - {"url": "https://github.com/cslib-community/complexitylib.git", | |
| 115 | - "type": "git", | |
| 116 | - "subDir": null, | |
| 117 | - "scope": "", | |
| 118 | - "rev": "242879e6913ca3b29005f7c48536896983d2ad2f", | |
| 119 | - "name": "complexitylib", | |
| 120 | - "manifestFile": "lake-manifest.json", | |
| 121 | - "inputRev": "242879e6913ca3b29005f7c48536896983d2ad2f", | |
| 122 | - "inherited": false, | |
| 123 | - "configFile": "lakefile.toml"}, | |
| 124 | - {"url": "https://github.com/lana-agents/belyi.git", | |
| 125 | - "type": "git", | |
| 126 | - "subDir": null, | |
| 127 | - "scope": "", | |
| 128 | - "rev": "9ce4d3f793d3bc831f2fc7214b7dbad90ea012d8", | |
| 129 | - "name": "belyi", | |
| 130 | - "manifestFile": "lake-manifest.json", | |
| 131 | - "inputRev": "9ce4d3f793d3bc831f2fc7214b7dbad90ea012d8", | |
| 132 | - "inherited": false, | |
| 133 | - "configFile": "lakefile.toml"}, | |
| 134 | - {"url": "https://github.com/lana-agents/formal-schemes.git", | |
| 135 | - "type": "git", | |
| 136 | - "subDir": null, | |
| 137 | - "scope": "", | |
| 138 | - "rev": "51aa935079537bf4dc580751a6e70727fb23ca93", | |
| 139 | - "name": "«formal-schemes»", | |
| 140 | - "manifestFile": "lake-manifest.json", | |
| 141 | - "inputRev": "51aa935079537bf4dc580751a6e70727fb23ca93", | |
| 142 | - "inherited": false, | |
| 143 | - "configFile": "lakefile.toml"}, | |
| 144 | - {"url": "https://github.com/lana-agents/elliptic-curves.git", | |
| 145 | - "type": "git", | |
| 146 | - "subDir": null, | |
| 147 | - "scope": "", | |
| 148 | - "rev": "bebec3fc9f2602e81c83e5236789572a541c85fb", | |
| 149 | - "name": "«elliptic-curves»", | |
| 150 | - "manifestFile": "lake-manifest.json", | |
| 151 | - "inputRev": "bebec3fc9f2602e81c83e5236789572a541c85fb", | |
| 152 | - "inherited": false, | |
| 153 | - "configFile": "lakefile.toml"}, | |
| 154 | - {"url": "https://github.com/lana-agents/tempered-fundamental-groups.git", | |
| 155 | - "type": "git", | |
| 156 | - "subDir": null, | |
| 157 | - "scope": "", | |
| 158 | - "rev": "2006651f52b70ea2fe3388238c7d9db14d21748f", | |
| 159 | - "name": "«tempered-fundamental-groups»", | |
| 160 | - "manifestFile": "lake-manifest.json", | |
| 161 | - "inputRev": "2006651f52b70ea2fe3388238c7d9db14d21748f", | |
| 162 | - "inherited": false, | |
| 163 | - "configFile": "lakefile.toml"}, | |
| 164 | - {"url": "https://github.com/lana-agents/oka.git", | |
| 165 | - "type": "git", | |
| 166 | - "subDir": null, | |
| 167 | - "scope": "", | |
| 168 | - "rev": "75dcdc3faadd10b986afb9283e89902bcdddecd4", | |
| 169 | - "name": "oka", | |
| 170 | - "manifestFile": "lake-manifest.json", | |
| 171 | - "inputRev": "75dcdc3faadd10b986afb9283e89902bcdddecd4", | |
| 172 | - "inherited": false, | |
| 173 | - "configFile": "lakefile.toml"}, | |
| 174 | - {"url": "https://github.com/lana-agents/orbicurve-cores.git", | |
| 175 | - "type": "git", | |
| 176 | - "subDir": null, | |
| 177 | - "scope": "", | |
| 178 | - "rev": "61616dcd77fbe45c083a8ebfa7cc80728f86e841", | |
| 179 | - "name": "«orbicurve-cores»", | |
| 180 | - "manifestFile": "lake-manifest.json", | |
| 181 | - "inputRev": "61616dcd77fbe45c083a8ebfa7cc80728f86e841", | |
| 182 | - "inherited": false, | |
| 183 | - "configFile": "lakefile.toml"}, | |
| 184 | - {"url": "https://github.com/lana-agents/pi1.git", | |
| 185 | - "type": "git", | |
| 186 | - "subDir": null, | |
| 187 | - "scope": "", | |
| 188 | - "rev": "ca7def953193f861a462aa0831eec8f0a31ff69f", | |
| 189 | - "name": "pi1", | |
| 190 | - "manifestFile": "lake-manifest.json", | |
| 191 | - "inputRev": "ca7def953193f861a462aa0831eec8f0a31ff69f", | |
| 192 | - "inherited": false, | |
| 193 | - "configFile": "lakefile.toml"}, | |
| 194 | - {"url": "https://github.com/lana-agents/heights.git", | |
| 195 | - "type": "git", | |
| 196 | - "subDir": null, | |
| 197 | - "scope": "", | |
| 198 | - "rev": "721496ca4c158e511d25d8ccf6bfe8503eda73c1", | |
| 199 | - "name": "heights", | |
| 200 | - "manifestFile": "lake-manifest.json", | |
| 201 | - "inputRev": "721496ca4c158e511d25d8ccf6bfe8503eda73c1", | |
| 202 | - "inherited": false, | |
| 203 | - "configFile": "lakefile.toml"}, | |
| 204 | - {"url": "https://github.com/lana-agents/genl.git", | |
| 205 | - "type": "git", | |
| 206 | - "subDir": null, | |
| 207 | - "scope": "", | |
| 208 | - "rev": "ea2846c877d1e16d8f0b911a5fed07f5ee69eaaf", | |
| 209 | - "name": "genl", | |
| 210 | - "manifestFile": "lake-manifest.json", | |
| 211 | - "inputRev": "ea2846c877d1e16d8f0b911a5fed07f5ee69eaaf", | |
| 212 | - "inherited": false, | |
| 213 | - "configFile": "lakefile.toml"}, | |
| 214 | - {"url": "https://github.com/lana-agents/tate-curves-theta.git", | |
| 215 | - "type": "git", | |
| 216 | - "subDir": null, | |
| 217 | - "scope": "", | |
| 218 | - "rev": "ca6c2279d3cea0690cdb01328e727118d5485d68", | |
| 219 | - "name": "«tate-curves-theta»", | |
| 220 | - "manifestFile": "lake-manifest.json", | |
| 221 | - "inputRev": "ca6c2279d3cea0690cdb01328e727118d5485d68", | |
| 222 | - "inherited": false, | |
| 223 | - "configFile": "lakefile.toml"}, | |
| 224 | - {"url": "https://github.com/lana-agents/iut.git", | |
| 225 | - "type": "git", | |
| 226 | - "subDir": null, | |
| 227 | - "scope": "", | |
| 228 | - "rev": "d9465c111ec4073709f67e9fccec7e3eb374a816", | |
| 229 | - "name": "iut", | |
| 230 | - "manifestFile": "lake-manifest.json", | |
| 231 | - "inputRev": "d9465c111ec4073709f67e9fccec7e3eb374a816", | |
| 232 | - "inherited": false, | |
| 233 | - "configFile": "lakefile.toml"}, | |
| 234 | - {"url": "https://github.com/Aaron1011/gromov.git", | |
| 235 | - "type": "git", | |
| 236 | - "subDir": null, | |
| 237 | - "scope": "", | |
| 238 | - "rev": "8db79f13cf211b570e3116301d91379fbc01cf3e", | |
| 239 | - "name": "gromov", | |
| 240 | - "manifestFile": "lake-manifest.json", | |
| 241 | - "inputRev": "8db79f13cf211b570e3116301d91379fbc01cf3e", | |
| 242 | - "inherited": false, | |
| 243 | - "configFile": "lakefile.toml"}, | |
| 244 | - {"url": "https://github.com/TauCetiProject/TauCeti.git", | |
| 245 | - "type": "git", | |
| 246 | - "subDir": null, | |
| 247 | - "scope": "", | |
| 248 | - "rev": "3bed7e37f3c504a99e8c07e9f309540812a7aa90", | |
| 249 | - "name": "TauCeti", | |
| 250 | - "manifestFile": "lake-manifest.json", | |
| 251 | - "inputRev": "3bed7e37f3c504a99e8c07e9f309540812a7aa90", | |
| 252 | - "inherited": false, | |
| 253 | - "configFile": "lakefile.toml"}, | |
| 254 | - {"url": "https://github.com/leanprover-community/sphere-eversion.git", | |
| 255 | - "type": "git", | |
| 256 | - "subDir": null, | |
| 257 | - "scope": "", | |
| 258 | - "rev": "9c53f91e2a281199163ecea04dc4976cb79e2076", | |
| 259 | - "name": "SphereEversion", | |
| 260 | - "manifestFile": "lake-manifest.json", | |
| 261 | - "inputRev": "9c53f91e2a281199163ecea04dc4976cb79e2076", | |
| 262 | - "inherited": false, | |
| 263 | - "configFile": "lakefile.toml"}, | |
| 264 | - {"url": "https://github.com/alonamaloh/schoenflies-lean", | |
| 265 | - "type": "git", | |
| 266 | - "subDir": null, | |
| 267 | - "scope": "", | |
| 268 | - "rev": "05a43d29cde026618777db3d4e4316204ccca237", | |
| 269 | - "name": "«schoenflies-lean»", | |
| 270 | - "manifestFile": "lake-manifest.json", | |
| 271 | - "inputRev": "05a43d29cde026618777db3d4e4316204ccca237", | |
| 272 | - "inherited": false, | |
| 273 | - "configFile": "lakefile.toml"}, | |
| 274 | - {"url": "https://github.com/n-yamaguchi-0729/ClassFieldTheory.git", | |
| 275 | - "type": "git", | |
| 276 | - "subDir": null, | |
| 277 | - "scope": "", | |
| 278 | - "rev": "2eb22d6485af45f29c5219de6c49f196a61c4f49", | |
| 279 | - "name": "ClassFieldTheory", | |
| 280 | - "manifestFile": "lake-manifest.json", | |
| 281 | - "inputRev": "2eb22d6485af45f29c5219de6c49f196a61c4f49", | |
| 282 | - "inherited": false, | |
| 283 | - "configFile": "lakefile.toml"}, | |
| 284 | - {"url": "https://github.com/CBirkbeck/AINTLIB.git", | |
| 285 | - "type": "git", | |
| 286 | - "subDir": null, | |
| 287 | - "scope": "", | |
| 288 | - "rev": "160e446617a2168c34c95bbe7a76c4105b392434", | |
| 289 | - "name": "AINTLIB", | |
| 290 | - "manifestFile": "lake-manifest.json", | |
| 291 | - "inputRev": "160e446617a2168c34c95bbe7a76c4105b392434", | |
| 292 | - "inherited": false, | |
| 293 | - "configFile": "lakefile.toml"}, | |
| 294 | - {"url": "https://github.com/BennyAvelin/AbsorptionCutoff.git", | |
| 295 | - "type": "git", | |
| 296 | - "subDir": null, | |
| 297 | - "scope": "", | |
| 298 | - "rev": "41c45c6d72e979419e46224bb7b4be5cee31f2b5", | |
| 299 | - "name": "AbsorptionCutoff", | |
| 300 | - "manifestFile": "lake-manifest.json", | |
| 301 | - "inputRev": "41c45c6d72e979419e46224bb7b4be5cee31f2b5", | |
| 302 | - "inherited": false, | |
| 303 | - "configFile": "lakefile.toml"}, | |
| 304 | - {"url": "https://github.com/math-inc/strongpnt.git", | |
| 305 | - "type": "git", | |
| 306 | - "subDir": null, | |
| 307 | - "scope": "", | |
| 308 | - "rev": "2f5835c322314f55f1026ec2f139d704b7c45c69", | |
| 309 | - "name": "StrongPNT", | |
| 310 | - "manifestFile": "lake-manifest.json", | |
| 311 | - "inputRev": "2f5835c322314f55f1026ec2f139d704b7c45c69", | |
| 312 | - "inherited": false, | |
| 313 | - "configFile": "lakefile.toml"}, | |
| 314 | - {"url": "https://github.com/fpvandoorn/carleson.git", | |
| 315 | - "type": "git", | |
| 316 | - "subDir": null, | |
| 317 | - "scope": "", | |
| 318 | - "rev": "306ae5b29300771aece1aa39f0a939183cc59486", | |
| 319 | - "name": "carleson", | |
| 320 | - "manifestFile": "lake-manifest.json", | |
| 321 | - "inputRev": "306ae5b29300771aece1aa39f0a939183cc59486", | |
| 322 | - "inherited": false, | |
| 323 | - "configFile": "lakefile.toml"}, | |
| 324 | - {"url": "https://github.com/abenenson/rellich-kondrachov.git", | |
| 325 | - "type": "git", | |
| 326 | - "subDir": null, | |
| 327 | - "scope": "", | |
| 328 | - "rev": "70f85d4c1bf99c6e7d61e8be4daa6f3664d08d23", | |
| 329 | - "name": "«rellich-kondrachov»", | |
| 330 | - "manifestFile": "lake-manifest.json", | |
| 331 | - "inputRev": "70f85d4c1bf99c6e7d61e8be4daa6f3664d08d23", | |
| 332 | - "inherited": false, | |
| 333 | - "configFile": "lakefile.lean"}, | |
| 334 | - {"url": "https://github.com/ahhwuhu/zeta_3_irrational.git", | |
| 335 | - "type": "git", | |
| 336 | - "subDir": null, | |
| 337 | - "scope": "", | |
| 338 | - "rev": "e8785315a01c8fbcddaa0fc03b3c8b29a61bc1f1", | |
| 339 | - "name": "Zeta3Irrational", | |
| 340 | - "manifestFile": "lake-manifest.json", | |
| 341 | - "inputRev": "e8785315a01c8fbcddaa0fc03b3c8b29a61bc1f1", | |
| 342 | - "inherited": false, | |
| 343 | - "configFile": "lakefile.lean"}, | |
| 344 | - {"url": "https://github.com/harfe/fixed-point-theorems-lean4.git", | |
| 345 | - "type": "git", | |
| 346 | - "subDir": null, | |
| 347 | - "scope": "", | |
| 348 | - "rev": "770940ddf9878cf61952ed53d910b92bca841838", | |
| 349 | - "name": "«fixed-point-theorems»", | |
| 350 | - "manifestFile": "lake-manifest.json", | |
| 351 | - "inputRev": "770940ddf9878cf61952ed53d910b92bca841838", | |
| 352 | - "inherited": false, | |
| 353 | - "configFile": "lakefile.toml"}, | |
| 354 | - {"url": "https://github.com/leanprover-community/plausible", | |
| 15 | + "configFile": "lakefile.lean" | |
| 16 | + }, | |
| 17 | + { | |
| 18 | + "url": "https://github.com/leanprover-community/plausible", | |
| 355 | 19 | "type": "git", |
| 356 | 20 | "subDir": null, |
| 357 | 21 | "scope": "leanprover-community", |
| @@ -360,8 +24,10 @@ | ||
| 360 | 24 | "manifestFile": "lake-manifest.json", |
| 361 | 25 | "inputRev": "main", |
| 362 | 26 | "inherited": true, |
| 363 | - "configFile": "lakefile.toml"}, | |
| 364 | - {"url": "https://github.com/leanprover-community/LeanSearchClient", | |
| 27 | + "configFile": "lakefile.toml" | |
| 28 | + }, | |
| 29 | + { | |
| 30 | + "url": "https://github.com/leanprover-community/LeanSearchClient", | |
| 365 | 31 | "type": "git", |
| 366 | 32 | "subDir": null, |
| 367 | 33 | "scope": "leanprover-community", |
| @@ -370,8 +36,10 @@ | ||
| 370 | 36 | "manifestFile": "lake-manifest.json", |
| 371 | 37 | "inputRev": "main", |
| 372 | 38 | "inherited": true, |
| 373 | - "configFile": "lakefile.toml"}, | |
| 374 | - {"url": "https://github.com/leanprover-community/import-graph", | |
| 39 | + "configFile": "lakefile.toml" | |
| 40 | + }, | |
| 41 | + { | |
| 42 | + "url": "https://github.com/leanprover-community/import-graph", | |
| 375 | 43 | "type": "git", |
| 376 | 44 | "subDir": null, |
| 377 | 45 | "scope": "leanprover-community", |
| @@ -380,8 +48,10 @@ | ||
| 380 | 48 | "manifestFile": "lake-manifest.json", |
| 381 | 49 | "inputRev": "main", |
| 382 | 50 | "inherited": true, |
| 383 | - "configFile": "lakefile.toml"}, | |
| 384 | - {"url": "https://github.com/leanprover-community/ProofWidgets4", | |
| 51 | + "configFile": "lakefile.toml" | |
| 52 | + }, | |
| 53 | + { | |
| 54 | + "url": "https://github.com/leanprover-community/ProofWidgets4", | |
| 385 | 55 | "type": "git", |
| 386 | 56 | "subDir": null, |
| 387 | 57 | "scope": "leanprover-community", |
| @@ -390,8 +60,10 @@ | ||
| 390 | 60 | "manifestFile": "lake-manifest.json", |
| 391 | 61 | "inputRev": "main", |
| 392 | 62 | "inherited": true, |
| 393 | - "configFile": "lakefile.lean"}, | |
| 394 | - {"url": "https://github.com/leanprover-community/aesop", | |
| 63 | + "configFile": "lakefile.lean" | |
| 64 | + }, | |
| 65 | + { | |
| 66 | + "url": "https://github.com/leanprover-community/aesop", | |
| 395 | 67 | "type": "git", |
| 396 | 68 | "subDir": null, |
| 397 | 69 | "scope": "leanprover-community", |
| @@ -400,8 +72,10 @@ | ||
| 400 | 72 | "manifestFile": "lake-manifest.json", |
| 401 | 73 | "inputRev": "master", |
| 402 | 74 | "inherited": true, |
| 403 | - "configFile": "lakefile.toml"}, | |
| 404 | - {"url": "https://github.com/leanprover-community/quote4", | |
| 75 | + "configFile": "lakefile.toml" | |
| 76 | + }, | |
| 77 | + { | |
| 78 | + "url": "https://github.com/leanprover-community/quote4", | |
| 405 | 79 | "type": "git", |
| 406 | 80 | "subDir": null, |
| 407 | 81 | "scope": "leanprover-community", |
| @@ -410,8 +84,10 @@ | ||
| 410 | 84 | "manifestFile": "lake-manifest.json", |
| 411 | 85 | "inputRev": "master", |
| 412 | 86 | "inherited": true, |
| 413 | - "configFile": "lakefile.toml"}, | |
| 414 | - {"url": "https://github.com/leanprover-community/batteries", | |
| 87 | + "configFile": "lakefile.toml" | |
| 88 | + }, | |
| 89 | + { | |
| 90 | + "url": "https://github.com/leanprover-community/batteries", | |
| 415 | 91 | "type": "git", |
| 416 | 92 | "subDir": null, |
| 417 | 93 | "scope": "leanprover-community", |
| @@ -420,18 +96,10 @@ | ||
| 420 | 96 | "manifestFile": "lake-manifest.json", |
| 421 | 97 | "inputRev": "main", |
| 422 | 98 | "inherited": true, |
| 423 | - "configFile": "lakefile.toml"}, | |
| 424 | - {"url": "https://github.com/leanprover/leansqlite", | |
| 425 | - "type": "git", | |
| 426 | - "subDir": null, | |
| 427 | - "scope": "", | |
| 428 | - "rev": "f9cdb9eacb5c8b8ecc02ee9fd9e568d7d28c1416", | |
| 429 | - "name": "leansqlite", | |
| 430 | - "manifestFile": "lake-manifest.json", | |
| 431 | - "inputRev": "main", | |
| 432 | - "inherited": true, | |
| 433 | - "configFile": "lakefile.lean"}, | |
| 434 | - {"url": "https://github.com/leanprover/lean4-cli", | |
| 99 | + "configFile": "lakefile.toml" | |
| 100 | + }, | |
| 101 | + { | |
| 102 | + "url": "https://github.com/leanprover/lean4-cli", | |
| 435 | 103 | "type": "git", |
| 436 | 104 | "subDir": null, |
| 437 | 105 | "scope": "leanprover", |
| @@ -440,157 +108,10 @@ | ||
| 440 | 108 | "manifestFile": "lake-manifest.json", |
| 441 | 109 | "inputRev": "v4.34.0", |
| 442 | 110 | "inherited": true, |
| 443 | - "configFile": "lakefile.toml"}, | |
| 444 | - {"url": "https://github.com/fgdorais/lean4-unicode-basic", | |
| 445 | - "type": "git", | |
| 446 | - "subDir": null, | |
| 447 | - "scope": "", | |
| 448 | - "rev": "0e569d08b6443ce0908d356884c765397253e2f0", | |
| 449 | - "name": "UnicodeBasic", | |
| 450 | - "manifestFile": "lake-manifest.json", | |
| 451 | - "inputRev": "main", | |
| 452 | - "inherited": true, | |
| 453 | - "configFile": "lakefile.lean"}, | |
| 454 | - {"url": "https://github.com/dupuisf/BibtexQuery", | |
| 455 | - "type": "git", | |
| 456 | - "subDir": null, | |
| 457 | - "scope": "", | |
| 458 | - "rev": "4d8616fd4870d0a3453d845770833eac7951fe1c", | |
| 459 | - "name": "BibtexQuery", | |
| 460 | - "manifestFile": "lake-manifest.json", | |
| 461 | - "inputRev": "master", | |
| 462 | - "inherited": true, | |
| 463 | - "configFile": "lakefile.toml"}, | |
| 464 | - {"url": "https://github.com/acmepjz/md4lean", | |
| 465 | - "type": "git", | |
| 466 | - "subDir": null, | |
| 467 | - "scope": "", | |
| 468 | - "rev": "31907cc18f48a95384f99cee5582c00fb39e0f67", | |
| 469 | - "name": "MD4Lean", | |
| 470 | - "manifestFile": "lake-manifest.json", | |
| 471 | - "inputRev": "main", | |
| 472 | - "inherited": true, | |
| 473 | - "configFile": "lakefile.lean"}, | |
| 474 | - {"url": "https://github.com/leanprover/hex-matrix.git", | |
| 475 | - "type": "git", | |
| 476 | - "subDir": null, | |
| 477 | - "scope": "", | |
| 478 | - "rev": "3ce0f3dcaf3b51a23af13aa15f8524f387aa015f", | |
| 479 | - "name": "HexMatrix", | |
| 480 | - "manifestFile": "lake-manifest.json", | |
| 481 | - "inputRev": "v0.5.0", | |
| 482 | - "inherited": true, | |
| 483 | - "configFile": "lakefile.toml"}, | |
| 484 | - {"url": "https://github.com/leanprover/hex-determinant.git", | |
| 485 | - "type": "git", | |
| 486 | - "subDir": null, | |
| 487 | - "scope": "", | |
| 488 | - "rev": "dedc6f2f05b28ebeb66bb74c6d50f8975a67fa2e", | |
| 489 | - "name": "HexDeterminant", | |
| 490 | - "manifestFile": "lake-manifest.json", | |
| 491 | - "inputRev": "v0.5.0", | |
| 492 | - "inherited": true, | |
| 493 | - "configFile": "lakefile.toml"}, | |
| 494 | - {"url": "https://github.com/leanprover/hex-row-reduce.git", | |
| 495 | - "type": "git", | |
| 496 | - "subDir": null, | |
| 497 | - "scope": "", | |
| 498 | - "rev": "e0457cf4a48eecc7c78922cef6f5f8616f0e9a42", | |
| 499 | - "name": "HexRowReduce", | |
| 500 | - "manifestFile": "lake-manifest.json", | |
| 501 | - "inputRev": "v0.5.0", | |
| 502 | - "inherited": true, | |
| 503 | - "configFile": "lakefile.toml"}, | |
| 504 | - {"url": "https://github.com/leanprover/hex-gram-schmidt.git", | |
| 505 | - "type": "git", | |
| 506 | - "subDir": null, | |
| 507 | - "scope": "", | |
| 508 | - "rev": "b429e7229f1af397373da1da5ad1b06c8f9a8287", | |
| 509 | - "name": "HexGramSchmidt", | |
| 510 | - "manifestFile": "lake-manifest.json", | |
| 511 | - "inputRev": "v0.5.0", | |
| 512 | - "inherited": true, | |
| 513 | - "configFile": "lakefile.toml"}, | |
| 514 | - {"url": "https://github.com/leanprover/hex-matrix-mathlib.git", | |
| 515 | - "type": "git", | |
| 516 | - "subDir": null, | |
| 517 | - "scope": "", | |
| 518 | - "rev": "60118ab8450fe128d4eb496ed27a83421081814a", | |
| 519 | - "name": "HexMatrixMathlib", | |
| 520 | - "manifestFile": "lake-manifest.json", | |
| 521 | - "inputRev": "v0.5.0", | |
| 522 | - "inherited": true, | |
| 523 | - "configFile": "lakefile.toml"}, | |
| 524 | - {"url": "https://github.com/leanprover/hex-bareiss-mathlib.git", | |
| 525 | - "type": "git", | |
| 526 | - "subDir": null, | |
| 527 | - "scope": "", | |
| 528 | - "rev": "cd1d120172a3476fdb43c4baf0d4e490a57d913a", | |
| 529 | - "name": "HexBareissMathlib", | |
| 530 | - "manifestFile": "lake-manifest.json", | |
| 531 | - "inputRev": "v0.5.0", | |
| 532 | - "inherited": true, | |
| 533 | - "configFile": "lakefile.toml"}, | |
| 534 | - {"url": "https://github.com/leanprover/hex-determinant-mathlib.git", | |
| 535 | - "type": "git", | |
| 536 | - "subDir": null, | |
| 537 | - "scope": "", | |
| 538 | - "rev": "001818150bfeffc8699696e5ae8733723959292b", | |
| 539 | - "name": "HexDeterminantMathlib", | |
| 540 | - "manifestFile": "lake-manifest.json", | |
| 541 | - "inputRev": "v0.5.0", | |
| 542 | - "inherited": true, | |
| 543 | - "configFile": "lakefile.toml"}, | |
| 544 | - {"url": "https://github.com/leanprover/hex-row-reduce-mathlib.git", | |
| 545 | - "type": "git", | |
| 546 | - "subDir": null, | |
| 547 | - "scope": "", | |
| 548 | - "rev": "22934275fd44d164042a961a7c181391eca57310", | |
| 549 | - "name": "HexRowReduceMathlib", | |
| 550 | - "manifestFile": "lake-manifest.json", | |
| 551 | - "inputRev": "v0.5.0", | |
| 552 | - "inherited": true, | |
| 553 | - "configFile": "lakefile.toml"}, | |
| 554 | - {"url": "https://github.com/leanprover/hex-gram-schmidt-mathlib.git", | |
| 555 | - "type": "git", | |
| 556 | - "subDir": null, | |
| 557 | - "scope": "", | |
| 558 | - "rev": "c5c8f0561e94b06af7a05e2938ecdc07bc02d325", | |
| 559 | - "name": "HexGramSchmidtMathlib", | |
| 560 | - "manifestFile": "lake-manifest.json", | |
| 561 | - "inputRev": "v0.5.0", | |
| 562 | - "inherited": true, | |
| 563 | - "configFile": "lakefile.toml"}, | |
| 564 | - {"url": "https://github.com/leanprover/hex-lll.git", | |
| 565 | - "type": "git", | |
| 566 | - "subDir": null, | |
| 567 | - "scope": "", | |
| 568 | - "rev": "5676b60afa8401aea99c77091e94152d07e9c222", | |
| 569 | - "name": "HexLLL", | |
| 570 | - "manifestFile": "lake-manifest.json", | |
| 571 | - "inputRev": "v0.5.0", | |
| 572 | - "inherited": true, | |
| 573 | - "configFile": "lakefile.lean"}, | |
| 574 | - {"url": "https://github.com/leanprover/hex-basic.git", | |
| 575 | - "type": "git", | |
| 576 | - "subDir": null, | |
| 577 | - "scope": "", | |
| 578 | - "rev": "38d0794d2a3dae4ca080b40e0694d212cc357f33", | |
| 579 | - "name": "HexBasic", | |
| 580 | - "manifestFile": "lake-manifest.json", | |
| 581 | - "inputRev": "v0.5.0", | |
| 582 | - "inherited": true, | |
| 583 | - "configFile": "lakefile.toml"}, | |
| 584 | - {"url": "https://github.com/leanprover/hex-arith.git", | |
| 585 | - "type": "git", | |
| 586 | - "subDir": null, | |
| 587 | - "scope": "", | |
| 588 | - "rev": "28ee623fae982665bc46301eaa50057c1ead224a", | |
| 589 | - "name": "HexArith", | |
| 590 | - "manifestFile": "lake-manifest.json", | |
| 591 | - "inputRev": "v0.5.0", | |
| 592 | - "inherited": true, | |
| 593 | - "configFile": "lakefile.lean"}], | |
| 111 | + "configFile": "lakefile.toml" | |
| 112 | + } | |
| 113 | + ], | |
| 594 | 114 | "name": "OAI", |
| 595 | 115 | "lakeDir": ".lake", |
| 596 | - "fixedToolchain": true} | |
| 116 | + "fixedToolchain": true | |
| 117 | +} | |
+34 −0 lakefile.toml added View file
| @@ -0,0 +1,34 @@ | ||
| 1 | +# This project's build: only Mathlib, at the commit openai/math's lake-manifest.json pins at 3344da59. openai/math's | |
| 2 | +# lakefile.lean requires some thirty other packages for its other results; the CM Hodge proof imports none of them. | |
| 3 | +name = "OAI" | |
| 4 | +version = "0.1.0" | |
| 5 | +fixedToolchain = true | |
| 6 | +defaultTargets = ["OAI", "HodgeConjecture", "ComparatorChallenges"] | |
| 7 | + | |
| 8 | +[leanOptions] | |
| 9 | +autoImplicit = false | |
| 10 | + | |
| 11 | +[[require]] | |
| 12 | +name = "mathlib" | |
| 13 | +git = "https://github.com/leanprover-community/mathlib4.git" | |
| 14 | +rev = "d13f23b723b8a846827a245b89c10fc7d3f11612" | |
| 15 | + | |
| 16 | +# the proof: every OAI module the solution imports | |
| 17 | +[[lean_lib]] | |
| 18 | +name = "OAI" | |
| 19 | +globs = ["OAI.+"] | |
| 20 | + | |
| 21 | +# the statement library the challenge imports, under its own module names (HodgeConjecture.*), as upstream keeps it | |
| 22 | +[[lean_lib]] | |
| 23 | +name = "HodgeConjecture" | |
| 24 | +srcDir = "ComparatorChallenges/HodgeConjectureCMAbelianVarieties" | |
| 25 | +globs = ["HodgeConjecture.+"] | |
| 26 | + | |
| 27 | +# the challenge, the CM condition it adds, and the solution Comparator checks against it | |
| 28 | +[[lean_lib]] | |
| 29 | +name = "ComparatorChallenges" | |
| 30 | +roots = [ | |
| 31 | + "ComparatorChallenges.HodgeConjectureCMAbelianVarieties.Challenge", | |
| 32 | + "ComparatorChallenges.HodgeConjectureCMAbelianVarieties.CM", | |
| 33 | + "ComparatorChallenges.HodgeConjectureCMAbelianVarieties.Solution", | |
| 34 | +] | |