Commit 2024-02-02 21:03 96a6d295
View on Github →refactor: generalize CharP+Prime
to ExpChar
in frobenius
(#10016)
Consequently, the part about frobenius
in Algebra/CharP/Basic is moved to CharP/ExpChar, and imports are adjusted as necessary.
- Add instances from
CharP+Fact(Nat.Prime)
andCharZero
toExpChar
, to allow lemmas generalized to ExpChar still apply to CharP. - Remove lemmas in Algebra/CharP/ExpChar from [#9799](https://github.com/leanprover-community/mathlib4/commit/1e74fcfff8d5ffe5a3a9881864cf10fa39f619e6) because they coincide with the generalized lemmas, and golf the other lemmas (in Algebra/CharP/Basic).
- Define the RingHom
iterateFrobenius
and the semilinear mapLinearMap.(iterate)Frobenius
for an algebra. When the characteristic is zero (ExpChar is 1), these are all equal to the identity map (· ^ 1). Also defineiterateFrobeniusEquiv
for perfect rings. - Fix and/or generalize other files.