Commit 2024-10-24 20:59 a3c1388b
View on Github →chore(Algebra/CharP): reduce theory requirements for CharP.Defs
(#18182)
The CharP/Defs.lean
file imports some structures and proves quite a bit of theory. This PR tries to ensure that the focus is on the definitions instead, namely CharP
, ringChar
, ExpChar
and ringExpChar
.
In the process, I made the following moves:
CharP/Basic.lean
: renamed toCharP/Lemmas.lean
CharP/Defs.lean
: all the lemmas that are not immediate consequences, or not needed to defineringChar
orexpChar
have been moved to the new fileCharP/Basic.lean
Note thatCharP/Basic.lean
andCharP/Lemmas.lean
can be imported independently. They are both unstructured collections of results so I'm not sure how we want to clean that up further.