PROOF.off.len_drop: def of bend-osdev-bytes@0.1.1.1 Import: import bend-osdev-bytes@0.1.1.1/PROOF.bend as PROOF Lines 916-925 of bend-osdev-bytes@0.1.1.1/PROOF.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bytes@0.1.1.1/PROOF.bend&start_line=916&end_line=925 import Base import bend-osdev-bytes@0.1.1.1/bytes.bend as B def off.len_drop(+n: Nat, ws: List<&2, B.OctByte>) -> {List.length(&2, B.OctByte, B.w8s.drop(n, ws)) == Nat.sub(List.length(&2, B.OctByte, ws), n) : Nat}: match n ws: case 0n Nil{}: {==} case 0n Con{x, t}: {==} case 1n+p Nil{}: {==} case 1n+p Con{x, t}: off.len_drop(p, t) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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.1/bytes.bend&name=OctByte https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.1/bytes.bend&name=w8s.drop