Offset representation for natural number expressions #
This module provides utilities for representing Nat expressions in the form e + k,
where e is an arbitrary expression and k is a constant.
This normalization is used during pattern matching and unification.
Increments the constant part of the offset by k'.
Instances For
Returns true if the pattern p is a + k over Nat where k contains pattern variables.
Once the pattern variables are instantiated, such a subterm may match a numeral or an offset
(e.g. ?m + ?n =?= 16 with ?m := 8, ?n := 8), so it must be indexed as a wildcard.
See isQuasiOffsetCnstr.