Documentation

Lean.Meta.Offset

Evaluate simple Nat expressions. Remark: this method assumes the given expression has type Nat.

Checks that expression e is definitional equal to inst.

Uses instances transparency so that reducible terms and instances extended other instances are unfolded.

Equations
Instances For

    Similar to getOffset but returns none if the expression is not an offset.