Commit 2026-10-13 18:29 2ca3a6c4
View on Github →refactor: review of SetSemiring (#37603)
- Rename
Set.upandSetSemiring.downtoSetSemiring.ofSetandSetSemiring.toSetrespectively. Unprotect both and make them equivalences, followingFreeMonoid. - Derive
CompleteAtomicBooleanAlgebraforSetSemiringimmediately. - Add
imageHom_idandimageHom_comp. The three existing lemmas aboutimageHomare coalesced intoimageHom_apply. Ultimately inspired by https://github.com/leanprover-community/mathlib4/pull/36934#issuecomment-4183475568.