Theorems · Inductive type · commutative algebra
CharZero
(R : Type u_1) → [AddMonoidWithOne R] → Prop
Typeclass for monoids with characteristic zero.
(This is usually stated on fields but it makes sense for any additive monoid with 1.)
Warning: for a semiring R, CharZero R and CharP R 0 need not coincide.
* CharZero R requires an injection ℕ ↪ R;
* CharP R 0 asks that only 0 : ℕ maps to 0 : R under the map ℕ → 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.CharZero.Defs
- Cited by
- 932 results in Mathlib
- Foundations
- Depth 1 from the axioms, rests on 2 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 by1,006
Results whose statement or proof uses this declaration.
- Nat.cast_lestatement and proof · cited by 159
- Nat.cast_ne_zerostatement and proof · cited by 113
- Nat.cast_ltstatement and proof · cited by 80
- Nat.cast_injstatement and proof · cited by 70
- NumberField.IsCMFieldstatement · cited by 45
- RootPairing.chainTopCoeffstatement and proof · cited by 43
- RootPairing.chainBotCoeffstatement and proof · cited by 40
- Nat.cast_injectivestatement and proof · cited by 39
- Rat.cast_divstatement and proof · cited by 37
- Rat.castHomstatement and proof · cited by 33
- Int.cast_injectivestatement and proof · cited by 30
- Nat.castEmbeddingstatement and proof · cited by 29
Showing the 200 most cited of 1,006.