Documentation

Lean.Meta.Match.Value

Return some (typeName, numLit) if v is of the form UInt*.mk (Fin.ofNat _ numLit)

Instances For

    The frontend expands uint numerals occurring in patterns into UInt*.mk .. contructor applications. This method convert them back into UInt*.ofNat .. applications.

    Instances For

      Return true is e is a term that should be processed by the match-compiler using casesValues

      Instances For