law to_nat_inc_lt

lawful-words@0.1.0.0 · LAWS.bend:137

import lawful-words@0.1.0.0/LAWS.bend as LAWS
import Base

137# A counter below some word steps up by exactly one.
138law to_nat_inc_lt:
139  for a: U32
140  for b: U32
141  for h: {U32.is_lt(a, b) == True{} : Bool}
142  {U32.to_nat(U32.inc(a)) == Nat.add(U32.to_nat(a), 1n) : Nat}

Uses (8)

Used by (0)

No other definition uses this definition.