Documentation

Lean.Meta.Tactic.Grind.Arith.CommRing.RingId

Ring ids are assigned by Sym.Arith.classify?, which tries CommRing, Ring, CommSemiring, and Semiring in this order and caches the result for the whole run. The functions below select one class of the result; a type has at most one.

Returns the ring id for the given type if there is a CommRing instance for it.

Instances For

    Returns the ring id for the given type if it is a non-commutative Ring.

    Instances For

      Returns the semiring id for the given type if it is a CommSemiring (and not a CommRing).

      Instances For

        Returns the semiring id for the given type if it is a non-commutative Semiring.

        Instances For