Repository navigation
Conversation
PR summary d4c9eada32Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
✌️ ocfnash can now approve this pull request until 2026-08-25 13:23 UTC (in 2 weeks). To approve and merge, reply with
|
|
bors merge |
These changes concern the following four equivalences:
```lean
variable {α β : Type*}
example (e : α ≃ β) : Set α ≃ Set β := Equiv.Set.congr e -- No change
example (e : α ≃ β) : Finset α ≃ Finset β := Equiv.finsetCongr e -- Rename to `Equiv.Finset.congr`
example {s t : Set α} (h : s = t) : s ≃ t := Equiv.setCongr h -- No change
example {s t : Finset α} (h : s = t) : s ≃ t := sorry -- Missing: add as `Equiv.finsetCongr`
```
In summary we essentially implement two changes:
1. Rename the existing `Equiv.finsetCongr` to `Equiv.Finset.congr` since it is currently inconsistent with both `Equiv.Set.congr` and `Equiv.setCongr`
2. Fill a gap by giving the the now-available `Equiv.finsetCongr` name to the `Finset` version of `Equiv.setCongr`
|
Pull request successfully merged into master. Build succeeded: |
Set / Finset congruence APISet / Finset congruence API
* origin/master: (417 commits) feat(CategoryTheory/Presentable): more basic API for κ-filtered categories (leanprover-community#41184) feat(Tactic/Linter/UnusedTactic): mark `isIgnoreTacticKind` and `addIgnoreTacticKind` as public (leanprover-community#41993) doc: sync area READMEs with the directory tree (leanprover-community#42224) feat(CategoryTheory/Presentable): new constructor for `IsCardinalFilteredGenerator` (leanprover-community#41183) feat(Data/Finset): `insert a (s.erase a) = insert a s` (leanprover-community#40775) feat(CategoryTheory/Limits): morphisms between filtered limits are initially level-wise (leanprover-community#41009) chore: fix more linter warnings encountered by `scripts/rm_set_option.py` (leanprover-community#42659) chore(Algebra/Module/Submodule/Pointwise): remove `@[simp]` (leanprover-community#42643) feat(Algebra/QuadraticAlgebra): change of generator (leanprover-community#42209) chore(Condensed): reduce imports (leanprover-community#42022) chore: remove @[expose] from def-free public sections (leanprover-community#39388) feat: make `TFAE.out` 1-indexed (leanprover-community#42663) feat(Topology/Order): convergence of suprema and infima (leanprover-community#40578) feat: composition of Fredholm operators (leanprover-community#41601) chore: remove unused open declarations (leanprover-community#42235) chore(Algebra/Order/GroupWithZero/Canonical): remove unnecessary typeclass assumptions (leanprover-community#42539) chore(Algebra/Homology): make `HomologicalComplex.eval` `implicit_reducible` (leanprover-community#42648) chore: update Mathlib dependencies 2026-08-11 (leanprover-community#42651) chore: improve `Set` / `Finset` congruence API (leanprover-community#42640) feat(Geometry/Convex): a topology on StdSimplex (leanprover-community#42131) ... # Conflicts: # Mathlib/Tactic/Linter/DirectoryDependency.lean
|
Given |
|
Thanks @YaelDillies I won't have time today but I'll try to get to this tomorrow. (I haven't time to look in detail now so I don't know what action I'll take but my null hypothesis is that you're right.) |
|
Done in #43005 |
….congr` The new `Equiv.setCongr` matches `MulEquiv.monoidHomCongrLeft` and friends. Perform the same change for `Finset`. Follow-up to #42640. Generated by Claude Sonnet, reviewed and improved line-by-line by myself. Assisted-by: Claude Sonnet 5
….congr` (#43005) The new `Equiv.setCongr` matches `MulEquiv.monoidHomCongrLeft` and friends. Perform the same change for `Finset`. Follow-up to #42640. Generated by Claude Sonnet, reviewed and improved line-by-line by myself. Assisted-by: Claude Sonnet 5 Co-authored-by: Oliver Nash <[email protected]>
….congr` (#43005) The new `Equiv.setCongr` matches `MulEquiv.monoidHomCongrLeft` and friends. Perform the same change for `Finset`. Follow-up to #42640. Generated by Claude Sonnet, reviewed and improved line-by-line by myself. Assisted-by: Claude Sonnet 5 Co-authored-by: Oliver Nash <[email protected]>
….congr` (#43005) The new `Equiv.setCongr` matches `MulEquiv.monoidHomCongrLeft` and friends. Perform the same change for `Finset`. Follow-up to #42640. Generated by Claude Sonnet, reviewed and improved line-by-line by myself. Assisted-by: Claude Sonnet 5 Co-authored-by: Oliver Nash <[email protected]>
….congr` (#43005) The new `Equiv.setCongr` matches `MulEquiv.monoidHomCongrLeft` and friends. Perform the same change for `Finset`. Follow-up to #42640. Generated by Claude Sonnet, reviewed and improved line-by-line by myself. Assisted-by: Claude Sonnet 5 Co-authored-by: Oliver Nash <[email protected]>
….congr` (leanprover-community#43005) The new `Equiv.setCongr` matches `MulEquiv.monoidHomCongrLeft` and friends. Perform the same change for `Finset`. Follow-up to leanprover-community#42640. Generated by Claude Sonnet, reviewed and improved line-by-line by myself. Assisted-by: Claude Sonnet 5 Co-authored-by: Oliver Nash <[email protected]>
…42640) These changes concern the following four equivalences: ```lean variable {α β : Type*} example (e : α ≃ β) : Set α ≃ Set β := Equiv.Set.congr e -- No change example (e : α ≃ β) : Finset α ≃ Finset β := Equiv.finsetCongr e -- Rename to `Equiv.Finset.congr` example {s t : Set α} (h : s = t) : s ≃ t := Equiv.setCongr h -- No change example {s t : Finset α} (h : s = t) : s ≃ t := sorry -- Missing: add as `Equiv.finsetCongr` ``` In summary we essentially implement two changes: 1. Rename the existing `Equiv.finsetCongr` to `Equiv.Finset.congr` since it is currently inconsistent with both `Equiv.Set.congr` and `Equiv.setCongr` 2. Fill a gap by giving the the now-available `Equiv.finsetCongr` name to the `Finset` version of `Equiv.setCongr`
….congr` (leanprover-community#43005) The new `Equiv.setCongr` matches `MulEquiv.monoidHomCongrLeft` and friends. Perform the same change for `Finset`. Follow-up to leanprover-community#42640. Generated by Claude Sonnet, reviewed and improved line-by-line by myself. Assisted-by: Claude Sonnet 5 Co-authored-by: Oliver Nash <[email protected]>
….congr` (leanprover-community#43005) The new `Equiv.setCongr` matches `MulEquiv.monoidHomCongrLeft` and friends. Perform the same change for `Finset`. Follow-up to leanprover-community#42640. Generated by Claude Sonnet, reviewed and improved line-by-line by myself. Assisted-by: Claude Sonnet 5 Co-authored-by: Oliver Nash <[email protected]>
These changes concern the following four equivalences:
In summary we essentially implement two changes:
Equiv.finsetCongrtoEquiv.Finset.congrsince it is currently inconsistent with bothEquiv.Set.congrandEquiv.setCongrEquiv.finsetCongrname to theFinsetversion ofEquiv.setCongr