Theorems · Inductive type · commutative algebra
CharP
(R : Type u_2) → [AddMonoidWithOne R] → outParam ℕ → Prop
The generator of the kernel of the unique homomorphism ℕ → R for a semiring R.
Warning: for a semiring R, CharP R 0 and CharZero R need not coincide.
* CharP R 0 asks that only 0 : ℕ maps to 0 : R under the map ℕ → R;
* CharZero R requires an injection ℕ ↪ R.
For instance, endowing {0, 1} with addition given by max (i.e. 1 is absorbing), shows that
CharZero {0, 1} does not hold and yet CharP {0, 1} 0 does.
This example is formalized in Counterexamples/CharPZeroNeCharZero.lean.
- Defined in
- Mathlib.Algebra.CharP.Defs
- Cited by
- 478 results in Mathlib
- Foundations
- Depth 1 from the axioms, rests on 4 definitions · uses no axioms
- Assumes
- AddMonoidWithOne
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- AddMonoidWithOnestatement · cited by 313
Cited by565
Results whose statement or proof uses this declaration.
- CharP.cast_eq_zerostatement and proof · cited by 357
- ZMod.castHomstatement and proof · cited by 55
- Perfection.coeffstatement and proof · cited by 51
- CharP.cast_eq_zero_iffstatement and proof · cited by 42
- PerfectClosure.mkstatement and proof · cited by 23
- PerfectClosurestatement and proof · cited by 22
- ExpChar.casesOnstatement and proof · cited by 21
- PerfectionMapstatement · cited by 16
- CharP.existsstatement · cited by 16
- ringExpChar.eqproof · cited by 15
- CharP.char_is_prime_or_zerostatement and proof · cited by 14
- FiniteField.Extensionstatement and proof · cited by 13
Showing the 200 most cited of 565.