Documentation

Lean.Meta.Match.Value

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

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

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

Equations

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

Equations