Public formal-corpus inventory
Lean source inventory.
A source-level census of the complete measured lean/ tree in the private Fieldflux / Concordia repository. This page reports what source existed at the frozen measurement snapshot. Build reachability, theorem authority, and empirical validity are separate scopes.
Repository branch:
mainMeasured commit:
aa0ea3fff50643708114f49980044ecde4bfe822Worktree: clean at measurement
Combined theorem + lemma declarations: 118,343
Nonblank source lines: 3,631,254
Exact source bytes: 423,943,284 (404.304 MiB)
Scope and counting rules
- Every physical
*.leanfile recursively underlean/was counted; all 16,911 files in the measured tree were Git-tracked. - Physical line counts include blank lines and comments. Nonblank lines contain at least one non-whitespace character.
- Theorem and lemma counts recognize source declarations beginning with Lean
theoremorlemmaforms after permitted attributes/modifiers, while excluding declarations occurring inside nested block comments or line comments. example,def,axiom,structure, imported dependency declarations, and declarations merely mentioned in prose are not included in the theorem/lemma totals.- This is a source inventory. It is not a claim that all 16,911 files were compiled by one repository-wide build.
Complete top-level recursive inventory
| Branch | Files | Lines | Nonblank | Theorems | Lemmas |
|---|---|---|---|---|---|
| Compat/ | 1 | 18 | 12 | 0 | 1 |
| Concordia/ | 138 | 12,711 | 10,981 | 488 | 0 |
| Continuation/ | 6 | 262 | 204 | 10 | 0 |
| Geometry/ | 21 | 5,336 | 4,912 | 211 | 0 |
| Health/ | 1 | 538 | 442 | 17 | 0 |
| Market/ | 1 | 258 | 217 | 0 | 4 |
| QGC03–QGC11/ | 90 | 9,296 | 7,964 | 396 | 0 |
| QGC12/ | 1,353 | 227,055 | 205,141 | 10,541 | 0 |
| QGContinuation/ | 21 | 1,349 | 1,154 | 24 | 0 |
| RelationalCompletion/ | 25 | 1,391 | 1,133 | 52 | 0 |
| Tier18/ | 121 | 57,218 | 49,853 | 1,046 | 43 |
| Tier20/ | 63 | 58,566 | 50,209 | 1,859 | 349 |
| Tier21/ | 616 | 787,542 | 744,657 | 10,927 | 558 |
| Tier22/ | 303 | 85,101 | 74,927 | 2,891 | 0 |
| Tier23/ | 61 | 13,596 | 12,017 | 498 | 0 |
| Tier24/ | 156 | 43,326 | 38,893 | 2,073 | 0 |
| Tier25/ | 108 | 18,133 | 15,947 | 506 | 0 |
| Tier26/ | 18 | 3,223 | 2,828 | 147 | 0 |
| Tier27/ | 57 | 19,814 | 17,986 | 728 | 0 |
| Tier28/ | 14 | 1,822 | 1,587 | 56 | 0 |
| Tier29/ | 74 | 24,877 | 22,633 | 842 | 0 |
| Tier30/ | 11,268 | 2,196,702 | 1,999,681 | 69,925 | 125 |
| Tier31/ | 450 | 65,681 | 58,001 | 2,822 | 0 |
| Tier33/ | 667 | 50,226 | 42,155 | 1,919 | 0 |
| Tower/ | 806 | 84,650 | 75,305 | 3,878 | 0 |
| TowerLaw/ | 14 | 748 | 583 | 21 | 0 |
| Toy/ | 33 | 11,204 | 9,708 | 21 | 7 |
| Root-level standalone .lean files | 400 | 198,114 | 179,083 | 1,717 | 3,265 |
| Total (including smaller top-level branches not expanded above) | 16,911 | 3,982,645 | 3,631,254 | 113,630 | 4,713 |
Tier30 source tree
Tier30 is the largest branch in the measured snapshot: 11,268 files and 2,196,702 physical lines. Its immediate recursive branches include Celestial Holography (1,686 files / 274,765 lines), H3 (694 / 206,056), Research (7,501 / 1,226,022), W4 (204 / 73,557), W6 (129 / 35,251), plus 992 direct Tier30 source files (371,075 lines).
Reproducibility
The measurement first established repository identity, active branch, exact Git commit, and clean-worktree status. Physical and tracked file populations were independently compared using recursive filesystem enumeration and Git tracked-file enumeration; both returned 16,911 Lean files. Line totals were accumulated per file. Declaration counting used a source scanner that maintains nested Lean block-comment depth, ignores declarations in comments, recognizes standard declaration modifiers, and aggregates mutually exclusive recursive directory groups.
Fieldflux Biosystems, Inc. · Public inventory snapshot · 2026-09-24 · enquiries: contact@fieldfluxbiosystems.com