LAWS.octets_len_slice: law of bend-osdev-bytes@0.1.1.0 Import: import bend-osdev-bytes@0.1.1.0/LAWS.bend as LAWS Lines 260-264 of bend-osdev-bytes@0.1.1.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bytes@0.1.1.0/LAWS.bend&start_line=260&end_line=264 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B law octets_len_slice: for +i: Nat for +n: Nat for +o: B.Octets {B.Octets.len(B.Octets.slice(i, n, o)) == Nat.min(n, Nat.sub(B.Octets.len(o), i)) : Nat} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.min https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/PROOF.bend&name=p_len_slice https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.len https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.slice