Documentation

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

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

This function will also perform sanity-checks (e.g., the Add instance for type must be definitionally equal to the CommRing.toAdd one.)

It also caches the functions representing +, *, -, ^, and intCast.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Returns the ring id for the given type if there is a Ring instance for it. This function is invoked only when getCommRingId? returns none.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For