law grow_view

lawful-bytes@0.1.1.0 · LAWS.bend:44

import lawful-bytes@0.1.1.0/LAWS.bend as LAWS
import Base
import lawful-bytes@0.1.1.0/defs.bend as D
import lawful-bytes@0.1.1.0/bytes.bend as B

44# grow keeps the bytes in a larger block.
45law grow_view:
46  for b: D.Bytes
47  for d: Nat
48  for e: Nat
49  for h: {D.ok(b, d) == True{} : Bool}
50  for he: {Nat.is_le(d, e) == True{} : Bool}
51  for he29: {Nat.is_le(e, 29n) == True{} : Bool}
52  {D.view(B.grow(b, e)) == D.view(b) : List<&2, U32>}

Uses (11)

Used by (0)

No other definition uses this definition.