Mathlib Map

Structures · Logic and sets

Nontrivial

Predicate typeclass for expressing that a type is not reduced to a single element. In rings, this is equivalent to 0 ≠ 1. In vector spaces, this is equivalent to positive dimension.

Defined in
Mathlib.Logic.Nontrivial.Defs
Shape
One type argument · adds exists_pair_ne

Extends0

Extends nothing: this is a root of the hierarchy.

Extended by11

Forgetful instances

Every Nontrivial is also a

Provided automatically by

Concrete types that are instances100

  • Int
  • Nat
  • Real
  • Rat
  • Bool
  • Complex
  • SeparationQuotient
  • NNReal
  • ContinuousLinearMap
  • ZMod
  • ENNReal
  • Polynomial
  • Filter.Germ
  • CStarMatrix
  • CommRingCat.carrier
  • RatFunc
  • UniformSpace.Completion
  • NNRat
  • TensorProduct
  • Quaternion
  • Unitization
  • FractionRing
  • WithConv
  • Matrix
  • HahnSeries
  • NonemptyInterval
  • LocallyConstant
  • ENat
  • QuadraticAlgebra
  • Units
  • WithLp
  • FreeAbelianGroup
  • EReal
  • MonoidAlgebra
  • TrivSqZeroExt
  • ModuleCat.carrier
  • AddMonoidAlgebra
  • DirectLimit
  • Finsupp
  • Zsqrtd
  • ZNum
  • SymAlg
  • Localization
  • SkewMonoidAlgebra
  • Interval
  • CauSeq.Completion.Cauchy
  • PerfectClosure
  • OreLocalization
  • QuaternionAlgebra
  • WittVector
  • NumberField.InfiniteAdeleRing
  • TopologicalSpace.NonemptyCompacts
  • NumberField.RingOfIntegers
  • LucasLehmer.X
  • CategoryTheory.End
  • GaussianInt
  • WithCStarModule
  • Tropical
  • MvPowerSeries
  • FreeRing
  • Ordinal
  • FractionalIdeal
  • Ring.NormalClosure
  • Module.End
  • Cardinal
  • CliffordAlgebra
  • SymmetricAlgebra
  • LieSubmodule
  • Ring.DirectLimit
  • Associates
  • SimpleGraph
  • FreeAlgebra
  • FreeGroup
  • TopologicalSpace.Opens
  • FreeAddGroup
  • TopologicalSpace.Compacts
  • Hamming
  • TensorAlgebra
  • Digraph
  • Equiv.Perm
  • PolynomialModule
  • AddSubgroup
  • ArchimedeanClass
  • NumberField.mixedEmbedding.euclidean.mixedSpace
  • SkewPolynomial
  • Sym2
  • AddSubmonoid
  • MvPolynomial
  • Sym
  • RingCon
  • ValuationRing.ValueGroup
  • DihedralGroup
  • QuaternionGroup
  • MulArchimedeanClass
  • AddLocalization
  • TwoSidedIdeal
  • UpperHalfPlane
  • AffineSubspace
  • CategoryTheory.Subobject
  • OrderType

How is a type an instance?

Loading the hierarchy index…

Assumed by1,875

Ancestors1