feat: reflections, inversion sequences in Coxeter groups
- Add theorem
List.length_eraseIdx_add_onetoData/List/Basic.lean, which states that ifi < l.length, then the length ofl.eraseIdx i plus oneis equal to the length ofl. - Add new file
GroupTheory/Coxeter/Inversion.lean. Define reflections, left inversions, right inversions, and inversion sequences. Prove their basic properties.
I decided to split #11408 (now closed) into two pull requests. This is the second one. The first is #11465.
- [x] depends on: #11465
I'm not entirely sure what happened with the CI here. It is not very clear about what went wrong.
This PR/issue depends on:
- ~~leanprover-community/mathlib4#11465~~ By Dependent Issues (🤖). Happy coding!
Thank you so much for the feedback.
bors d+
:v: trivial1711 can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.
bors r+
Pull request successfully merged into master.
Build succeeded: