Build and verification report

ビルド・検証報告

Comparison of the Alpöge version and the Sernau versionAlpöge 版と Sernau 版の比較

Two Lean texts prove the same five theorems: the project distributed at alpo.ge (Alpöge version) and the much shorter text of the repository lsernau/grh-lean (Sernau version). We ran the same analysis of the proof network on both and put the results side by side: how large each is, which parts of Mathlib each uses, whether their lemmas coincide, which sub-theories each builds, and what the shortening does to the build and to the check.

同じ 5 つの定理を証明する Lean のテキストが 2 つある.alpo.ge で配布されているプロジェクト(Alpöge 版)と,リポジトリ lsernau/grh-lean のはるかに短いテキスト(Sernau 版)である.両方に同じ証明ネットワークの解析を行い,結果を並べた.それぞれの規模,Mathlib のどの部分を使うか,補題が一致するか,どんな部分理論を組み立てているか,短縮がビルドと検査に何をもたらすかを示す.

This is one of the pages of the report “Independent build report on Alpöge’s Lean formal proof of the Riemann Hypothesis”. Its scope, and the pointer to the statement of the Lean and Mathlib communities, are on the page Overview.

このページは,報告「AlpögeによるRiemann予想のLean形式証明の独立ビルド報告」の一部である.報告の範囲と,Lean・Mathlib コミュニティの声明への案内は,ページ「概要」にある.

Data assembled: 2026-11-26. Page generated: 2026-11-26.

データ集約日:2026-11-26.ページ生成日:2026-11-26.

17Comparison of the Alpöge version and the Sernau versionAlpöge 版と Sernau 版の比較

Summary要約

What is compared, and how何を,どのように比べたか

Alpöge version: the Lean project distributed at alpo.ge, the subject of the other pages. Sernau version: the repository lsernau/grh-lean, a shorter Lean text by other authors that proves the same five theorems (Shorter proof); it has a readable and a compact edition, and the compact edition is the main side of the comparison here. Both were compiled by us, and the same tools were run on both compiled results: the dependency graph of declarations, the use of the library, the sub-theories found in the graph, and the indicators of the page Proof analysis.

Alpöge 版:alpo.ge で配布されている Lean プロジェクト(他のページの対象).Sernau 版:リポジトリ lsernau/grh-lean.別の作者による,同じ 5 つの定理を証明するより短い Lean のテキストである(短縮版).可読版と圧縮版があり,ここでは圧縮版を比較の主な対象にする.どちらも我々がコンパイルし,その結果に同じ道具を適用した:宣言の依存グラフ,ライブラリの使い方,グラフから見つかる部分理論,ページ「証明の解析」の指標である.

The comparison is structural. It counts declarations, proof terms, library results and coinciding statements; it does not say which text is better, and, as everywhere in this report, it does not assess the mathematics. The two projects pin different versions of Lean and of Mathlib, which limits some comparisons (see Limits). The maps of each proof network are on the pages Proof analysis (Alpöge version) and Sernau: proof (Sernau version, compact edition).

比較は構造についてのものである.宣言,証明項,ライブラリの結果,一致する言明を数える.どちらのテキストが優れているかは述べない.この報告の他の部分と同じく,数学的内容の評価も行わない.2 つのプロジェクトは Lean と Mathlib の版が違い,これが一部の比較を制限する(制約を参照).それぞれの証明ネットワークの可視化は,ページ「証明の解析」(Alpöge 版)と「Sernau 版の解析」(Sernau 版の圧縮版)にある.

Proof terms of the theorems the five theorems depend on5 つの定理が依存する定理の証明項
2,319 M vs 87.7 M23.2 億 対 0.88 億
expression nodes; Alpöge version 26 times the compact edition式のノード数.Alpöge 版は Sernau 版(圧縮版)の 26 倍
Mathlib and core declarations the Sernau version depends on that the Alpöge version also depends onSernau 版が依存するライブラリの宣言のうち,Alpöge 版も依存するもの
95%
99,884 of 105,283; the Alpöge version depends on 131,563105,283 個中 99,884 個.Alpöge 版が依存するのは 131,563 個
Statements of the Sernau version that also occur in the Alpöge versionSernau 版の言明のうち,Alpöge 版にも現れるもの
0.7%
58 of 8,802 distinct statements (compact edition), up to renaming of the project's own definitions8,802 個の異なる言明(圧縮版)のうち 58 個.プロジェクト自身の定義の名前の違いは無視
Words of the module names of the Sernau version that also occur in those of the Alpöge versionSernau 版のモジュール名の単語のうち,Alpöge 版にも現れるもの
96%
732 of 764 words764 語中 732 語

Size of the three texts3 つのテキストの規模

quantity量Alpöge versionAlpöge 版Sernau version, readable editionSernau 版(可読版)Sernau version, compact editionSernau 版(圧縮版)Alpöge version / compact editionAlpöge 版 ÷ 圧縮版
.lean files.lean ファイル175,187803794221 times221 倍
lines of code (without comments and blank lines)コードの行(コメントと空行を除く)15,531,759299,90276,149204 times204 倍
comment linesコメントの行0138,46620,333—
theorems written in the sourceソースに書かれた定理818,75518,2277,088116 times116 倍
constants of the project in the compiled resultコンパイル結果のプロジェクトの定数1,905,92164,45651,80437 times37 倍
of these, theoremsうち定理1,548,65554,02342,95836 times36 倍
of these, with a name of their own (not auxiliary)うち固有の名前を持つもの(補助でない)1,143,48829,41014,93477 times77 倍
the five theorems depend on: constants of the project5 つの定理の依存先:プロジェクトの定数1,265,27949,82337,56934 times34 倍
the five theorems depend on: constants of Mathlib5 つの定理の依存先:Mathlib の定数203,036160,785160,6271.3 times1.3 倍
proof terms of the project theorems among them (million nodes)そのうちプロジェクトの定理の証明項(百万ノード)2,319.085.787.726 times26 倍
share of the library in what the five theorems depend on5 つの定理の依存先に占めるライブラリの割合14%77%82%—

“Depends on” means: reached from one of the five theorems by following the references in statements and in proofs. The Alpöge version is compiled with Lean v4.33.1, the Sernau version with v4.35.0.

「依存先」は,5 つの定理のいずれかから,言明と証明の中の参照を辿って届く範囲である.Alpöge 版は Lean v4.33.1,Sernau 版は v4.35.0 でコンパイルした.

Use of Mathlib and of the core libraryMathlib とコアライブラリの使い方

Two sets are compared, by the names of the declarations. The first is every library declaration the five theorems depend on, however indirectly; much of it is the library's own internal dependency. The second is the library declarations that a declaration of the project refers to directly: the interface between the text of the proof and the library. Auxiliary declarations generated by Lean are left out.

2 つの集合を,宣言の名前で比べる.1 つ目は,5 つの定理が(間接的にでも)依存するライブラリの宣言すべてで,その多くはライブラリ内部の依存である.2 つ目は,プロジェクトの宣言が直接参照するライブラリの宣言で,証明のテキストとライブラリの接点に当たる.Lean が生成する補助の宣言は除いた.

edition of the Sernau version, and setSernau 版の版と,集合AlpögeAlpöge 版SernauSernau 版both両方only AlpögeAlpöge 版のみonly SernauSernau 版のみboth / Sernau両方 ÷ Sernau 版both / Alpöge両方 ÷ Alpöge 版
compact edition: depended on圧縮版:依存する宣言131,563105,28399,88431,6795,39995%76%
compact edition: referred to directly圧縮版:直接参照する宣言62,85828,44823,42739,4315,02182%37%
compact edition: theorems referred to directly圧縮版:直接参照する定理47,31019,52515,615——80%33%
readable edition: depended on可読版:依存する宣言131,563105,340100,21631,3475,12495%76%
readable edition: referred to directly可読版:直接参照する宣言62,85829,31424,78138,0774,53385%39%
Figure 53. Library declarations referred to directly by the project, by area of the library (the first two components of the module name), for the Alpöge version and the compact edition of the Sernau version.図 53. プロジェクトが直接参照するライブラリの宣言を,ライブラリの分野(モジュール名の先頭 2 要素)ごとに示す.Alpöge 版と Sernau 版(圧縮版)の比較.
referred to directly by both両方が直接参照only by the Alpöge versionAlpöge 版のみonly by the Sernau version (compact edition)Sernau 版(圧縮版)のみ
declarations宣言数Mathlib.Algebra14,673Mathlib.RingTheory8,144Mathlib.Analysis6,439Mathlib.Data6,056Mathlib.Topology5,837Mathlib.CategoryTheory3,873Mathlib.LinearAlgebra3,718Init3,356Mathlib.MeasureTheory3,295Mathlib.Order2,492Mathlib.AlgebraicGeometry2,479Mathlib.NumberTheory2,192Mathlib.GroupTheory1,374Mathlib.FieldTheory1,060Mathlib.Logic786Mathlib.RepresentationTheory621Mathlib.Tactic433Mathlib.SetTheory247
Data tableデータ表
area分野referred to directly by both両方が直接参照only by the Alpöge versionAlpöge 版のみonly by the Sernau version (compact edition)Sernau 版(圧縮版)のみ
Mathlib.Algebra5,9647,4951,214
Mathlib.RingTheory2,4665,354324
Mathlib.Analysis1,9904,082367
Mathlib.Data2,3463,296414
Mathlib.Topology1,9883,425424
Mathlib.CategoryTheory9072,646320
Mathlib.LinearAlgebra1,4981,973247
Init1,4331,361562
Mathlib.MeasureTheory1,1601,883252
Mathlib.Order8281,409255
Mathlib.AlgebraicGeometry4721,97631
Mathlib.NumberTheory6771,41897
Mathlib.GroupTheory475753146
Mathlib.FieldTheory26774548
Mathlib.Logic37232886
Mathlib.RepresentationTheory845334
Mathlib.Tactic29611126
Mathlib.SetTheory931459

Do the statements coincide?言明は一致するか

For every theorem of the project that the five theorems depend on and that has a name of its own, we hashed its statement after replacing the project's own definitions by numbered placeholders. Two theorems then get the same hash exactly when their statements are the same expression up to a consistent renaming of project definitions; library declarations are compared by name. For the Alpöge version the hashes come from the tree of commit f1f6d654 of the community repository, which is the distributed tree with unreachable files removed and about twenty files edited (the same tree as for the indicators on Proof analysis).

5 つの定理が依存し,固有の名前を持つプロジェクトの定理のそれぞれについて,プロジェクト自身の定義を番号つきの仮の記号に置き換えたうえで,言明のハッシュを取った.2 つの定理のハッシュが一致するのは,プロジェクトの定義の名前を一貫して付け替えれば言明が同じ式になるときである.ライブラリの宣言は名前で比べる.Alpöge 版のハッシュは,コミュニティのリポジトリのコミット f1f6d654 のツリーから取った.これは配布時のツリーから届かないファイルを除き,約 20 ファイルを編集したもので,「証明の解析」の指標に用いたツリーと同じである.

pair (first, second)組(1 つ目,2 つ目)theorems of the first1 つ目の定理distinct statements異なる言明theorems of the second2 つ目の定理distinct statements異なる言明statements in both両方にある言明share of the second2 つ目に占める割合of these, about library notions only (second side: matched of all)うちライブラリの概念だけの言明(2 つ目の側:一致 / 全体)
Alpöge version and Sernau version, compact editionAlpöge 版 と Sernau 版(圧縮版)682,617531,2208,8518,802580.7%19 of 58919 / 589
Alpöge version and Sernau version, readable editionAlpöge 版 と Sernau 版(可読版)682,617531,22020,49820,3441010.5%34 of 1,37334 / 1,373
Sernau version, readable edition and Sernau version, compact editionSernau 版(可読版) と Sernau 版(圧縮版)20,49820,3448,8518,8022,77531.5%250 of 589250 / 589
The largest coinciding statements (Alpöge version and compact edition)一致する言明のうち大きいもの(Alpöge 版と圧縮版)
theorem in the Sernau versionSernau 版の定理theorem in the Alpöge versionAlpöge 版の定理size of the statement (nodes)言明の大きさ(ノード)about library notions onlyライブラリの概念だけの言明
Lift.exists_algHom_X_eqGlobalTheory.PowerSeriesAdicEval.exists_algHom_apply_X182yesはい
PeriodPair.exists_weierstrassP_eq_of_cubicGlobalTheory.exists_weierstrassP_eq_and_derivWeierstrassP_eq147yesはい
coeff_taylorAtZeroFormalism.L2.Th1.F.Taylor.coeff_taylor0130noいいえ
half_mem_lattice_iff_evenGlobalTheory.Vacuum.Parity.half_mem_iff126yesはい
mem_OCIntegralComplexMem.Bridge.RingBasics.mem_OC122yesはい
exists_lattice_of_g₂_g₃GlobalTheory.LatticeInvariants.exists_periodPair_of_invariants117yesはい
weierstrass_disc_ne_zeroGlobalTheory.g₂_cube_sub_g₃_sq_ne_zero99yesはい
taylorAtZero_powGlobalTheory.WpSeries.tay_pow97noいいえ

Sub-theories of the two projects2 つのプロジェクトの部分理論

The two projects organise their files differently, so their folders cannot be matched one to one. Three views are given: the largest folders of each, the words that occur in the module names, and the clusters that a community-detection algorithm finds in each dependency graph.

2 つのプロジェクトはファイルの整理のしかたが違うので,フォルダを 1 対 1 に対応させることはできない.3 つの見方を示す:それぞれの最大のフォルダ,モジュール名に現れる単語,依存グラフからコミュニティ検出のアルゴリズムが見つけるクラスタである.

Alpöge version: the 8 largest of 310 folders, by proof terms

Alpöge 版:310 個のフォルダのうち,証明項の大きい 8 個

folderフォルダdeclarations with a name of their own固有の名前を持つ宣言theorems定理values (million nodes)値の式(百万ノード)share割合
Development.AbelianVarietyTheory347,214463,0031,177.549%
Development.AutomorphicArithmetic50,469107,107319.513%
Development.AutomorphicSpectrum58,85073,768150.46%
Development.WeilBound53,97566,774150.36%
Formalism.LocalToGlobal57,54666,988108.55%
Formalism.SharpRestriction39,44749,52299.04%
Formalism.HermitianCurvature29,80239,27564.73%
GroundTheory.HeightsAndTheta23,30227,47750.62%

Sernau version, compact edition: the 8 largest of 40 folders, by proof terms

Sernau 版(圧縮版):40 個のフォルダのうち,証明項の大きい 8 個

folderフォルダdeclarations with a name of their own固有の名前を持つ宣言theorems定理values (million nodes)値の式(百万ノード)share割合
New.Exchange3651,1607.68%
New.Filling6161,7607.07%
Lib.Shimura9961,9126.87%
Lib.Weil1,2832,8216.87%
Lib.DiscreteSeries7471,8985.66%
Lib.Cohomology8241,3565.26%
Lib.ClassField8071,6084.45%
Lib.GaloisRep2619514.25%

In the Alpöge version one folder, Development.AbelianVarietyTheory, holds 49% of the proof terms. In the Sernau version the largest folder holds 8%. Only declarations the five theorems depend on are counted.

Alpöge 版では,1 つのフォルダ Development.AbelianVarietyTheory が証明項の 49% を占める.Sernau 版では,最大のフォルダでも 8% である.数えたのは,5 つの定理が依存する宣言だけである.

Words in the module names

モジュール名の単語

The names of the folders and files were split into words (SiegelWeil gives “siegel” and “weil”). The Alpöge version has 7,236 different words, the compact edition 764; 732 occur in both. Weighted by the number of declarations in the modules, the common words cover 98% of the compact edition and 62% of the Alpöge version.

フォルダとファイルの名前を単語に分けた(SiegelWeil は「siegel」と「weil」になる).Alpöge 版には 7,236 種類,圧縮版には 764 種類の単語があり,732 種類が両方に現れる.モジュール内の宣言の数で重みを付けると,共通の単語は圧縮版の 98%,Alpöge 版の 62% を占める.

words単語examples, most frequent first例(頻度の高い順)
in both両方に現れるlocal, theta, weil, geometry, unitary, cohomology, period, level, groups, bound, integral, galois, series, forms, siegel, finite, dual, group, zero, real, point, etale, sum, formula
only in the Alpöge versionAlpöge 版のみvariety, automorphic, divisor, spectrum, eigenvalues, curvature, integrals, varieties, reductive, decorated, span, satake, pow, representations, archimedean
only in the compact edition of the Sernau versionSernau 版(圧縮版)のみflensted, magnitudes, corepresentable, subfunctors, pseudocharacter, gradings, upsilon, albert, killers, kolyvagin, alternants, combinatorics, ostrowski, bordering, avatars, eigenchar

Generic words (“theory”, “proofs”, “definitions”, …) are left out of the examples. The words are those the authors of each text chose as names; a shared word shows a shared subject, not a shared proof.

例からは一般的な単語(theory,proofs,definitions など)を除いた.単語は,それぞれのテキストの作者が名前として選んだものである.単語が共通であることは,対象が共通であることを示すが,証明が共通であることは示さない.

Clusters of the dependency graphs

依存グラフのクラスタ

textテキストdeclarations in the graphグラフの宣言communities found見つかったコミュニティmodularityモジュラリティagreement with the folders (NMI)フォルダとの一致度(NMI)the five largest clusters, named after their most frequent folders最大の 5 つのクラスタ(最も多いフォルダの名前で表示)
Alpöge versionAlpöge 版1,265,2791,5400.800.50TwistedOperators + DecoratedLatticeProofs; DivisorProofs + DegenerationProofs + UniformizationProofs; Convolution + ArchimedeanBaseChange + PositivityTheory; HermitianCurvatureProofs (files); FlagMeasures + CokernelGLCounts + ClosedLocalOrbits
Sernau version, readable editionSernau 版(可読版)49,823640.710.54Construction + DualPair + MixedModel; Frames + Unfolding + RemainingTerms; AuxiliaryForms + Data + Objects; Uniformisation + ThetaModuli + Geometry; FirstOrder + Selmer + GreenbergWiles
Sernau version, compact editionSernau 版(圧縮版)37,569530.710.52Construction + MixedModel + DualPair; Places + Selmer + GaloisCohomology; Exchange + Data + Rows; Filling + RealPlace + Bruhat; Uniformisation + Geometry + Sigma

Leiden algorithm on the graph of the project declarations that the five theorems depend on, as on the page Proof analysis. In all three texts the graph splits into communities with a modularity above 0.7, and the communities follow the folders only partly.

「証明の解析」と同じく,5 つの定理が依存するプロジェクトの宣言のグラフに Leiden 法を適用した.3 つのテキストのどれでも,グラフはモジュラリティ 0.7 以上のコミュニティに分かれ,コミュニティはフォルダと部分的にしか一致しない.

Shape of the proof networks証明ネットワークの形

quantity量Alpöge version (tree f1f6d654)Alpöge 版(ツリー f1f6d654)Sernau version, readable editionSernau 版(可読版)Sernau version, compact editionSernau 版(圧縮版)
declarations of the project the five theorems depend on (auxiliary constants merged into their parents)5 つの定理が依存するプロジェクトの宣言(補助の定数は親にまとめる)862,34226,85313,625
library declarations they depend on依存するライブラリの宣言143,877118,005117,103
largest distance from the five theorems (references followed)5 つの定理からの最大の距離(参照を辿る回数)514335
longest chain of dependencies inside the projectプロジェクト内の依存の最長の鎖157128104
depth of the dominator tree支配木の深さ473431
project declarations used by exactly one other declarationちょうど 1 つの宣言からだけ使われるプロジェクトの宣言446,8839,2151,955
theorems whose statement mentions library notions only言明がライブラリの概念だけからなる定理107,4411,513747
their share of the theorems of the projectプロジェクトの定理に占める割合12.4%6.8%7.7%
theorems that repeat the statement of another theorem up to renaming名前の付け替えを除いて他の定理と同じ言明の定理23.0%0.9%0.7%
theorems that are a second copy of the same statement and proof shape言明と証明の形が同じ 2 つ目以降の写しである定理117,686121
The spine: declarations through which every path from the five theorems passes背骨:5 つの定理からのどの経路も通る宣言

For each text, the chain of declarations that dominate the most of the proof: every dependency path from the five theorems to the declarations counted in the second column passes through the declaration.

それぞれのテキストについて,証明の最も多くを支配する宣言の列.2 列目に数えた宣言へ 5 つの定理から届く依存の経路は,すべてその宣言を通る.

Alpöge version (tree f1f6d654)Alpöge 版(ツリー f1f6d654)declarations reached only through itそれを通ってのみ届く宣言Sernau version, compact editionSernau 版(圧縮版)declarations reached only through itそれを通ってのみ届く宣言
allChi955,714New.grh78,324
UpperTheory.FinalTheorems.everyCharacter955,713eventually_primeError_le_rpow68,060
UpperTheory.FinalTheorems.everyCharacter_of_row669,635star_inequality40,494
UpperTheory.LiteratureTh…every_character_of_literature_of_vWin581,408sphericalCompat_of_odd18,494
UpperTheory.Lit.every_ch…ter_of_theta_integrals_local_matching357,258sphericalCompat_of_split18,308
UpperTheory.Lit.nonempty_hyps_definite_side_of_closed_bound296,209exists_rep_of_cuspidal_type18,065
GlobalTheory.Fc.S0.Stage…_nonempty_of_unramified_exponents_alt100,714Model.exists_galois_rep7,597
GlobalTheory.Fc.AllAtMemberStage0.allRows_of_open0_alt37,054CategoryTheory.IsGrothendieckAbelian.enoughInjectives1,275

The shortening has two steps短縮は 2 つの段階からなる

The Sernau version has two editions, and the two steps (Alpöge version → readable edition → compact edition) change different things.

Sernau 版には 2 つの版があり,2 つの段階(Alpöge 版 → 可読版 → 圧縮版)で変わるものが違う.

quantity量Alpöge versionAlpöge 版Sernau version, readable editionSernau 版(可読版)Sernau version, compact editionSernau 版(圧縮版)first step第 1 段階second step第 2 段階
lines of codeコードの行15,531,759299,90276,149÷ 51.8÷ 51.8÷ 3.9÷ 3.9
theorems written in the sourceソースに書かれた定理818,75518,2277,088÷ 44.9÷ 44.9÷ 2.6÷ 2.6
project constants the five theorems depend on5 つの定理が依存するプロジェクトの定数1,265,27949,82337,569÷ 25.4÷ 25.4÷ 1.3÷ 1.3
proof terms of the theorems among them (million nodes)そのうち定理の証明項(百万ノード)2,319.085.787.7÷ 27.1÷ 27.1× 1.02× 1.02
export that Comparator replays (GB)Comparator が再生するエクスポート(GB)61.64.55.2÷ 13.7÷ 13.7× 1.15× 1.15
work of the build: sum of the module times (core-hours)ビルドの仕事量:モジュール時間の和(コア時間)399.53.24.4÷ 125.0÷ 125.0× 1.38× 1.38
Figure 54. What the second step changes: values of the compact edition as a percentage of the readable edition. The text shrinks; what Lean produces from it does not; the build takes longer.図 54. 第 2 段階で変わるもの:圧縮版の値を,可読版に対する百分率で示す.テキストは縮むが,Lean がそこから作るものは縮まず,ビルドは長くなる.
compact edition / readable edition圧縮版 ÷ 可読版lines of code25%characters of code32%theorems in the source39%project constants (compiled)80%proof terms102%.olean files115%export for Comparator115%work of the build138%lake build, wall-clock123%

Row labels are in English in both languages: lines of code, characters of code, theorems in the source, project constants in the compiled result, proof terms of the theorems the five theorems depend on, size of the .olean files, export for Comparator, work of the build (sum of the module times), wall-clock time of lake build at 64 threads.

行の見出しは英語のまま表示している.上から,コードの行,コードの文字数,ソースに書かれた定理,コンパイル結果のプロジェクトの定数,5 つの定理が依存する定理の証明項,.olean ファイルの大きさ,Comparator のエクスポート,ビルドの仕事量(モジュール時間の和),64 スレッドでの lake build の実時間.

Occurrences of tactics per 1,000 lines of codeコード 1,000 行あたりのタクティクの出現数
word語Alpöge versionAlpöge 版Sernau version, readable editionSernau 版(可読版)Sernau version, compact editionSernau 版(圧縮版)
rw114.449.814.7
exact69.835.611.5
have143.8118.057.6
calc2.68.50.1
simp47.175.1167.5
simp_all0.11.626.8
only22.814.72.3
grind0.05.935.5
aesop0.01.316.5
fun_prop0.56.515.3
; between tactics on one line1 行の中でタクティクを区切る ;30.61.0100.3
<;><;>7.43.841.9

Counted in the lines of code (comments removed), at word boundaries. only is mostly simp only, the form that lists the lemmas to use. The Alpöge version, written for Lean 4.33, uses neither grind nor aesop.

コードの行(コメントを除く)の中で,語の区切りで数えた.only は主に simp only(使う補題を列挙する形)である.Lean 4.33 向けに書かれた Alpöge 版は,grind も aesop も使っていない.

One lemma in the two editions (classSum_pos; readable edition src/Lib/Adelic/Hecke/ClassSums.lean, compact edition src/Lib/Adelic/Hecke/ClassMean.lean; the repository is under the Apache 2.0 licence). The proof in the readable edition:

2 つの版での同じ補題の例(classSum_pos.可読版は src/Lib/Adelic/Hecke/ClassSums.lean,圧縮版は src/Lib/Adelic/Hecke/ClassMean.lean.リポジトリのライセンスは Apache 2.0).可読版での証明:

  rw [classSum, finsum_eq_sum_of_fintype]
  have h_weight (q : DoubleCosets Γ K) : (0 : ℚ) < (Nat.card (classAut Γ K q.out) : ℚ)⁻¹ :=
    inv_pos.2 (Nat.cast_pos.2 Nat.card_pos)
  exact sum_pos' (fun q _ ↦ smul_nonneg (h_weight q).le (h_nonneg _))
    ⟨c, mem_univ c, smul_pos (h_weight c) hc⟩

and in the compact edition:

圧縮版での証明:

  simp_all [sum_pos_iff_of_nonneg, smul_nonneg]; use c; positivity

Build and checkビルドと検査

quantity量Alpöge versionAlpöge 版Sernau version, readable editionSernau 版(可読版)Sernau version, compact editionSernau 版(圧縮版)
modulesモジュール175,187803794
work: sum of the module times (core-hours)仕事量:モジュール時間の和(コア時間)399.53.24.4
longest chain of imports最長の依存の鎖49 min 06 s49 分 06 秒12 min 23 s12 分 23 秒15 min 14 s15 分 14 秒
lake build at 64 threads64 スレッドでの lake build6 h 24 min6 時間 24 分12 min 42 s12 分 42 秒15 min 35 s15 分 35 秒
seconds of compilation per 1,000 lines of codeコード 1,000 行あたりのコンパイル時間(秒)9338209
export of the five theorems and their dependencies (GB)5 つの定理とその依存先のエクスポート(GB)61.64.55.2
Comparator: replay with nanoda (4 threads)Comparator:nanoda による再生(4 スレッド)1 h 58 min1 時間 58 分7 min 02 s7 分 02 秒8 min 03 s8 分 03 秒
Comparator: replay with the Lean default kernelComparator:Lean の既定のカーネルによる再生73 h 14 min73 時間 14 分38 min 41 s38 分 41 秒44 min 16 s44 分 16 秒
Comparator: largest memory of its processComparator:プロセスのメモリの最大値296 GiB14.2 GiB13.6 GiB

Limits of the comparison比較の制約

The dumps, maps, indicators and the comparison of the Sernau version took 7 short jobs, 0.38 GPU-hours (113 yen) in all; the builds and Comparator runs are listed on the page Shorter proof.

Sernau 版の依存グラフの書き出し,地図,指標,比較には,短いジョブを 7 本,合計 0.38 GPU 時間(113 円)使った.ビルドと Comparator の実行は「短縮版」のページにある.