Repository navigation
Expand file tree
/
Copy pathreleased.yml
More file actions
688 lines (624 loc) · 32.6 KB
/
Copy pathreleased.yml
File metadata and controls
688 lines (624 loc) · 32.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
# Publish-out sync manifest.
#
# `hex-dev` is the source of truth. The sync (scripts/release/sync_released.py,
# driven by .github/workflows/sync-released.yml) regenerates each released repo
# from this monorepo: it deletes everything outside the repo's *managed* paths
# and its unmanaged skeleton, overwrites the managed paths from here, generates
# the repo's Lake file (PLAN/Releases.md §The generated Lake file), copies the
# monorepo's Lean toolchain, rewrites the lockfile to the shared release version
# and the exact external dependency locks, commits to the released repo's
# `main`, and tags that commit. The lockfiles retain the
# exact commits resolved by those tags.
#
# A released repo ships the library and nothing else: its Lean source, umbrella,
# SPEC and README. Benchmarks, conformance drivers, fixtures and oracles are
# development instruments that only make sense against the whole graph, so they
# live here and run in this monorepo's CI; a mirror's own CI builds what it
# publishes, which is what its users consume.
#
# That is a property of the driver, not of this file. `allowed_paths` in
# sync_released.py computes what a mirror may contain -- the entry's managed
# paths, the managed .github/workflows/ci.yml, the generated root Lake file, and
# the skeleton the sync does not author (lake-manifest.json, lean-toolchain,
# LICENSE, .gitignore, AGENTS.md) -- and `prune_unmanaged` deletes the rest. A new entry
# therefore inherits the whole policy, and there is nothing per-entry to
# remember. Nothing else under .github/ survives, so a mirror cannot accumulate
# a second workflow beside its build-only one; nor do `reports/` or `.claude/`,
# beyond the figures an entry names below.
#
# Order is topological (upstream first) so each version tag exists and its exact
# commit is known before downstream consumers are processed.
#
# ADDING A REPO HERE IS ONLY HALF THE JOB. Each publishing token is scoped to
# an explicit list of repositories (and a fine-grained token caps that list,
# so there is more than one), so the new repo must also be added to one of the
# `hex-publishing` / `hex-publishing-2` fine-grained tokens and approved by an
# organization owner before the sync can push to it. Any token with room
# works; the sync routes per repo. See PLAN/Releases.md
# §"Publishing a new library: widen a token first"; sync_released.py
# preflights this and refuses to start if it was missed.
#
# Per-repo managed path conventions (resolved by the driver):
# <Lib>/ (minus <Lib>/SPEC/ and <Lib>/README.md) -> <Lib>/
# <Lib>/README.md (unless readme: false) -> README.md
# <Lib>.lean (if umbrella: true) -> <Lib>.lean
# <Lib>/SPEC/<spec>.md -> SPEC/<spec>.md
# extra_paths entries -> their explicit destinations
# scripts/release/released-ci.yml[<repo>] -> .github/workflows/ci.yml
# The CI workflow is generated for every entry, including `pins_only`; it builds
# the library and nothing else, and the driver applies the same divergence guard
# as every other managed path.
# `test_modules` lists verification-only modules copied with the source but
# intentionally absent from the public umbrella; the generated Lake file builds
# them in a non-public `<Lib>Tests` target, and released CI builds it.
# `keep_paths` is the escape hatch out of that sweep: explicit relative paths a
# mirror owns that are neither managed nor part of the common skeleton. One
# entry uses it, for `hex-test-kit`'s fixed `HexTestKit.lean` umbrella. It can
# only preserve, so a forgotten entry surfaces as a deletion in the dry run, not
# as an over-published mirror; it may not name a development instrument.
# `build_modules` lists complete development umbrellas the generated Lake file
# builds (as `<Lib>Modules`) separately from the curated public umbrella.
# `executables` maps a released executable name to its mathematical root module.
# `lake_declarations` names declarations in this monorepo's lakefile.lean (native
# targets, their helper defs, carrier `lean_lib`s) that the generated Lean Lake
# file copies verbatim. `lean_lib_name` and `globs` describe a library whose Lake
# name and module set differ from `lib` (only hex-test-kit).
# `pins` lists the upstream repos whose revisions the lockfile records;
# `lakefile` is the generated file's format, which must be `lean` when the
# library's build settings or declarations need Lean.
# `dependency_caches` lists additional external build outputs restored and
# saved by managed CI. Only TauCeti is admitted; Mathlib and its dependencies
# use the upstream cache. Names must be locked, and workflow paths must match.
# The mirror's `lean_lib` build settings are deliberately *not* recorded here:
# this monorepo's `lakefile.lean` is the source of truth for how a library is
# built, and the generated Lake file copies them. A second copy of a build
# decision in this manifest only gives it somewhere to drift.
# `announcements` maps a venue (`blog`, `zulip`, `linkedin`) to the https URL
# where this library was announced; it renders as one line per library in the
# aggregate README's Announcements section. Deliberately not a table column:
# only a couple of libraries are ever announced, so a column would be empty for
# almost every row.
# `component` is the human label this library gets in the aggregate README's
# table (see `readme_template` below). Required on every aggregated
# computational library, so releasing one cannot silently skip the table; the
# `*-theory` companions need none, they occupy the table's third column.
#
# A `pins_only: true` entry (the leanprover/hex aggregate) manages no library
# source from the monorepo; the sync generates its lakefile and `Hex.lean` from
# the `aggregate:` entries above, at the version published this run.
# Its `readme_template` is rendered by scripts/release/aggregate_readme.py and
# published as the repo's README.md. Such an entry is listed last so every
# upstream it pins is already synced.
repos:
- repo: leanprover/hex-basic
component: Foundations
lib: HexBasic
test_modules: [HexBasic.ModuleBoundaryTests]
umbrella: true
readme: false # README is authored in the released repo, not managed
spec: null
pins: []
lakefile: toml
- repo: leanprover/hex-truncated-series
component: Fixed-precision power series
lib: HexTruncatedSeries
umbrella: true
spec: hex-truncated-series
pins: [hex-basic]
lakefile: toml
- repo: leanprover/hex-truncated-series-theory
lib: HexTruncatedSeriesTheory
umbrella: true
spec: hex-truncated-series-theory
pins: [hex-basic, hex-truncated-series]
lakefile: toml
- repo: leanprover/hex-test-kit
lib: Hex
aggregate: false # test/conformance helper, not user-facing Hex API
umbrella: false # released HexTestKit.lean umbrella is fixed
paths: # explicit: only the shared helper source
- { src: "Hex", dest: "Hex" }
spec: null
keep_paths: [HexTestKit.lean] # mirror-local umbrella, authored there
lean_lib_name: HexTestKit # the Lake library is named after that umbrella
globs: [HexTestKit, Hex.Conformance.Emit, Hex.BenchOracle.Flint]
pins: []
lakefile: toml
- repo: leanprover/hex-arith
component: Exact word arithmetic
lib: HexArith
test_modules: [HexArith.ExtendedGcdTests]
umbrella: true
spec: hex-arith
pins: []
lakefile: lean
lake_declarations: [hexArithOTarget, hexarithWideO, hexarithGcdO, HexArithNative]
extra_paths:
- { src: "HexArithNative.lean", dest: "HexArithNative.lean" }
- repo: leanprover/hex-modular
component: CRT and rational reconstruction
lib: HexModular
test_modules: [HexModular.KernelTests, HexModular.LoopTests]
umbrella: true
spec: hex-modular
pins: [hex-arith]
lakefile: toml
- repo: leanprover/hex-primality
component: Certified primality
lib: HexPrimality
test_modules: [HexPrimality.Examples.Curve25519]
umbrella: true
spec: hex-primality
pins: [hex-basic, hex-arith]
lakefile: toml
- repo: leanprover/hex-ecpp
component: Bounded elliptic-curve certificates
lib: HexECPP
umbrella: true
spec: hex-ecpp
pins: [hex-basic, hex-arith, hex-primality]
lakefile: toml
- repo: leanprover/hex-primality-theory
lib: HexPrimalityTheory
umbrella: true
spec: hex-primality-theory
pins: [hex-basic, hex-arith, hex-primality]
lakefile: toml
- repo: leanprover/hex-ecpp-theory
lib: HexECPPTheory
umbrella: true
spec: hex-ecpp-theory
test_modules: [HexECPPTheory.Tests]
build_modules: [HexECPPTheory.Native, HexECPPTheory.Pari]
pins: [hex-basic, hex-arith, hex-primality, hex-ecpp, hex-primality-theory]
lakefile: lean
lake_declarations: [hexecpppariio, HexECPPTheory, HexECPPTheoryPariIO]
dependency_caches: [TauCeti]
- repo: leanprover/hex-poly
component: Dense univariate polynomials
lib: HexPoly
test_modules: [HexPoly.InterpretTests, HexPoly.PseudoTests]
umbrella: true
spec: hex-poly
pins: []
lakefile: toml
- repo: leanprover/hex-poly-fast
component: Fast dense-polynomial algorithms
lib: HexPolyFast
umbrella: true
spec: hex-poly-fast
pins: [hex-basic, hex-truncated-series, hex-poly]
lakefile: toml
- repo: leanprover/hex-mod-arith
component: Modular arithmetic
lib: HexModArith
umbrella: true
spec: hex-mod-arith
pins: [hex-arith]
lakefile: lean
lake_declarations: [zmod64MulOTarget, hexmodarithO, HexModArithNative]
extra_paths:
- { src: "HexModArithNative.lean", dest: "HexModArithNative.lean" }
- repo: leanprover/hex-mv-poly
component: Sparse multivariate polynomials
lib: HexMvPoly
test_modules: [HexMvPoly.KernelTests, HexMvPoly.KernelResidueTests]
umbrella: true
spec: hex-mv-poly
pins: [hex-basic, hex-poly, hex-arith, hex-mod-arith]
lakefile: toml
- repo: leanprover/hex-matrix
component: Matrices
lib: HexMatrix
umbrella: true
spec: hex-matrix
pins: [hex-basic]
lakefile: toml
- repo: leanprover/hex-matrix-theory
lib: HexMatrixTheory
test_modules: [HexMatrixTheory.Tests]
umbrella: true
spec: hex-matrix-theory
pins: [hex-basic, hex-matrix]
lakefile: toml
- repo: leanprover/hex-poly-theory
lib: HexPolyTheory
test_modules: [HexPolyTheory.LiteralTests, HexPolyTheory.InterpretTests, HexPolyTheory.PseudoTests]
umbrella: true
spec: hex-poly-theory
pins: [hex-poly, hex-matrix-theory, hex-matrix, hex-basic]
lakefile: toml
- repo: leanprover/hex-poly-fp
component: Polynomials over a prime field
lib: HexPolyFp
umbrella: true
spec: hex-poly-fp
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-sparse-poly
component: Sparse univariate polynomials
lib: HexSparsePoly
test_modules: [HexSparsePoly.KernelTests]
umbrella: true
spec: hex-sparse-poly
pins: [hex-basic, hex-poly]
lakefile: toml
- repo: leanprover/hex-sparse-poly-theory
lib: HexSparsePolyTheory
umbrella: true
spec: hex-sparse-poly-theory
pins: [hex-basic, hex-poly, hex-sparse-poly, hex-poly-theory, hex-matrix, hex-matrix-theory]
lakefile: toml
- repo: leanprover/hex-poly-z
component: Integer polynomials
lib: HexPolyZ
umbrella: true
spec: hex-poly-z
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-mod-arith-theory
lib: HexModArithTheory
umbrella: true
spec: hex-mod-arith-theory
pins: [hex-arith, hex-mod-arith]
lakefile: toml
- repo: leanprover/hex-mv-poly-theory
lib: HexMvPolyTheory
test_modules: [HexMvPolyTheory.KernelResidueTests]
umbrella: true
spec: hex-mv-poly-theory
pins: [hex-basic, hex-poly, hex-mv-poly, hex-poly-theory, hex-matrix, hex-matrix-theory, hex-arith, hex-mod-arith, hex-mod-arith-theory]
lakefile: toml
- repo: leanprover/hex-poly-fp-theory
lib: HexPolyFpTheory
umbrella: true
spec: hex-poly-fp-theory
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-fp, hex-poly-theory, hex-mod-arith-theory, hex-matrix, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-gfq-ring
component: Quotient rings `F_p[x]/(f)`
lib: HexGFqRing
umbrella: true
spec: hex-gfq-ring
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-fp, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-hensel
component: Hensel lifting
lib: HexHensel
umbrella: true
spec: hex-hensel
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-z, hex-poly-fp, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-poly-z-theory
lib: HexPolyZTheory
umbrella: true
spec: hex-poly-z-theory
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-z, hex-poly-fp, hex-hensel, hex-poly-theory, hex-mod-arith-theory, hex-matrix, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-hensel-theory
lib: HexHenselTheory
umbrella: true
spec: hex-hensel-theory
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-z, hex-poly-fp, hex-hensel, hex-poly-theory, hex-matrix, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-roots
component: Complex root isolation
lib: HexRoots
umbrella: true
spec: hex-roots
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-z, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-real-roots
component: Real root isolation
lib: HexRealRoots
test_modules: [HexRealRoots.ReplayTest, HexRealRoots.TarskiTests]
umbrella: true
spec: hex-real-roots
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-z, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-roots-theory
lib: HexRootsTheory
test_modules: [HexRootsTheory.Examples]
umbrella: true
spec: hex-roots-theory
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-z, hex-poly-fp, hex-hensel, hex-poly-theory, hex-mod-arith-theory, hex-poly-z-theory, hex-roots, hex-matrix, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-real-roots-theory
lib: HexRealRootsTheory
test_modules: [HexRealRootsTheory.IsolateRootsTests, HexRealRootsTheory.IsolateRootsElabTests, HexRealRootsTheory.SturmTests, HexRealRootsTheory.RealRootCountTests, HexRealRootsTheory.TarskiTests]
umbrella: true
spec: hex-real-roots-theory
pins: [hex-basic, hex-arith, hex-poly, hex-mod-arith, hex-poly-z, hex-poly-fp, hex-hensel, hex-poly-theory, hex-mod-arith-theory, hex-poly-z-theory, hex-real-roots, hex-matrix, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-row-reduce
component: Row reduction
lib: HexRowReduce
umbrella: true
spec: hex-row-reduce
pins: [hex-basic, hex-matrix]
lakefile: toml
- repo: leanprover/hex-berlekamp
component: Finite-field factorization
lib: HexBerlekamp
test_modules: [HexBerlekamp.FactorTacticTests]
umbrella: true
spec: hex-berlekamp
pins: [hex-basic, hex-arith, hex-poly, hex-matrix, hex-row-reduce, hex-mod-arith, hex-poly-fp, hex-gfq-ring, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-conway
component: Conway polynomials
lib: HexConway
umbrella: true
spec: hex-conway
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-matrix, hex-row-reduce, hex-mod-arith, hex-poly-fp, hex-gfq-ring, hex-berlekamp, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-gfq-field
component: Finite fields `F_p[x]/(f)`
lib: HexGFqField
umbrella: true
spec: hex-gfq-field
pins: [hex-basic, hex-arith, hex-poly, hex-matrix, hex-row-reduce, hex-mod-arith, hex-poly-fp, hex-gfq-ring, hex-berlekamp, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-gf2
component: Packed GF(2) polynomials
lib: HexGF2
umbrella: true
spec: hex-gf2
pins: [hex-basic]
lakefile: lean
lake_declarations: [clmulOTarget, hexgf2ffi]
- repo: leanprover/hex-gf2-theory
lib: HexGF2Theory
umbrella: true
spec: hex-gf2-theory
pins: [hex-basic, hex-arith, hex-poly, hex-matrix, hex-row-reduce, hex-mod-arith, hex-poly-fp, hex-gfq-ring, hex-berlekamp, hex-gfq-field, hex-gf2, hex-poly-theory, hex-mod-arith-theory, hex-poly-fp-theory, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-gfq
component: Canonical finite fields
lib: HexGFq
umbrella: true
spec: hex-gfq
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-matrix, hex-row-reduce, hex-mod-arith, hex-poly-fp, hex-gfq-ring, hex-berlekamp, hex-conway, hex-gfq-field, hex-gf2, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-gfq-theory
lib: HexGFqTheory
umbrella: true
spec: hex-gfq-theory
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-matrix, hex-row-reduce, hex-mod-arith, hex-poly-fp, hex-gfq-ring, hex-berlekamp, hex-conway, hex-gfq-field, hex-gf2, hex-gfq, hex-poly-theory, hex-mod-arith-theory, hex-poly-fp-theory, hex-gf2-theory, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-determinant
component: Determinants
lib: HexDeterminant
umbrella: true
spec: hex-determinant
pins: [hex-basic, hex-matrix]
lakefile: toml
- repo: leanprover/hex-bareiss
component: Bareiss determinant
lib: HexBareiss
umbrella: true
spec: hex-bareiss
pins: [hex-basic, hex-arith, hex-determinant, hex-matrix]
lakefile: toml
- repo: leanprover/hex-row-reduce-theory
lib: HexRowReduceTheory
test_modules: [HexRowReduceTheory.Tests]
umbrella: true
spec: hex-row-reduce-theory
pins: [hex-basic, hex-row-reduce, hex-matrix-theory, hex-matrix]
lakefile: toml
- repo: leanprover/hex-determinant-theory
lib: HexDeterminantTheory
umbrella: true
spec: hex-determinant-theory
pins: [hex-basic, hex-arith, hex-determinant, hex-bareiss, hex-matrix-theory, hex-matrix]
lakefile: toml
- repo: leanprover/hex-bareiss-theory
lib: HexBareissTheory
test_modules: [HexBareissTheory.Tests]
umbrella: true
spec: hex-bareiss-theory
pins: [hex-basic, hex-arith, hex-determinant-theory, hex-determinant, hex-bareiss, hex-matrix-theory, hex-matrix]
lakefile: toml
- repo: leanprover/hex-berlekamp-theory
lib: HexBerlekampTheory
test_modules: [HexBerlekampTheory.FactorPolyTests]
umbrella: true
spec: hex-berlekamp-theory
pins: [hex-basic, hex-arith, hex-poly, hex-matrix, hex-row-reduce, hex-mod-arith, hex-poly-fp, hex-gfq-ring, hex-berlekamp, hex-poly-theory, hex-mod-arith-theory, hex-poly-fp-theory, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-gram-schmidt
component: Gram-Schmidt
lib: HexGramSchmidt
umbrella: true
spec: hex-gram-schmidt
pins: [hex-basic, hex-arith, hex-row-reduce, hex-determinant, hex-bareiss, hex-matrix]
lakefile: toml
- repo: leanprover/hex-gram-schmidt-theory
lib: HexGramSchmidtTheory
umbrella: true
spec: hex-gram-schmidt-theory
pins: [hex-basic, hex-arith, hex-gram-schmidt, hex-bareiss-theory, hex-determinant-theory, hex-matrix-theory, hex-row-reduce, hex-determinant, hex-bareiss, hex-matrix]
lakefile: toml
- repo: leanprover/hex-lll
component: LLL lattice reduction
announcements:
blog: https://kim-em.github.io/blog/2026-7-7-lattice-basis-reduction-using-the-hex-lean-library/
zulip: https://leanprover.zulipchat.com/#narrow/channel/579630-Project-announcements/topic/Hex%3A.20a.20computational.20algebra.20library/near/608173688
linkedin: https://www.linkedin.com/posts/kim-morrison-219962b_lattice-basis-reduction-using-the-hex-lean-share-7480672935360266241-WF7o/
lib: HexLLL
executables: {hexlll_external_reduction: HexLLL.ExternalReduction}
lake_declarations: [hexlllProviderOTarget, hexlllffi]
umbrella: true
spec: hex-lll
pins: [hex-basic, hex-arith, hex-gram-schmidt, hex-row-reduce, hex-determinant, hex-bareiss, hex-matrix]
lakefile: lean
# user-facing performance doc (HexLLL/PERFORMANCE.md -> repo-root PERFORMANCE.md)
performance: true
# tight explicit figure allow-list (no broad globs); add per new family
figures:
- hex-lll-comparator-random-bounded.svg
- hex-lll-comparator-harsh-cubic.svg
- hex-lll-comparator-ajtai.svg
- hex-lll-comparator-q-ary.svg
- hex-lll-comparator-ntru.svg
- hex-lll-comparator-knapsack.svg
- repo: leanprover/hex-berlekamp-zassenhaus
component: Integer polynomial factorization
announcements:
blog: https://kim-em.github.io/blog/2026-8-10-certified-integer-polynomial-factorization-in-lean/
zulip: https://leanprover.zulipchat.com/#narrow/channel/579630-Project-announcements/topic/Hex%3A.20integer.20polynomial.20factorization/near/615747356
linkedin: https://www.linkedin.com/feed/update/urn:li:activity:7492744920349192193
lib: HexBerlekampZassenhaus
test_modules: [HexBerlekampZassenhaus.FactorTacticTests]
build_modules: [HexBerlekampZassenhaus.All]
umbrella: true
spec: hex-berlekamp-zassenhaus
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-matrix, hex-row-reduce, hex-determinant, hex-bareiss, hex-mod-arith, hex-gram-schmidt, hex-poly-z, hex-lll, hex-poly-fp, hex-gfq-ring, hex-berlekamp, hex-hensel, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: lean
- repo: leanprover/hex-lll-theory
lib: HexLLLTheory
umbrella: true
spec: hex-lll-theory
pins: [hex-basic, hex-arith, hex-lll, hex-gram-schmidt-theory, hex-row-reduce-theory, hex-determinant-theory, hex-bareiss-theory, hex-matrix-theory, hex-gram-schmidt, hex-row-reduce, hex-determinant, hex-bareiss, hex-matrix]
lakefile: toml
- repo: leanprover/hex-berlekamp-zassenhaus-theory
lib: HexBerlekampZassenhausTheory
test_modules:
- HexBerlekampZassenhausTheory.FactorPolyTests
- HexBerlekampZassenhausTheory.PublicReplayTests
- HexBerlekampZassenhausTheory.QuotationTests
- HexBerlekampZassenhausTheory.IrreducibilityTests
build_modules: [HexBerlekampZassenhausTheory.All]
umbrella: true
spec: hex-berlekamp-zassenhaus-theory
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-matrix, hex-row-reduce, hex-determinant, hex-bareiss, hex-mod-arith, hex-gram-schmidt, hex-poly-z, hex-lll, hex-poly-fp, hex-gfq-ring, hex-berlekamp, hex-hensel, hex-berlekamp-zassenhaus, hex-poly-theory, hex-matrix-theory, hex-row-reduce-theory, hex-determinant-theory, hex-bareiss-theory, hex-mod-arith-theory, hex-poly-fp-theory, hex-gram-schmidt-theory, hex-poly-z-theory, hex-lll-theory, hex-berlekamp-theory, hex-hensel-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: lean
- repo: leanprover/hex-perm-group
component: Permutation groups
lib: HexPermGroup
test_modules: [HexPermGroup.Tests, HexPermGroup.CertificateTests, HexPermGroup.ImportTests]
umbrella: true
spec: hex-perm-group
pins: [hex-basic]
lakefile: lean
- repo: leanprover/hex-perm-group-theory
lib: HexPermGroupTheory
test_modules: [HexPermGroupTheory.Tests, HexPermGroupTheory.CertificateTests, HexPermGroupTheory.TacticTests]
umbrella: true
spec: hex-perm-group-theory
pins: [hex-basic, hex-perm-group]
lakefile: toml
# `HexGraph` supplies dense and sparse graph representations with no SPEC surface of its
# own, and `hex-graph-iso` is its only consumer, so it rides into this
# repository through `extra_paths` rather than becoming a repository, a CI
# workflow, a token slot and an aggregate-README row of its own. The generated
# Lake file declares `lean_lib HexGraph` beside `lean_lib HexGraphIso`,
# as the monorepo lakefile does. A second consumer of `HexGraph` is the
# trigger to promote it to `leanprover/hex-graph`; the source must not be
# duplicated across two mirrors.
#
# The pins are the published part of the closure `HexGraphIso` reaches:
# `HexBasic` directly, `HexMatrix` through `HexGraph.Basic`, and
# `HexPermGroup` through sparse relabelling and automorphism operations. The
# vendored nauty source and both nauty comparators -- the shim behind
# `scripts/oracle/graphiso_nauty.py` and the in-process
# `Hex.BenchOracle.Nauty` binding -- stay in this monorepo with every other
# development instrument, so no pin here can drag `vendor/nauty-2.9.3` into
# the mirror and `leanprover/nauty-ffi` never becomes a dependency of the
# shipped library.
- repo: leanprover/hex-graph-iso
component: Graph canonical labelling
announcements:
blog: https://kim-em.github.io/blog/2026-9-5-certified-graph-isomorphism-in-lean/
zulip: https://leanprover.zulipchat.com/#narrow/channel/579630-Project-announcements/topic/Hex.3A.20graph.20isomorphism.20via.20a.20formalization.20of.20.60nauty.60/near/621968237
lib: HexGraphIso
test_modules: [HexGraphIso.TestGraphs, HexGraphIso.TacticTests,
HexGraphIso.ModuleBoundaryTests, HexGraphIso.SparseTests]
umbrella: true
spec: hex-graph-iso
extra_paths:
- { src: "HexGraph", dest: "HexGraph" }
- { src: "HexGraph.lean", dest: "HexGraph.lean" }
pins: [hex-basic, hex-matrix, hex-perm-group]
lakefile: toml
- repo: leanprover/hex-graph-iso-theory
lib: HexGraphIsoTheory
test_modules: [HexGraphIsoTheory.TacticTests, HexGraphIsoTheory.SparseTacticTests]
umbrella: true
spec: hex-graph-iso-theory
pins: [hex-basic, hex-matrix, hex-perm-group, hex-perm-group-theory, hex-graph-iso]
lakefile: toml
- repo: leanprover/hex-resultant
component: Resultants and discriminants
lib: HexResultant
umbrella: true
spec: hex-resultant
pins: [hex-basic, hex-poly, hex-matrix, hex-determinant]
lakefile: toml
- repo: leanprover/hex-resultant-theory
lib: HexResultantTheory
umbrella: true
spec: hex-resultant-theory
pins: [hex-basic, hex-poly, hex-poly-theory, hex-matrix, hex-determinant, hex-resultant, hex-matrix-theory]
lakefile: toml
- repo: leanprover/hex-number-field
component: Algebraic numbers
announcements:
blog: https://kim-em.github.io/blog/2026-9-8-exact-algebraic-numbers-and-number-fields-in-lean/
zulip: https://leanprover.zulipchat.com/#narrow/channel/583339-AI-authored-projects/topic/Hex.3A.20algebraic.20numbers/near/622699726
linkedin: https://www.linkedin.com/posts/kim-morrison-219962b_lean-p-p-share-7503266578889601024-Cwtx/
lib: HexNumberField
umbrella: true
spec: hex-number-field
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-mod-arith, hex-poly-fp, hex-poly-z, hex-gfq-ring, hex-hensel, hex-roots, hex-matrix, hex-row-reduce, hex-berlekamp, hex-determinant, hex-bareiss, hex-gram-schmidt, hex-lll, hex-berlekamp-zassenhaus, hex-resultant, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-number-field-theory
lib: HexNumberFieldTheory
umbrella: true
spec: hex-number-field-theory
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-mod-arith, hex-poly-theory, hex-poly-fp, hex-poly-z, hex-mod-arith-theory, hex-poly-fp-theory, hex-gfq-ring, hex-hensel, hex-poly-z-theory, hex-hensel-theory, hex-roots, hex-roots-theory, hex-matrix, hex-row-reduce, hex-berlekamp, hex-determinant, hex-bareiss, hex-matrix-theory, hex-row-reduce-theory, hex-determinant-theory, hex-bareiss-theory, hex-berlekamp-theory, hex-gram-schmidt, hex-gram-schmidt-theory, hex-lll, hex-berlekamp-zassenhaus, hex-lll-theory, hex-berlekamp-zassenhaus-theory, hex-resultant, hex-resultant-theory, hex-number-field, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
# `Embed.lean` is a file of compiled `#guard` regressions with no public
# declarations, so it ships as a verification-only module rather than
# riding in the umbrella every consumer elaborates.
- repo: leanprover/hex-number-field-tower
component: Number field towers
lib: HexNumberFieldTower
test_modules: [HexNumberFieldTower.Embed]
umbrella: true
spec: hex-number-field-tower
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-mod-arith, hex-poly-fp, hex-poly-z, hex-gfq-ring, hex-hensel, hex-roots, hex-matrix, hex-row-reduce, hex-berlekamp, hex-determinant, hex-bareiss, hex-gram-schmidt, hex-lll, hex-berlekamp-zassenhaus, hex-resultant, hex-number-field, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
- repo: leanprover/hex-number-field-tower-theory
lib: HexNumberFieldTowerTheory
umbrella: true
spec: hex-number-field-tower-theory
pins: [hex-basic, hex-arith, hex-primality, hex-poly, hex-mod-arith, hex-poly-theory, hex-poly-fp, hex-poly-z, hex-mod-arith-theory, hex-poly-fp-theory, hex-gfq-ring, hex-hensel, hex-poly-z-theory, hex-hensel-theory, hex-roots, hex-roots-theory, hex-matrix, hex-row-reduce, hex-berlekamp, hex-determinant, hex-bareiss, hex-matrix-theory, hex-row-reduce-theory, hex-determinant-theory, hex-bareiss-theory, hex-berlekamp-theory, hex-gram-schmidt, hex-gram-schmidt-theory, hex-lll, hex-berlekamp-zassenhaus, hex-lll-theory, hex-berlekamp-zassenhaus-theory, hex-resultant, hex-resultant-theory, hex-number-field, hex-number-field-theory, hex-number-field-tower, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
# `HexRCF` imports Mathlib and has no separate companion: the `rcf` tactic
# targets `ℝ`, so its soundness theorem lives in the same library. Its name
# lacks the Theory suffix, so it takes a table row; `theory_only` puts
# that row's link in the Theory column of the aggregate README.
- repo: leanprover/hex-rcf
component: Real-closed-field decision (`rcf` tactic)
theory_only: true
lib: HexRCF
test_modules: [HexRCF.LanguageTests, HexRCF.SturmBuilderTests, HexRCF.CarrierTests, HexRCF.IsolationsTests, HexRCF.SeparationTests, HexRCF.CellsTests, HexRCF.CommonRootTests, HexRCF.SignMatrixTests, HexRCF.BuilderTests, HexRCF.CertificateTests, HexRCF.DecisionTests, HexRCF.ReifyTests, HexRCF.HandlerTests.Support, HexRCF.HandlerTests.Async, HexRCF.HandlerTests.Admission, HexRCF.HandlerTests, HexRCF.LintTests]
umbrella: true
spec: hex-rcf
# Includes published dependencies of the development-only shared adapter.
# Its source lives in adapters/ and is outside these managed release paths.
pins: [hex-basic, hex-arith, hex-mv-poly, hex-mv-poly-theory, hex-poly, hex-mod-arith, hex-poly-theory, hex-poly-fp, hex-poly-z, hex-mod-arith-theory, hex-hensel, hex-poly-z-theory, hex-real-roots, hex-real-roots-theory, hex-matrix, hex-matrix-theory, hex-truncated-series, hex-modular, hex-poly-fast]
lakefile: toml
# Aggregate: no managed source. Its lakefile.toml and Hex.lean are generated
# from the `aggregate:` entries above, and its README is rendered from
# `readme_template`
# with the library table generated from the `component:` labels above, so
# releasing a new library updates it without a hand edit. Listed last so
# every pin resolves to a commit synced this run.
- repo: leanprover/hex
pins_only: true
readme_template: scripts/release/hex-README.md
pins: [hex-basic, hex-arith, hex-primality, hex-ecpp, hex-primality-theory, hex-ecpp-theory, hex-poly, hex-mv-poly, hex-mod-arith, hex-sparse-poly, hex-poly-theory, hex-sparse-poly-theory, hex-mv-poly-theory, hex-poly-fp, hex-poly-z, hex-mod-arith-theory, hex-poly-fp-theory, hex-gfq-ring, hex-hensel, hex-poly-z-theory, hex-hensel-theory, hex-roots, hex-real-roots, hex-roots-theory, hex-real-roots-theory, hex-matrix, hex-row-reduce, hex-berlekamp, hex-conway, hex-gfq-field, hex-gf2, hex-gf2-theory, hex-gfq, hex-gfq-theory, hex-determinant, hex-bareiss, hex-matrix-theory, hex-row-reduce-theory, hex-determinant-theory, hex-bareiss-theory, hex-berlekamp-theory, hex-gram-schmidt, hex-gram-schmidt-theory, hex-lll, hex-berlekamp-zassenhaus, hex-lll-theory, hex-berlekamp-zassenhaus-theory, hex-perm-group, hex-perm-group-theory, hex-graph-iso, hex-graph-iso-theory, hex-resultant, hex-resultant-theory, hex-number-field, hex-number-field-theory, hex-number-field-tower, hex-number-field-tower-theory, hex-rcf, hex-truncated-series, hex-truncated-series-theory, hex-modular, hex-poly-fast]
lakefile: toml