PROOFTables.tb.cdrop: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/PROOF_tables.bend as PROOFTables Lines 432-436 of bend-osdev-acpi@0.1.1.0/PROOF_tables.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&start_line=432&end_line=436 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B import bend-osdev-bytes@0.1.1.0/LAWS.bend as BL import bend-osdev-u32@0.1.0.0/LAWS.bend as UL def tb.cdrop(+c: B.Octets, +rest: B.Octets, +h16: {16n == B.Octets.len(c) : Nat}) -> {rest == B.Octets.drop(16n, B.Octets.append(c, rest)) : B.Octets}: %Equal.sym(Nat, 16n, Nat.add(B.Octets.len(c), 0n), Equal.trans(Nat, 16n, B.Octets.len(c), Nat.add(B.Octets.len(c), 0n), h16, Equal.sym(Nat, Nat.add(B.Octets.len(c), 0n), B.Octets.len(c), UL.nat_add_zero(B.Octets.len(c))))) : {rest == B.Octets.drop(_, B.Octets.append(c, rest)) : B.Octets} %Equal.sym(B.Octets, B.Octets.drop(Nat.add(B.Octets.len(c), 0n), B.Octets.append(c, rest)), B.Octets.drop(0n, rest), BL.octets_drop_append_add(c, 0n, rest)) : {rest == _ : B.Octets} %Equal.sym(B.Octets, B.Octets.drop(0n, rest), rest, BL.octets_drop_zero(rest)) : {rest == _ : B.Octets} {==} Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.trans https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/LAWS.bend&name=octets_drop_append_add https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/LAWS.bend&name=octets_drop_zero 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.append https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.drop 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-u32@0.1.0.0/LAWS.bend&name=nat_add_zero