Skip to content

chore(vendor): refresh geb-mathlib and extend the module exclusions - #303

Merged
rokopt merged 1 commit into
anoma:mainfrom
rokopt:chore/geb-mathlib-refresh-2026-09-14
Sep 14, 2026
Merged

rokopt merged 1 commit into
anoma:mainfrom
rokopt:chore/geb-mathlib-refresh-2026-09-14

Conversation

@rokopt

@rokopt rokopt commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Refresh the vendored geb-mathlib tree to upstream 17f8f4c. The refresh workflow failed on the modules upstream added under Geb.Prototypes.Computability.BitTree, BitTreeScanner, and Mazzanti, which import
Cslib.Computability.Machines.Turing.MultiTape.{Deterministic,TapeLemmas} and Cslib.Foundations.Data.PFunctor.Free. None of the three exists at the pinned cslib revision 9a159ac; PFunctor/Free.lean was added in cslib PR #477, and the pinned tree's Cslib.FreeM is the free monad over an arbitrary type constructor rather than over a polynomial functor, so no rename supplies it.

Extend the exclusion list with the modules importing those, the modules importing one of them in turn, and the modules whose every importer is excluded (which scripts/tests/test-lint-driver.sh reports as orphaned from the Geb umbrella). The index modules survive with their imports deleted. Render the list in PROVENANCE.md one entry per line.

Extend the back-port patch for the surviving new modules: the category 11 lemma renames in BitTree/Encoding.lean, Mazzanti/Derived.lean, and Mazzanti/Diagonal.lean; category 4 beta_reduce sites in BitTree/Elias/Tree.lean, SizeBounded/Basic.lean, and SizeBounded/Cost.lean; the category 3 Type-valued identity law in Presheaf/WalkingArrow.lean; and the category 8 and 13 unusedArguments suppressions in SizeBounded/Cost.lean and SizeBounded/BitTree.lean. Record each in
docs/geb-mathlib-backport-notes.md.

Refresh the vendored `geb-mathlib` tree to upstream 17f8f4c. The
refresh workflow failed on the modules upstream added under
`Geb.Prototypes.Computability.BitTree`, `BitTreeScanner`, and
`Mazzanti`, which import
`Cslib.Computability.Machines.Turing.MultiTape.{Deterministic,TapeLemmas}`
and `Cslib.Foundations.Data.PFunctor.Free`. None of the three exists at
the pinned cslib revision `9a159ac`; `PFunctor/Free.lean` was added in
cslib PR #477, and the pinned tree's `Cslib.FreeM` is the free monad
over an arbitrary type constructor rather than over a polynomial
functor, so no rename supplies it.

Extend the exclusion list with the modules importing those, the
modules importing one of them in turn, and the modules whose every
importer is excluded (which `scripts/tests/test-lint-driver.sh`
reports as orphaned from the `Geb` umbrella). The index modules
survive with their imports deleted. Render the list in
`PROVENANCE.md` one entry per line.

Extend the back-port patch for the surviving new modules: the
category 11 lemma renames in `BitTree/Encoding.lean`,
`Mazzanti/Derived.lean`, and `Mazzanti/Diagonal.lean`; category 4 `beta_reduce` sites in
`BitTree/Elias/Tree.lean`, `SizeBounded/Basic.lean`, and
`SizeBounded/Cost.lean`; the category 3 `Type`-valued identity law in
`Presheaf/WalkingArrow.lean`; and the category 8 and 13
`unusedArguments` suppressions in `SizeBounded/Cost.lean` and
`SizeBounded/BitTree.lean`. Record each in
`docs/geb-mathlib-backport-notes.md`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019F44EyCXtUXKqzxxQGzdmP
@rokopt
rokopt merged commit 21f75e8 into anoma:main Sep 14, 2026
2 checks passed
@rokopt
rokopt deleted the chore/geb-mathlib-refresh-2026-09-14 branch September 14, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant