Commit 2025-05-20 14:06 9baf55b0
View on Github →refactor: change CWComplex from abbrev to its own class (#24712)
This PR makes the classical absolute CW complex into its own class. This is done to
- make typeclass inference able to infer facts about
CWComplexwithout always passing throughRelCWComplexes, and - to give
CWComplexa constructor so constructing instances ofCWComplexis easier. The reason why the fields ofCWComplexareprotectedis that we always wantcellandmapto refer toRelCWComplex.cellandRelCWComplex.mapthrough the instance: that ensures that lemmas aboutRelCWComplexdirectly apply toCWComplex. Since all of these fields talk about theCWComplexversions ofmapandcellthey should never be used.