Structures · Algebra
CharZero
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
- Shape
- One type argument · adds cast_injective
Extends0
Extends nothing: this is a root of the hierarchy.
Extended by0
Nothing extends this class yet.
Concrete types that are instances31
- Int
- Nat
- Rat
- Complex
- ZMod
- ENNReal
- Polynomial
- Padic
- RatFunc
- NNRat
- PadicComplex
- FractionRing
- PadicAlgCl
- WithVal
- ENat
- PadicInt
- QuadraticAlgebra
- EReal
- Polynomial.SplittingField
- Zsqrtd
- AlgebraicClosure
- CyclotomicField
- NumberField.RingOfIntegers
- Ordinal
- Cardinal
- FreeAlgebra
- MvPolynomial
- Subtype
- Prod
- WithTop
- WithBot
How is a type an instance?
Loading the hierarchy index…
Assumed by1,033
- Nat.cast_le
- Nat.cast_ne_zero
- Nat.cast_lt
- Nat.cast_inj
- RootPairing.chainTopCoeff
- RootPairing.chainBotCoeff
- Nat.cast_injective
- Rat.cast_div
- Rat.castHom
- Int.cast_injective
- Nat.castEmbedding
- NormedSpace.expSeries_radius_eq_top
- LieAlgebra.IsKilling.rootSystem
- Int.cast_inj
- Rat.cast_inv
- IsAddTorsionFree.of_isTorsionFree
- Nat.one_le_cast
- Nat.one_lt_cast
- RootPairing.GeckConstruction.e
- OfNat.ofNat_ne_zero
- Algebra.normalizedTrace
- Rat.cast_mul
- Rat.cast_add
- Nat.cast_eq_zero
- RootPairing.GeckConstruction.f
- RootPairing.Base.IsPos
- Int.cast_ne_zero
- LieAlgebra.IsKilling.chainLength
- RootPairing.Base.height
- NumberField.IsCMField.complexConj
- RootPairing.GeckConstruction.lieAlgebra
- Nat.castOrderEmbedding
- NormedSpace.exp_eq_tsum
- Nat.strictMono_cast
- binomialSeries
- Nat.castOrderEmbedding_apply
- LieAlgebra.IsKilling.root_apply_coroot
- RingHom.injective_int
- Nat.cast_add_one_ne_zero
- RootPairing.Base.isPos_iff
- NNRat.castHom
- NumberField.IsCMField.unitsMulComplexConjInv
- Nat.castEmbedding_apply
- Rat.cast_sub
- LieAlgebra.IsKilling.sl2SubmoduleOfRoot
- tendsto_inv_atTop_nhds_zero_nat
- Finset.sum_centroidWeights_eq_one_of_nonempty
- RootPairing.chainTopIdx
- NormedSpace.exp_eq_expSeries_sum
- RootPairing.pairingIn_pairingIn_mem_set_of_isCrystallographic
Ancestors0
No ancestors.