Skip to content

chore: fix some technical debt around pullback bundle instances - #151

Merged
grunweg merged 3 commits into
masterfrom
bump-toolchain-v4.35.0-rc3
Sep 25, 2026
Merged

grunweg merged 3 commits into
masterfrom
bump-toolchain-v4.35.0-rc3

Conversation

@kim-em

@kim-em kim-em commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor
  • add a few more instances around pullback bundles: as Bundle.Pullback is not reducible, these are necessary
  • fix the AddCommGroup instance, by using inferInstanceAs
  • comment on one proof's defeq abuse

Mathlib's bundle of continuous linear maps now asks for `IsTopologicalAddGroup`
and `ContinuousSMul` on the fibers of the target bundle. Supply those for
pullback bundles, and restate the existing pullback instances with
`inferInstanceAs` so that they agree with mathlib's `AddCommMonoid ((f *ᵖ E) x)`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@grunweg

grunweg commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Thanks! As I had bumps to mathlib queued locally, I merged those first - but I'll glad take the better solution with the tech debt fix. I'll merge master, tweak the comments and merge later today.

@grunweg grunweg changed the title chore: bump to Lean v4.35.0-rc3 and current mathlib chore: fix some technical debt around pullback bundle instances Sep 25, 2026
@grunweg

grunweg commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the help!

@grunweg
grunweg merged commit 32d5b1f into master Sep 25, 2026
1 check failed
@grunweg
grunweg deleted the bump-toolchain-v4.35.0-rc3 branch September 25, 2026 10:45
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.

2 participants