Build and verification report

ビルド・検証報告

Build analysisビルドの解析

Statistics of the build of step 1, computed from its logs, and the file structure of the sources. The record of the build itself (what was run, the outcome, the jobs, time and cost) is on the overview page.

工程 1 のビルドのログから計算した統計と,ソースのファイル構造を示す.ビルドそのものの記録(実行した内容,結果,ジョブ,時間,費用)は概要のページにある.

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.

5Statistics of the buildビルドの統計

This section gives the statistics of the build of step 1, whose record is in section 2. They are computed from the verbose build logs and the progress logs of the three build jobs by analysis/build_log_stats.py.

この節は,工程 1 のビルド(記録は第 2 節)の統計を示す.統計は,3 つのビルドジョブの詳細ビルドログと進捗ログから analysis/build_log_stats.py により計算した.

Progress over time時間経過

Figure 2. Number of modules built against elapsed time, from the progress log (one sample per minute). The 3 runs are placed one after another; a numbered vertical line marks the start of each run (order as in the data table). The project has 175,187 modules in total.図 2. 経過時間に対するビルド済みモジュール数(進捗ログより,毎分 1 点).3 回の実行を順に並べてあり,番号つきの縦線は各実行の開始を示す(順序はデータ表のとおり).プロジェクトの総モジュール数は 175,187 である.
modules built (.olean files present)ビルド済みモジュール数(存在する .olean ファイル数)050K100K150K200K0246elapsed time of the build jobs, summed over runs (hours)ビルドジョブの経過時間(実行をまたいで累積,時間)123
Data tableデータ表
##run実行elapsed in run実行内の経過時間cumulative累積modules builtビルド済みモジュール数
120261121-011419-build-pilot4 min 17 s4 分 17 秒4 min 17 s4 分 17 秒293
120261121-011419-build-pilot14 min 18 s14 分 18 秒14 min 18 s14 分 18 秒2,681
220261121-015517-build10 min 17 s10 分 17 秒28 min 23 s28 分 23 秒5,133
320261121-020627-build12 min 47 s12 分 47 秒41 min 52 s41 分 52 秒9,568
320261121-020627-build22 min 50 s22 分 50 秒51 min 55 s51 分 55 秒14,066
320261121-020627-build32 min 54 s32 分 54 秒1 h 02 min1 時間 02 分18,941
320261121-020627-build42 min 58 s42 分 58 秒1 h 12 min1 時間 12 分23,423
320261121-020627-build53 min 02 s53 分 02 秒1 h 22 min1 時間 22 分27,881
320261121-020627-build1 h 03 min1 時間 03 分1 h 32 min1 時間 32 分32,794
320261121-020627-build1 h 13 min1 時間 13 分1 h 42 min1 時間 42 分36,845
320261121-020627-build1 h 23 min1 時間 23 分1 h 52 min1 時間 52 分41,589
320261121-020627-build1 h 33 min1 時間 33 分2 h 02 min2 時間 02 分46,571
320261121-020627-build1 h 43 min1 時間 43 分2 h 12 min2 時間 12 分51,180
320261121-020627-build1 h 54 min1 時間 54 分2 h 23 min2 時間 23 分55,991
320261121-020627-build2 h 04 min2 時間 04 分2 h 33 min2 時間 33 分61,020
320261121-020627-build2 h 14 min2 時間 14 分2 h 43 min2 時間 43 分65,826
320261121-020627-build2 h 24 min2 時間 24 分2 h 53 min2 時間 53 分70,932
320261121-020627-build2 h 34 min2 時間 34 分3 h 03 min3 時間 03 分76,074
320261121-020627-build2 h 44 min2 時間 44 分3 h 13 min3 時間 13 分80,717
320261121-020627-build2 h 54 min2 時間 54 分3 h 23 min3 時間 23 分85,349
320261121-020627-build3 h 04 min3 時間 04 分3 h 33 min3 時間 33 分90,001
320261121-020627-build3 h 14 min3 時間 14 分3 h 43 min3 時間 43 分94,840
320261121-020627-build3 h 24 min3 時間 24 分3 h 54 min3 時間 54 分99,282
320261121-020627-build3 h 35 min3 時間 35 分4 h 04 min4 時間 04 分104,129
320261121-020627-build3 h 45 min3 時間 45 分4 h 14 min4 時間 14 分108,339
320261121-020627-build3 h 55 min3 時間 55 分4 h 24 min4 時間 24 分112,257
320261121-020627-build4 h 05 min4 時間 05 分4 h 34 min4 時間 34 分117,071
320261121-020627-build4 h 15 min4 時間 15 分4 h 44 min4 時間 44 分120,906
320261121-020627-build4 h 25 min4 時間 25 分4 h 54 min4 時間 54 分125,981
320261121-020627-build4 h 35 min4 時間 35 分5 h 04 min5 時間 04 分130,600
320261121-020627-build4 h 45 min4 時間 45 分5 h 15 min5 時間 15 分134,788
320261121-020627-build4 h 56 min4 時間 56 分5 h 25 min5 時間 25 分138,954
320261121-020627-build5 h 06 min5 時間 06 分5 h 35 min5 時間 35 分143,082
320261121-020627-build5 h 16 min5 時間 16 分5 h 45 min5 時間 45 分147,323
320261121-020627-build5 h 26 min5 時間 26 分5 h 55 min5 時間 55 分152,301
320261121-020627-build5 h 36 min5 時間 36 分6 h 05 min6 時間 05 分157,350
320261121-020627-build5 h 46 min5 時間 46 分6 h 15 min6 時間 15 分162,821
320261121-020627-build5 h 57 min5 時間 57 分6 h 26 min6 時間 26 分167,912
320261121-020627-build6 h 07 min6 時間 07 分6 h 36 min6 時間 36 分172,200
320261121-020627-build6 h 17 min6 時間 17 分6 h 46 min6 時間 46 分175,105
320261121-020627-build6 h 23 min6 時間 23 分6 h 52 min6 時間 52 分175,186

Build time per moduleモジュールごとのビルド時間

Lake reports a build time for every module it builds. Over the 175,186 modules in the analysed logs, the median is 6.7 s, 99% of the modules took at most 33 s, and the slowest took 657 s. The sum of all per-module times is 403 h 11 min.

Lake はビルドした各モジュールについてビルド時間を報告する.解析したログ中の 175,186 モジュールについて,中央値は 6.7 秒,99% のモジュールは 33 秒以下,最も遅いものは 657 秒であった.モジュールごとの時間の総和は 403 時間 11 分 である.

Figure 3. Distribution of the build time per module. The bins are logarithmically spaced; a tick marks the lower end of the bin to its right.図 3. モジュールごとのビルド時間の分布.ビンは対数間隔で,目盛りはその右側のビンの下端を示す.
modulesモジュール数050K100K150K0.10.31310301003001,0003,000build time per module (seconds, log-spaced bins)モジュールごとのビルド時間(秒,対数間隔のビン)1426144,67128,4211,86018716
Data tableデータ表
build timeビルド時間modulesモジュール数
< 0.1 s0.1 秒未満0
0.1–0.3 s0.1–0.3 秒1
0.3–1 s0.3–1 秒4
1–3 s1–3 秒26
3–10 s3–10 秒144,671
10–30 s10–30 秒28,421
30–100 s30–100 秒1,860
100–300 s100–300 秒187
300–1,000 s300–1,000 秒16
1,000–3,000 s1,000–3,000 秒0
≥ 3,000 s3,000 秒以上0
quantity量n個数mean平均median中央値90%90%99%99%99.9%99.9%max最大
build time per module (s)モジュールごとのビルド時間(秒)175,1868.296.701233107657

Build time by componentコンポーネント別のビルド時間

A component is a top-level directory of the sources. The two panels show the same components, ordered by total build time.

コンポーネントとはソースの最上位ディレクトリのことである.2 つのパネルは同じコンポーネントを,合計ビルド時間の順に並べて示す.

Figure 4. Sum of per-module build times by component (h).図 4. コンポーネント別の,モジュールごとのビルド時間の合計(h).
Development325.97Formalism42.99GroundTheory20.45ReciprocityTheory8.11CompanionTheory4.03PositivityTheory1.33Lemmata0.26Supplements0.02Main0.01Statements< 0.01BuildAid< 0.01
Figure 5. Modules built by component.図 5. コンポーネント別のビルドしたモジュール数.
Development141,928Formalism18,254GroundTheory8,507ReciprocityTheory3,844CompanionTheory2,027PositivityTheory449Lemmata167Supplements3Main1Statements1BuildAid5
Data tableデータ表
componentコンポーネントmodules builtビルドしたモジュール数sum of times時間の合計mean (s)平均(秒)max (s)最大(秒)
Development141,928325 h 58 min325 時間 58 分8.27657
Formalism18,25443 h 00 min43 時間 00 分8.48307
GroundTheory8,50720 h 27 min20 時間 27 分8.65456
ReciprocityTheory3,8448 h 07 min8 時間 07 分7.6072
CompanionTheory2,0274 h 02 min4 時間 02 分7.1698
PositivityTheory4491 h 20 min1 時間 20 分10.6838
Lemmata16715 min 53 s15 分 53 秒5.7111
Supplements31 min 00 s1 分 00 秒20.0023
Main123 s23 秒23.0023
Statements14.7 s4.7 秒4.704.7
BuildAid51.5 s1.5 秒0.310.3
Second-level directories by build time (60 largest)第 2 階層ディレクトリ別のビルド時間(上位 60)
directoryディレクトリmodules builtビルドしたモジュール数sum of times時間の合計
Development.AbelianVarietyTheory99,187224 h 51 min224 時間 51 分
Development.AutomorphicArithmetic18,43149 h 17 min49 時間 17 分
Development.AutomorphicSpectrum15,14730 h 04 min30 時間 04 分
Development.WeilBound7,05117 h 40 min17 時間 40 分
Formalism.LocalToGlobal5,50113 h 19 min13 時間 19 分
GroundTheory.HeightsAndTheta6,41011 h 57 min11 時間 57 分
Formalism.SharpRestriction3,0938 h 29 min8 時間 29 分
Formalism.PeriodIntegrals4,3508 h 13 min8 時間 13 分
ReciprocityTheory.ReductiveGroups2,7986 h 01 min6 時間 01 分
Formalism.HermitianCurvature1,9224 h 51 min4 時間 51 分
Development.EtaleCohomology1,3982 h 43 min2 時間 43 分
CompanionTheory.SpectralGeometry1,2542 h 19 min2 時間 19 分
GroundTheory.ProfiniteCohomology4502 h 13 min2 時間 13 分
GroundTheory.AutomorphicForms5421 h 46 min1 時間 46 分
GroundTheory.PAdicHodge2261 h 38 min1 時間 38 分
PositivityTheory.AutomorphicForms4451 h 20 min1 時間 20 分
GroundTheory.ArithmeticGeometry2181 h 09 min1 時間 09 分
Formalism.GL3MeanSquares4401 h 06 min1 時間 06 分
GroundTheory.GlobalFields3841 h 00 min1 時間 00 分
CompanionTheory.AutomorphicTheory45757 min 47 s57 分 47 秒
Development.ResolutionOfSingularities49956 min 07 s56 分 07 秒
Formalism.WachLatticeTwists26255 min 26 s55 分 26 秒
Formalism.ThetaLogCoordinates29236 min 37 s36 分 37 秒
Formalism.AdmissibleDesigns9332 min 44 s32 分 44 秒
ReciprocityTheory.L2DbarEstimates22728 min 16 s28 分 16 秒
Formalism.LocalRingCardinality17327 min 04 s27 分 04 秒
Development.DiscreteGroups21526 min 48 s26 分 48 秒
GroundTheory.LocalFields15926 min 43 s26 分 43 秒
ReciprocityTheory.AnalyticForms19224 min 07 s24 分 07 秒
CompanionTheory.RealGroups15521 min 18 s21 分 18 秒
ReciprocityTheory.DualLattices18320 min 58 s20 分 58 秒
CompanionTheory.HarishChandraModules13019 min 16 s19 分 16 秒
Formalism.PieriBlockIdeals9813 min 31 s13 分 31 秒
ReciprocityTheory.SemistableReduction11913 min 18 s13 分 18 秒
Formalism.SizeWindowBrackets6412 min 45 s12 分 45 秒
Formalism.FlagUnipotentLattices7712 min 36 s12 分 36 秒
ReciprocityTheory.ClassFieldTheory9111 min 47 s11 分 47 秒
Formalism.SatakeDualWeyl8511 min 00 s11 分 00 秒
Formalism.PadicSubsetSums8210 min 16 s10 分 16 秒
Formalism.GaussJetBounds909 min 51 s9 分 51 秒
Formalism.GradedWeylDivisibility1039 min 37 s9 分 37 秒
Formalism.LandauZeroFreeBounds589 min 19 s9 分 19 秒
Formalism.MahlerMeasure548 min 34 s8 分 34 秒
Formalism.CharacterColumnKernels548 min 26 s8 分 26 秒
Formalism.PolynomialDimension418 min 04 s8 分 04 秒
GroundTheory.TateCohomology567 min 55 s7 分 55 秒
Formalism.QuotientMetricDivisors637 min 42 s7 分 42 秒
Formalism.EllipticTorsion486 min 52 s6 分 52 秒
Formalism.HarderNarasimhan436 min 46 s6 分 46 秒
ReciprocityTheory.GroupCohomology566 min 04 s6 分 04 秒
Formalism.RealPlaceAnalysis545 min 57 s5 分 57 秒
Formalism.FrobeniusOrbits325 min 41 s5 分 41 秒
Formalism.DistinguishedUnitIdeals445 min 40 s5 分 40 秒
ReciprocityTheory.Chebotarev475 min 15 s5 分 15 秒
Formalism.HermitianLattices435 min 02 s5 分 02 秒
Formalism.UnipotentAdelicQuotients444 min 46 s4 分 46 秒
ReciprocityTheory.GeometryOfNumbers394 min 33 s4 分 33 秒
Formalism.TruncatedSeriesCounting394 min 20 s4 分 20 秒
Formalism.ZeroFreeRegion344 min 14 s4 分 14 秒
Formalism.FilteredPoleLength364 min 03 s4 分 03 秒

Slowest modules最も遅いモジュール

##moduleモジュールbuild time (s)ビルド時間(秒)
1Development.AbelianVarietyTheory.Pr…Eigenvalues.HeckeCharacterisationTransferMovedReadings657
2Development.AbelianVarietyTheory.Definitions.AutomorphicMembership.OmPinsTr470
3GroundTheory.PAdicHodge.BCrisGalois456
4Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.IsRecGOfIsLocalFamily452
5Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.H1fClassWachPairJumps437
6Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ChartTiedLevelChain389
7Development.AbelianVarietyTheory.Pr…ionProofs.ExistsUniqueTwistedSectionOfCompatibleLevels386
8Development.AbelianVarietyTheory.Pr…ertiaEigenvalues.LanglandsQuotientOfSpehTypeProductIsL369
9Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.FormsRe369
10GroundTheory.ProfiniteCohomology.RestrictedRamification.BaseMain359
11Development.WeilBound.CoreStatement…rison.BocksteinBaseChange.TiltSectionUnits.FcIsUnitSub330
12GroundTheory.ProfiniteCohomology.Gl…EulerCharacteristic.CardCohomologyZeroMackeyRepOfNeTop324
13GroundTheory.PAdicHodge.BCrisTensorK318
14GroundTheory.PAdicHodge.FundamentalSeq310
15Formalism.WachLatticeTwists.SplitClassesAll.SplitClassesProofs.SrcNO307
All 50 listed modules一覧の全 50 モジュール
##moduleモジュールbuild time (s)ビルド時間(秒)
1Development.AbelianVarietyTheory.Pr…Eigenvalues.HeckeCharacterisationTransferMovedReadings657
2Development.AbelianVarietyTheory.Definitions.AutomorphicMembership.OmPinsTr470
3GroundTheory.PAdicHodge.BCrisGalois456
4Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.IsRecGOfIsLocalFamily452
5Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.H1fClassWachPairJumps437
6Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ChartTiedLevelChain389
7Development.AbelianVarietyTheory.Pr…ionProofs.ExistsUniqueTwistedSectionOfCompatibleLevels386
8Development.AbelianVarietyTheory.Pr…ertiaEigenvalues.LanglandsQuotientOfSpehTypeProductIsL369
9Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.FormsRe369
10GroundTheory.ProfiniteCohomology.RestrictedRamification.BaseMain359
11Development.WeilBound.CoreStatement…rison.BocksteinBaseChange.TiltSectionUnits.FcIsUnitSub330
12GroundTheory.ProfiniteCohomology.Gl…EulerCharacteristic.CardCohomologyZeroMackeyRepOfNeTop324
13GroundTheory.PAdicHodge.BCrisTensorK318
14GroundTheory.PAdicHodge.FundamentalSeq310
15Formalism.WachLatticeTwists.SplitClassesAll.SplitClassesProofs.SrcNO307
16Development.AbelianVarietyTheory.Pr…ologyProofs.PushComparisonBijectiveOfIsClosedEmbedding304
17Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnlinkedCommuteOfIrreducible293
18Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.LinEquivApply285
19GroundTheory.ProfiniteCohomology.RestrictedRamification.BaseLevel274
20Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ExistsReadingInMovedRowData265
21GroundTheory.ArithmeticGeometry.SchemeCohomology.ProperCohomology.FormalTower255
22Formalism.SharpRestriction.GrowthBounds.ChartRank.HypVin250
23Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.GeoHalfUpd248
24Development.AbelianVarietyTheory.Pr…waDecomposition.FiniteNonzeroIndexPlacesReferenceTuple247
25Development.AbelianVarietyTheory.Definitions.AutomorphicMembership.ValTransOfEq245
26Development.AbelianVarietyTheory.Pr…aDecomposition.ChainComparisonTransferOtherLaterStages239
27Development.AbelianVarietyTheory.Definitions.AutomorphicMembership.FinTypRepCast236
28Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.ZgFormula232
29Development.AbelianVarietyTheory.Proofs.DecoratedLatticeProofs.LevelGroupReferenceTuple231
30Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.SeriesAtOfExpRelation228
31GroundTheory.PAdicHodge.FontaineLemmaInvariants225
32Development.AbelianVarietyTheory.Pr…ecomposition.TrueColumnChoiceTwistedChainsFormsClasses224
33Development.AbelianVarietyTheory.Pr…CohomologyProofs.HigherDirectImagesVanishOfIsAffineHom223
34Development.AbelianVarietyTheory.Pr…Eigenvalues.GammaEigenvalueOnWachLatticeQPowerQuotient221
35Development.AutomorphicArithmetic.T…ondence.ThetaPairLifts.ThirdPlaceSeries.LevGBaseOfBWit216
36Development.AbelianVarietyTheory.Definitions.GaloisGeometry.SectionOfFreeOnUnitComp213
37Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ReFacePrim212
38GroundTheory.ProfiniteCohomology.PoitouTate.RealEvenTau209
39Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ColumnParamsInstanceData208
40GroundTheory.AutomorphicForms.MultiplicityOne.ContinuousWhittakerOneRconvIntertwiner207
41GroundTheory.PAdicHodge.BCrisNewton207
42Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.AmbExOfRx202
43GroundTheory.PAdicHodge.BCrisRegular202
44Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.LamCopy198
45Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.CongrFunHeq196
46Development.AbelianVarietyTheory.De…GaloisGeometry.PreservesFiniteLimitsTensorLeftSheafify194
47Formalism.LocalToGlobal.ProjectiveLattices.TieUpC192
48Formalism.HermitianCurvature.Hermit…nCurvatureProofs.IsAdmissibleSplittingCharPairMulTwist191
49Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ExistsRowsOfHeqData185
50Development.WeilBound.ThetaLifts.To…dSums.ContinuousAddCharSymplecticSelfPairingPlaceCoord185

Compiler messages and Lake jobsコンパイラのメッセージと Lake のジョブ

Messages of the form kind: file:line:column: text in the logs, by kind:

ログ中の 種別: ファイル:行:列: 本文 という形のメッセージの,種別ごとの件数:

kind種別messages件数
warning警告491,673
info情報133

Linter notes by linter option (lines “This linter can be disabled with …”):

リンタのオプション別のリンタ通知件数(「This linter can be disabled with …」の行):

linter optionリンタのオプションnotes件数
linter.unusedTactic123,547
linter.unreachableTactic121,382
linter.style.haveILetI99,718
linter.unusedSectionVars36,977
linter.unusedSimpArgs31,833
linter.unusedVariables30,167
linter.overlappingInstances5,179
linter.unnecessarySeqFocus2,989
linter.unnecessarySimpa1,954
linter.dupNamespace192
linter.ambiguousOpen91
linter.unusedRCasesPattern35
linter.auxLemma19
linter.defProp10
linter.translateGenerateName9
linter.constructorNameAsVariable1
linter.style.nameCheck1

Lake jobs in the logs, by action and by the status mark Lake prints. “Replayed” means that an up-to-date result was reused (for example Mathlib from the cache, or modules built in an earlier run).

ログ中の Lake のジョブを,動作と Lake が表示する状態記号ごとに数えたもの.「Replayed」は最新の結果を再利用したことを意味する(例:キャッシュから取得した Mathlib,以前の実行でビルド済みのモジュール).

action動作no output出力なしwith info output情報出力ありwith warnings警告ありtotal計
Ran530053
Replayed26,0674,8753,86034,802
Built071,142104,044175,186

The logs contain no failed job.

ログに失敗したジョブはない.

Thread scalingスレッド数に対するスケーリング

Before the full build, the build rate was measured for several allocations. Each row is one short run; the rate is the number of modules built per minute.

本番のビルドの前に,いくつかの資源割り当てでビルド速度を測定した.各行は 1 回の短い実行であり,速度は毎分ビルドされるモジュール数である.

Figure 6. Build rate against the number of Lake threads.図 6. Lake のスレッド数に対するビルド速度.
modules built per minute毎分ビルドされるモジュール数01002003004005000326496144Lake threadsLake のスレッド数241421454176
Data tableデータ表
GPUsGPU 数coresコア数Lake threadsLake のスレッド数modules per minute毎分のモジュール数lean processes running動作中の lean プロセス数CPU use of the lake process (%)lake プロセスの CPU 使用率(%)
13232241——
2646442154308
39696454741,274
41441441762010,300

The rate rose to about 454 modules per minute at 96 threads and fell to about 176 at 144 threads. At 144 threads the lake process itself used 10,300% of a CPU core while only 20 lean processes were running (against 1,274% and 74 at 96 threads): Lake's own threads contend with each other, and the workers are left idle.

速度は 96 スレッドで毎分約 454 モジュールまで上がり,144 スレッドでは毎分約 176 モジュールに下がった.144 スレッドでは lake プロセス自身が CPU コアの 10,300% を使用する一方,動作中の lean プロセスは 20 個にとどまった(96 スレッドではそれぞれ 1,274% と 74 個).Lake 自身のスレッド同士が競合し,ワーカーが遊んでいる状態である.

Notes

注記

6File structureファイル構造

The numbers in this section are computed from the source files alone by analysis/import_graph.py, without running Lean. A module is one .lean file; a component is a top-level directory or top-level file of the source tree. The sources have 175,187 modules in 3,614 directories, 17,549,402 lines and 1.03 GB in total.

この節の数値は,Lean を実行せず,ソースファイルのみから analysis/import_graph.py により計算した.モジュールとは 1 つの .lean ファイルのことであり,コンポーネントとはソースツリーの最上位のディレクトリまたはファイルのことである.ソースは全体で 3,614 ディレクトリ,175,187 モジュール,17,549,402 行,1.03 GB である.

Componentsコンポーネント

componentコンポーネントmodulesモジュール数share of modulesモジュール数の割合lines行数share of lines行数の割合size (MB)サイズ(MB)lines per moduleモジュールあたり行数
Development141,92881.0%12,374,59170.5%767.387.2
Formalism18,25410.4%3,219,00218.3%164.9176.3
GroundTheory8,5074.9%1,127,6456.4%54.6132.6
ReciprocityTheory3,8452.2%566,8613.2%28.9147.4
CompanionTheory2,0271.2%196,2451.1%11.396.8
PositivityTheory4490.3%55,5790.3%3.1123.8
Lemmata1670.1%9,3990.1%0.556.3
BuildAid50.0%250.0%0.05.0
Supplements30.0%250.0%0.08.3
Main10.0%130.0%0.013.0
Statements10.0%170.0%0.017.0
total合計175,18717,549,4021,030.5100.2

All 175,187 modules are imported, directly or indirectly, by Main.

全 175,187 モジュールが,直接または間接に Main から import されている.

Second-level directories第 2 階層のディレクトリ

Below the components there are 331 second-level entries and 747 third-level entries. The figure shows the 25 with the most modules.

コンポーネントの下には第 2 階層の項目が 331 個,第 3 階層の項目が 747 個ある.図にはモジュール数の多い 25 個を示す.

Figure 7. Modules per second-level directory (the 25 largest of 331). The data table lists all of them.図 7. 第 2 階層ディレクトリごとのモジュール数(331 個中の上位 25 個).データ表には全件を載せる.
modulesモジュール数Development.AbelianVarietyTheory99,187Development.AutomorphicArithmetic18,431Development.AutomorphicSpectrum15,147Development.WeilBound7,051GroundTheory.HeightsAndTheta6,410Formalism.LocalToGlobal5,501Formalism.PeriodIntegrals4,350Formalism.SharpRestriction3,093ReciprocityTheory.ReductiveGroups2,799Formalism.HermitianCurvature1,922Development.EtaleCohomology1,398CompanionTheory.SpectralGeometry1,254GroundTheory.AutomorphicForms542Development.ResolutionOfSingularities499CompanionTheory.AutomorphicTheory457GroundTheory.ProfiniteCohomology450PositivityTheory.AutomorphicForms445Formalism.GL3MeanSquares440GroundTheory.GlobalFields384Formalism.ThetaLogCoordinates292Formalism.WachLatticeTwists262ReciprocityTheory.L2DbarEstimates227GroundTheory.PAdicHodge226GroundTheory.ArithmeticGeometry218Development.DiscreteGroups215
Data tableデータ表
directoryディレクトリmodulesモジュール数lines行数size (MB)サイズ(MB)
Development.AbelianVarietyTheory99,1878,242,147519.9
Development.AutomorphicArithmetic18,4311,794,806110.9
Development.AutomorphicSpectrum15,1471,210,99172.3
Development.WeilBound7,051855,59848.7
GroundTheory.HeightsAndTheta6,410647,73231.6
Formalism.LocalToGlobal5,501961,34449.6
Formalism.PeriodIntegrals4,350456,20621.9
Formalism.SharpRestriction3,093712,52937.4
ReciprocityTheory.ReductiveGroups2,799412,77521.3
Formalism.HermitianCurvature1,922462,72424.7
Development.EtaleCohomology1,398105,9235.8
CompanionTheory.SpectralGeometry1,254106,6916.1
GroundTheory.AutomorphicForms542150,5477.4
Development.ResolutionOfSingularities499141,2088.4
CompanionTheory.AutomorphicTheory45748,4142.9
GroundTheory.ProfiniteCohomology45085,3524.2
PositivityTheory.AutomorphicForms44555,4153.1
Formalism.GL3MeanSquares44078,7604.1
GroundTheory.GlobalFields38472,6893.4
Formalism.ThetaLogCoordinates29254,8472.7
Formalism.WachLatticeTwists26238,6292.3
ReciprocityTheory.L2DbarEstimates22733,9611.8
GroundTheory.PAdicHodge22664,5433.1
GroundTheory.ArithmeticGeometry21845,2642.1
Development.DiscreteGroups21523,9181.3
ReciprocityTheory.AnalyticForms19236,8721.9
ReciprocityTheory.DualLattices18324,7371.2
Formalism.LocalRingCardinality17335,5211.7
GroundTheory.LocalFields15940,9261.9
CompanionTheory.RealGroups15515,9520.9
CompanionTheory.HarishChandraModules13021,0041.2
ReciprocityTheory.SemistableReduction11914,6970.7
Formalism.GradedWeylDivisibility1038,2280.4
Formalism.PieriBlockIdeals9829,3521.4
Formalism.AdmissibleDesigns9320,5691.1
ReciprocityTheory.ClassFieldTheory9111,9210.6
Formalism.GaussJetBounds9013,6710.6
Formalism.SatakeDualWeyl8514,8620.7
Formalism.PadicSubsetSums8215,8780.8
Formalism.FlagUnipotentLattices7731,4601.7
Formalism.SizeWindowBrackets6428,4091.5
Formalism.QuotientMetricDivisors6315,3100.8
Formalism.LandauZeroFreeBounds586,6370.3
GroundTheory.TateCohomology568,8110.4
ReciprocityTheory.GroupCohomology568,2830.4
Formalism.CharacterColumnKernels547,6040.4
Formalism.MahlerMeasure5416,8750.8
Formalism.RealPlaceAnalysis5410,7070.5
Formalism.EllipticTorsion488,8640.4
ReciprocityTheory.Chebotarev474,4290.2
Formalism.DistinguishedUnitIdeals4414,3290.7
Formalism.UnipotentAdelicQuotients444,6140.2
Formalism.HarderNarasimhan4310,4550.5
Formalism.HermitianLattices437,4610.4
Formalism.PolynomialDimension4115,8010.8
Formalism.TruncatedSeriesCounting393,7150.2
ReciprocityTheory.GeometryOfNumbers395,2950.3
Formalism.FilteredPoleLength364,1530.2
Formalism.ZeroFreeRegion343,2230.2
Formalism.FrobeniusOrbits327,7680.3
Formalism.SubspaceCounting327,1010.3
Formalism.FormalDegreeBessel315,6860.3
Formalism.JumpKernelCokernel271,7210.1
Formalism.LogVandermondeBounds264,0210.2
Formalism.MirabolicMackeyTheory264,6620.2
ReciprocityTheory.CommutativeAlgebra263,0400.2
Formalism.MeanHeightDescent243,0370.2
CompanionTheory.ThickeningEstimates224,1660.2
Formalism.BranchSandwichDivisors227,9110.4
Formalism.CyclotomicNorms213,6640.2
Formalism.FormalGroupWitt213,0210.1
Formalism.IncomingBounds213,7630.2
Formalism.WeaklyAdmissibleFiltrations202,4360.1
GroundTheory.Brauer204,7430.2
GroundTheory.PowerSubgroups201,2970.1
ReciprocityTheory.NeutralLocalFields204,7310.2
Formalism.ThetaSupremumBounds193,3060.2
Formalism.LatticeSlopes181,9950.1
Formalism.GaloisIrreducibility171,6780.1
Formalism.RankGapBounds171,9840.1
Formalism.YangianSpanCharacter171,1490.1
Formalism.CoboundaryTransfers162,0900.1
Formalism.GaussValuationBounds161,9300.1
Formalism.LogSumExpBounds161,7600.1
Formalism.DoubleCosetMeasures153,5020.2
Formalism.SuccessiveMinima151,7080.1
Formalism.TameInertiaTowers153,1420.1
Formalism.TorsionNormIteration152,6590.1
Formalism.ZetaNonvanishing152,3530.1
Formalism.BehrendSets141,0880.0
Formalism.CMTypeGalois141,7380.1
Formalism.FockGram147870.0
Formalism.GrowthSums148610.0
Formalism.HyperbolicPlaceProducts141,9090.1
Formalism.LatticeTheta141,1200.1
Formalism.NormUnitaryBounds142,1000.1
Formalism.FrobeniusContraction131,5520.1
Formalism.ResultantValuation138550.0
Formalism.EisensteinCokernelLengths121,2130.1
Formalism.FrobeniusBaseCase121,9740.1
Formalism.LatticeRigidity121,1420.1
Formalism.SobolevGaussianKernels125900.0
GroundTheory.FunctionField123,8610.2
Formalism.LogFactorialIndices111,4140.1
Formalism.WindowSums111,0130.0
Formalism.ThetaLiftIndependence108120.0
GroundTheory.IdeleRoots101,8800.1
CompanionTheory.EightfoldTheory9180.0
Formalism94580.0
Formalism.LagrangeIdealLifts91,4460.1
Formalism.WachModuleLifts91,2480.1
ReciprocityTheory.GaloisValuations91,8750.1
ReciprocityTheory.ReducedBases91,2260.1
Formalism.DirichletDensity81,0200.0
Formalism.GelfandTransference78000.0
Formalism.LFunctionBounds79950.1
Formalism.PairingDivisors77070.0
Formalism.TranslateCocycles71,9590.1
ReciprocityTheory.ThetaSummability73660.0
Formalism.GaloisCohomology64060.0
Formalism.MonomialMeanResidues61,1810.1
Formalism.SelfDualUnimodular68280.0
Formalism.SmithDeterminants64090.0
BuildAid5250.0
Formalism.DegreeFormula59070.0
Formalism.DivisorInequality51,4160.1
Formalism.FormalGroupLog59400.0
Formalism.LogFactorialBounds53760.0
Formalism.MoebiusJetDuality53890.0
Formalism.ThickAverageLoss51,0840.0
ReciprocityTheory.ThetaQuasiPeriods57760.0
Formalism.DropLevelBounds43700.0
Formalism.TowerValuationBounds41,5510.1
ReciprocityTheory.Automorphisms44650.0
Formalism.AdicCompletionExports32050.0
Formalism.ConjugateSelfDual31490.0
Formalism.CorankShare35660.0
PositivityTheory.PublishedTheorems31080.0
ReciprocityTheory.Hypotheses34790.0
Supplements.Kernels3250.0
Formalism.AlgebraicWeights22300.0
Formalism.ArtinHasse25150.0
Formalism.GammaFactorNonvanishing2960.0
Formalism.GaussIdealIdentity22770.0
Formalism.JacobiWeightFamilies22110.0
Formalism.JacquetSubsetSums21510.0
Formalism.LatticeLocalGlobal22180.0
Formalism.WeightedDeltaMeans22430.0
ReciprocityTheory.BasicDefinitions21380.0
ReciprocityTheory.EigenFrames21380.0
Formalism.AlphaUniqueness1980.0
Formalism.HalfLinks11870.0
Formalism.PrimeAboveExistence1770.0
Formalism.ProductFormula11630.0
Formalism.TwistFamilyExistence1880.0
Formalism.WideWeightTheorem1860.0
Lemmata.AddValuationProducts1600.0
Lemmata.B1101570.0
Lemmata.B1959r1400.0
Lemmata.B1962s1450.0
Lemmata.Cancellation11080.0
Lemmata.CharacterDirections11190.0
Lemmata.ClearingDenominators12600.0
Lemmata.CofiniteContinuousBounds1740.0
Lemmata.ComplementLifts1770.0
Lemmata.CurryModusPonens1570.0
Lemmata.Denominators1570.0
Lemmata.DetMonotoneStarMulSelf1800.0
Lemmata.DetNormLeProdRows1410.0
Lemmata.DiscreteValuationQuotients1800.0
Lemmata.DualWeylPullback13650.0
Lemmata.FiberEquations1440.0
Lemmata.FirstBlockLemmaA1260.0
Lemmata.FirstBlockLemmaB1250.0
Lemmata.FirstBlockLemmaC1130.0
Lemmata.FirstBlockLemmaD1140.0
Lemmata.FirstBlockLemmaE1220.0
Lemmata.FirstBlockLemmaF1150.0
Lemmata.FirstBlockLemmaG1180.0
Lemmata.FirstBlockLemmaH1480.0
Lemmata.FirstBlockLemmaI1170.0
Lemmata.FirstBlockLemmaJ1410.0
Lemmata.FirstBlockLemmaK1290.0
Lemmata.FirstBlockLemmaL1220.0
Lemmata.FunctionAtZero1530.0
Lemmata.GeneralBFact1260.0
Lemmata.GeneralBFactAltForm1390.0
Lemmata.GeneralBFactBis1260.0
Lemmata.GeneralBFactBisAlt1410.0
Lemmata.GeneralBFactBisForm1600.0
Lemmata.GeneralBFactExtra1420.0
Lemmata.GeneralBFactForm1750.0
Lemmata.GeneralBFactFurther1310.0
Lemmata.GeneralBFactLast1230.0
Lemmata.GeneralBFactLeft1610.0
Lemmata.GeneralBFactLeftAlt1480.0
Lemmata.GeneralBFactLeftAltForm12370.0
Lemmata.GeneralBFactLeftBis1410.0
Lemmata.GeneralBFactLeftBisAlt1410.0
Lemmata.GeneralBFactLeftBisForm11260.0
Lemmata.GeneralBFactLeftExtra1210.0
Lemmata.GeneralBFactLeftForm1350.0
Lemmata.GeneralBFactLeftFurther1900.0
Lemmata.GeneralBFactLeftLast1400.0
Lemmata.GeneralBFactLeftMore1270.0
Lemmata.GeneralBFactLeftRest1220.0
Lemmata.GeneralBFactLeftSide1800.0
Lemmata.GeneralBFactLeftTail1280.0
Lemmata.GeneralBFactLeftTer1330.0
Lemmata.GeneralBFactLeftTerForm1380.0
Lemmata.GeneralBFactLeftVariant1660.0
Lemmata.GeneralBFactLeftVersion12370.0
Lemmata.GeneralBFactMore1480.0
Lemmata.GeneralBFactRest1790.0
Lemmata.GeneralBFactRight1180.0
Lemmata.GeneralBFactRightAlt1210.0
Lemmata.GeneralBFactRightAltForm1410.0
Lemmata.GeneralBFactRightBis1190.0
Lemmata.GeneralBFactRightBisAlt1230.0
Lemmata.GeneralBFactRightBisForm1700.0
Lemmata.GeneralBFactRightExtra1320.0
Lemmata.GeneralBFactRightForm1530.0
Lemmata.GeneralBFactRightFurther1270.0
Lemmata.GeneralBFactRightLast1980.0
Lemmata.GeneralBFactRightMore1380.0
Lemmata.GeneralBFactRightRest1330.0
Lemmata.GeneralBFactRightSide1290.0
Lemmata.GeneralBFactRightTer1180.0
Lemmata.GeneralBFactRightTerForm12880.0
Lemmata.GeneralBFactRightVariant1380.0
Lemmata.GeneralBFactRightVersion1260.0
Lemmata.GeneralBFactSecond1390.0
Lemmata.GeneralBFactSecondAlt1380.0
Lemmata.GeneralBFactSecondAltForm11500.0
Lemmata.GeneralBFactSecondBis1500.0
Lemmata.GeneralBFactSecondBisAlt1430.0
Lemmata.GeneralBFactSecondBisForm1660.0
Lemmata.GeneralBFactSecondExtra1620.0
Lemmata.GeneralBFactSecondForm1410.0
Lemmata.GeneralBFactSecondFurther1370.0
Lemmata.GeneralBFactSecondLast1350.0
Lemmata.GeneralBFactSecondMore1390.0
Lemmata.GeneralBFactSecondRest1500.0
Lemmata.GeneralBFactSecondSide1440.0
Lemmata.GeneralBFactSecondTail1430.0
Lemmata.GeneralBFactSecondTer1330.0
Lemmata.GeneralBFactSecondTerForm1630.0
Lemmata.GeneralBFactSecondVariant1450.0
Lemmata.GeneralBFactSecondVersion1530.0
Lemmata.GeneralBFactSide1390.0
Lemmata.GeneralBFactTail1400.0
Lemmata.GeneralBFactTer1610.0
Lemmata.GeneralBFactTerForm1320.0
Lemmata.GeneralBFactThird1350.0
Lemmata.GeneralBFactThirdAlt1380.0
Lemmata.GeneralBFactThirdAltForm1380.0
Lemmata.GeneralBFactThirdBis1690.0
Lemmata.GeneralBFactThirdBisAlt1360.0
Lemmata.GeneralBFactThirdBisForm1390.0
Lemmata.GeneralBFactThirdExtra1440.0
Lemmata.GeneralBFactThirdForm1410.0
Lemmata.GeneralBFactThirdFurther1800.0
Lemmata.GeneralBFactThirdLast1240.0
Lemmata.GeneralBFactThirdMore1480.0
Lemmata.GeneralBFactThirdRest1620.0
Lemmata.GeneralBFactThirdSide1390.0
Lemmata.GeneralBFactThirdTail1390.0
Lemmata.GeneralBFactThirdTer1410.0
Lemmata.GeneralBFactThirdTerForm1500.0
Lemmata.GeneralBFactThirdVariant1480.0
Lemmata.GeneralBFactThirdVersion11550.0
Lemmata.GeneralBFactUpper1250.0
Lemmata.GeneralBFactUpperAltForm1240.0
Lemmata.GeneralBFactUpperBis11670.0
Lemmata.GeneralBFactUpperForm1300.0
Lemmata.GeneralBFactUpperTerForm1250.0
Lemmata.GeneralBFactUpperVariant1310.0
Lemmata.GeneralBFactUpperVersion1230.0
Lemmata.GeneralBFactVariant1590.0
Lemmata.GeneralBFactVersion1290.0
Lemmata.HermitianSesquilinear1450.0
Lemmata.HermitianVanishing1820.0
Lemmata.IdempotentTraceVanishing1770.0
Lemmata.IntegerMulIntegral1420.0
Lemmata.IterateZero1640.0
Lemmata.MiscLemmasA11610.0
Lemmata.MiscLemmasB1770.0
Lemmata.MiscLemmasC1320.0
Lemmata.MiscLemmasD1330.0
Lemmata.MiscLemmasE1340.0
Lemmata.MiscLemmasF1610.0
Lemmata.MiscLemmasH1330.0
Lemmata.MiscLemmasI1160.0
Lemmata.MiscLemmasJ1400.0
Lemmata.MiscLemmasK1300.0
Lemmata.MiscLemmasL1390.0
Lemmata.MiscLemmasM1370.0
Lemmata.MiscLemmasN1320.0
Lemmata.MiscLemmasO1370.0
Lemmata.MiscLemmasP1110.0
Lemmata.MiscLemmasQ1180.0
Lemmata.MiscLemmasR1240.0
Lemmata.MovedPointExistence1580.0
Lemmata.MultivariateIntegrals1930.0
Lemmata.NatMulIsIntegral1460.0
Lemmata.NearbyExistence1610.0
Lemmata.PaddedFamilies11230.0
Lemmata.PadicNatCastNorm1490.0
Lemmata.PartialDerivativeDegree1430.0
Lemmata.PeriodicFunctions1270.0
Lemmata.PlaneOverMembership1790.0
Lemmata.PosDefOfRealQuadratic1840.0
Lemmata.PowMulVecEigen1280.0
Lemmata.PowMulVecEigenvalue1330.0
Lemmata.PowerApplication1240.0
Lemmata.PowerMembership1320.0
Lemmata.ProductIdentities1520.0
Lemmata.RankOneOrbitForms11730.0
Lemmata.ScalarExtension1550.0
Lemmata.SecondBlockLemmaA1230.0
Lemmata.SimultaneousEigenvectors1900.0
Lemmata.SmulListSum1480.0
Lemmata.TwistedIdempotents11710.0
Main1130.0
PositivityTheory.Representations1560.0
ReciprocityTheory.AdeleApproximation11790.0
ReciprocityTheory.AdicCompleteness11120.0
ReciprocityTheory.BurnsideSurjectivity11790.0
ReciprocityTheory.GeneralLinearIntegers1350.0
ReciprocityTheory.ResidueCardinality11520.0
Statements1170.0
Third-level directories (40 largest of 747)第 3 階層のディレクトリ(747 個中の上位 40 個)
directoryディレクトリmodulesモジュール数lines行数
Development.AbelianVarietyTheory.Proofs95,4187,532,116
Development.AutomorphicSpectrum.Proofs14,8641,178,332
Development.AutomorphicArithmetic.AutomorphicVarieties7,959856,573
GroundTheory.HeightsAndTheta.Heights6,348633,169
Development.AutomorphicArithmetic.Foundations4,413423,985
Development.WeilBound.CoreStatements3,746459,203
Formalism.PeriodIntegrals.UnitaryGroupMassFormula3,615434,104
Development.AutomorphicArithmetic.ThetaCorrespondence3,201182,184
Development.WeilBound.RepresentationTheoryGL2,486276,633
Development.AbelianVarietyTheory.Definitions2,198510,767
Formalism.LocalToGlobal.SiegelLatticeTheory2,085341,089
Formalism.HermitianCurvature.HermitianCurvatureProofs1,854439,065
ReciprocityTheory.ReductiveGroups.ArithmeticGeometry1,623240,735
CompanionTheory.SpectralGeometry.LocalGlobalProofs1,250106,140
Formalism.SharpRestriction.GrowthBounds1,210232,435
ReciprocityTheory.ReductiveGroups.DiscreteSeries1,021155,353
Development.AutomorphicArithmetic.IntegralCasts907124,524
Development.WeilBound.ThetaLifts788116,636
Formalism.SharpRestriction.LevelLetterCocycles758171,607
Development.AbelianVarietyTheory.BlockTheory753104,780
Development.EtaleCohomology.EtaleSheaves68852,328
Development.AbelianVarietyTheory.PublishedTheorems49356,687
Formalism.LocalToGlobal.TorsionIntegrality48970,933
Development.ResolutionOfSingularities.EmbeddedResolution477136,002
PositivityTheory.AutomorphicForms.PublishedInputs44555,415
Formalism.LocalToGlobal.IndefiniteReal43579,256
Development.AutomorphicArithmetic.CommutativeAlgebra43248,927
Formalism.SharpRestriction.CuspSpanNormBounds399133,377
Formalism.LocalToGlobal.GlobalTheory38969,684
Development.AutomorphicArithmetic.DivisorFrames38344,887
Formalism.PeriodIntegrals.OrbitalBoundsConclusion3804,689
Formalism.LocalToGlobal.Columns37696,281
Formalism.GL3MeanSquares.GenusMeanAsymptotics34353,306
Formalism.PeriodIntegrals32815,240
Formalism.LocalToGlobal.ProjectiveLattices32543,353
Formalism.SharpRestriction.Divisibility27463,436
Development.AutomorphicArithmetic.CyclotomicBounds24619,538
Development.EtaleCohomology.TateTwists23913,913
Formalism.LocalToGlobal.CharacterGerms23840,307
Formalism.LocalToGlobal.GroupLattices22931,230

Module size and directory depthモジュールの大きさとディレクトリの深さ

The median module has 59 lines and the mean is 100.2; 99% of the modules have at most 561 lines, and the longest has 17,982.

モジュールの行数の中央値は 59 行,平均は 100.2 行である.99% のモジュールは 561 行以下で,最長のものは 17,982 行である.

Figure 8. Lines per module. Bins double in width; a tick marks the lower end of the bin to its right.図 8. モジュールあたりの行数.ビンの幅は 2 倍ずつ広がる.目盛りはその右側のビンの下端を示す.
modulesモジュール数010K20K30K40K1416642561,0244,09616,384lines per module (log2 bins)モジュールあたりの行数(log2 ビン)38,029
Data tableデータ表
lines行数modulesモジュール数
10
2–366
4–71,367
8–1535,039
16–3125,842
32–6328,528
64–12738,029
128–25531,639
256–51112,418
512–1,0231,949
1,024–2,047238
2,048–4,09554
4,096–8,19116
8,192–16,3831
16,384–32,7671
Figure 9. Directory depth of the modules: the number of directories above the file (0 = a file at the top level).図 9. モジュールのディレクトリの深さ:ファイルより上にあるディレクトリの数(0 は最上位にあるファイル).
modulesモジュール数050K100K150K012345678910directory depthディレクトリの深さ2142.65K11.6K138K13.8K6.07K2.05K782935
Data tableデータ表
depth深さmodulesモジュール数
02
114
22,654
311,582
4138,172
513,768
66,067
72,048
8782
993
105
The 15 largest source files最大のソースファイル 15 個
moduleモジュールsize (bytes)サイズ(バイト)
Formalism.HermitianCurvature.Hermit…nCurvatureProofs.IsAdmissibleSplittingCharPairMulTwist913,995
Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.FixPiIff732,359
Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.CovariantDegrees504,790
Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.MemOfClosed478,050
Formalism.SharpRestriction.CuspSpanNormBounds.LatticeGluingRadicals454,809
Formalism.HermitianCurvature.Hermit…nCurvatureProofs.UnipotentCoordinatesMeasurePreserving411,977
Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.MulMemIntA405,284
Formalism.SharpRestriction.CuspSpanNormBounds.KappaEndpoints381,379
Formalism.HermitianCurvature.HermitianCurvatureProofs.CoordinateCommuteRaisingConstant342,067
Formalism.SharpRestriction.CuspSpanNormBounds.OscillatoryIntegralBounds321,152
Formalism.SharpRestriction.GrowthBounds.WittFrameLocaliserOrders313,605
Development.AutomorphicArithmetic.I…ralCasts.CapelliIdentities.ComplexNormedInstanceCompat283,079
Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.HloweqTransfer282,214
Formalism.SharpRestriction.LevelLetterCocycles.BaseChangePreservesUnitaryOf260,806
Formalism.LocalToGlobal.KernelLatti…s.KernelLocalFactors.InterlaceDifferenceShiftInvariant257,823

Import graphimport グラフ

In the import graph a module points to each module it imports. There are 753,569 imports between project modules and 156,253 imports of modules outside the project (348 distinct modules; 136,003 project modules import Mathlib as a whole).

import グラフでは,各モジュールから,それが import する各モジュールへ辺を引く.プロジェクト内のモジュール間の import は 753,569 本,プロジェクト外のモジュールの import は 156,253 本ある(相異なるモジュールは 348 個.Mathlib 全体を import するプロジェクトのモジュールは 136,003 個).

Import graph is acyclicimport グラフは非巡回yesはい
Longest import chain (edges)最長の import 鎖(辺数)202
Level of MainMain の階層202
Modules without project imports (level 0)プロジェクト内の import を持たないモジュール(階層 0)5,927
Modules not imported by any moduleどのモジュールからも import されないモジュール1
Figure 10. Distribution of fan-out (number of project modules a module imports) and fan-in (number of project modules that import it). Bins double in width and the vertical axis is logarithmic; bins with no module are not drawn.図 10. ファンアウト(モジュールが import するプロジェクト内モジュールの数)とファンイン(そのモジュールを import するプロジェクト内モジュールの数)の分布.ビンの幅は 2 倍ずつ広がり,縦軸は対数目盛である.該当モジュールのないビンは描いていない.
fan-out (imports)ファンアウト(import 数)fan-in (importers)ファンイン(被 import 数)
modules (log scale)モジュール数(対数目盛)1101001,00010K100K12481632641282565121,0242,0480fan-out / fan-in (log2 bins; tick = lower end of bin)ファンアウト / ファンイン(log2 ビン.目盛りはビンの下端)fan-outファンアウトfan-inファンイン
Data tableデータ表
value値modules with this fan-outこのファンアウトのモジュール数modules with this fan-inこのファンインのモジュール数
05,9271
132,350106,662
2–361,94241,098
4–748,69114,392
8–1522,0006,337
16–313,9023,441
32–633201,794
64–12735832
128–25517427
256–5113141
512–1,023046
1,024–2,04709
2,048–4,09507
quantity量n個数mean平均median中央値90%90%99%99%99.9%99.9%max最大
fan-outファンアウト175,1874.30392039370
fan-inファンイン175,1874.3015542883,088

Fan-in is heavy-tailed. The median fan-in is 1, the 99th percentile is 54, and the most imported module has fan-in 3,088; the largest fan-out is 370.

ファンインの分布は裾が重い.ファンインの中央値は 1,99 パーセンタイルは 54 であり,最も多く import されるモジュールのファンインは 3,088 である.ファンアウトの最大値は 370 である.

Figure 11. Number of modules per level of the import graph (203 levels). A module is at level 0 if it imports no project module, and otherwise one level above the highest module it imports. The triangle on the axis marks Main.図 11. import グラフの階層ごとのモジュール数(203 階層).プロジェクト内のモジュールを import しないモジュールを階層 0 とし,それ以外は,import するモジュールのうち最も高いものの 1 つ上の階層とする.軸上の三角形は Main を示す.
modules at this levelこの階層のモジュール数02,0004,0006,000050100150200level (length of the longest import chain below the module)階層(そのモジュールより下の最長 import 鎖の長さ)
Data tableデータ表
level階層modulesモジュール数
05,927
14,979
24,138
33,582
43,355
52,937
62,740
72,515
82,545
92,164
102,057
112,071
122,069
131,898
141,721
151,635
161,635
171,658
181,713
191,744
201,668
211,651
221,621
231,764
241,809
251,703
261,706
271,775
281,765
291,890
301,800
311,652
321,485
331,498
341,697
351,718
361,695
371,571
381,639
391,427
401,374
411,577
421,573
431,740
441,837
451,889
461,754
471,708
481,920
491,677
501,381
511,470
521,523
531,520
541,545
551,661
561,599
571,390
581,396
591,485
601,322
611,157
621,119
631,128
641,097
651,203
661,221
671,189
681,126
69959
70871
71893
72843
73793
74788
75682
76656
77689
78646
79636
80684
81705
82778
83711
84628
85615
86647
87688
88762
89849
901,028
911,108
921,282
931,746
941,912
951,798
961,779
971,888
981,622
991,514
1001,332
1011,158
102961
103831
104740
105637
106544
107508
108433
109389
110379
111389
112367
113404
114236
115202
116236
117326
118323
119263
120267
121267
122335
123322
124360
125271
126195
127168
128178
129169
130130
131111
132100
13391
13476
13566
13650
13743
13831
13938
14042
14159
14253
14353
14472
14570
14655
14740
14835
14929
15032
15124
15224
15321
15421
15523
15626
15729
15811
1597
1606
1614
1625
1635
1646
1654
1664
1675
1684
1693
1703
1713
1721
1731
1741
1751
1761
1771
1786
1796
1805
1814
1824
18312
1849
1857
1866
1872
1882
1892
1901
1911
1921
1931
1941
1951
1961
1971
1982
1991
2001
2011
2021

Imports between componentsコンポーネント間の import

Each cell is the number of import edges from a module of the row component to a module of the column component.

各セルは,行のコンポーネントのモジュールから列のコンポーネントのモジュールへの import の本数である.

importing ↓ / imported →import する側 ↓ / される側 →DevelopmentFormalismGroundTheoryReciprocityTheoryCompanionTheoryPositivityTheoryLemmataBuildAidSupplementsMainStatements
Development577,33741,8597,53238,0511,8751,057035000
Formalism23644,4121348101180000
GroundTheory571020,7971,1612000000
ReciprocityTheory1726608,71310500000
CompanionTheory1,437762651545,034003000
PositivityTheory63281112077300000
Lemmata0634070000000
BuildAid00000000000
Supplements61000000200
Main00000000101
Statements00000000000
1577,337colour: logarithmic steps; cells with 0 are not filled色:対数刻み.0 のセルは塗らない

Most imported modules最も多く import されるモジュール

##moduleモジュールimported by (modules)import 元のモジュール数
1Development.AbelianVarietyTheory.Definitions.Divisors.CTSmallCone3,088
2Development.AbelianVarietyTheory.Definitions.Divisors.SiegelWeilAnisotropicHermitian2,972
3Development.AbelianVarietyTheory.Definitions.Divisors.DiscreteSeriesHermitianUnique2,518
4Development.AbelianVarietyTheory.PublishedTheorems.AutomorphicForms₂.ExistsNormLeHeightPow2,460
5ReciprocityTheory.ReductiveGroups.Arit…eometry.ToroidalCompactification.UniformisationConclusion2,390
6ReciprocityTheory.ReductiveGroups.ArithmeticGeometry.ExtensionDescent.UnifUniqSt2,284
7Development.AutomorphicArithmetic.Thet….ThetaPairLifts.ThirdPlaceSeries.CohomologicalCsdTempered2,242
8Development.AbelianVarietyTheory.Definitions.Divisors.ToKnownTheoremsOf1,840
9Development.AbelianVarietyTheory.PublishedTheorems.TwistedTraceFormula.HarishChandraModulesOn1,684
10ReciprocityTheory.ReductiveGroups.Arit…etry.BirationalGeometry.ToroidalCompactification.HeckeKer1,429
11Development.AbelianVarietyTheory.Publi…ms.TwistedTraceFormula.AdmissibleDiscreteSeriesOfHasParam1,354
12ReciprocityTheory.ReductiveGroups.ArithmeticGeometry.ExtensionDescent.SecBaseChangeAnySt1,340
13Development.AbelianVarietyTheory.BlockTheory.DivisorBase.WeilTensorModels1,307
14ReciprocityTheory.ReductiveGroups.Arit….BirationalGeometry.ToroidalCompactification.IsHolPeriods1,206
15Development.AbelianVarietyTheory.Definitions.Degenerations.AdmissibleBaseOfCompleteDvr1,063
Imports from outside the project (40 most frequent of 348 modules)プロジェクト外からの import(348 モジュール中,頻度の高い 40 個)
imported moduleimport されるモジュールimporting project modulesimport するプロジェクト内モジュール数
Mathlib155,753
Mathlib.Topology.Algebra.ClopenNhdofOne18
Mathlib.RingTheory.Teichmuller6
Lean.LibrarySuggestions.Basic5
Lean.Elab.Command5
Mathlib.Analysis.Calculus.BumpFunction.FiniteDimension5
Mathlib.AlgebraicGeometry.AlgClosed.Basic4
Mathlib.RingTheory.Ideal.KrullsHeightTheorem4
Mathlib.GroupTheory.FiniteAbelian.Duality4
Mathlib.RingTheory.Jacobson.Ring4
Mathlib.NumberTheory.Multiplicity4
Mathlib.Analysis.Complex.Liouville4
Mathlib.Analysis.Fourier.FiniteAbelian.PontryaginDuality4
Mathlib.RingTheory.PowerSeries.Substitution4
Mathlib.RingTheory.RingHom.Etale3
Mathlib.RingTheory.LocalRing.ResidueField.Ideal3
Mathlib.RingTheory.Valuation.LocalSubring3
Mathlib.LinearAlgebra.Lagrange3
Mathlib.RingTheory.SimpleModule.Basic3
Mathlib.FieldTheory.IsAlgClosed.Basic3
Mathlib.NumberTheory.Padics.Hensel3
Mathlib.RingTheory.Ideal.GoingUp3
Batteries.Tactic.OpenPrivate3
Mathlib.Analysis.Calculus.Deriv.ZPow3
Mathlib.Topology.Algebra.MvPolynomial3
Mathlib.Geometry.Manifold.PartitionOfUnity3
Mathlib.Algebra.DualNumber3
Mathlib.Analysis.InnerProductSpace.TensorProduct3
Mathlib.Analysis.SpecialFunctions.JapaneseBracket3
Mathlib.Analysis.Matrix.PosDef3
Mathlib.RingTheory.PowerSeries.WeierstrassPreparation3
Mathlib.Analysis.SpecialFunctions.Log.Base3
Mathlib.NumberTheory.NumberField.ProductFormula2
Mathlib.NumberTheory.Padics.ProperSpace2
Mathlib.AlgebraicGeometry.Morphisms.Flat2
Mathlib.AlgebraicGeometry.PullbackCarrier2
Mathlib.RingTheory.Etale.StandardEtale2
Mathlib.Algebra.Category.Ring.FilteredColimits2
Mathlib.RingTheory.Smooth.StandardSmoothOfFree2
Mathlib.CategoryTheory.Abelian.Injective.Extend2

Static checks of the sourcesソースの静的検査

A text search of the sources (comments and strings are not excluded) gives the following counts.

ソースのテキスト検索(コメントや文字列も対象に含む)による件数は次のとおりである.

Occurrences of the token sorryトークン sorry の出現数0 (in 0 files)0(0 ファイル)
axiom declarationsaxiom 宣言の数0
Occurrences of native_decide, implemented_by, @[extern, ofReduceBool or unsafenative_decide,implemented_by,@[extern,ofReduceBool,unsafe の出現数0